diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..01ed68bb0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,54 @@ +*~ +*.pdb +*.pidb +*.suo +.deps +.libs +*-api.raw +*-api.xml +*.cache +*.dll +*.dll.config +*.exe +*.exe.config +*.la +*.lo +*.m4 +*.msi +*.msm +*.mdb +*.o +*.pc +*.tar.gz +*.wixobj +*.wixpdb +*.FileListAbsolute.txt +.vs +bin +obj + +AssemblyInfo.cs +INSTALL +Makefile +Makefile.in +bootstrap.status +config.* +configure +configure.in +depcomp +generated +generated.c +generated-stamp +gtk-sharp.snk +install-sh +lib +libtool +ltconfig +ltmain.sh +missing +mkinstalldirs +msi/unmanaged/download-stamp +msi/unmanaged/source/* +policy.config +policy.*.config +stamp* diff --git a/ChangeLog b/ChangeLog index c20adc8a6..0dd5da306 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,135 +1,322 @@ -2009-01-08 Mike Kestner +2010-05-12 Mike Kestner - * 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. + * gtk/Gtk.metadata: mark a few more pango object retvals as owned. -2009-01-08 Mike Kestner +2010-05-10 Mike Kestner - * generator/InterfaceGen.cs: generate Adapters for consume_only ifaces - too. This seems unusual, but is primarily to produce at least one - 'generic' implementation of every interface and a GetObject method - so that the marshaling code can always return an object which - implements the interface, even if no public object wrapper exists for - the underlying c GObject type. + * gtk/Gtk.metadata: mark Widget.CreatePangoLayout retval as owned. + [Fixes #604050] -2009-01-08 Mike Kestner +2010-03-25 Mike Kestner - * generator/ReturnValue.cs: map gfilename* list elements to type - ListBase.FilenameString so they are marshaled correctly. - * glib/Marshaller.cs: handle FilenameStrings in ListPtrToArray. - * gtk/Gtk.metadata: FileChooser.GetFilenames and ListShortcutFolders - return type mangling to avoid custom implementations. - * gtk/FileChooser*.custom: kill manual Filenames and ShortcutFolders. + * gdk/Rectangle.custom: off-by-one in Right/Bottom. [Fixes #591148] -2009-01-08 Stephane Delcroix +2010-03-08 Mike Kestner - * gio/Gio.metadata: change AppInfo's CanRemoveSupportsType to a - property. + * configure.in.in: revert the -platform flag usage on windows until + we can figure out why it breaks Gtk# on mono. -2009-01-08 Stephane Delcroix +2010-03-01 Mike Kestner - * gio/Gio.metadata: change AppInfo's ShouldShow, SupportsFiles and - SupportsUris to properties. + * 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. -2009-01-07 Mike Kestner +2010-02-26 Mike Kestner - * generator/MethodBody.cs: avoid null ref when passing null to - destroy notified callback parameters. [Fixes #464120] + * 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 -2009-01-06 Mike Kestner + * 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. - * configure.in.in: update to use mdoc. - * doc/Makefile.am: update to use mdoc. - * doc/gtk-sharp-docs.source: add node element to conform to new - monodoc layout model. +2009-08-23 Christian Hoff -2009-01-05 Andrés G. Aragoneses + * gdk/Gdk.metadata: Mark PixbufFormat.Extensions and + PixbufFormat.MimeTypes as null-terminated arrays. [Fixes #533472] - * GType.cs: - * Value.cs: Revert r122505. - [Reasoning on #448009] +2009-08-12 Christian Hoff -2009-01-06 Stephane Delcroix + * 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] - * gtk/Gtk.metadata: fix gtk_icon_theme_lookup_by_gicon return-type - and name. +2009-08-05 Christian Hoff -2009-01-06 Stephane Delcroix + * sample/CustomcellRenderer.cs: Use GObject property registration + instead of a CellDataFunc. - * gtk/Gtk.metadata: fix gicon property name for CellRendererPixbuf +2009-08-05 Christian Hoff -2009-01-06 Stephane Delcroix + * glib/glue/object.c: Use -G_MINFLOAT and -G_MINDOUBLE since + these constants return the minumum positive values for this type. - * gtk/Gtk.metadata: fix gicon property, getter and setter for StatusIcon +2009-07-30 Mike Kestner -2009-01-06 Stephane Delcroix + * generator/InterfaceGen.cs: remove var keyword usage to fix build + on .net 2.0. Fix a few mixed line endings as well. - * gtk/Gtk.metadata: rename SetFromGicon to SetFromIcon and GetGicon to - GetIcon. +2009-07-27 Mike Gorse -2009-01-06 Stephane Delcroix + * atk/Atk.metadata: Remove owned for Relation.GetTarget. - * gtk/Gtk.metadata: fix the gtk_image_get_gicon signature (pass as out) +2009-07-21 Christian Hoff -2009-01-06 Stephane Delcroix + * glib/GInterfaceAdapter.cs: Fix a leak related to GCHandles not being freed. + Patch from Mike Kestner with a minor tweak by me. [Fixes #523306] - * gtk/Gtk.metadata: rename the Gicon property of GtkImage to Icon. +2009-07-13 Gabriel Burt -2009-01-05 Andrés G. Aragoneses + * 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. - * GType.cs: convert GType.Is to a non-static function. - * Value.cs: track API. - [Last cosmetic bit from #448009] + * 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-01-05 Stephane Delcroix +2009-07-10 Christian Hoff - * bootstrap-2.14: - * bootstrap-generic: - * configure.in.in: depend on glib/gio 2.18 + * pango/Pango.metadata: Mark "ink_rect" and "logical_rect" parameters of Get*Extends + methods as "out". [Fixes #510105] -2009-01-04 Mike Kestner +2009-06-08 Christian Hoff - * *: update to 2.14. parser support for GSEALed fields. svn build - now uses bootstrap-2.14. integrate gio-sharp module. + * atk/ObjectFactory.custom: Reimplement ObjectFactory virtual + methods. Patch provided by Mike Kestner and Gabriel Burt. -2009-01-04 Mike Kestner +2009-05-31 Mike Kestner - * glib/GType.cs: fix incorrect null check noticed by Christian Hoff. - [Fixes #463445] + * gtk-sharp-2.0.wxs.in: move the RemoveExistingVersions action + after InstallFinalize to avoid a problem where the GAC assemblies + disappear. [Fixes #508580] -2009-01-02 Mike Kestner +2009-05-27 Mike Kestner - * configure.in.in: clarify the Mono.Cairo summary comment. + * 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. -2008-12-22 Andrés G. Aragoneses +2009-05-12 Mike Kestner - * generator/InterfaceGen.cs: track API. - * glib/GType.cs: simplify, avoiding a static method. - * glib/Value.cs: reuse g_type_is_a. - [Improves fix for #448009 in r121990] + * 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] -2008-12-22 Andrés G. Aragoneses +2009-05-06 Mike Kestner - * generator/InterfaceGen.cs: use the new GLib API to detect - instances that don't implement GInterfaces. - * glib/GType.cs: add new API for checking if an IntPtr instance - implements a certain GType. - [Fixes #448009] + * gtk/TargetList.custom: fix intptr indexing in cast. -2008-12-20 Stephane Delcroix +2009-05-05 Mike Kestner - * glib/Timeout.cs: map AddSeconds (). + * glib/GType.cs: ensure threading is initialized in cctor. + * gtk/Application.cs: ditto. -2008-12-19 Mike Kestner +2009-04-27 Mike Kestner - * generator/BoxedGen.cs: don't generate glue dependencies. - * glib/*.cs: remove glibsharpglue usage except thread.c. - * glib/glue/*.c: kill all but thread.c. need glib 2.20 to kill - it eventually. - * pango/Attr*.cs: kill glue usage. - * pango/glue/*.c: kill all but generated.c. it's next. - * gtk/TreeIter.custom: kill a dumb glibsharpglue usage. + * 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 @@ -145,7 +332,7 @@ * generator/Ctor.cs: * generator/Method.cs: * generator/MethodBase.cs: refactor the Protection from Method to - MethodBase, generate ctors with the correct protection too. + MethodBase, generate ctors with the correct proteciton too. 2008-12-01 Mike Kestner diff --git a/Makefile.am b/Makefile.am index 478629aa1..0505ce48a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,8 @@ -SUBDIRS = sources generator parser glib gio cairo pango atk gdk gtk glade gtkdotnet sample doc +SUBDIRS = sources generator parser glib cairo pango atk gdk gtk glade gtkdotnet sample doc msi EXTRA_DIST = \ mono.snk \ gtk-sharp.snk \ - gapi-cdecl-insert \ - makefile.win32 \ policy.config.in \ AssemblyInfo.cs.in \ ChangeLog \ @@ -12,11 +10,5 @@ EXTRA_DIST = \ README \ README.generator -configure.in: bootstrap.status configure.in.in +configure.in: bootstrap.status configure.in.in $(SHELL) $< - -win32-installer: all - candle.exe gtk-sharp-2.0-lib.wxs - light.exe gtk-sharp-2.0-lib.wixobj - candle.exe gtk-sharp-2.0-dev.wxs - light.exe gtk-sharp-2.0-dev.wixobj diff --git a/Makefile.include b/Makefile.include index 1414e4727..3cc22b5ed 100644 --- a/Makefile.include +++ b/Makefile.include @@ -46,48 +46,39 @@ $(SNK): $(top_srcdir)/$(SNK) AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . -$(POLICY_ASSEMBLIES): $(top_builddir)/policy.config $(SNK) - @for i in $(POLICY_VERSIONS); do \ - echo "Creating policy.$$i.$(ASSEMBLY)"; \ - sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$$i/" $(top_builddir)/policy.config > policy.$$i.config; \ - $(AL) -link:policy.$$i.config -out:policy.$$i.$(ASSEMBLY) -keyfile:$(SNK); \ - done +policy.%.config: $(top_builddir)/policy.config + sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ -build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs -build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) +$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) + $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:$(SNK) -if PLATFORM_WIN32 -GAPI_CDECL_INSERT=$(top_srcdir)/gapi-cdecl-insert --keyfile=$(SNK) $(ASSEMBLY) -else -GAPI_CDECL_INSERT= -endif +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) - $(GAPI_CDECL_INSERT) install-data-local: @if test -n '$(pkg)'; then \ - echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ - $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ + 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; \ + 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; \ + 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; \ + echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ + $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi - diff --git a/README b/README index 32bc110f3..ddf57a8ea 100644 --- a/README +++ b/README @@ -7,6 +7,9 @@ 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 @@ -28,9 +31,30 @@ Building & Installing Gtk#: 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 for the 2.5.x - version or bootstrap-2.4 for the 1.9.x version. - + 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: --------------------- diff --git a/atk/Atk.metadata b/atk/Atk.metadata index afeffa703..830c2f9bb 100644 --- a/atk/Atk.metadata +++ b/atk/Atk.metadata @@ -16,6 +16,13 @@ true true true + + + + + + + out ref ref @@ -26,7 +33,61 @@ true true 1 - true AtkObject* 1 + AtkAttribute* + AtkAttribute* + AtkAttribute* + AtkAttribute* + true + true + + true + true + true + true + 1 + 1 + 1 + + accessible-name + accessible-description + accessible-parent + accessible-value + accessible-role + accessible-component-layer + accessible-component-mdi-zorder + accessible-table-caption + accessible-table-column-description + accessible-table-column-header + accessible-table-row-description + accessible-row-header + accessible-table-summary + accessible-table-caption-object + accessible-hypertext-nlinks + + 1 + 1 + 1 + 1 + 1 + 1 + + + + + + + + + + + + + + + async + diff --git a/atk/ColumnDeletedHandler.cs b/atk/ColumnDeletedHandler.cs new file mode 100644 index 000000000..b7b6a6be7 --- /dev/null +++ b/atk/ColumnDeletedHandler.cs @@ -0,0 +1,25 @@ +// 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]; + } + } + + } +} diff --git a/atk/ColumnInsertedHandler.cs b/atk/ColumnInsertedHandler.cs new file mode 100644 index 000000000..d8422f371 --- /dev/null +++ b/atk/ColumnInsertedHandler.cs @@ -0,0 +1,25 @@ +// 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]; + } + } + + } +} diff --git a/atk/Global.custom b/atk/Global.custom index bc4462e01..fa5c9ee1d 100644 --- a/atk/Global.custom +++ b/atk/Global.custom @@ -22,7 +22,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libatk-1.0-0.dll")] + [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) @@ -32,4 +32,72 @@ GLib.Marshaller.Free (native_event_type); return id; } + + static System.Collections.Generic.Dictionary keyListeners = new System.Collections.Generic.Dictionary (); + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint atk_add_key_event_listener(AtkSharp.KeySnoopFuncNative listener, IntPtr data); + + public static uint AddKeyEventListener(Atk.KeySnoopFunc listener) { + GCHandle gch = GCHandle.Alloc (listener); + uint ret = atk_add_key_event_listener(AtkSharp.KeySnoopFuncWrapper.NativeDelegate, (IntPtr)gch); + + if (ret != 0) { + lock (keyListeners) + keyListeners.Add (ret, gch); + } else + gch.Free (); + + return ret; + } + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void atk_remove_key_event_listener(uint listener_id); + + public static void RemoveKeyEventListener(uint listener_id) { + atk_remove_key_event_listener(listener_id); + + GCHandle gch; + + lock (keyListeners) { + keyListeners.TryGetValue (listener_id, out gch); + keyListeners.Remove (listener_id); + } + gch.Free(); + } + + static System.Collections.Generic.Dictionary focusTrackers = new System.Collections.Generic.Dictionary (); + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint atk_add_focus_tracker(AtkSharp.EventListenerNative focus_tracker); + + public static uint AddFocusTracker(Atk.EventListener focus_tracker) { + AtkSharp.EventListenerWrapper focus_tracker_wrapper = new AtkSharp.EventListenerWrapper (focus_tracker); + GCHandle gch = GCHandle.Alloc (focus_tracker_wrapper); + + uint ret = atk_add_focus_tracker(focus_tracker_wrapper.NativeDelegate); + + if (ret != 0) { + lock (focusTrackers) + focusTrackers.Add (ret, gch); + } else + gch.Free (); + + return ret; + } + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void atk_remove_focus_tracker(uint tracker_id); + + public static void RemoveFocusTracker(uint tracker_id) { + atk_remove_focus_tracker(tracker_id); + + GCHandle gch; + + lock (focusTrackers) { + focusTrackers.TryGetValue (tracker_id, out gch); + focusTrackers.Remove (tracker_id); + } + gch.Free(); + } diff --git a/atk/Hyperlink.custom b/atk/Hyperlink.custom index 54d320b89..4a74831d1 100644 --- a/atk/Hyperlink.custom +++ b/atk/Hyperlink.custom @@ -8,7 +8,7 @@ // // // This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -21,14 +21,14 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("atksharpglue-2")] + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_uri (IntPtr type, GetUriDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetUriDelegate (IntPtr raw, int i); - + static GetUriDelegate GetUriCallback; - + static IntPtr GetUri_cb (IntPtr raw, int i) { try { @@ -40,28 +40,27 @@ 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")] + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_object (IntPtr type, GetObjectDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetObjectDelegate (IntPtr raw, int i); - + static GetObjectDelegate GetObjectCallback; - + static IntPtr GetObject_cb (IntPtr raw, int i) { try { @@ -71,31 +70,31 @@ } 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_end_index (IntPtr type, GetEndIndexDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetEndIndexDelegate (IntPtr raw); - + static GetEndIndexDelegate GetEndIndexCallback; - + static int GetEndIndex_cb (IntPtr raw) { try { @@ -107,28 +106,28 @@ 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_start_index (IntPtr type, GetStartIndexDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetStartIndexDelegate (IntPtr raw); - + static GetStartIndexDelegate GetStartIndexCallback; - + static int GetStartIndex_cb (IntPtr raw) { try { @@ -140,28 +139,28 @@ 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_is_valid (IntPtr type, IsValidDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IsValidDelegate (IntPtr raw); - + static IsValidDelegate IsValidCallback; - + static bool IsValid_cb (IntPtr raw) { try { @@ -173,28 +172,28 @@ 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_n_anchors (IntPtr type, GetNAnchorsDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetNAnchorsDelegate (IntPtr raw); - + static GetNAnchorsDelegate GetNAnchorsCallback; - + static int GetNAnchors_cb (IntPtr raw) { try { @@ -206,28 +205,28 @@ 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_link_state (IntPtr type, LinkStateDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate uint LinkStateDelegate (IntPtr raw); - + static LinkStateDelegate LinkStateCallback; - + static uint LinkState_cb (IntPtr raw) { try { @@ -239,28 +238,28 @@ 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_is_selected_link (IntPtr type, IsSelectedLinkDelegate cb); - - [GLib.CDeclCallback] + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IsSelectedLinkDelegate (IntPtr raw); - + static IsSelectedLinkDelegate IsSelectedLinkCallback; - + static bool IsSelectedLink_cb (IntPtr raw) { try { @@ -272,22 +271,21 @@ 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"); } - diff --git a/atk/Makefile.am b/atk/Makefile.am index 16b8f3b6f..2b9e28b1b 100644 --- a/atk/Makefile.am +++ b/atk/Makefile.am @@ -3,17 +3,24 @@ SUBDIRS = . glue pkg = atk METADATA = Atk.metadata SYMBOLS = -references = ../glib/glib-sharp.dll +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 \ @@ -22,4 +29,4 @@ customs = \ add_dist = -include ../Makefile.include +include $(top_srcdir)/Makefile.include diff --git a/atk/Misc.custom b/atk/Misc.custom index c00e8212a..b73d9fc51 100644 --- a/atk/Misc.custom +++ b/atk/Misc.custom @@ -8,7 +8,7 @@ // // // This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -22,14 +22,17 @@ // Boston, MA 02111-1307, USA. - [DllImport("atksharpglue-2")] - static extern int atksharp_misc_override_threads_enter (IntPtr type, ThreadDelegate cb); - - [GLib.CDeclCallback] + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern void atksharp_misc_override_threads_enter (IntPtr type, ThreadDelegate cb); + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern void atksharp_misc_base_threads_enter (IntPtr raw); + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ThreadDelegate (IntPtr raw); - + static ThreadDelegate ThreadsEnterCallback; - + static void ThreadsEnter_cb (IntPtr raw) { try { @@ -39,24 +42,27 @@ 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 () + protected virtual void OnThreadsEnter () { + atksharp_misc_base_threads_enter (Handle); } - [DllImport("atksharpglue-2")] - static extern int atksharp_misc_override_threads_leave (IntPtr type, ThreadDelegate cb); - + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern void atksharp_misc_override_threads_leave (IntPtr type, ThreadDelegate cb); + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern void atksharp_misc_base_threads_leave (IntPtr raw); + static ThreadDelegate ThreadsLeaveCallback; - + static void ThreadsLeave_cb (IntPtr raw) { try { @@ -66,24 +72,24 @@ 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 () + protected virtual void OnThreadsLeave () { + atksharp_misc_base_threads_leave (Handle); } - [DllImport("atksharpglue-2")] + [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); } - diff --git a/atk/NoOpObject.custom b/atk/NoOpObject.custom new file mode 100644 index 000000000..b15533c45 --- /dev/null +++ b/atk/NoOpObject.custom @@ -0,0 +1,663 @@ +// 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 ? Array.Empty () : 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 ? Array.Empty () : 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; + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [1]; + using (inst_and_params[0] = new GLib.Value (this)) { + g_signal_chain_from_overridden (inst_and_params, 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; + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [3]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (column)) { + using (inst_and_params [2] = new GLib.Value (num_deleted)) { + g_signal_chain_from_overridden (inst_and_params, 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; + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [1]; + using (inst_and_params [0] = new GLib.Value (this)) { + g_signal_chain_from_overridden (inst_and_params, 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; + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [3]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (column)) { + using (inst_and_params [2] = new GLib.Value (num_inserted)) { + g_signal_chain_from_overridden (inst_and_params, 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; + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [1]; + using (inst_and_params [0] = new GLib.Value (this)) { + g_signal_chain_from_overridden (inst_and_params, 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; + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [3]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (row)) { + using (inst_and_params [2] = new GLib.Value (num_inserted)) { + g_signal_chain_from_overridden (inst_and_params, 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; + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [3]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (row)) { + using (inst_and_params [2] = new GLib.Value (num_deleted)) { + g_signal_chain_from_overridden (inst_and_params, 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; + } + } + + static System.Collections.Generic.Dictionary handlers = new System.Collections.Generic.Dictionary (); + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint atk_component_add_focus_handler(IntPtr raw, AtkSharp.FocusHandlerNative handler); + + public uint AddFocusHandler(Atk.FocusHandler handler) { + AtkSharp.FocusHandlerWrapper handler_wrapper = new AtkSharp.FocusHandlerWrapper (handler); + var gch = GCHandle.Alloc (handler_wrapper); + + uint ret = atk_component_add_focus_handler(Handle, handler_wrapper.NativeDelegate); + + if (ret != 0) { + lock (handlers) + handlers.Add (ret, gch); + } else + gch.Free (); + + return ret; + } + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void atk_component_remove_focus_handler(IntPtr raw, uint handler_id); + + public void RemoveFocusHandler(uint handler_id) { + atk_component_remove_focus_handler(Handle, handler_id); + + GCHandle gch; + + lock (handlers) { + handlers.TryGetValue (handler_id, out gch); + handlers.Remove (handler_id); + } + gch.Free(); + } diff --git a/atk/Object.custom b/atk/Object.custom index 9e4a88fda..332983814 100644 --- a/atk/Object.custom +++ b/atk/Object.custom @@ -8,7 +8,7 @@ // // // This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -20,15 +20,18 @@ // 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_get_n_children (IntPtr type, NChildrenDelegate cb); - - [GLib.CDeclCallback] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int atksharp_object_base_get_n_children (IntPtr raw); + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int NChildrenDelegate (IntPtr raw); - + static NChildrenDelegate NChildrenCallback; - + static int NChildren_cb (IntPtr raw) { try { @@ -40,65 +43,65 @@ 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; + return atksharp_object_base_get_n_children (Handle); } - - [DllImport("atksharpglue-2")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_ref_child (IntPtr type, RefChildDelegate cb); - - [GLib.CDeclCallback] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr atksharp_object_base_ref_child (IntPtr raw, int i); + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr RefChildDelegate (IntPtr raw, int i); - + static RefChildDelegate RefChildCallback; - - [DllImport("libgobject-2.0-0.dll")] - 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 virtual Atk.Object OnRefChild (int i) + { + IntPtr raw = atksharp_object_base_ref_child (Handle, i); + return GLib.Object.GetObject (raw, true) as Atk.Object; } protected void EmitChildrenChanged (ChildrenChangedDetail detail, uint child_index, Atk.Object child) { - GLib.Signal.Emit (this, - "children-changed::" + detail.ToString ().ToLower (), + GLib.Signal.Emit (this, + "children-changed::" + detail.ToString ().ToLower (), child_index, child.Handle); } - + protected enum ChildrenChangedDetail { Add, @@ -109,30 +112,28 @@ { GLib.Signal.Emit (this, "visible-data-changed"); } - - [DllImport("atksharpglue-2")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_ref_state_set (IntPtr type, RefStateSetDelegate cb); - - [DllImport("atksharpglue-2")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atksharp_object_base_ref_state_set (IntPtr atk_obj); - - [GLib.CDeclCallback] + + [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; } @@ -142,22 +143,25 @@ 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 () + 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")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_get_index_in_parent (IntPtr type, IndexInParentDelegate cb); - - [GLib.CDeclCallback] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int atksharp_object_base_get_index_in_parent (IntPtr raw); + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int IndexInParentDelegate (IntPtr raw); - + static IndexInParentDelegate IndexInParentCallback; - + static int IndexInParent_cb (IntPtr raw) { try { @@ -169,61 +173,153 @@ 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; + return atksharp_object_base_get_index_in_parent (Handle); } - + public void NotifyStateChange (Atk.StateType state, bool value) { NotifyStateChange ((ulong)state, value); } - [DllImport("atksharpglue-2")] + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_ref_relation_set (IntPtr type, RefRelationSetDelegate cb); - - [DllImport("atksharpglue-2")] + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atksharp_object_base_ref_relation_set (IntPtr atk_obj); - - [GLib.CDeclCallback] + + [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 () + 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); + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr atksharp_object_base_get_attributes (IntPtr raw); + + [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 () + { + IntPtr raw = atksharp_object_base_get_attributes(Handle); + if (raw == IntPtr.Zero) + return new Attribute [0]; + + Attribute[] attrs = GLib.Marshaller.ListPtrToArray (raw, typeof(GLib.SList), false, false); + atk_attribute_set_free(raw); + return attrs; + } + + protected void EmitFocusEvent (bool gained) + { + GLib.Signal.Emit (this, "focus-event", gained); + } + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void atk_attribute_set_free(IntPtr raw); + + public Atk.Attribute[] Attributes { + get { + return OnGetAttributes(); + } + } + + static System.Collections.Generic.Dictionary handlers = new System.Collections.Generic.Dictionary (); + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint atk_object_connect_property_change_handler(IntPtr raw, AtkSharp.PropertyChangeHandlerNative handler); + + public uint ConnectPropertyChangeHandler(Atk.PropertyChangeHandler handler) { + AtkSharp.PropertyChangeHandlerWrapper handler_wrapper = new AtkSharp.PropertyChangeHandlerWrapper (handler); + var gch = GCHandle.Alloc (handler_wrapper); + + uint ret = atk_object_connect_property_change_handler(Handle, handler_wrapper.NativeDelegate); + + if (ret != 0) { + lock (handlers) + handlers.Add (ret, gch); + } else + gch.Free (); + + return ret; + } + + [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void atk_object_remove_property_change_handler(IntPtr raw, uint handler_id); + + public void RemovePropertyChangeHandler(uint handler_id) { + atk_object_remove_property_change_handler(Handle, handler_id); + + GCHandle gch; + + lock (handlers) { + handlers.TryGetValue (handler_id, out gch); + handlers.Remove (handler_id); + } + gch.Free(); + } diff --git a/atk/ObjectFactory.custom b/atk/ObjectFactory.custom index be091b209..e38618dbe 100644 --- a/atk/ObjectFactory.custom +++ b/atk/ObjectFactory.custom @@ -1,14 +1,15 @@ // ObjectFactory.custom - Atk ObjectFactory class customizations // -// Author: Mike Gorse +// Authors: Mike Gorse +// Mike Kestner // -// Copyright (c) 2008 Novell, Inc. +// 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -21,104 +22,158 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("atksharpglue-2")] - static extern void atksharp_object_factory_override_create_accessible (IntPtr type, CreateAccessibleDelegate cb); - - [GLib.CDeclCallback] - delegate IntPtr CreateAccessibleDelegate (IntPtr raw); - - static CreateAccessibleDelegate CreateAccessibleCallback; - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_object_ref (IntPtr handle); + 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 IntPtr CreateAccessible_cb (IntPtr raw) + static Hashtable marshalers = new Hashtable (); + + static Marshaler GetMarshaler (GLib.GType gtype) { - try { - Atk.ObjectFactory obj = GLib.Object.GetObject (raw, false) as Atk.ObjectFactory; - Atk.Object ret = obj.OnCreateAccessible (); - if (ret != null) - g_object_ref (ret.Handle); - return ret == null ? IntPtr.Zero : ret.Handle; - } catch (Exception e) { - GLib.ExceptionManager.RaiseUnhandledException (e, false); + 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; + } + + 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)); + 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); } - - return IntPtr.Zero; } - + static void OverrideCreateAccessible (GLib.GType gtype) { - if (CreateAccessibleCallback == null) - CreateAccessibleCallback = new CreateAccessibleDelegate (CreateAccessible_cb); - atksharp_object_factory_override_create_accessible (gtype.Val, CreateAccessibleCallback); + GetMarshaler (gtype).ConnectCreateAccessible (); } - + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr atksharp_object_factory_base_create_accessible (IntPtr raw, IntPtr obj); + [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideCreateAccessible")] - protected virtual Atk.Object OnCreateAccessible () + protected virtual Atk.Object OnCreateAccessible (GLib.Object obj) { - return null; + var raw = atksharp_object_factory_base_create_accessible (Handle, obj.Handle); + return GLib.Object.GetObject (raw, true) as Atk.Object; } - - [DllImport("atksharpglue-2")] - static extern void atksharp_object_factory_override_invalidate (IntPtr type, InvalidateDelegate cb); - - [GLib.CDeclCallback] - delegate void InvalidateDelegate (IntPtr raw); - - static InvalidateDelegate InvalidateCallback; - - static void Invalidate_cb (IntPtr raw) - { - try { - Atk.ObjectFactory obj = GLib.Object.GetObject (raw, false) as Atk.ObjectFactory; - obj.OnInvalidate (); - } catch (Exception e) { - GLib.ExceptionManager.RaiseUnhandledException (e, false); - } - } - + static void OverrideInvalidate (GLib.GType gtype) { - if (InvalidateCallback == null) - InvalidateCallback = new InvalidateDelegate (Invalidate_cb); - atksharp_object_factory_override_invalidate (gtype.Val, InvalidateCallback); + GetMarshaler (gtype).ConnectInvalidate (); } - + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr atksharp_object_factory_base_invalidate (IntPtr raw); + [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideInvalidate")] protected virtual void OnInvalidate () { + atksharp_object_factory_base_invalidate (Handle); } - - [DllImport("atksharpglue-2")] - static extern void atksharp_object_factory_override_get_accessible_type (IntPtr type, GetAccessibleTypeDelegate cb); - - [GLib.CDeclCallback] - delegate IntPtr GetAccessibleTypeDelegate (IntPtr raw); - - static GetAccessibleTypeDelegate GetAccessibleTypeCallback; - - static IntPtr GetAccessibleType_cb (IntPtr raw) - { - try { - Atk.ObjectFactory obj = GLib.Object.GetObject (raw, false) as Atk.ObjectFactory; - return obj.OnGetAccessibleType ().Val; - } catch (Exception e) { - GLib.ExceptionManager.RaiseUnhandledException (e, false); - } - return IntPtr.Zero; - } - static void OverrideGetAccessibleType (GLib.GType gtype) { - if (GetAccessibleTypeCallback == null) - GetAccessibleTypeCallback = new GetAccessibleTypeDelegate (GetAccessibleType_cb); - atksharp_object_factory_override_get_accessible_type (gtype.Val, GetAccessibleTypeCallback); + GetMarshaler (gtype).ConnectGetAccessibleType (); } - + + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr atksharp_object_factory_base_get_accessible_type (IntPtr raw); + [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideGetAccessibleType")] protected virtual GLib.GType OnGetAccessibleType () - { - return GLib.GType.Invalid; + { + return new GLib.GType (atksharp_object_factory_base_get_accessible_type (Handle)); } diff --git a/atk/RowDeletedHandler.cs b/atk/RowDeletedHandler.cs new file mode 100644 index 000000000..25564d6c5 --- /dev/null +++ b/atk/RowDeletedHandler.cs @@ -0,0 +1,25 @@ +// 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]; + } + } + + } +} diff --git a/atk/RowInsertedHandler.cs b/atk/RowInsertedHandler.cs new file mode 100644 index 000000000..de5c14cbc --- /dev/null +++ b/atk/RowInsertedHandler.cs @@ -0,0 +1,25 @@ +// 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]; + } + } + + } +} diff --git a/atk/Table.cs b/atk/Table.cs new file mode 100644 index 000000000..1a8d420c8 --- /dev/null +++ b/atk/Table.cs @@ -0,0 +1,88 @@ +// 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 +} diff --git a/atk/TableAdapter.cs b/atk/TableAdapter.cs new file mode 100644 index 000000000..63a1f2d65 --- /dev/null +++ b/atk/TableAdapter.cs @@ -0,0 +1,1022 @@ +// 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 = Marshal.PtrToStructure (ifaceptr); + 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 + } +} diff --git a/atk/TextAdapter.custom b/atk/TextAdapter.custom index a39ca5a12..519dc2405 100644 --- a/atk/TextAdapter.custom +++ b/atk/TextAdapter.custom @@ -27,3 +27,28 @@ "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; + } + } diff --git a/atk/Util.custom b/atk/Util.custom index 79e87c242..ca4bc13a5 100644 --- a/atk/Util.custom +++ b/atk/Util.custom @@ -8,7 +8,7 @@ // // // This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -22,9 +22,9 @@ // Boston, MA 02111-1307, USA. - [GLib.CDeclCallback] + [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; @@ -40,7 +40,7 @@ public delegate uint AddGlobalEventListenerDelegate (GLib.Signal.EmissionHook hook, string event_type); - [DllImport("atksharpglue-2")] + [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_add_global_event_listener (AddGlobalEventListenerNativeDelegate cb); public static AddGlobalEventListenerDelegate AddGlobalEventListenerHandler { set { @@ -51,7 +51,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RemoveListenerNativeDelegate (uint listener_id); static RemoveListenerDelegate remove_global_event_listener_handler; @@ -66,9 +66,9 @@ } } - [DllImport("atksharpglue-2")] + [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 { @@ -97,17 +97,16 @@ } } - int InvokeNative (KeyEventStruct evnt) + int InvokeNative (Atk.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; } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate uint AddKeyEventListenerNativeDelegate (AtkSharp.KeySnoopFuncNative native_func, IntPtr data); static AddKeyEventListenerDelegate add_key_event_listener_handler; @@ -123,9 +122,9 @@ return 0; } - [DllImport("atksharpglue-2")] + [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 { @@ -149,9 +148,9 @@ } } - [DllImport("atksharpglue-2")] + [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; @@ -161,9 +160,9 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetRootNativeDelegate (); - + static GetRootDelegate get_root_handler; static GetRootNativeDelegate get_root_callback; @@ -177,9 +176,9 @@ return IntPtr.Zero; } - [DllImport("atksharpglue-2")] + [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 { @@ -195,7 +194,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetToolkitNameNativeDelegate (); static GetToolkitNameDelegate get_toolkit_name_handler; @@ -219,9 +218,9 @@ return IntPtr.Zero; } - [DllImport("atksharpglue-2")] + [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 { @@ -233,7 +232,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetToolkitVersionNativeDelegate (); static GetToolkitVersionDelegate get_toolkit_version_handler; @@ -257,9 +256,9 @@ return IntPtr.Zero; } - [DllImport("atksharpglue-2")] + [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 { @@ -270,4 +269,3 @@ atksharp_util_override_get_toolkit_version (get_toolkit_version_callback); } } - diff --git a/atk/atk-api-2.14.raw b/atk/atk-api-2.12.raw similarity index 99% rename from atk/atk-api-2.14.raw rename to atk/atk-api-2.12.raw index fc55853b5..a33144742 100644 --- a/atk/atk-api-2.14.raw +++ b/atk/atk-api-2.12.raw @@ -2017,7 +2017,7 @@ - + @@ -2285,10 +2285,10 @@ - + - + diff --git a/atk/atk-table.patch b/atk/atk-table.patch new file mode 100644 index 000000000..725d61786 --- /dev/null +++ b/atk/atk-table.patch @@ -0,0 +1,205 @@ +--- generated/ColumnDeletedHandler.cs 2009-10-06 13:41:52.000000000 -0700 ++++ ColumnDeletedHandler.cs 2009-10-06 14:03:40.000000000 -0700 +@@ -1,5 +1,6 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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 { + +--- generated/ColumnInsertedHandler.cs 2009-10-06 13:41:52.000000000 -0700 ++++ ColumnInsertedHandler.cs 2009-10-06 14:03:55.000000000 -0700 +@@ -1,5 +1,6 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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 { + +--- generated/RowDeletedHandler.cs 2009-10-06 13:41:52.000000000 -0700 ++++ RowDeletedHandler.cs 2009-10-06 14:04:00.000000000 -0700 +@@ -1,5 +1,6 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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 { + +--- generated/RowInsertedHandler.cs 2009-10-06 13:41:52.000000000 -0700 ++++ RowInsertedHandler.cs 2009-10-06 14:04:08.000000000 -0700 +@@ -1,5 +1,6 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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 { + +--- generated/Table.cs 2009-10-06 13:41:52.000000000 -0700 ++++ Table.cs 2009-10-06 14:04:20.000000000 -0700 +@@ -1,5 +1,6 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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 { + +@@ -34,11 +35,11 @@ + int GetIndexAt(int row, int column); + Atk.Object GetRowHeader(int row); + bool IsColumnSelected(int column); +- int GetSelectedRows(out int selected); ++ int [] SelectedRows { get; } + void SetRowDescription(int row, string description); + bool IsRowSelected(int row); + int GetRowExtentAt(int row, int column); +- int GetSelectedColumns(out int selected); ++ int [] SelectedColumns { get; } + int GetColumnAtIndex(int index_); + int GetRowAtIndex(int index_); + Atk.Object Caption { +@@ -73,8 +74,8 @@ + void SetColumnHeader (int column, Atk.Object header); + void SetRowDescription (int row, string description); + void SetRowHeader (int row, Atk.Object header); +- int GetSelectedColumns (out int selected); +- int GetSelectedRows (out int selected); ++ int [] SelectedColumns { get; } ++ int [] SelectedRows { get; } + bool IsColumnSelected (int column); + bool IsRowSelected (int row); + bool IsSelected (int row, int column); +--- generated-trunk/TableAdapter.cs 2009-11-09 15:50:24.000000000 -0800 ++++ TableAdapter.cs 2009-11-10 12:14:22.000000000 -0800 +@@ -1,5 +1,6 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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 { + +@@ -391,14 +392,20 @@ + } + + [GLib.CDeclCallback] +- delegate int GetSelectedColumnsDelegate (IntPtr table, out int selected); ++ delegate int GetSelectedColumnsDelegate (IntPtr table, out IntPtr selected_ptr); + +- static int GetSelectedColumnsCallback (IntPtr table, out int selected) ++ static int GetSelectedColumnsCallback (IntPtr table, out IntPtr selected_ptr) + { + try { + Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; +- int __result = __obj.GetSelectedColumns (out selected); +- return __result; ++ int [] selected = __obj.SelectedColumns; ++ if (selected.Length > 0) { ++ selected_ptr = GLib.Marshaller.Malloc ((ulong)(Marshal.SizeOf (typeof(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. +@@ -407,14 +414,20 @@ + } + + [GLib.CDeclCallback] +- delegate int GetSelectedRowsDelegate (IntPtr table, out int selected); ++ delegate int GetSelectedRowsDelegate (IntPtr table, out IntPtr selected); + +- static int GetSelectedRowsCallback (IntPtr table, out int selected) ++ static int GetSelectedRowsCallback (IntPtr table, out IntPtr selected_ptr) + { + try { + Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; +- int __result = __obj.GetSelectedRows (out selected); +- return __result; ++ int [] selected = __obj.SelectedRows; ++ if (selected.Length > 0) { ++ selected_ptr = GLib.Marshaller.Malloc ((ulong)(Marshal.SizeOf (typeof(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. +@@ -861,12 +874,27 @@ + } + + [DllImport("libatk-1.0-0.dll")] +- static extern int atk_table_get_selected_rows(IntPtr raw, out int selected); ++ static extern int atk_table_get_selected_rows(IntPtr raw, out IntPtr selected); + +- public int GetSelectedRows(out int selected) { +- int raw_ret = atk_table_get_selected_rows(Handle, out selected); +- int ret = raw_ret; +- return ret; ++ 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")] +@@ -897,12 +925,25 @@ + } + + [DllImport("libatk-1.0-0.dll")] +- static extern int atk_table_get_selected_columns(IntPtr raw, out int selected); ++ static extern int atk_table_get_selected_columns(IntPtr raw, out IntPtr selected); + +- public int GetSelectedColumns(out int selected) { +- int raw_ret = atk_table_get_selected_columns(Handle, out selected); +- int ret = raw_ret; +- return ret; ++ 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")] diff --git a/atk/atk.csproj b/atk/atk.csproj new file mode 100644 index 000000000..1d32d1e4b --- /dev/null +++ b/atk/atk.csproj @@ -0,0 +1,260 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {42FE871A-D8CF-4B29-9AFF-B02454E6C976} + Library + Atk + atk + v4.6 + + + + true + full + false + bin\Debug + DEBUG;GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + prompt + 4 + x86 + false + 0649;1616;1699 + true + + + none + false + bin\Release + prompt + 4 + x86 + false + 0649;1616;1699 + GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + true + + + true + + + gtk-sharp.snk + + + + + {3BF1D531-8840-4F15-8066-A9788D8C398B} + glib + + + + + + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + + Code + + + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + + + + Code + + + \ No newline at end of file diff --git a/atk/glue/misc.c b/atk/glue/misc.c index 443edda5b..f698a9e82 100644 --- a/atk/glue/misc.c +++ b/atk/glue/misc.c @@ -21,8 +21,23 @@ #include +static const gchar *__prefix = "__gtksharp_"; + +#define HAS_PREFIX(a) (*((guint64 *)(a)) == *((guint64 *) __prefix)) + +static GObjectClass * +get_threshold_class (GObject *obj) +{ + GType gtype = G_TYPE_FROM_INSTANCE (obj); + while (HAS_PREFIX (g_type_name (gtype))) + gtype = g_type_parent (gtype); + GObjectClass *klass = g_type_class_peek (gtype); + if (klass == NULL) klass = g_type_class_ref (gtype); + return klass; +} void atksharp_misc_override_threads_enter (GType gtype, gpointer cb); +void atksharp_misc_base_threads_enter (AtkMisc *misc); void atksharp_misc_override_threads_enter (GType gtype, gpointer cb) @@ -33,7 +48,16 @@ atksharp_misc_override_threads_enter (GType gtype, gpointer cb) ((AtkMiscClass *) klass)->threads_enter = cb; } +void +atksharp_misc_base_threads_enter (AtkMisc *misc) +{ + AtkMiscClass *parent = (AtkMiscClass *)get_threshold_class (G_OBJECT (misc)); + if (parent->threads_enter) + (*parent->threads_enter) (misc); +} + void atksharp_misc_override_threads_leave (GType gtype, gpointer cb); +void atksharp_misc_base_threads_leave (AtkMisc *misc); void atksharp_misc_override_threads_leave (GType gtype, gpointer cb) @@ -44,6 +68,14 @@ atksharp_misc_override_threads_leave (GType gtype, gpointer cb) ((AtkMiscClass *) klass)->threads_leave = cb; } +void +atksharp_misc_base_threads_leave (AtkMisc *misc) +{ + AtkMiscClass *parent = (AtkMiscClass *)get_threshold_class (G_OBJECT (misc)); + if (parent->threads_leave) + (*parent->threads_leave) (misc); +} + void atksharp_misc_set_singleton_instance (AtkMisc *misc); void diff --git a/atk/glue/object.c b/atk/glue/object.c index 2e1fb8e08..7c55765d9 100644 --- a/atk/glue/object.c +++ b/atk/glue/object.c @@ -21,21 +21,46 @@ #include +static const gchar *__prefix = "__gtksharp_"; + +#define HAS_PREFIX(a) (*((guint64 *)(a)) == *((guint64 *) __prefix)) + +static GObjectClass * +get_threshold_class (GObject *obj) +{ + GType gtype = G_TYPE_FROM_INSTANCE (obj); + while (HAS_PREFIX (g_type_name (gtype))) + gtype = g_type_parent (gtype); + GObjectClass *klass = g_type_class_peek (gtype); + if (klass == NULL) klass = g_type_class_ref (gtype); + return klass; +} + void atksharp_object_override_get_n_children (GType gtype, gpointer cb); +int atksharp_object_base_get_n_children (AtkObject *base); + void atksharp_object_override_ref_child (GType gtype, gpointer cb); +AtkObject *atksharp_object_base_ref_child (AtkObject *base, gint i); + 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); +gint atksharp_object_base_get_index_in_parent (AtkObject *base); + 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_attributes(GType gtype, gpointer cb); + +AtkAttributeSet* atksharp_object_base_get_attributes (AtkObject *base); + void atksharp_object_override_get_n_children (GType gtype, gpointer cb) { @@ -45,6 +70,15 @@ atksharp_object_override_get_n_children (GType gtype, gpointer cb) ((AtkObjectClass *) klass)->get_n_children = cb; } +int +atksharp_object_base_get_n_children (AtkObject *base) +{ + AtkObjectClass *parent = (AtkObjectClass *)get_threshold_class (G_OBJECT (base)); + if (parent->get_n_children) + return (*parent->get_n_children) (base); + return 0; +} + void atksharp_object_override_ref_child (GType gtype, gpointer cb) { @@ -54,6 +88,15 @@ atksharp_object_override_ref_child (GType gtype, gpointer cb) ((AtkObjectClass *) klass)->ref_child = cb; } +AtkObject * +atksharp_object_base_ref_child (AtkObject *base, gint i) +{ + AtkObjectClass *parent = (AtkObjectClass *)get_threshold_class (G_OBJECT (base)); + if (parent->ref_child) + return (*parent->ref_child) (base, i); + return NULL; +} + void atksharp_object_override_ref_state_set (GType gtype, gpointer cb) { @@ -66,8 +109,7 @@ atksharp_object_override_ref_state_set (GType gtype, gpointer cb) AtkStateSet* atksharp_object_base_ref_state_set (AtkObject *atk_obj) { - AtkObjectClass *parent = g_type_class_peek (ATK_TYPE_OBJECT); - + AtkObjectClass *parent = (AtkObjectClass *)get_threshold_class (G_OBJECT (atk_obj)); if (parent->ref_state_set) return (*parent->ref_state_set) (atk_obj); return NULL; @@ -82,6 +124,15 @@ atksharp_object_override_get_index_in_parent (GType gtype, gpointer cb) ((AtkObjectClass *) klass)->get_index_in_parent = cb; } +gint +atksharp_object_base_get_index_in_parent (AtkObject *atk_obj) +{ + AtkObjectClass *parent = (AtkObjectClass *)get_threshold_class (G_OBJECT (atk_obj)); + if (parent->get_index_in_parent) + return (*parent->get_index_in_parent) (atk_obj); + return -1; +} + void atksharp_object_override_ref_relation_set (GType gtype, gpointer cb) { @@ -94,10 +145,27 @@ atksharp_object_override_ref_relation_set (GType gtype, gpointer cb) AtkRelationSet* atksharp_object_base_ref_relation_set (AtkObject *atk_obj) { - AtkObjectClass *parent = g_type_class_peek (ATK_TYPE_OBJECT); - + AtkObjectClass *parent = (AtkObjectClass *)get_threshold_class (G_OBJECT (atk_obj)); 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; +} + +AtkAttributeSet* +atksharp_object_base_get_attributes (AtkObject *base) +{ + AtkObjectClass *parent = (AtkObjectClass *)get_threshold_class (G_OBJECT (base)); + if (parent->get_attributes) + return (*parent->get_attributes) (base); + return NULL; +} diff --git a/atk/glue/object_factory.c b/atk/glue/object_factory.c index ac6b05db6..ecf46a2b8 100644 --- a/atk/glue/object_factory.c +++ b/atk/glue/object_factory.c @@ -21,12 +21,30 @@ #include +static const gchar *__prefix = "__gtksharp_"; + +#define HAS_PREFIX(a) (*((guint64 *)(a)) == *((guint64 *) __prefix)) + +static GObjectClass * +get_threshold_class (GObject *obj) +{ + GType gtype = G_TYPE_FROM_INSTANCE (obj); + while (HAS_PREFIX (g_type_name (gtype))) + gtype = g_type_parent (gtype); + GObjectClass *klass = g_type_class_peek (gtype); + if (klass == NULL) klass = g_type_class_ref (gtype); + return klass; +} + void atksharp_object_factory_override_create_accessible (GType gtype, gpointer cb); +AtkObject *atksharp_object_factory_base_create_accessible (AtkObjectFactory *factory, GObject *obj); void atksharp_object_factory_override_invalidate (GType gtype, gpointer cb); +void atksharp_object_factory_base_invalidate (AtkObjectFactory *factory); void atksharp_object_factory_override_get_accessible_type (GType gtype, gpointer cb); +GType atksharp_object_factory_base_get_accessible_type (AtkObjectFactory *factory); void atksharp_object_factory_override_create_accessible (GType gtype, gpointer cb) @@ -37,6 +55,15 @@ atksharp_object_factory_override_create_accessible (GType gtype, gpointer cb) klass->create_accessible = cb; } +AtkObject * +atksharp_object_factory_base_create_accessible (AtkObjectFactory *factory, GObject *obj) +{ + AtkObjectFactoryClass *parent = (AtkObjectFactoryClass *)get_threshold_class (G_OBJECT (factory)); + if (parent->create_accessible) + return (*parent->create_accessible) (obj); + return NULL; +} + void atksharp_object_factory_override_invalidate (GType gtype, gpointer cb) { @@ -46,6 +73,15 @@ atksharp_object_factory_override_invalidate (GType gtype, gpointer cb) klass->invalidate = cb; } +void +atksharp_object_factory_base_invalidate (AtkObjectFactory *factory) +{ + AtkObjectFactoryClass *parent = (AtkObjectFactoryClass *)get_threshold_class (G_OBJECT (factory)); + if (parent->invalidate) + (*parent->invalidate) (factory); +} + + void atksharp_object_factory_override_get_accessible_type (GType gtype, gpointer cb) { @@ -54,3 +90,13 @@ atksharp_object_factory_override_get_accessible_type (GType gtype, gpointer cb) klass = g_type_class_ref (gtype); klass->get_accessible_type = cb; } + +GType +atksharp_object_factory_base_get_accessible_type (AtkObjectFactory *factory) +{ + AtkObjectFactoryClass *parent = (AtkObjectFactoryClass *)get_threshold_class (G_OBJECT (factory)); + if (parent->get_accessible_type) + return (*parent->get_accessible_type) (); + + return G_TYPE_INVALID; +} diff --git a/audit/get-apiinfo.pl b/audit/get-apiinfo.pl index 7154c48fb..c3a1e1503 100755 --- a/audit/get-apiinfo.pl +++ b/audit/get-apiinfo.pl @@ -31,6 +31,7 @@ print "getting api info: "; foreach $assm (`ls apitmp/*.dll`) { chomp ($assm); + next if ($assm =~ /policy/); $assm =~ /apitmp\/(.*)\.dll/; print "*"; `mono mono-api-info.exe $assm > $outdir/$1.apiinfo`; diff --git a/autogen.sh b/autogen.sh index 9f6099b1f..5ebb32ea2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,4 @@ echo -echo "**Error**: autogen.sh has been replaced by bootstrap for the 2.5.x release." -echo "To bootstrap a 1.9.x build run bootstrap-2.4." +echo "**Error**: autogen.sh has been replaced by bootstrap for the 2.12.x release." +echo "To bootstrap a 2.12.x build run ./bootstrap-2.12." DIE=1 diff --git a/bootstrap-2.12 b/bootstrap-2.12 new file mode 100755 index 000000000..234846bd6 --- /dev/null +++ b/bootstrap-2.12 @@ -0,0 +1,12 @@ +#!/bin/sh +# Run this to set configure.in up for an API version. + +GTK_SHARP_VERSION=2.12.45 +ASSEMBLY_VERSION=2.12.0.0 +POLICY_VERSIONS="2.4 2.6 2.8 2.10" +GTK_REQUIRED_VERSION=2.12.0 +VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12" +VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12" +GTK_API_TAG=2.12 + +. ./bootstrap-generic "$@" diff --git a/bootstrap-2.14 b/bootstrap-2.14 deleted file mode 100755 index 997b97743..000000000 --- a/bootstrap-2.14 +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# Run this to set configure.in up for an API version. - -GTK_SHARP_VERSION=2.13.90 -ASSEMBLY_VERSION=2.14.0.0 -POLICY_VERSIONS="2.4 2.6 2.8 2.10 2.12" -GTK_REQUIRED_VERSION=2.14.3 -GLIB_REQUIRED_VERSION=2.18.1 -VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12 -define:GTK_SHARP_2_14" -VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12 -DGTK_SHARP_2_14" -GTK_API_TAG=2.14 - -. ./bootstrap-generic "$@" diff --git a/bootstrap-generic b/bootstrap-generic index 6df03651e..5d768e173 100755 --- a/bootstrap-generic +++ b/bootstrap-generic @@ -16,7 +16,6 @@ set -x sed -e "s/@GTK_SHARP_VERSION@/$GTK_SHARP_VERSION/" \ -e "s/@GTK_REQUIRED_VERSION@/$GTK_REQUIRED_VERSION/" \ - -e "s/@GLIB_REQUIRED_VERSION@/$GLIB_REQUIRED_VERSION/" \ -e "s/@VERSIONCSDEFINES@/$VERSIONCSDEFINES/" \ -e "s/@VERSIONCFLAGS@/$VERSIONCFLAGS/" \ -e "s/@POLICY_VERSIONS@/$POLICY_VERSIONS/" \ @@ -42,18 +41,18 @@ DIE=0 DIE=1 } -if [ -z "$LIBTOOL" ]; then - LIBTOOL=`which glibtool 2>/dev/null` - if [ ! -x "$LIBTOOL" ]; then - LIBTOOL=`which libtool` +if [ -z "$LIBTOOLIZE" ]; then + LIBTOOLIZE=`which glibtoolize 2>/dev/null` + if [ ! -x "$LIBTOOLIZE" ]; then + LIBTOOLIZE=`which libtoolize` fi fi (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { - ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || { + ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || { echo - echo "**Error**: You must have \`libtool' installed to compile Gtk#." - echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" + echo "**Error**: You must have \`libtoolize' installed to compile Gtk#." + echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.3.tar.gz" echo "(or a newer version if it is available)" DIE=1 } @@ -99,7 +98,7 @@ esac if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." - libtoolize --force --copy + $LIBTOOLIZE --force --copy fi fi @@ -114,7 +113,7 @@ aclocal $ACLOCAL_FLAGS || { exit 1 } -if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then +if grep "^AC_CONFIG_HEADERS" configure.in >/dev/null; then echo "Running autoheader..." autoheader || { echo "**Error**: autoheader failed."; exit 1; } fi diff --git a/cairo/Context.cs b/cairo/Context.cs index 8be45624f..e69783b47 100644 --- a/cairo/Context.cs +++ b/cairo/Context.cs @@ -163,8 +163,8 @@ static Context () // except in the case of Win64 where sizeof(long) // is 32 bits // - int ptr_size = Marshal.SizeOf (typeof (IntPtr)); - + int ptr_size = IntPtr.Size; + PlatformID platform = Environment.OSVersion.Platform; if (platform == PlatformID.Win32NT || platform == PlatformID.Win32S || @@ -252,7 +252,7 @@ public Cairo.Operator Operator { } } - //FIXME: obsolete this property + [Obsolete("Use SetSourceColor")] public Cairo.Color Color { set { NativeMethods.cairo_set_source_rgba (state, value.R, value.G, value.B, value.A); @@ -386,6 +386,11 @@ public Cairo.ScaledFont ScaledFont { 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) { diff --git a/cairo/FontExtents.cs b/cairo/FontExtents.cs index 76c7e658d..08fecfaf1 100644 --- a/cairo/FontExtents.cs +++ b/cairo/FontExtents.cs @@ -37,7 +37,7 @@ namespace Cairo { [StructLayout (LayoutKind.Sequential)] - public struct FontExtents + public struct FontExtents : IEquatable { double ascent; double descent; @@ -86,6 +86,11 @@ public override bool Equals (object obj) return false; } + public bool Equals (FontExtents other) + { + return this == other; + } + public override int GetHashCode () { return (int) Ascent ^ (int) Descent ^ (int) Height ^ (int) MaxXAdvance ^ (int) MaxYAdvance; diff --git a/cairo/Glyph.cs b/cairo/Glyph.cs index ec9c2ff38..29e0aaaa6 100644 --- a/cairo/Glyph.cs +++ b/cairo/Glyph.cs @@ -33,7 +33,7 @@ namespace Cairo { [StructLayout(LayoutKind.Sequential)] - public struct Glyph + public struct Glyph : IEquatable { internal long index; internal double x; @@ -68,6 +68,11 @@ public override bool Equals (object obj) return false; } + public bool Equals (Glyph other) + { + return this == other; + } + public override int GetHashCode () { return (int) Index ^ (int) X ^ (int) Y; diff --git a/cairo/Makefile.am b/cairo/Makefile.am index c73e03082..d1018a6f6 100644 --- a/cairo/Makefile.am +++ b/cairo/Makefile.am @@ -1,17 +1,21 @@ ASSEMBLY_NAME = Mono.Cairo ASSEMBLY = $(ASSEMBLY_NAME).dll -POLICY_ASSEMBLY = policy.1.0.$(ASSEMBLY) -POLICY_CONFIG = policy.1.0.config + +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_ASSEMBLY) +TARGET=$(ASSEMBLY) $(POLICY_1_0_ASSEMBLY) $(POLICY_2_0_ASSEMBLY) else TARGET= endif noinst_DATA = $(TARGET) -CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLY) mono.snk +CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_1_0_ASSEMBLY) $(POLICY_2_0_ASSEMBLY) mono.snk sources = \ Antialias.cs \ @@ -73,16 +77,22 @@ $(ASSEMBLY): $(build_sources) mono.snk @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) -$(POLICY_ASSEMBLY): $(srcdir)/$(POLICY_CONFIG) mono.snk +$(POLICY_1_0_ASSEMBLY): $(srcdir)/$(POLICY_1_0_CONFIG) mono.snk echo "Creating policy.1.0.$(ASSEMBLY)"; - $(AL) -link:$(POLICY_CONFIG) -out:$@ -keyfile:mono.snk; + $(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_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ - $(GACUTIL) /i $(POLICY_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: @@ -91,7 +101,8 @@ uninstall-local: $(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_CONFIG) - +EXTRA_DIST = $(sources) $(POLICY_1_0_CONFIG) $(POLICY_2_0_CONFIG) diff --git a/cairo/NativeMethods.cs b/cairo/NativeMethods.cs index eb929a5b7..461d4df89 100644 --- a/cairo/NativeMethods.cs +++ b/cairo/NativeMethods.cs @@ -18,10 +18,10 @@ // 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 @@ -45,753 +45,753 @@ public class NativeMethods private NativeMethods () {} const string cairo = "libcairo-2.dll"; - - //[DllImport (cairo)] + + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_append_path (IntPtr cr, Path path); - - [DllImport (cairo)] + + [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)] + + [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)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_atsui_font_face_create_for_atsu_font_id (IntPtr font_id); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_clip (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_clip_preserve (IntPtr cr); - [DllImport (cairo)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_close_path (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_copy_page (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_copy_path (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_copy_path_flat (IntPtr cr); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_append_path (IntPtr cr, IntPtr path); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_create (IntPtr target); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern uint cairo_get_reference_count (IntPtr surface); - - [DllImport (cairo)] + + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_debug_reset_static_data (); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_destroy (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_device_to_user (IntPtr cr, ref double x, ref double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_device_to_user_distance (IntPtr cr, ref double dx, ref double dy); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_fill (IntPtr cr); - - [DllImport (cairo)] + + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_fill_preserve (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_extents (IntPtr cr, out FontExtents extents); - + // FontFace - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_face_destroy (IntPtr font_face); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern FontType cairo_font_face_get_type (IntPtr font_face); - //[DllImport (cairo)] + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_font_face_get_user_data (IntPtr font_face); - - //[DllImport (cairo)] + + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_font_face_set_user_data (IntPtr font_face); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_font_face_reference (IntPtr font_face); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_font_face_status (IntPtr font_face); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern uint cairo_font_face_get_reference_count (IntPtr surface); - + // FontOptions - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_font_options_copy (IntPtr original); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_font_options_create (); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_destroy (IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_font_options_equal (IntPtr options, IntPtr other); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Antialias cairo_font_options_get_antialias (IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern HintMetrics cairo_font_options_get_hint_metrics (IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern HintStyle cairo_font_options_get_hint_style (IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern SubpixelOrder cairo_font_options_get_subpixel_order (IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern long cairo_font_options_hash (IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_merge (IntPtr options, IntPtr other); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_antialias (IntPtr options, Antialias aa); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_hint_metrics (IntPtr options, HintMetrics metrics); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_hint_style (IntPtr options, HintStyle style); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_subpixel_order (IntPtr options, SubpixelOrder order); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_font_options_status (IntPtr options); - - // Freetype / FontConfig - [DllImport (cairo)] + + // 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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_ft_font_face_create_for_pattern (IntPtr fc_pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ft_font_options_substitute (FontOptions options, IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_ft_scaled_font_lock_face (IntPtr scaled_font); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ft_scaled_font_unlock_face (IntPtr scaled_font); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Antialias cairo_get_antialias (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_current_point (IntPtr cr, out double x, out double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern FillRule cairo_get_fill_rule (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_font_face (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_font_matrix (IntPtr cr, out Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_font_options (IntPtr cr, IntPtr options); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_group_target (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern LineCap cairo_get_line_cap (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern LineJoin cairo_get_line_join (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_get_line_width (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_matrix (IntPtr cr, Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_get_miter_limit (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Operator cairo_get_operator (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_source (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_target (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_get_tolerance (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_glitz_surface_create (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_glyph_extents (IntPtr cr, IntPtr glyphs, int num_glyphs, out TextExtents extents); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_glyph_path (IntPtr cr, IntPtr glyphs, int num_glyphs); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_identity_matrix (IntPtr cr); - + // ImageSurface - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_create (Cairo.Format format, int width, int height); - - [DllImport (cairo)] + + [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)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_create_from_png (string filename); - - //[DllImport (cairo)] + + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_image_surface_create_from_png_stream (string filename); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_get_data (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Format cairo_image_surface_get_format (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_image_surface_get_height (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_image_surface_get_stride (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_image_surface_get_width (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern uint cairo_surface_get_reference_count (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_in_fill (IntPtr cr, double x, double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_in_stroke (IntPtr cr, double x, double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_line_to (IntPtr cr, double x, double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_mask (IntPtr cr, IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_mask_surface (IntPtr cr, IntPtr surface, double x, double y); - + // Matrix - [DllImport (cairo)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_identity (Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_rotate (Matrix matrix, double radians); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_scale (Matrix matrix, double sx, double sy); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_translate (Matrix matrix, double tx, double ty); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_matrix_invert (Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_multiply (Matrix result, Matrix a, Matrix b); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_scale (Matrix matrix, double sx, double sy); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_rotate (Matrix matrix, double radians); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_transform_distance (Matrix matrix, ref double dx, ref double dy); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_transform_point (Matrix matrix, ref double x, ref double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_translate (Matrix matrix, double tx, double ty); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_move_to (IntPtr cr, double x, double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_new_path (IntPtr cr); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_new_sub_path (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_paint (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_paint_with_alpha (IntPtr cr, double alpha); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_path_destroy (IntPtr path); - + // Pattern - [DllImport (cairo)] + [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)] + + [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)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_color_stop_count (IntPtr pattern, out int count); - [DllImport (cairo)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_for_surface (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_surface (IntPtr pattern, out IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_linear (double x0, double y0, double x1, double y1); - [DllImport (cairo)] + [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)] + + [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)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_rgb (double r, double g, double b); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_rgba (double r, double g, double b, double a); - [DllImport (cairo)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_destroy (IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Extend cairo_pattern_get_extend (IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Filter cairo_pattern_get_filter (IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_get_matrix (IntPtr pattern, Matrix matrix); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern PatternType cairo_pattern_get_type (IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_reference (IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_set_extend (IntPtr pattern, Extend extend); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_set_filter (IntPtr pattern, Filter filter); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_set_matrix (IntPtr pattern, Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_status (IntPtr pattern); - + // PdfSurface - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pdf_surface_create (string filename, double width, double height); - - //[DllImport (cairo)] + + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_pdf_surface_create_for_stream (string filename, double width, double height); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pdf_surface_set_size (IntPtr surface, double x, double y); - + // PostscriptSurface - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_ps_surface_create (string filename, double width, double height); - - //[DllImport (cairo)] + + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_ps_surface_create_for_stream (string filename, double width, double height); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_begin_page_setup (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_begin_setup (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_dsc_comment (IntPtr surface, string comment); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_set_size (IntPtr surface, double x, double y); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pop_group (IntPtr cr); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pop_group_to_source (IntPtr cr); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_push_group (IntPtr cr); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_push_group_with_content (IntPtr cr, Content content); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_quartz_surface_create (IntPtr context, bool flipped, int width, int height); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rectangle (IntPtr cr, double x, double y, double width, double height); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_reference (IntPtr cr); - - [DllImport (cairo)] + + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rel_line_to (IntPtr cr, double dx, double dy); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rel_move_to (IntPtr cr, double dx, double dy); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_reset_clip (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_restore (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rotate (IntPtr cr, double angle); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_save (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scale (IntPtr cr, double sx, double sy); - + // ScaledFont - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_create (IntPtr fontFace, Matrix matrix, Matrix ctm, IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_destroy (IntPtr scaled_font); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_extents (IntPtr scaled_font, out FontExtents extents); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_get_ctm (IntPtr scaled_font, out Matrix matrix); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_get_font_face (IntPtr scaled_font); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_get_font_matrix (IntPtr scaled_font, out Matrix matrix); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_get_font_options (IntPtr scaled_font); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern FontType cairo_scaled_font_get_type (IntPtr scaled_font); - [DllImport (cairo)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_reference (IntPtr scaled_font); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_scaled_font_status (IntPtr scaled_font); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_scaled_font (IntPtr cr, IntPtr scaled_font); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_scaled_font (IntPtr cr); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_text_extents (IntPtr scaled_font, string utf8, out TextExtents extents); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_select_font_face (IntPtr cr, string family, FontSlant slant, FontWeight weight); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_antialias (IntPtr cr, Antialias antialias); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_dash (IntPtr cr, double [] dashes, int ndash, double offset); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_dash (IntPtr cr, IntPtr dashes, out double offset); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_get_dash_count (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_fill_rule (IntPtr cr, Cairo.FillRule fill_rule); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_face (IntPtr cr, IntPtr fontFace); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_matrix (IntPtr cr, Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_options (IntPtr cr, IntPtr options); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_size (IntPtr cr, double size); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_line_cap (IntPtr cr, LineCap line_cap); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_line_join (IntPtr cr, LineJoin line_join); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_line_width (IntPtr cr, double width); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_matrix (IntPtr cr, Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_miter_limit (IntPtr cr, double limit); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_operator (IntPtr cr, Cairo.Operator op); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_source (IntPtr cr, IntPtr pattern); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_source_rgb (IntPtr cr, double red, double green, double blue); - [DllImport (cairo)] + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_source_surface (IntPtr cr, IntPtr surface, double x, double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_tolerance (IntPtr cr, double tolerance); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_show_glyphs (IntPtr ct, IntPtr glyphs, int num_glyphs); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_show_page (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_show_text (IntPtr cr, string utf8); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_status (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_status_to_string (Status status); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_stroke (IntPtr cr); - - [DllImport (cairo)] + + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_stroke_preserve (IntPtr cr); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rectangle_list_destroy (IntPtr rectangle_list); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_copy_clip_rectangle_list (IntPtr cr); // Surface - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_surface_create_similar (IntPtr surface, Cairo.Content content, int width, int height); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_destroy (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_finish (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_flush (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Content cairo_surface_get_content (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_get_device_offset (IntPtr surface, out double x, out double y); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_get_font_options (IntPtr surface, IntPtr FontOptions); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern SurfaceType cairo_surface_get_type (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_mark_dirty (IntPtr surface); - - [DllImport (cairo)] + + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_surface_reference (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_set_device_offset (IntPtr surface, double x, double y); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_set_fallback_resolution (IntPtr surface, double x, double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_surface_status (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_write_to_png (IntPtr surface, string filename); - - //[DllImport (cairo)] + + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_surface_write_to_png_stream (IntPtr surface, WriteFunc writeFunc); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_svg_surface_create (string fileName, double width, double height); - - //[DllImport (cairo)] + + //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_svg_surface_create_for_stream (double width, double height); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_svg_surface_restrict_to_version (IntPtr surface, SvgVersion version); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_text_extents (IntPtr cr, string utf8, out TextExtents extents); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_text_path (IntPtr ct, string utf8); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_transform (IntPtr cr, Matrix matrix); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_translate (IntPtr cr, double tx, double ty); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_user_to_device_distance (IntPtr cr, ref double dx, ref double dy); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_version (); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_version_string (); - + // DirectFBSurface - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_directfb_surface_create (IntPtr dfb, IntPtr surface); - + // win32 fonts - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_win32_font_face_create_for_logfontw (IntPtr logfontw); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_win32_scaled_font_done_font (IntPtr scaled_font); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_win32_scaled_font_get_metrics_factor (IntPtr scaled_font); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_win32_scaled_font_select_font (IntPtr scaled_font, IntPtr hdc); - + // win32 surface - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_win32_surface_create (IntPtr hdc); - - [DllImport (cairo)] + + [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)] + [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)] + + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_xcb_surface_set_size (IntPtr surface, int width, int height); - + // XlibSurface - [DllImport (cairo)] + [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)] + + [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)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_xlib_surface_get_depth (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_display (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_drawable (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_xlib_surface_get_height (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_screen (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_visual (IntPtr surface); - [DllImport (cairo)] + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_xlib_surface_get_width (IntPtr surface); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_xlib_surface_set_drawable (IntPtr surface, IntPtr drawable, int width, int height); - - [DllImport (cairo)] + + [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_xlib_surface_set_size (IntPtr surface, int width, int height); } } diff --git a/cairo/Rectangle.cs b/cairo/Rectangle.cs index 233a1bacf..ee8045cdb 100644 --- a/cairo/Rectangle.cs +++ b/cairo/Rectangle.cs @@ -30,7 +30,7 @@ namespace Cairo { - public struct Rectangle + public struct Rectangle : IEquatable { double x; double y; @@ -75,6 +75,11 @@ public override bool Equals (object obj) return this == (Rectangle)obj; return false; } + + public bool Equals (Rectangle other) + { + return this == other; + } public override int GetHashCode () { diff --git a/cairo/TextExtents.cs b/cairo/TextExtents.cs index f9cd560f3..0571b9763 100644 --- a/cairo/TextExtents.cs +++ b/cairo/TextExtents.cs @@ -34,7 +34,7 @@ namespace Cairo { [StructLayout (LayoutKind.Sequential)] - public struct TextExtents + public struct TextExtents : IEquatable { double xbearing; double ybearing; @@ -80,6 +80,11 @@ public override bool Equals (object obj) return false; } + public bool Equals (TextExtents other) + { + return this == other; + } + public override int GetHashCode () { return (int)XBearing ^ (int)YBearing ^ (int)Width ^ (int)Height ^ (int)XAdvance ^ (int)YAdvance; diff --git a/cairo/cairo.csproj b/cairo/cairo.csproj new file mode 100644 index 000000000..afa782726 --- /dev/null +++ b/cairo/cairo.csproj @@ -0,0 +1,194 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {364577DB-9728-4951-AC2C-EDF7A6FCC09D} + Library + Cairo + cairo + v4.6 + + + + true + full + false + bin\Debug + DEBUG;GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + prompt + 4 + x86 + false + 1616;1699 + true + + + none + false + bin\Release + prompt + 4 + x86 + false + 1616;1699 + GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + true + + + true + + + mono.snk + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + + + \ No newline at end of file diff --git a/cairo/mono.snk b/cairo/mono.snk new file mode 100644 index 000000000..380116c18 Binary files /dev/null and b/cairo/mono.snk differ diff --git a/cairo/policy.1.0.config b/cairo/policy.1.0.config index 67533d21c..4efc35136 100644 --- a/cairo/policy.1.0.config +++ b/cairo/policy.1.0.config @@ -2,7 +2,7 @@ - + diff --git a/cairo/policy.2.0.config b/cairo/policy.2.0.config new file mode 100644 index 000000000..eedd6e813 --- /dev/null +++ b/cairo/policy.2.0.config @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/configure.in.in b/configure.in.in index 327f1d5c8..dde7bce7c 100644 --- a/configure.in.in +++ b/configure.in.in @@ -1,8 +1,9 @@ -AC_INIT(README) +AC_INIT([gtk-sharp], [@GTK_SHARP_VERSION@]) +AC_CONFIG_SRCDIR(README) AC_CANONICAL_SYSTEM -AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(gtk-sharp, @GTK_SHARP_VERSION@) +AC_CONFIG_HEADERS(config.h) +AM_INIT_AUTOMAKE AM_MAINTAINER_MODE API_VERSION=@ASSEMBLY_VERSION@ @@ -20,14 +21,18 @@ case "$host" in WIN64DEFINES="-define:WIN64LONGS" platform_win32=yes AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32]) - CC="gcc -mno-cygwin -g" - HOST_CC="gcc" + 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]) - CC="gcc -mno-cygwin -g" - HOST_CC="gcc" + if test "x$cross_compiling" = "xno"; then + CC="gcc -g" + HOST_CC="gcc" + fi ;; *) platform_win32=no @@ -38,7 +43,6 @@ AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes) AC_CHECK_TOOL(CC, gcc, gcc) AC_PROG_CC -AM_PROG_CC_STDC AC_PROG_INSTALL dnl may require a specific autoconf version @@ -59,18 +63,13 @@ AC_HEADER_STDC AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL -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 - # 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' +DEBUG_FLAGS='-debug:pdbonly' else DEBUG_FLAGS= AC_ARG_ENABLE(debug, [ --enable-debug Build debugger (.mdb) files for dlls], @@ -78,9 +77,15 @@ AC_ARG_ENABLE(debug, [ --enable-debug Build debugger (.mdb) files for ) 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='@VERSIONCSDEFINES@' -CSFLAGS="$DEBUG_FLAGS $CSDEFINES $WIN64DEFINES" -AC_SUBST(CSFLAGS) GTK_SHARP_VERSION_CFLAGS='@VERSIONCFLAGS@' AC_SUBST(GTK_SHARP_VERSION_CFLAGS) @@ -101,29 +106,42 @@ 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) +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' +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" != "no" ; then +if test "x$RUNTIME" != "xno" ; then RUNTIME=mono fi -AC_PATH_PROG(CSC, mcs, no) +AC_PATH_PROG([CSC], mcs, no) if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib @@ -131,7 +149,7 @@ else LIB_PREFIX=.so LIB_SUFFIX= fi -SDCHECK="`$GACUTIL /l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`" +SDCHECK="`$GACUTIL -l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`" if test "x$SDCHECK" = "xSystem.Drawing"; then enable_dotnet=yes else @@ -157,6 +175,7 @@ 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) @@ -169,16 +188,11 @@ PKG_CHECK_MODULES(MONO_CAIRO, mono-cairo >= $MONO_REQUIRED_VERSION, enable_mono_ AC_SUBST(MONO_CAIRO_LIBS) GTK_REQUIRED_VERSION=@GTK_REQUIRED_VERSION@ -GLIB_REQUIRED_VERSION=@GLIB_REQUIRED_VERSION@ -PKG_CHECK_MODULES(GLIB, gobject-2.0 >= $GLIB_REQUIRED_VERSION) +PKG_CHECK_MODULES(GLIB, gobject-2.0 >= $GTK_REQUIRED_VERSION) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) -PKG_CHECK_MODULES(GIO, gio-2.0 >= $GLIB_REQUIRED_VERSION) -AC_SUBST(GIO_CFLAGS) -AC_SUBST(GIO_LIBS) - PKG_CHECK_MODULES(PANGO, pango) AC_SUBST(PANGO_CFLAGS) AC_SUBST(PANGO_LIBS) @@ -196,30 +210,58 @@ PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $GLADE_REQUIRED_VERSION, enable_glade=y AC_SUBST(GLADE_CFLAGS) AC_SUBST(GLADE_LIBS) -AC_PATH_PROG(MDOC, mdoc, no) -if test "x$MDOC" = "xno"; then +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(MDOC) +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 -gtk-sharp-2.0-lib.wxs -gtk-sharp-2.0-dev.wxs +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 @@ -231,10 +273,6 @@ glib/Makefile glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config glib/glue/Makefile -gio/Makefile -gio/gio-sharp-2.0.pc -gio/gio-sharp.dll.config -gio/glue/Makefile cairo/Makefile pango/Makefile pango/pango-sharp.dll.config @@ -267,10 +305,9 @@ sample/opaquetest/Makefile sample/opaquetest/opaquetest.exe.config ]) -if test "x$enable_mono_cairo" = "xyes"; then - cairo_comment="building local copy" -else - cairo_comment="using system assembly" +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 "---" @@ -282,8 +319,12 @@ echo "" echo " Optional assemblies included in the build:" echo "" echo " * glade-sharp.dll: $enable_glade" -echo " * gtk-dotnet.dll: $enable_dotnet" -echo " * Mono.Cairo.dll: $cairo_comment" +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" @@ -295,4 +336,3 @@ if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/mono echo " Monodoc will not be able to load the documentation." fi echo "---" - diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 000000000..6100cdd0d --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1,2 @@ +gtk-sharp-docs.tree +gtk-sharp-docs.zip diff --git a/doc/ChangeLog b/doc/ChangeLog index f21f92be4..7ac744d47 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-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: @@ -5,8 +10,8 @@ 2006-08-09 Alp Toker - * GLib/Thread.xml: - * Gdk/Threads.xml: Explain proper thread awareness init. + * en/GLib/Thread.xml: + * en/Gdk/Threads.xml: Explain proper thread awareness init. 2006-03-23 Hector E. Gomez Morales diff --git a/doc/Makefile.am b/doc/Makefile.am index 1e7af8fdf..4da8412b2 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,22 +1,23 @@ -ASSEMBLIES = \ - lib/glib-sharp.dll \ - lib/gio-sharp.dll \ - lib/pango-sharp.dll \ - lib/atk-sharp.dll \ - lib/gdk-sharp.dll \ - lib/gtk-sharp.dll \ - lib/glade-sharp.dll \ - lib/gnome-vfs-sharp.dll \ - lib/art-sharp.dll \ - lib/gnome-sharp.dll \ - lib/gconf-sharp.dll \ - lib/gconf-sharp-peditors.dll \ - lib/gtkhtml-sharp.dll \ - lib/rsvg2-sharp.dll \ - lib/vte-sharp.dll \ - lib/gtk-dotnet.dll - -UPDATER = $(MDOC) update --out=en -pretty --fno-assembly-versions --since="Gtk# 2.14" $(ASSEMBLIES) +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) if ENABLE_MONODOC SOURCESDIR=$(prefix)/lib/monodoc/sources @@ -31,8 +32,10 @@ monodoc_DATA=$(TARGETS) assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree -gtk-sharp-docs.zip gtk-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml - $(MDOC) assemble -o gtk-sharp-docs $(srcdir)/en +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" @@ -43,14 +46,18 @@ get-assemblies: 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/*/*.dll lib - cp $(top_builddir)/../gnome-desktop-sharp/*/*.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 - $(MDOC) update --out=en --fno-assembly-versions --since="Gtk# 2.14" $(ASSEMBLIES) + $(UPDATER) update-delete: get-assemblies - $(MDOC) update --out=en --fno-assembly-versions --delete --since="Gtk# 2.14" $(ASSEMBLIES) + $(UPDATER) --delete CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib diff --git a/doc/en/Art/Affine.xml b/doc/en/Art/Affine.xml index 34d6a6db1..1c7339324 100644 --- a/doc/en/Art/Affine.xml +++ b/doc/en/Art/Affine.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -27,7 +34,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -47,7 +58,11 @@ + Method + + 2.24.0.0 + System.Double @@ -63,7 +78,11 @@ + Method + + 2.24.0.0 + System.Void @@ -85,7 +104,11 @@ + Method + + 2.24.0.0 + System.Void @@ -100,7 +123,11 @@ + Method + + 2.24.0.0 + System.Void @@ -117,7 +144,11 @@ + Method + + 2.24.0.0 + System.Void @@ -136,7 +167,11 @@ + Method + + 2.24.0.0 + Art.Point @@ -154,7 +189,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -172,7 +211,11 @@ + Method + + 2.24.0.0 + System.Void @@ -189,7 +232,11 @@ + Method + + 2.24.0.0 + System.Void @@ -208,7 +255,11 @@ + Method + + 2.24.0.0 + System.Void @@ -225,7 +276,11 @@ + Method + + 2.24.0.0 + System.Void @@ -242,7 +297,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/Art/AlphaGamma.xml b/doc/en/Art/AlphaGamma.xml index 96efeba94..4b0e27814 100644 --- a/doc/en/Art/AlphaGamma.xml +++ b/doc/en/Art/AlphaGamma.xml @@ -1,9 +1,12 @@ + 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. @@ -21,7 +24,11 @@ + Method + + 2.24.0.0 + System.Void @@ -33,7 +40,11 @@ + Method + + 2.24.0.0 + Art.AlphaGamma @@ -49,7 +60,11 @@ + Method + + 2.24.0.0 + Art.AlphaGamma @@ -65,7 +80,11 @@ + Field + + 2.24.0.0 + Art.AlphaGamma diff --git a/doc/en/Art/AlphaType.xml b/doc/en/Art/AlphaType.xml index afe876e88..27bdc6924 100644 --- a/doc/en/Art/AlphaType.xml +++ b/doc/en/Art/AlphaType.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.AlphaType @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.AlphaType @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.AlphaType diff --git a/doc/en/Art/Bpath.xml b/doc/en/Art/Bpath.xml index 1c3d76547..af74a415b 100644 --- a/doc/en/Art/Bpath.xml +++ b/doc/en/Art/Bpath.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + Art.Bpath @@ -33,7 +40,11 @@ + Field + + 2.24.0.0 + Art.Pathcode @@ -46,7 +57,11 @@ + Method + + 2.24.0.0 + Art.Bpath @@ -62,7 +77,11 @@ + Field + + 2.24.0.0 + System.Double @@ -75,7 +94,11 @@ + Field + + 2.24.0.0 + System.Double @@ -88,7 +111,11 @@ + Field + + 2.24.0.0 + System.Double @@ -101,7 +128,11 @@ + Field + + 2.24.0.0 + System.Double @@ -114,7 +145,11 @@ + Field + + 2.24.0.0 + System.Double @@ -127,7 +162,11 @@ + Field + + 2.24.0.0 + System.Double @@ -140,7 +179,11 @@ + Field + + 2.24.0.0 + Art.Bpath diff --git a/doc/en/Art/CompositingMode.xml b/doc/en/Art/CompositingMode.xml index 41cfdd32c..2a749d893 100644 --- a/doc/en/Art/CompositingMode.xml +++ b/doc/en/Art/CompositingMode.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.CompositingMode @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.CompositingMode @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.CompositingMode diff --git a/doc/en/Art/DRect.xml b/doc/en/Art/DRect.xml index 4034aa8c2..4a0341b12 100644 --- a/doc/en/Art/DRect.xml +++ b/doc/en/Art/DRect.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + System.Void @@ -34,7 +41,11 @@ + Method + + 2.24.0.0 + System.Void @@ -49,7 +60,11 @@ + Method + + 2.24.0.0 + System.Int32 @@ -62,7 +77,11 @@ + Method + + 2.24.0.0 + System.Void @@ -79,7 +98,11 @@ + Method + + 2.24.0.0 + Art.DRect @@ -95,7 +118,11 @@ + Method + + 2.24.0.0 + System.Void @@ -110,7 +137,11 @@ + Method + + 2.24.0.0 + System.Void @@ -125,7 +156,11 @@ + Method + + 2.24.0.0 + System.Void @@ -142,7 +177,11 @@ + Method + + 2.24.0.0 + System.Void @@ -159,7 +198,11 @@ + Field + + 2.24.0.0 + System.Double @@ -172,7 +215,11 @@ + Field + + 2.24.0.0 + System.Double @@ -185,7 +232,11 @@ + Field + + 2.24.0.0 + System.Double @@ -198,7 +249,11 @@ + Field + + 2.24.0.0 + System.Double @@ -211,7 +266,11 @@ + Field + + 2.24.0.0 + Art.DRect diff --git a/doc/en/Art/DestroyNotify.xml b/doc/en/Art/DestroyNotify.xml index b6cd5ffdc..a902124ae 100644 --- a/doc/en/Art/DestroyNotify.xml +++ b/doc/en/Art/DestroyNotify.xml @@ -1,24 +1,27 @@ + 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 - - System.Void - - - - diff --git a/doc/en/Art/FilterLevel.xml b/doc/en/Art/FilterLevel.xml index e24d12f52..b6a4cc4bb 100644 --- a/doc/en/Art/FilterLevel.xml +++ b/doc/en/Art/FilterLevel.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.FilterLevel @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.FilterLevel @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.FilterLevel @@ -58,7 +73,11 @@ + Field + + 2.24.0.0 + Art.FilterLevel diff --git a/doc/en/Art/Global.xml b/doc/en/Art/Global.xml index a83e97df7..273045ecb 100644 --- a/doc/en/Art/Global.xml +++ b/doc/en/Art/Global.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -27,7 +34,11 @@ + Method + + 2.24.0.0 + Art.Point @@ -61,7 +72,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -79,7 +94,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -105,7 +124,11 @@ + Method + + 2.24.0.0 + Art.IRect diff --git a/doc/en/Art/GradientLinear.xml b/doc/en/Art/GradientLinear.xml index 98eca1aac..13ce8d366 100644 --- a/doc/en/Art/GradientLinear.xml +++ b/doc/en/Art/GradientLinear.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Field + + 2.24.0.0 + System.Double @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + System.Double @@ -43,7 +54,11 @@ + Field + + 2.24.0.0 + System.Double @@ -56,7 +71,11 @@ + Method + + 2.24.0.0 + Art.GradientLinear @@ -72,7 +91,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -85,7 +108,11 @@ + Field + + 2.24.0.0 + Art.GradientSpread @@ -98,7 +125,11 @@ + Property + + 2.24.0.0 + Art.GradientStop @@ -111,7 +142,11 @@ + Field + + 2.24.0.0 + Art.GradientLinear diff --git a/doc/en/Art/GradientRadial.xml b/doc/en/Art/GradientRadial.xml index 0ef2e76fd..52dc61752 100644 --- a/doc/en/Art/GradientRadial.xml +++ b/doc/en/Art/GradientRadial.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Field + + 2.24.0.0 + System.Double[] @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + System.Double @@ -43,7 +54,11 @@ + Field + + 2.24.0.0 + System.Double @@ -56,7 +71,11 @@ + Method + + 2.24.0.0 + Art.GradientRadial @@ -72,7 +91,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -85,7 +108,11 @@ + Property + + 2.24.0.0 + Art.GradientStop @@ -98,7 +125,11 @@ + Field + + 2.24.0.0 + Art.GradientRadial diff --git a/doc/en/Art/GradientSpread.xml b/doc/en/Art/GradientSpread.xml index 8581e74bd..65fcb42ec 100644 --- a/doc/en/Art/GradientSpread.xml +++ b/doc/en/Art/GradientSpread.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.GradientSpread @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.GradientSpread @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.GradientSpread diff --git a/doc/en/Art/GradientStop.xml b/doc/en/Art/GradientStop.xml index a4f3d2a33..dfd98b052 100644 --- a/doc/en/Art/GradientStop.xml +++ b/doc/en/Art/GradientStop.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Field + + 2.24.0.0 + System.Byte[] @@ -30,7 +37,11 @@ + Method + + 2.24.0.0 + Art.GradientStop @@ -46,7 +57,11 @@ + Field + + 2.24.0.0 + System.Double @@ -59,7 +74,11 @@ + Field + + 2.24.0.0 + Art.GradientStop diff --git a/doc/en/Art/IRect.xml b/doc/en/Art/IRect.xml index 5c6156426..ccba6844d 100644 --- a/doc/en/Art/IRect.xml +++ b/doc/en/Art/IRect.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + System.Void @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Int32 @@ -45,7 +56,11 @@ + Method + + 2.24.0.0 + System.Void @@ -62,7 +77,11 @@ + Method + + 2.24.0.0 + Art.IRect @@ -78,7 +97,11 @@ + Method + + 2.24.0.0 + System.Void @@ -95,7 +118,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -108,7 +135,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -121,7 +152,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -134,7 +169,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -147,7 +186,11 @@ + Field + + 2.24.0.0 + Art.IRect diff --git a/doc/en/Art/ImageSource.xml b/doc/en/Art/ImageSource.xml index c2dd3892d..9708bdf1c 100644 --- a/doc/en/Art/ImageSource.xml +++ b/doc/en/Art/ImageSource.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + Art.ImageSource @@ -33,7 +40,11 @@ + Field + + 2.24.0.0 + Art.RenderCallback @@ -46,7 +57,11 @@ + Field + + 2.24.0.0 + Art.ImageSource diff --git a/doc/en/Art/ImageSourceFlags.xml b/doc/en/Art/ImageSourceFlags.xml index 10dc423e1..bf2d8ce94 100644 --- a/doc/en/Art/ImageSourceFlags.xml +++ b/doc/en/Art/ImageSourceFlags.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.ImageSourceFlags @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.ImageSourceFlags diff --git a/doc/en/Art/MaskSource.xml b/doc/en/Art/MaskSource.xml index c756c1a5f..e48021801 100644 --- a/doc/en/Art/MaskSource.xml +++ b/doc/en/Art/MaskSource.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + Art.MaskSource @@ -33,7 +40,11 @@ + Field + + 2.24.0.0 + Art.RenderCallback @@ -46,7 +57,11 @@ + Field + + 2.24.0.0 + Art.MaskSource diff --git a/doc/en/Art/PathStrokeCapType.xml b/doc/en/Art/PathStrokeCapType.xml index 93ac4134d..485d5530c 100644 --- a/doc/en/Art/PathStrokeCapType.xml +++ b/doc/en/Art/PathStrokeCapType.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.PathStrokeCapType @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.PathStrokeCapType @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.PathStrokeCapType diff --git a/doc/en/Art/PathStrokeJoinType.xml b/doc/en/Art/PathStrokeJoinType.xml index af33246e6..bf1c3de61 100644 --- a/doc/en/Art/PathStrokeJoinType.xml +++ b/doc/en/Art/PathStrokeJoinType.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.PathStrokeJoinType @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.PathStrokeJoinType @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.PathStrokeJoinType diff --git a/doc/en/Art/Pathcode.xml b/doc/en/Art/Pathcode.xml index c0fe270be..bf7b3299c 100644 --- a/doc/en/Art/Pathcode.xml +++ b/doc/en/Art/Pathcode.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.Pathcode @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.Pathcode @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.Pathcode @@ -58,7 +73,11 @@ + Field + + 2.24.0.0 + Art.Pathcode @@ -72,7 +91,11 @@ + Field + + 2.24.0.0 + Art.Pathcode diff --git a/doc/en/Art/PixBuf.xml b/doc/en/Art/PixBuf.xml index 63c5164bc..2390096ce 100644 --- a/doc/en/Art/PixBuf.xml +++ b/doc/en/Art/PixBuf.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -30,7 +37,11 @@ + Property + + 2.24.0.0 + Art.DestroyNotify @@ -42,7 +53,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -55,7 +70,11 @@ + Field + + 2.24.0.0 + Art.PixFormat @@ -68,7 +87,11 @@ + Method + + 2.24.0.0 + System.Void @@ -80,7 +103,11 @@ + Method + + 2.24.0.0 + System.Void @@ -92,7 +119,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -105,7 +136,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -118,7 +153,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -131,7 +170,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -147,7 +190,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -169,7 +216,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -191,7 +242,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -213,7 +268,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -235,7 +294,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -261,7 +324,11 @@ + Method + + 2.24.0.0 + Art.PixBuf @@ -287,7 +354,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -300,7 +371,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -313,7 +388,11 @@ + Field + + 2.24.0.0 + Art.PixBuf diff --git a/doc/en/Art/PixFormat.xml b/doc/en/Art/PixFormat.xml index 6934eaf5c..beb2e9d08 100644 --- a/doc/en/Art/PixFormat.xml +++ b/doc/en/Art/PixFormat.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.PixFormat diff --git a/doc/en/Art/Point.xml b/doc/en/Art/Point.xml index 6e27f6740..677cb18cb 100644 --- a/doc/en/Art/Point.xml +++ b/doc/en/Art/Point.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + Art.Point @@ -33,7 +40,11 @@ + Field + + 2.24.0.0 + System.Double @@ -46,7 +57,11 @@ + Field + + 2.24.0.0 + System.Double @@ -59,7 +74,11 @@ + Field + + 2.24.0.0 + Art.Point diff --git a/doc/en/Art/Render.xml b/doc/en/Art/Render.xml index c53caf3fa..8eeed8143 100644 --- a/doc/en/Art/Render.xml +++ b/doc/en/Art/Render.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + System.Void @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Void @@ -47,7 +58,11 @@ + Property + + 2.24.0.0 + Art.AlphaGamma @@ -60,7 +75,11 @@ + Field + + 2.24.0.0 + Art.AlphaType @@ -73,7 +92,11 @@ + Field + + 2.24.0.0 + Art.AlphaType @@ -86,7 +109,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -99,7 +126,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -112,7 +143,11 @@ + Field + + 2.24.0.0 + System.Byte[] @@ -125,7 +160,11 @@ + Method + + 2.24.0.0 + System.Void @@ -140,7 +179,11 @@ + Field + + 2.24.0.0 + Art.CompositingMode @@ -153,7 +196,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -166,7 +213,11 @@ + Method + + 2.24.0.0 + System.Void @@ -183,7 +234,11 @@ + Method + + 2.24.0.0 + System.Void @@ -200,7 +255,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -213,7 +272,11 @@ + Method + + 2.24.0.0 + System.Void @@ -225,7 +288,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -241,7 +308,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -265,7 +336,11 @@ + Method + + 2.24.0.0 + System.Void @@ -280,7 +355,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -293,7 +372,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -306,7 +389,11 @@ + Method + + 2.24.0.0 + Art.Render @@ -322,7 +409,11 @@ + Method + + 2.24.0.0 + Art.Render @@ -356,7 +447,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -369,7 +464,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -382,7 +481,11 @@ + Field + + 2.24.0.0 + System.UInt32 @@ -395,7 +498,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -408,7 +515,11 @@ + Property + + 2.24.0.0 + Art.RenderMaskRun @@ -421,7 +532,11 @@ + Method + + 2.24.0.0 + System.Void @@ -436,7 +551,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -449,7 +568,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -462,7 +585,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -475,7 +602,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -488,7 +619,11 @@ + Field + + 2.24.0.0 + Art.Render diff --git a/doc/en/Art/RenderAaCallback.xml b/doc/en/Art/RenderAaCallback.xml index 55b9433b7..187c8b00c 100644 --- a/doc/en/Art/RenderAaCallback.xml +++ b/doc/en/Art/RenderAaCallback.xml @@ -1,7 +1,10 @@ + art-sharp + 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Art/RenderCallback.xml b/doc/en/Art/RenderCallback.xml index d4299f009..425a6a09b 100644 --- a/doc/en/Art/RenderCallback.xml +++ b/doc/en/Art/RenderCallback.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + Art.RenderCallback @@ -33,7 +40,11 @@ + Field + + 2.24.0.0 + Art.RenderCallback diff --git a/doc/en/Art/RenderMaskRun.xml b/doc/en/Art/RenderMaskRun.xml index 34a40c41e..02d0a2521 100644 --- a/doc/en/Art/RenderMaskRun.xml +++ b/doc/en/Art/RenderMaskRun.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -30,7 +37,11 @@ + Method + + 2.24.0.0 + Art.RenderMaskRun @@ -46,7 +57,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -59,7 +74,11 @@ + Field + + 2.24.0.0 + Art.RenderMaskRun diff --git a/doc/en/Art/Rgb.xml b/doc/en/Art/Rgb.xml index bf6c76593..bc491c7ea 100644 --- a/doc/en/Art/Rgb.xml +++ b/doc/en/Art/Rgb.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -27,7 +34,11 @@ + Method + + 2.24.0.0 + System.Void @@ -68,7 +79,11 @@ + Method + + 2.24.0.0 + System.Void @@ -107,7 +122,11 @@ + Method + + 2.24.0.0 + System.Void @@ -148,7 +167,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -170,7 +193,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -202,7 +229,11 @@ + Method + + 2.24.0.0 + System.Void @@ -241,7 +272,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -265,7 +300,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -297,7 +336,11 @@ + Method + + 2.24.0.0 + System.Byte diff --git a/doc/en/Art/Rgba.xml b/doc/en/Art/Rgba.xml index d340dac20..160a6c525 100644 --- a/doc/en/Art/Rgba.xml +++ b/doc/en/Art/Rgba.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -27,7 +34,11 @@ + Method + + 2.24.0.0 + System.Byte @@ -49,7 +60,11 @@ + Method + + 2.24.0.0 + System.Void @@ -68,7 +83,11 @@ + Method + + 2.24.0.0 + System.Byte diff --git a/doc/en/Art/SVP.xml b/doc/en/Art/SVP.xml index fd0997a06..6d011661c 100644 --- a/doc/en/Art/SVP.xml +++ b/doc/en/Art/SVP.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + System.Int32 @@ -43,7 +50,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -59,7 +70,11 @@ + Method + + 2.24.0.0 + System.Void @@ -71,7 +86,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -87,7 +106,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -103,7 +126,11 @@ + Method + + 2.24.0.0 + System.Void @@ -118,7 +145,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -134,7 +165,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -150,7 +185,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -163,7 +202,11 @@ + Method + + 2.24.0.0 + System.Double @@ -181,7 +224,11 @@ + Method + + 2.24.0.0 + System.Int32 @@ -199,7 +246,11 @@ + Method + + 2.24.0.0 + System.Void @@ -222,7 +273,11 @@ + Method + + 2.24.0.0 + Art.SVPRenderAAIter @@ -244,7 +299,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -260,7 +319,11 @@ + Field + + 2.24.0.0 + Art.SVPSeg[] @@ -273,7 +336,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -286,7 +353,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -302,7 +373,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -328,7 +403,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -354,7 +433,11 @@ + Field + + 2.24.0.0 + Art.SVP diff --git a/doc/en/Art/SVPRenderAAIter.xml b/doc/en/Art/SVPRenderAAIter.xml index aad621ccf..c0e15d4fa 100644 --- a/doc/en/Art/SVPRenderAAIter.xml +++ b/doc/en/Art/SVPRenderAAIter.xml @@ -1,9 +1,12 @@ + 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. @@ -18,7 +21,11 @@ + Constructor + + 2.24.0.0 + @@ -31,7 +38,11 @@ + Method + + 2.24.0.0 + System.Void @@ -43,7 +54,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/Art/SVPRenderAAStep.xml b/doc/en/Art/SVPRenderAAStep.xml index 87711ecad..bc18da3a7 100644 --- a/doc/en/Art/SVPRenderAAStep.xml +++ b/doc/en/Art/SVPRenderAAStep.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -30,7 +37,11 @@ + Method + + 2.24.0.0 + Art.SVPRenderAAStep @@ -46,7 +57,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -59,7 +74,11 @@ + Field + + 2.24.0.0 + Art.SVPRenderAAStep diff --git a/doc/en/Art/SVPSeg.xml b/doc/en/Art/SVPSeg.xml index fc5c5511b..04818a6af 100644 --- a/doc/en/Art/SVPSeg.xml +++ b/doc/en/Art/SVPSeg.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Field + + 2.24.0.0 + Art.DRect @@ -30,7 +37,11 @@ + Method + + 2.24.0.0 + System.Int32 @@ -48,7 +59,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -61,7 +76,11 @@ + Method + + 2.24.0.0 + Art.SVPSeg @@ -77,7 +96,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -90,7 +113,11 @@ + Property + + 2.24.0.0 + Art.Point @@ -103,7 +130,11 @@ + Field + + 2.24.0.0 + Art.SVPSeg diff --git a/doc/en/Art/SvpWriter.xml b/doc/en/Art/SvpWriter.xml index afc13b14c..0c8dda519 100644 --- a/doc/en/Art/SvpWriter.xml +++ b/doc/en/Art/SvpWriter.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + Art.SvpWriter @@ -33,7 +40,11 @@ + Method + + 2.24.0.0 + Art.SvpWriter @@ -49,7 +60,11 @@ + Method + + 2.24.0.0 + Art.SVP @@ -62,7 +77,11 @@ + Field + + 2.24.0.0 + Art.SvpWriter diff --git a/doc/en/Art/Uta.xml b/doc/en/Art/Uta.xml index afe866e11..bd9c52221 100644 --- a/doc/en/Art/Uta.xml +++ b/doc/en/Art/Uta.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + System.Int32 @@ -41,7 +48,11 @@ + Method + + 2.24.0.0 + System.Void @@ -53,7 +64,11 @@ + Method + + 2.24.0.0 + Art.Uta @@ -69,7 +84,11 @@ + Method + + 2.24.0.0 + Art.Uta @@ -85,7 +104,11 @@ + Method + + 2.24.0.0 + Art.Uta @@ -101,7 +124,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -114,7 +141,11 @@ + Method + + 2.24.0.0 + Art.Uta @@ -130,7 +161,11 @@ + Method + + 2.24.0.0 + Art.Uta @@ -152,7 +187,11 @@ + Method + + 2.24.0.0 + Art.Uta @@ -174,7 +213,11 @@ + Method + + 2.24.0.0 + Art.Uta @@ -190,7 +233,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -203,7 +250,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -216,7 +267,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -229,7 +284,11 @@ + Field + + 2.24.0.0 + Art.Uta diff --git a/doc/en/Art/Vpath.xml b/doc/en/Art/Vpath.xml index 5368315e0..64e0f53f0 100644 --- a/doc/en/Art/Vpath.xml +++ b/doc/en/Art/Vpath.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Method + + 2.24.0.0 + System.Void @@ -40,7 +47,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -56,7 +67,11 @@ + Method + + 2.24.0.0 + System.Void @@ -71,7 +86,11 @@ + Method + + 2.24.0.0 + System.Void @@ -86,7 +105,11 @@ + Field + + 2.24.0.0 + Art.Pathcode @@ -99,7 +122,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -115,7 +142,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -131,7 +162,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -147,7 +182,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -167,7 +206,11 @@ + Method + + 2.24.0.0 + Art.Vpath @@ -180,7 +223,11 @@ + Field + + 2.24.0.0 + System.Double @@ -193,7 +240,11 @@ + Field + + 2.24.0.0 + System.Double @@ -206,7 +257,11 @@ + Field + + 2.24.0.0 + Art.Vpath diff --git a/doc/en/Art/VpathDash.xml b/doc/en/Art/VpathDash.xml index 6f89be296..65759acb3 100644 --- a/doc/en/Art/VpathDash.xml +++ b/doc/en/Art/VpathDash.xml @@ -1,9 +1,12 @@ + 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. @@ -18,7 +21,11 @@ + Constructor + + 2.24.0.0 + diff --git a/doc/en/Art/WindRule.xml b/doc/en/Art/WindRule.xml index 3f8c8a09b..602eaa550 100644 --- a/doc/en/Art/WindRule.xml +++ b/doc/en/Art/WindRule.xml @@ -1,9 +1,12 @@ + 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. @@ -16,7 +19,11 @@ + Field + + 2.24.0.0 + Art.WindRule @@ -30,7 +37,11 @@ + Field + + 2.24.0.0 + Art.WindRule @@ -44,7 +55,11 @@ + Field + + 2.24.0.0 + Art.WindRule @@ -58,7 +73,11 @@ + Field + + 2.24.0.0 + Art.WindRule diff --git a/doc/en/Atk/Action.xml b/doc/en/Atk/Action.xml index 076b1af6e..86e4481fc 100644 --- a/doc/en/Atk/Action.xml +++ b/doc/en/Atk/Action.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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 @@ -49,49 +55,55 @@ - - - GLib.IWrapper - - - - + + + Method + + 2.12.0.0 + - System.String + System.Boolean - Returns a description of the specified action of the object. The action index corresponding to the action to be performed. - A description string, or 0 if action does not implement this interface. + Perform the specified action on the object. + + if success, otherwise. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - - Sets a description of the specified action of the object. The action index corresponding to the action to be performed. - The description to be assigned to this action. - A representing if the description was successfully set. + 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 @@ -99,15 +111,19 @@ - Returns a keybinding associated with this action, if one exists. 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 @@ -115,32 +131,39 @@ - Returns the name of the specified action of the object. 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.Boolean + System.String - Perform the specified action on the object. The action index corresponding to the action to be performed. - - if success, otherwise. + 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 @@ -154,19 +177,25 @@ - - + + + Method + + 2.12.0.0 + - System.String + System.Boolean + - Returns the localized name of the specified action of the object. The action index corresponding to the action to be performed. - A name string, or an empty string if action does not implement this interface. + 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. diff --git a/doc/en/Atk/ActionAdapter.xml b/doc/en/Atk/ActionAdapter.xml index 8deb1ac6a..d99ea99f8 100644 --- a/doc/en/Atk/ActionAdapter.xml +++ b/doc/en/Atk/ActionAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Action + + GLib.IWrapper + + + Action adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Boolean @@ -52,7 +89,11 @@ + Method + + 2.12.0.0 + System.String @@ -68,7 +109,11 @@ + Method + + 2.12.0.0 + System.String @@ -84,7 +129,11 @@ + Method + + 2.12.0.0 + System.String @@ -100,7 +149,11 @@ + Method + + 2.12.0.0 + System.String @@ -114,9 +167,33 @@ 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 @@ -132,11 +209,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType To be added. @@ -144,27 +225,29 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.IntPtr - - - - - To be added. - To be added. To be added. - To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + Atk.ActionImplementor @@ -175,8 +258,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -188,7 +275,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -205,9 +296,4 @@ - - Action adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/ActionImplementor.xml b/doc/en/Atk/ActionImplementor.xml index 8ddbaf418..eebdc67a4 100644 --- a/doc/en/Atk/ActionImplementor.xml +++ b/doc/en/Atk/ActionImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.ActionAdapter)) + + Action implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Boolean @@ -33,7 +43,11 @@ + Method + + 2.12.0.0 + System.String @@ -49,7 +63,11 @@ + Method + + 2.12.0.0 + System.String @@ -65,7 +83,11 @@ + Method + + 2.12.0.0 + System.String @@ -81,7 +103,11 @@ + Method + + 2.12.0.0 + System.String @@ -96,8 +122,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -109,7 +139,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -126,9 +160,4 @@ - - Action implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/ActiveDescendantChangedArgs.xml b/doc/en/Atk/ActiveDescendantChangedArgs.xml index d97fd85b0..e019b0761 100644 --- a/doc/en/Atk/ActiveDescendantChangedArgs.xml +++ b/doc/en/Atk/ActiveDescendantChangedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr diff --git a/doc/en/Atk/ActiveDescendantChangedHandler.xml b/doc/en/Atk/ActiveDescendantChangedHandler.xml index fa132f0ed..a8b46eaaf 100644 --- a/doc/en/Atk/ActiveDescendantChangedHandler.xml +++ b/doc/en/Atk/ActiveDescendantChangedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/Attribute.xml b/doc/en/Atk/Attribute.xml index 2342101c3..3d0423b1e 100644 --- a/doc/en/Atk/Attribute.xml +++ b/doc/en/Atk/Attribute.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,30 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A string name/value pair representing a text attribute. - - System.ValueType + + A string name/value pair representing a text attribute. + + - - + + + Field + + 2.12.0.0 + - Atk.Attribute + System.String - + + - Returns an empty - To be added + The attribute name. + + Method + + 2.12.0.0 + Atk.Attribute @@ -38,35 +48,42 @@ - Internal method 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 attribute name. - + the value of the attribute, represented as a string. + To be added - - + + + Field + + 2.12.0.0 + - System.String + Atk.Attribute - - + - the value of the attribute, represented as a string. + Returns an empty To be added diff --git a/doc/en/Atk/BoundsChangedArgs.xml b/doc/en/Atk/BoundsChangedArgs.xml index ab194b298..ff3bf16e1 100644 --- a/doc/en/Atk/BoundsChangedArgs.xml +++ b/doc/en/Atk/BoundsChangedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Atk.Rectangle diff --git a/doc/en/Atk/BoundsChangedHandler.xml b/doc/en/Atk/BoundsChangedHandler.xml index 743a5d33e..4ad32589e 100644 --- a/doc/en/Atk/BoundsChangedHandler.xml +++ b/doc/en/Atk/BoundsChangedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Atk/ChildrenChangedArgs.xml b/doc/en/Atk/ChildrenChangedArgs.xml index f8a9a4f9a..f1ff9e790 100644 --- a/doc/en/Atk/ChildrenChangedArgs.xml +++ b/doc/en/Atk/ChildrenChangedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 diff --git a/doc/en/Atk/ChildrenChangedHandler.xml b/doc/en/Atk/ChildrenChangedHandler.xml index f0d8728b9..accc5cc13 100644 --- a/doc/en/Atk/ChildrenChangedHandler.xml +++ b/doc/en/Atk/ChildrenChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/ColumnDeletedArgs.xml b/doc/en/Atk/ColumnDeletedArgs.xml index 95b6669c5..6c6eebeec 100644 --- a/doc/en/Atk/ColumnDeletedArgs.xml +++ b/doc/en/Atk/ColumnDeletedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,9 +33,13 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + System.Int32 @@ -40,9 +49,13 @@ To be added - - + + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Atk/ColumnDeletedHandler.xml b/doc/en/Atk/ColumnDeletedHandler.xml index 78f4990a1..f51d0b2e1 100644 --- a/doc/en/Atk/ColumnDeletedHandler.xml +++ b/doc/en/Atk/ColumnDeletedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/ColumnInsertedArgs.xml b/doc/en/Atk/ColumnInsertedArgs.xml index 6ee6e95e1..eca836b62 100644 --- a/doc/en/Atk/ColumnInsertedArgs.xml +++ b/doc/en/Atk/ColumnInsertedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,9 +33,13 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + System.Int32 @@ -40,9 +49,13 @@ To be added - - + + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Atk/ColumnInsertedHandler.xml b/doc/en/Atk/ColumnInsertedHandler.xml index 4dea65155..f3b42950b 100644 --- a/doc/en/Atk/ColumnInsertedHandler.xml +++ b/doc/en/Atk/ColumnInsertedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/Component.xml b/doc/en/Atk/Component.xml index 374993ba5..3c3d55a79 100644 --- a/doc/en/Atk/Component.xml +++ b/doc/en/Atk/Component.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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. @@ -30,33 +36,83 @@ - - - GLib.IWrapper - - - - + + + Method + + 2.12.0.0 + - System.Void + System.UInt32 - + + The to be attached to this component. - Remove the handler from the list of functions to be executed - when this object receives focus events (in or out). + Add the specified handler to the set of functions to be + called when this object receives focus events (in or out). - The handler id of the focus handler to be removed from component. - + + 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 @@ -66,143 +122,158 @@ - Sets the postition of this component. - X coordinate. - Y coordinate. + 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 whether or not the position was set or not. + or indicating whether the specified point is + within the extent of the component or not. + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + + + + - Grabs focus for this component - - if successful, otherwise. - + 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.Boolean + System.Void - - - - + + - Sets the extents of this component. - X coordinate. - Y coordinate. - Width to set for this component. - Height to set for this component. + X coordinate position + Y coordinate position Specifies whether the coordinates are relative to the screen or to the components top level window. - - or whether the extents were - set or not. - + + Gets the position of component in the form of a point + specifying this component's top-left corner. + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + - Set the size of this component in terms of width and height. - Width to set for this component. - Height to set for this component. - - or whether the size was set or not. - + Width + Height + Gets the size of this component in terms of width and height. - - + + + Method + + 2.12.0.0 + - System.UInt32 + System.Boolean - - - + - - Add the specified handler to the set of functions to be - called when this object receives focus events (in or out). - - The to be attached to this component. + Grabs focus for this component - A handler id which can be used in - or zero if the handler - was already added. + if successful, otherwise. - - - 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. - - + - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Atk.Layer - - - - - - Checks whether the specified point is within the extent of this component. - X coordinate - Y coordinate - - Specifies whether the coordinates are relative to the screen - or to the components top level window. - - - or indicating whether the specified point is - within the extent of the component or not. - + 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 @@ -212,131 +283,121 @@ - To be added 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 - - - Property - - 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. - - - - - - Property + + + + Method + + 2.12.0.0 + - Atk.Layer + System.Void + + + - Gets the layer of this component. - An which is the layer of the component. + 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.Void + System.Boolean - - + + + + - - Gets the position of component in the form of a point - specifying this component's top-left corner. - - X coordinate position - Y coordinate position + 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.Void + System.Boolean - - - - + + - Gets the rectangle which gives the extent of this component. - X coordinate position - Y coordinate position - Width - Height + 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.Void + System.Boolean - - + + - Gets the size of this component in terms of width and height. - Width - Height + 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. + - - - Event - - Atk.BoundsChangedHandler - - - - To be added - To be added - - - - - - Property - - System.Double - - - To be added. - To be added. - To be added. - - - diff --git a/doc/en/Atk/ComponentAdapter.xml b/doc/en/Atk/ComponentAdapter.xml index e59cfe04a..8082489fe 100644 --- a/doc/en/Atk/ComponentAdapter.xml +++ b/doc/en/Atk/ComponentAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Component + + GLib.IWrapper + + + Component adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.UInt32 @@ -50,9 +87,29 @@ 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") @@ -68,7 +125,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -88,7 +149,11 @@ + Method + + 2.12.0.0 + System.Void @@ -109,9 +174,33 @@ 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 @@ -129,7 +218,11 @@ + Method + + 2.12.0.0 + System.Void @@ -148,7 +241,11 @@ + Method + + 2.12.0.0 + System.Void @@ -165,7 +262,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -176,11 +277,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - Atk.Layer + GLib.GType To be added. @@ -188,120 +293,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - System.Int32 - - - To be added. - To be added. - To be added. - - - - - Method - - Atk.Object - - - - - - - - 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. - - - - - Method - - 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 - - System.Boolean - - - - - - - - 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 - - System.Double + System.IntPtr To be added. @@ -310,8 +310,12 @@ - + + Property + + 2.12.0.0 + Atk.ComponentImplementor @@ -322,8 +326,12 @@ - + + Property + + 2.12.0.0 + Atk.Layer @@ -334,8 +342,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -347,7 +359,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -367,7 +383,11 @@ + Method + + 2.12.0.0 + System.Void @@ -382,7 +402,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -406,7 +430,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -426,7 +454,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -443,9 +475,4 @@ - - Component adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/ComponentImplementor.xml b/doc/en/Atk/ComponentImplementor.xml index 90c035e96..ae0bfe080 100644 --- a/doc/en/Atk/ComponentImplementor.xml +++ b/doc/en/Atk/ComponentImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.ComponentAdapter)) + + Component implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.UInt32 @@ -31,9 +41,29 @@ 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 @@ -53,7 +83,11 @@ + Method + + 2.12.0.0 + System.Void @@ -76,7 +110,11 @@ + Method + + 2.12.0.0 + System.Void @@ -95,7 +133,11 @@ + Method + + 2.12.0.0 + System.Void @@ -112,7 +154,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -124,8 +170,12 @@ - + + Property + + 2.12.0.0 + Atk.Layer @@ -136,8 +186,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -149,7 +203,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -169,7 +227,11 @@ + Method + + 2.12.0.0 + System.Void @@ -184,7 +246,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -208,7 +274,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -228,7 +298,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -244,22 +318,5 @@ To be added. - - - Property - - System.Double - - - To be added. - To be added. - To be added. - - - - Component implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/CoordType.xml b/doc/en/Atk/CoordType.xml index b0d711dfd..39fc83dad 100644 --- a/doc/en/Atk/CoordType.xml +++ b/doc/en/Atk/CoordType.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies how xy coordinates are to be interpreted. - Used by functions such as and - System.Enum @@ -19,10 +16,18 @@ 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 @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Atk.CoordType diff --git a/doc/en/Atk/Document.xml b/doc/en/Atk/Document.xml index 2552718a8..9d231eef2 100644 --- a/doc/en/Atk/Document.xml +++ b/doc/en/Atk/Document.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,31 +8,40 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 + - System.IntPtr + Atk.Attribute[] - Gets a pointer that points to an instance of the DOM. - a pointer to an instance of the DOM. - + To be added. + To be added. + To be added. + - + + Property + + 2.12.0.0 + System.String @@ -41,22 +51,13 @@ - - - Property - - Atk.Attribute[] - - - To be added. - To be added. - To be added. - - - + Method + + 2.12.0.0 + System.String @@ -73,7 +74,11 @@ + Event + + 2.12.0.0 + System.EventHandler @@ -85,7 +90,11 @@ + Event + + 2.12.0.0 + System.EventHandler @@ -96,8 +105,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -110,7 +123,11 @@ + Event + + 2.12.0.0 + System.EventHandler @@ -122,7 +139,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -139,5 +160,21 @@ + + + + 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. + + + diff --git a/doc/en/Atk/DocumentAdapter.xml b/doc/en/Atk/DocumentAdapter.xml index 2ea40dd17..02b1ca2ee 100644 --- a/doc/en/Atk/DocumentAdapter.xml +++ b/doc/en/Atk/DocumentAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Document + + GLib.IWrapper + + + Document adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,45 @@ 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 @@ -46,41 +99,77 @@ 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. To be added. To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.IntPtr + Atk.Document + + + + + To be added. + To be added. To be added. - To be added. + To be added. To be added. - - + + + Property + + 2.12.0.0 + - Atk.Attribute[] + GLib.GType To be added. @@ -88,25 +177,29 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.String + System.IntPtr - - - - To be added. To be added. - To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + Atk.DocumentImplementor @@ -118,7 +211,11 @@ + Event + + 2.12.0.0 + GLib.Signal("load_complete") @@ -134,7 +231,11 @@ + Event + + 2.12.0.0 + GLib.Signal("load_stopped") @@ -149,8 +250,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -162,7 +267,11 @@ + Event + + 2.12.0.0 + GLib.Signal("reload") @@ -178,7 +287,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -195,8 +308,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr @@ -207,9 +324,4 @@ - - Document adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/DocumentImplementor.xml b/doc/en/Atk/DocumentImplementor.xml index 448a57ff1..8b39aa0f6 100644 --- a/doc/en/Atk/DocumentImplementor.xml +++ b/doc/en/Atk/DocumentImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,24 +15,21 @@ GLib.GInterface(typeof(Atk.DocumentAdapter)) + + Document implementor interface. + The implementable portion of the interface. + + - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - + + + Property + + 2.12.0.0 + - System.IntPtr + Atk.Attribute[] To be added. @@ -39,11 +37,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - Atk.Attribute[] + System.String To be added. @@ -53,7 +55,11 @@ + Method + + 2.12.0.0 + System.String @@ -68,8 +74,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -81,7 +91,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -97,10 +111,21 @@ To be added. + + + + Property + + 2.12.0.0 + + + System.IntPtr + + + To be added. + To be added. + To be added. + + - - Document implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/EditableText.xml b/doc/en/Atk/EditableText.xml index 7c7fbea21..5c32c4fe3 100644 --- a/doc/en/Atk/EditableText.xml +++ b/doc/en/Atk/EditableText.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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 @@ -21,15 +27,14 @@ - - - GLib.IWrapper - - - - + + + Method + + 2.12.0.0 + System.Void @@ -38,33 +43,23 @@ - Delete text start position end position + Copy text - This only deletes text up to, but not including . + This method only copies the text up to , it does not include the text at that position. + - - - Method - - System.Void - - - - - - Paste text from clipboard to specified position. - position to paste - - - + Method + + 2.12.0.0 + System.Void @@ -73,9 +68,9 @@ - Cut text start position end position + Cut text This method only cuts the text up to , it does not include the text at that position. @@ -83,9 +78,13 @@ - - + + + Method + + 2.12.0.0 + System.Void @@ -94,19 +93,62 @@ - Copy text start position end position + Delete text - This method only copies the text up to , it does not include the text at that position. - + 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 @@ -116,10 +158,10 @@ - Sets the attributes for a specified range. 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 @@ -136,8 +178,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -149,22 +195,5 @@ - - - Method - - System.Void - - - - - - - To be added. - To be added. - To be added. - To be added. - - diff --git a/doc/en/Atk/EditableTextAdapter.xml b/doc/en/Atk/EditableTextAdapter.xml index 355a2a87b..18652ff55 100644 --- a/doc/en/Atk/EditableTextAdapter.xml +++ b/doc/en/Atk/EditableTextAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.EditableText + + GLib.IWrapper + + + EditableText adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -53,7 +90,11 @@ + Method + + 2.12.0.0 + System.Void @@ -70,7 +111,11 @@ + Method + + 2.12.0.0 + System.Void @@ -86,80 +131,72 @@ - + + Method + + 2.12.0.0 + Atk.EditableText - - + - 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. - - - - + + + Method + + 2.12.0.0 + - System.Void + Atk.EditableText - + + - To be added. + To be added. + To be added. To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - - - - - - 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.String + System.IntPtr To be added. @@ -168,8 +205,12 @@ - + + Property + + 2.12.0.0 + Atk.EditableTextImplementor @@ -181,7 +222,11 @@ + Method + + 2.12.0.0 + System.Void @@ -198,7 +243,11 @@ + Method + + 2.12.0.0 + System.Void @@ -213,7 +262,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -232,8 +285,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -244,9 +301,4 @@ - - EditableText adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/EditableTextImplementor.xml b/doc/en/Atk/EditableTextImplementor.xml index 8d4e4e127..09c3bd0df 100644 --- a/doc/en/Atk/EditableTextImplementor.xml +++ b/doc/en/Atk/EditableTextImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.EditableTextAdapter)) + + EditableText implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Void @@ -34,7 +44,11 @@ + Method + + 2.12.0.0 + System.Void @@ -51,7 +65,11 @@ + Method + + 2.12.0.0 + System.Void @@ -68,7 +86,11 @@ + Method + + 2.12.0.0 + System.Void @@ -85,7 +107,11 @@ + Method + + 2.12.0.0 + System.Void @@ -100,7 +126,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -119,8 +149,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -131,9 +165,4 @@ - - EditableText implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/EventListener.xml b/doc/en/Atk/EventListener.xml index 1b8a97c76..2decba59d 100644 --- a/doc/en/Atk/EventListener.xml +++ b/doc/en/Atk/EventListener.xml @@ -1,23 +1,24 @@ + atk-sharp 2.12.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 - System.Delegate - System.Void + + To be added. + To be added + To be added + + diff --git a/doc/en/Atk/EventListenerInit.xml b/doc/en/Atk/EventListenerInit.xml index 95e67e73e..ba7689079 100644 --- a/doc/en/Atk/EventListenerInit.xml +++ b/doc/en/Atk/EventListenerInit.xml @@ -1,21 +1,22 @@ + atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - System.Delegate - System.Void + + To be added + To be added + + diff --git a/doc/en/Atk/Focus.xml b/doc/en/Atk/Focus.xml index 74b1a0f19..00e5d20ed 100644 --- a/doc/en/Atk/Focus.xml +++ b/doc/en/Atk/Focus.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,54 +8,66 @@ 2.12.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 + + To be added + To be added + - - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + Method + + 2.12.0.0 + System.Void - + + a To be added - a To be added - - + + + Method + + 2.12.0.0 + System.Void - + + a To be added - a To be added - - - Constructor - - - - Default constructor - - - diff --git a/doc/en/Atk/FocusEventArgs.xml b/doc/en/Atk/FocusEventArgs.xml index dfbb95913..8d7b1f9e1 100644 --- a/doc/en/Atk/FocusEventArgs.xml +++ b/doc/en/Atk/FocusEventArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Atk/FocusEventHandler.xml b/doc/en/Atk/FocusEventHandler.xml index 904ed7cd4..358c25c54 100644 --- a/doc/en/Atk/FocusEventHandler.xml +++ b/doc/en/Atk/FocusEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/FocusHandler.xml b/doc/en/Atk/FocusHandler.xml index 31e75c44b..b920943f6 100644 --- a/doc/en/Atk/FocusHandler.xml +++ b/doc/en/Atk/FocusHandler.xml @@ -1,20 +1,14 @@ + atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - Event handler. - To be added - System.Delegate - @@ -22,4 +16,11 @@ System.Void + + To be added. + To be added. + Event handler. + To be added + + diff --git a/doc/en/Atk/Function.xml b/doc/en/Atk/Function.xml index d0d626b34..eea84fad9 100644 --- a/doc/en/Atk/Function.xml +++ b/doc/en/Atk/Function.xml @@ -1,22 +1,23 @@ + atk-sharp 2.12.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. - System.Delegate - System.Boolean + + To be added + To be added. + To be added + + diff --git a/doc/en/Atk/GObjectAccessible.xml b/doc/en/Atk/GObjectAccessible.xml index 92f7ddeb1..75ba21a2c 100644 --- a/doc/en/Atk/GObjectAccessible.xml +++ b/doc/en/Atk/GObjectAccessible.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,62 +8,98 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Method - - Atk.Object - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Gets the accessible object for the specified . - an object of type - the for - + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property + + + + Method + + 2.12.0.0 + - GLib.Object + Atk.Object + + + - Gets the GObject for which is the accessible object. - a which is the object for which is the accessible object + an object of type + Gets the accessible object for the specified . + the for - + + Property + + 2.12.0.0 + GLib.GType @@ -73,31 +110,19 @@ Returns the native value for . - - - Constructor - - - - - - Internal constructor - a - 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. - - - - System.Obsolete - - - - - - Constructor - - + + + + Property + + 2.12.0.0 + + + GLib.Object + - Default constructor + Gets the GObject for which is the accessible object. + a which is the object for which is the accessible object diff --git a/doc/en/Atk/Global.xml b/doc/en/Atk/Global.xml index 047a5ffa1..f8fb52496 100644 --- a/doc/en/Atk/Global.xml +++ b/doc/en/Atk/Global.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,34 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Global API elements for - - System.Object + + Global API elements for + + - - - Method - - System.String - - - - + + + + Constructor + + 2.12.0.0 + + + - To be added - a - a - To be added + Default constructor + + Method + + 2.12.0.0 + System.UInt32 @@ -42,92 +45,152 @@ - To be added a + To be added a To be added - - + + + Method + + 2.12.0.0 + - Atk.Role + System.UInt32 - + + - To be added - a - a - 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 + System.UInt32 - + + a To be added - a + 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 - a To be added - - + + + Method + + 2.12.0.0 + - System.UInt32 + System.Void - + + a To be added - a - a To be added - - + + + Method + + 2.12.0.0 + System.Void - + + a To be added - a To be added - - + + + Method + + 2.12.0.0 + Atk.Role @@ -135,15 +198,19 @@ - To be added a + To be added a To be added + Method + + 2.12.0.0 + System.String @@ -151,87 +218,107 @@ - To be added a + To be added a To be added - - - Constructor - - - - Default constructor - - - - - - Property + + + + Method + + 2.12.0.0 + System.String + + + + a To be added - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - System.String + Atk.Role + + + + a To be added - a + a To be added - - + + + Property + + 2.12.0.0 + - Atk.Registry + Atk.Object To be added - a + a To be added - - + + + Property + + 2.12.0.0 + - Atk.Object + System.String To be added - a + a To be added - - + + + Property + + 2.12.0.0 + - Atk.Object + System.String - To be added - a + a To be added - - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Atk/Hyperlink.xml b/doc/en/Atk/Hyperlink.xml index c6422001b..86fa4b595 100644 --- a/doc/en/Atk/Hyperlink.xml +++ b/doc/en/Atk/Hyperlink.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An ATK object which encapsulates a link or set of links in a hypertext document. - - GLib.Object @@ -19,44 +16,150 @@ 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.String + System.Boolean - To be added 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 + 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 - - To be added 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.String @@ -64,15 +167,19 @@ - To be added an object of type + To be added an object of type To be added - - + + + Method + + 2.12.0.0 + System.String @@ -80,31 +187,39 @@ + a To be added - an object of type - an object of type + a To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - To be added 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 @@ -112,8 +227,8 @@ - Returns the item associated with this hyperlinks nth anchor. 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. @@ -123,7 +238,11 @@ Multiple anchors are primarily used by client-side image maps. + Method + + 2.12.0.0 + System.String @@ -131,30 +250,110 @@ Multiple anchors are primarily used by client-side image maps. - Get a the URI associated with the anchor specified by 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. - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + GLib.GType + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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 @@ -165,8 +364,12 @@ Multiple anchors are primarily used by client-side image maps. - + + Property + + 2.12.0.0 + System.Int32 @@ -176,164 +379,245 @@ Multiple anchors are primarily used by client-side image maps. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("number-of-anchors") + + 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 - + To be added + a + To be added + + + + + + Method + + 2.12.0.0 + - GLib.Property("end-index") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetEndIndex", Type=typeof(Atk.Hyperlink)) - - - - Property 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 - + To be added. + To be added. + To be added. + + + + + Method + + 2.12.0.0 + - GLib.Property("start-index") + 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)) + + - System.String + Atk.Object - To be added - a - a - To be added + To be added. + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetStartIndex", Type=typeof(Atk.Hyperlink)) + + - System.Boolean + System.Int32 - 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 - + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetUri", Type=typeof(Atk.Hyperlink)) + + - System.Boolean + System.String - + + + - 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 . + To be added. + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIsSelectedLink", Type=typeof(Atk.Hyperlink)) + + - GLib.GType + System.Boolean - GType Property. - a - Returns the native value for . + To be added. + To be added. + To be added. - - - Constructor - - - - - - Internal constructor - a - 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIsValid", Type=typeof(Atk.Hyperlink)) - - - - Constructor - + + System.Boolean + - Default constructor - + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideLinkActivated", Type=typeof(Atk.Hyperlink)) + + - System.Int32 + System.Void - To be added - a - 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.Property("number-of-anchors") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideLinkState", Type=typeof(Atk.Hyperlink)) - - - - Property - System.Boolean + System.UInt32 - To be added - a - To be added - + To be added. + To be added. + To be added. + + + + + Property + + 2.12.0.0 + GLib.Property("selected-link") - - - - Property System.Boolean @@ -345,35 +629,47 @@ Multiple anchors are primarily used by client-side image maps. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + 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.Signal("link_activated") + GLib.Property("start-index") - - - - Method - System.Void + System.Int32 - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - + Gets the index with the hypertext document at which this link begins. + the index with the hypertext document at which this link begins + diff --git a/doc/en/Atk/HyperlinkImpl.xml b/doc/en/Atk/HyperlinkImpl.xml index d20a49526..73bb0ee09 100644 --- a/doc/en/Atk/HyperlinkImpl.xml +++ b/doc/en/Atk/HyperlinkImpl.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -9,10 +10,19 @@ GLib.IWrapper + + Interface to obtain a Hyperlink implementation. + + + - + + Property + + 2.12.0.0 + Atk.Hyperlink @@ -23,9 +33,4 @@ - - Interface to obtain a Hyperlink implementation. - - - diff --git a/doc/en/Atk/HyperlinkImplAdapter.xml b/doc/en/Atk/HyperlinkImplAdapter.xml index c8a9d59a3..a1042aad5 100644 --- a/doc/en/Atk/HyperlinkImplAdapter.xml +++ b/doc/en/Atk/HyperlinkImplAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.HyperlinkImpl + + GLib.IWrapper + + + HyperlinkImpl adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,49 @@ 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 @@ -52,9 +109,45 @@ 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 @@ -65,8 +158,12 @@ - + + Property + + 2.12.0.0 + Atk.HyperlinkImplImplementor @@ -77,9 +174,4 @@ - - HyperlinkImpl adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/HyperlinkImplImplementor.xml b/doc/en/Atk/HyperlinkImplImplementor.xml index a36c77d7f..e46d7b4ec 100644 --- a/doc/en/Atk/HyperlinkImplImplementor.xml +++ b/doc/en/Atk/HyperlinkImplImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.HyperlinkImplAdapter)) + + HyperlinkImpl implementor interface. + The implementable portion of the interface. + + - + + Property + + 2.12.0.0 + Atk.Hyperlink @@ -28,9 +38,4 @@ - - HyperlinkImpl implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/HyperlinkStateFlags.xml b/doc/en/Atk/HyperlinkStateFlags.xml index 050ef4ca4..34fe9e56d 100644 --- a/doc/en/Atk/HyperlinkStateFlags.xml +++ b/doc/en/Atk/HyperlinkStateFlags.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes the type of link - - System.Enum @@ -22,10 +19,18 @@ System.Flags + + Describes the type of link + + + Field + + 2.12.0.0 + Atk.HyperlinkStateFlags diff --git a/doc/en/Atk/Hypertext.xml b/doc/en/Atk/Hypertext.xml index fdddd687d..92d821d49 100644 --- a/doc/en/Atk/Hypertext.xml +++ b/doc/en/Atk/Hypertext.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,36 +8,24 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The interface which provides standard mechanism for manipulating hyperlinks. - - - GLib.IWrapper + + The interface which provides standard mechanism for manipulating hyperlinks. + + + - - - Method - - System.Int32 - - - - - - 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. - a character index - an index into the array of hyperlinks in hypertext - - - + Method + + 2.12.0.0 + Atk.Hyperlink @@ -44,27 +33,39 @@ - The link in this hypertext document at index an integer specifying the desired link + The link in this hypertext document at index the link in this hypertext document at index - - - Property + + + + Method + + 2.12.0.0 + System.Int32 + + + - The number of links within this hypertext document. - The number of links within this hypertext document. + 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 @@ -75,5 +76,21 @@ + + + + Property + + 2.12.0.0 + + + System.Int32 + + + The number of links within this hypertext document. + The number of links within this hypertext document. + + + diff --git a/doc/en/Atk/HypertextAdapter.xml b/doc/en/Atk/HypertextAdapter.xml index 77968a3bf..38d826c34 100644 --- a/doc/en/Atk/HypertextAdapter.xml +++ b/doc/en/Atk/HypertextAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Hypertext + + GLib.IWrapper + + + Hypertext adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + Atk.Hyperlink @@ -52,7 +89,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -66,9 +107,33 @@ 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 @@ -84,27 +149,31 @@ To be added. - - - Event - - - GLib.Signal("link_selected") - - + + + + Property + + 2.12.0.0 + - Atk.LinkSelectedHandler + GLib.GType To be added. + To be added. To be added. - - + + + Property + + 2.12.0.0 + - System.Int32 + System.IntPtr To be added. @@ -113,8 +182,12 @@ - + + Property + + 2.12.0.0 + Atk.HypertextImplementor @@ -126,7 +199,11 @@ + Event + + 2.12.0.0 + GLib.Signal("link_selected") @@ -141,8 +218,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -153,9 +234,4 @@ - - Hypertext adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/HypertextImplementor.xml b/doc/en/Atk/HypertextImplementor.xml index 66bc22f06..aac641a73 100644 --- a/doc/en/Atk/HypertextImplementor.xml +++ b/doc/en/Atk/HypertextImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.HypertextAdapter)) + + Hypertext implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + Atk.Hyperlink @@ -33,7 +43,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -48,8 +62,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -60,9 +78,4 @@ - - Hypertext implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/Image.xml b/doc/en/Atk/Image.xml index 2663d3b77..539ba32ac 100644 --- a/doc/en/Atk/Image.xml +++ b/doc/en/Atk/Image.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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 @@ -33,44 +39,14 @@ - - - GLib.IWrapper - - - - - Method - - System.Boolean - - - - - - Sets the textual description for this image. - a description to set for image - - , or if operation could not be completed. - - - - - - Property - - System.String - - - Get a textual description of this image. - a string representing the image description - - - + Method + + 2.12.0.0 + System.Void @@ -80,13 +56,13 @@ - Gets the position of the image in the form of a point specifying the images top-left corner. 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. @@ -96,7 +72,11 @@ + Method + + 2.12.0.0 + System.Void @@ -105,18 +85,38 @@ - Get the width and height in pixels for the specified image. 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 @@ -127,5 +127,26 @@ + + + + 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. + + + diff --git a/doc/en/Atk/ImageAdapter.xml b/doc/en/Atk/ImageAdapter.xml index f44f286f3..744b35d2b 100644 --- a/doc/en/Atk/ImageAdapter.xml +++ b/doc/en/Atk/ImageAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Image + + GLib.IWrapper + + + Image adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -55,7 +92,11 @@ + Method + + 2.12.0.0 + System.Void @@ -70,9 +111,33 @@ 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 @@ -88,11 +153,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - System.String + GLib.GType To be added. @@ -100,25 +169,29 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.IntPtr - - - - To be added. To be added. - To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + System.String @@ -129,8 +202,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -141,8 +218,12 @@ - + + Property + + 2.12.0.0 + Atk.ImageImplementor @@ -154,7 +235,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -169,9 +254,4 @@ - - Image adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/ImageImplementor.xml b/doc/en/Atk/ImageImplementor.xml index ecaea23a9..d97638600 100644 --- a/doc/en/Atk/ImageImplementor.xml +++ b/doc/en/Atk/ImageImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.ImageAdapter)) + + Image implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Void @@ -36,7 +46,11 @@ + Method + + 2.12.0.0 + System.Void @@ -52,8 +66,28 @@ - + + + Property + + 2.12.0.0 + + + System.String + + + To be added. + To be added. + To be added. + + + + + Property + + 2.12.0.0 + System.String @@ -65,7 +99,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -79,22 +117,5 @@ To be added. - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - Image implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/Implementor.xml b/doc/en/Atk/Implementor.xml index ef56ff650..95ad06af0 100644 --- a/doc/en/Atk/Implementor.xml +++ b/doc/en/Atk/Implementor.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,19 +8,23 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - - GLib.IWrapper + + To be added + + + Method + + 2.12.0.0 + Atk.Object diff --git a/doc/en/Atk/ImplementorAdapter.xml b/doc/en/Atk/ImplementorAdapter.xml index 93f324f00..044ad8c62 100644 --- a/doc/en/Atk/ImplementorAdapter.xml +++ b/doc/en/Atk/ImplementorAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Implementor + + GLib.IWrapper + + + Implementor adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,49 @@ 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 @@ -52,22 +109,45 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - Atk.Object + GLib.GType - 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. - + + Property + + 2.12.0.0 + Atk.ImplementorImplementor @@ -79,7 +159,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -91,9 +175,4 @@ - - Implementor adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/ImplementorImplementor.xml b/doc/en/Atk/ImplementorImplementor.xml index d22834cf0..c6b5a1e51 100644 --- a/doc/en/Atk/ImplementorImplementor.xml +++ b/doc/en/Atk/ImplementorImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.ImplementorAdapter)) + + Implementor implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + Atk.Object @@ -29,9 +39,4 @@ - - Implementor implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/KeyEventStruct.xml b/doc/en/Atk/KeyEventStruct.xml index e44f6ac2d..2577747e1 100644 --- a/doc/en/Atk/KeyEventStruct.xml +++ b/doc/en/Atk/KeyEventStruct.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,48 +8,41 @@ 2.12.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 + + To be added + To be added + - - + + + Field + + 2.12.0.0 + - Atk.KeyEventStruct - - - - Returns an empty - - - - - - Method - - Atk.KeyEventStruct + System.UInt16 - - Internal method - an object of type - a - This is an internal method and should not be used by user code. + To be added + To be added - - + + + Field + + 2.12.0.0 + - System.Int32 + System.UInt32 @@ -57,11 +51,15 @@ To be added - - + + + Field + + 2.12.0.0 + - System.UInt32 + System.Int32 @@ -70,24 +68,35 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - System.UInt32 + Atk.KeyEventStruct + - To be added - To be added + 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.Int32 + System.UInt32 @@ -98,7 +107,11 @@ + Field + + 2.12.0.0 + System.String @@ -109,11 +122,15 @@ To be added - - + + + Field + + 2.12.0.0 + - System.UInt16 + System.UInt32 @@ -122,11 +139,15 @@ To be added - - + + + Field + + 2.12.0.0 + - System.UInt32 + System.Int32 @@ -135,5 +156,21 @@ To be added + + + + Field + + 2.12.0.0 + + + Atk.KeyEventStruct + + + + Returns an empty + + + diff --git a/doc/en/Atk/KeyEventType.xml b/doc/en/Atk/KeyEventType.xml index 6bc70549a..17bfab52d 100644 --- a/doc/en/Atk/KeyEventType.xml +++ b/doc/en/Atk/KeyEventType.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the type of a keyboard event. - - System.Enum @@ -19,42 +16,58 @@ GLib.GType(typeof(Atk.KeyEventTypeGType)) + + Specifies the type of a keyboard event. + + - - + + + Field + + 2.12.0.0 + Atk.KeyEventType - specifies a key press event + Not a valid value; specifies end of enumeration - - + + + Field + + 2.12.0.0 + Atk.KeyEventType - specifies a key release event + specifies a key press event - - + + + Field + + 2.12.0.0 + Atk.KeyEventType - Not a valid value; specifies end of enumeration + specifies a key release event diff --git a/doc/en/Atk/KeySnoopFunc.xml b/doc/en/Atk/KeySnoopFunc.xml index 95298d38d..c2a77476e 100644 --- a/doc/en/Atk/KeySnoopFunc.xml +++ b/doc/en/Atk/KeySnoopFunc.xml @@ -1,24 +1,25 @@ + atk-sharp 2.12.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.Int32 + + To be added. + To be added + To be added. + To be added + + diff --git a/doc/en/Atk/Layer.xml b/doc/en/Atk/Layer.xml index b5aaa153f..d88785796 100644 --- a/doc/en/Atk/Layer.xml +++ b/doc/en/Atk/Layer.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,75 +16,103 @@ 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 - The object does not have a layer + This layer is reserved for the desktop background - - + + + Field + + 2.12.0.0 + Atk.Layer - This layer is reserved for the desktop background + This layer is used for Canvas components - - + + + Field + + 2.12.0.0 + Atk.Layer - This layer is used for Canvas components + The object does not have a layer - - + + + Field + + 2.12.0.0 + Atk.Layer - This layer is normally used for components + This layer is used for layered components - - + + + Field + + 2.12.0.0 + Atk.Layer - This layer is used for layered components + This layer is reserved for future use. + Field + + 2.12.0.0 + Atk.Layer @@ -98,22 +123,30 @@ - - + + + Field + + 2.12.0.0 + Atk.Layer - This layer is reserved for future use. + This layer is normally used for components + Field + + 2.12.0.0 + Atk.Layer diff --git a/doc/en/Atk/LinkSelectedArgs.xml b/doc/en/Atk/LinkSelectedArgs.xml index 4de6d392a..9ae12ff29 100644 --- a/doc/en/Atk/LinkSelectedArgs.xml +++ b/doc/en/Atk/LinkSelectedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Atk/LinkSelectedHandler.xml b/doc/en/Atk/LinkSelectedHandler.xml index 69a821a04..e09b3ba81 100644 --- a/doc/en/Atk/LinkSelectedHandler.xml +++ b/doc/en/Atk/LinkSelectedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Atk/Misc.xml b/doc/en/Atk/Misc.xml index 150f3db4d..53912acc9 100644 --- a/doc/en/Atk/Misc.xml +++ b/doc/en/Atk/Misc.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -48,8 +66,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -60,8 +82,12 @@ - + + Property + + 2.12.0.0 + Atk.Misc @@ -71,9 +97,74 @@ 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 @@ -85,7 +176,11 @@ + Method + + 2.12.0.0 + System.Void @@ -96,9 +191,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Atk/NoOpObject.xml b/doc/en/Atk/NoOpObject.xml index 00018a4df..9867b1046 100644 --- a/doc/en/Atk/NoOpObject.xml +++ b/doc/en/Atk/NoOpObject.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - Atk.Object @@ -46,2202 +43,2990 @@ 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. + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - To be added - an object of type - an object of type - To be added + 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. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - To be added - an object of type - To be added + 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.Void + System.Boolean - + + an object of type To be added - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.UInt32 - - - + + an object of type To be added - an object of type - an object of type - an object of type - an object of type + 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 - an object of type - an object of type an object of type To be added - - + + + Method + + 2.12.0.0 + System.Boolean - + - To be added - an object of type - an object of type - To be added + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.String + System.Boolean - To be added - an object of type - an object of type - an object of type - To be added + To be added. + To be added. + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Double - - - - - To be added - an object of type - an object of type - To be added + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + System.Boolean - + - To be added - an object of type - an object of type - 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 - an object of type - an object of type - To be added + To be added. + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + Atk.Attribute[] - - - - - To be added - an object of type - an object of type - an object of type - To be added + To be added. + To be added. + To be added. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("bounds_changed") + + - System.Boolean + Atk.BoundsChangedHandler - - - + To be added - an object of type - an object of type To be added + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Atk.Object - - To be added - an object of type - an object of type + an object of type To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - To be added - an object of type - an object of type + an object of type To be added - - - Method + + + + Property + + 2.12.0.0 + - Atk.Object + System.Int32 - - - To be added - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - - - - + To be added - an object of type - an object of type - an object of type + an object of type To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("column_deleted") + + - System.Void + Atk.ColumnDeletedHandler - - - - + To be added - an object of type - an object of type To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("column_inserted") + + - Atk.Object + Atk.ColumnInsertedHandler - - - - + To be added - an object of type - an object of type - an object of type To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("column_reordered") + + - System.String + System.EventHandler - - - + To be added - an object of type - an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + + + + an object of type + an object of type + an object of type To be added - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + an object of type + an object of type To be added - an object of type - an object of type To be added - - - Method + + + Property - System.String + GLib.Value - - - + To be added - an object of type - an object of type + a To be added + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + + an object of type + an object of type To be added - an object of type - an object of type - an object of type To be added - - - Method + + + + Property + + 2.12.0.0 + - Atk.Object + Atk.Attribute[] - - - To be added - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - - + + + an object of type + an object of type To be added - an object of type - an object of type - 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 an object of type To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - To be added - an object of type - To be added + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - + - To be added - an object of type - an object of type - To be added - - - - - Method - - System.Boolean - - - - To be added - an object of type - To be added + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + - Atk.Object + Atk.TextRange - + + + + + a + a + a + a To be added - an object of type - an object of type + a To be added + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Char - + - To be added - an object of type - an object of type - To be added + position + Gets the specified text. + the character at . + + - - + + + Method + + 2.12.0.0 + System.Void - - + + + + + + + a + a + a + a + a + a To be added - an object of type - an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - + + a To be added - an object of type + a To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.String - - + + an object of type To be added - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - - + + + an object of type + an object of type To be added - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + Atk.Object - - - + + an object of type To be added - an object of type - an object of type - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.String + System.Void - + - To be added - an object of type - an object of type - To be added + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - - To be added 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.String + System.Void - + + + + + + a + a + a + a + a To be added - an object of type - an object of type To be added - - + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + + a + a + a To be added - an object of type - an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + a + a To be added - an object of type - an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - + + + an object of type + an object of type To be added - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - - - + + an object of type To be added - an object of type - an object of type - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + Atk.Hyperlink - + + + + a To be added - an object of type + a To be added + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - - + + a To be added - an object of type - an object of type - an object of type - an object of type - an object of type - an object of type + a To be added + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - - + + a To be added - an object of type - an object of type - an object of type + a To be added - - + + Method - System.UInt32 + System.Void - + To be added - an object of type - an object of type + an object of type To be added + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - To be added - an object of type - an object of type - an object of type - an object of type - To be added + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - Atk.Object + System.Void - - - + - To be added - an object of type - an object of type - an object of type - an object of type - To be added + To be added. + To be added. + To be added. - - - Constructor - + + + Method + + System.Void + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added + an object of type + To be added + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Creates a new instance. - an object of type - - + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + - GLib.SList + System.String + + + + an object of type To be added - an object of type + an object of type To be added - - - Property + + + + 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 + an object of type To be added - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + + + + + a + a + a To be added - an object of type To be added - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.TextRectangle + + + + + - To be added - an object of type - To be added + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - Property + + + Method - System.Int32 + System.Void + + + + + + To be added - an object of type + a + a + a + a To be added + + - - - Property + + + + Method + + 2.12.0.0 + - Atk.Object + System.Int32 + + a To be added - an object of type + a To be added - - - Property + + + + Method + + 2.12.0.0 + - Atk.Object + System.String + + an object of type To be added - an object of type + an object of type To be added - - - Property + + + + Method + + 2.12.0.0 + System.Int32 + + + + + an object of type + an object of type To be added - an object of type + an object of type To be added - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.Object + + + + an object of type To be added - an object of type + an object of type To be added - - - Property + + + + Method + + 2.12.0.0 + - System.String + Atk.Attribute[] + + + + + - To be added - an object of type - To be added + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - Property + + + Method - System.String + GLib.SList + + + To be added - an object of type + a + a + a + a To be added + - - - Property + + + Method System.Int32 + + + To be added - an object of type + a + a To be added + - - - Property + + + Method System.Int32 + + + To be added - an object of type + a + a To be added + - - - Property + + + + Method + + 2.12.0.0 + - Atk.Layer + System.String + + + + + + a + a + a To be added - an object of type + a To be added - - - Event + + + + Method + + 2.12.0.0 + - Atk.TextChangedHandler + System.Void - + + + + + a + a To be added To be added - - - GLib.Signal("text_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.String - + + + + + an object of type + an object of type To be added + an object of type To be added - - - GLib.Signal("text_selection_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Atk.TextCaretMovedHandler + System.String - + + + + + + + a + a + a + a To be added + a To be added - - - GLib.Signal("text_caret_moved") - - - - - Event + + + + Method + + 2.12.0.0 + - Atk.RowDeletedHandler + System.String - + + + + + + + a + a + a + a To be added + a To be added - - - GLib.Signal("row_deleted") - - - - - Event + + + + Method + + 2.12.0.0 + - Atk.RowInsertedHandler + System.String - + + + + + + + a + a + a + a To be added + a To be added - - - GLib.Signal("row_inserted") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean To be added + an object of type To be added - - - GLib.Signal("model_changed") - - - - - Event + + + + Property + + 2.12.0.0 + - Atk.ColumnInsertedHandler + GLib.GType - To be added - To be added + GType Property. + a + Returns the native value for . - - - GLib.Signal("column_inserted") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.String - To be added + an object of type To be added - - - GLib.Signal("row_reordered") - - - - - Event + + + + Property + + 2.12.0.0 + - Atk.ColumnDeletedHandler + System.String - - To be added - To be added + To be added. + To be added. + To be added. + - - - GLib.Signal("column_deleted") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + - To be added - To be added + To be added. + To be added. + To be added. + To be added. - - - GLib.Signal("column_reordered") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + + an object of type To be added + an object of type To be added - - - GLib.Signal("selection_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + + an object of type To be added + an object of type To be added - - - GLib.Signal("text_attributes_changed") - - - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + + an object of type To be added - a - a + an object of type To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + + - To be added - a - a + an object of type + an object of type + To be added + an object of type To be added - - - Method + + + + 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 - a - a + an object of type To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("model_changed") + + - System.Void + System.EventHandler - - - - - + To be added - a - a - a To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - - - - To be added - a - a - a - a - a + an object of type To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - To be added - a - a + an object of type To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - - + To be added - a - a - a + a To be added + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - To be added - a - a + an object of type To be added - - - Method + + + + Property + + 2.12.0.0 + System.Int32 - - - To be added - a - a + an object of type To be added - - + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideBoundsChanged", Type=typeof(Atk.NoOpObject)) + + - System.Int32 + System.Void - + - To be added - a - a - To be added + 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.String + System.Void - - - - + + - To be added - a - a - a - a - a - To be added + 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.String + System.Void - - - + + - To be added - a - a - a - a - To be added + 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.String + 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 - - - - + - To be added - a - a - a - a - a - To be added + 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 + + + + - To be added - a - a - a - a - a - a - To be added + 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)) + + - GLib.SList + System.Void - - - + - To be added - a - a - a - a - To be added + 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.String + System.Void - - - - + + - To be added - a - a - a - a - a - To be added + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextSelectionChanged", Type=typeof(Atk.NoOpObject)) + + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + an object of type + To be added + To be added - - + + + Method + + 2.12.0.0 + - System.Void + Atk.Object - + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 + Atk.Object + - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 + Atk.Object - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + an object of type + To be added + an object of type + To be added - - + + + Method + + 2.12.0.0 + System.Void - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + an object of type + To be added + To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + an object of type + To be added + an object of type + To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_deleted") + + - System.Void + Atk.RowDeletedHandler - - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_inserted") + + - System.Void + Atk.RowInsertedHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_reordered") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + an object of type + To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32[] - - - - - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. - - - - - Constructor - - - - - Internal constructor - a - 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. + To be added. + To be added. + To be added. - - - System.Obsolete - - - - + + + Property + + 2.12.0.0 + - System.Int32 + System.Int32[] - - To be added - a - To be added - + To be added. + To be added. + To be added. - - + + + Event + + 2.12.0.0 + + + + GLib.Signal("selection_changed") + + - Atk.LinkSelectedHandler + System.EventHandler To be added To be added - - - - GLib.Signal("link_selected") - - - - - Method + + + + Property + + 2.12.0.0 + - Atk.TextRange + System.Int32 - - - - - - To be added - a - a - a - a - a + an object of type To be added - - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - - - + + - To be added - a - a - a - a - To be added - + To be added. + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + - Atk.Hyperlink + System.Boolean - + + an object of type To be added - a - a + an object of type To be added - - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + an object of type + an object of type To be added - a - a To be added - - - + + + Method + + 2.12.0.0 + System.Void - + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - - Property - - GLib.Value - - - + an object of type + an object of type To be added - a To be added - - - + + + Method + + 2.12.0.0 + - System.Char + System.Boolean - + - Gets the specified text. - position - the character at . - - - - - - - Event - - Atk.BoundsChangedHandler - - - + an object of type To be added + an object of type To be added - - - - GLib.Signal("bounds_changed") - - - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - + 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 + System.Boolean - - + + + + + - To be added. - To be added. - To be added. - To be added. + 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 - + - To be added. - To be added. - To be added. - To be added. + 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. - To be added. + an object of type + an object of type + an object of type + To be added + an object of type + To be added - - - Property + + + + Method + + 2.12.0.0 + - System.Double + System.Void + + + + - To be added. - To be added. - To be added. - + an object of type + an object of type + To be added + To be added - - - Property + + + + Method + + 2.12.0.0 + - Atk.Attribute[] + System.Void + + + + - To be added. - To be added. - To be added. - + an object of type + an object of type + To be added + To be added - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean + + + + + - To be added. - To be added. - To be added. - + 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.String + System.Boolean - + + + - To be added. - To be added. - To be added. - To be added. - + 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 + System.Boolean - + + - To be added. - To be added. - To be added. - + an object of type + an object of type + To be added + an object of type + To be added - - + + + Property + + 2.12.0.0 + - System.String + Atk.Object + + - To be added. - To be added. - To be added. - + To be added + an object of type + To be added - - + + + Event + + 2.12.0.0 + - GLib.Signal("load_complete") + GLib.Signal("text_attributes_changed") System.EventHandler + - To be added. - To be added. - + To be added + To be added - - + + + Event + + 2.12.0.0 + - GLib.Signal("load_stopped") + GLib.Signal("text_caret_moved") - System.EventHandler - - - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void + Atk.TextCaretMovedHandler - To be added. - To be added. - + To be added + To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("text_changed") + + - System.Void + Atk.TextChangedHandler - To be added. - To be added. - + To be added + To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - + + - To be added. - To be added. - + To be added + an object of type + To be added - - + + + Event + + 2.12.0.0 + - GLib.Signal("reload") + GLib.Signal("text_selection_changed") System.EventHandler + - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - - 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.IntPtr diff --git a/doc/en/Atk/NoOpObjectFactory.xml b/doc/en/Atk/NoOpObjectFactory.xml index 27c3c40ed..eda339f47 100644 --- a/doc/en/Atk/NoOpObjectFactory.xml +++ b/doc/en/Atk/NoOpObjectFactory.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,44 +8,78 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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 + - + + + - Default constructor - + 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 @@ -55,23 +90,5 @@ Returns the native value for . - - - Constructor - - - - - - Internal constructor - a - 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. - - - - System.Obsolete - - - diff --git a/doc/en/Atk/Object.xml b/doc/en/Atk/Object.xml index a0fcac386..7e173a34c 100644 --- a/doc/en/Atk/Object.xml +++ b/doc/en/Atk/Object.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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. @@ -18,163 +24,117 @@ All UI components in an application which provide useful information or services - - GLib.Object - - - - - - Method - - Atk.Object - - - - - - To be added - an object of type - an object of type - To be added - - - - - Method - - System.UInt32 - - - - - - To be added - an object of type - an object of type - To be added - - - - - Method - - System.Void - - - - - - To be added - an object of type - To be added - - - - - Method - - Atk.RelationSet - + + + + Constructor + + 2.12.0.0 + + - To be added - an object of type - To be added - - - - - Method - - System.Void - - - - - - To be added - an object of type - To be added + Default constructor + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - To be added - an object of type - an object of type - To be added - - - - - Method - - Atk.StateSet - - - - To be added - an object of type - To be added + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("active_descendant_changed") + + - Atk.Object + Atk.ActiveDescendantChangedHandler - - + To be added - an object of type To be added - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean + + + a + a To be added - an object of type + a To be added - - + + + Property + + 2.12.0.0 + + + + GLib.Property("atk_object_name_property_component_layer") + + System.Int32 @@ -184,9 +144,18 @@ All UI components in an application which provide useful information or services To be added - - + + + Property + + 2.12.0.0 + + + + GLib.Property("atk_object_name_property_component_mdi_zorder") + + System.Int32 @@ -196,80 +165,133 @@ All UI components in an application which provide useful information or services To be added - - + + + Property + + 2.12.0.0 + + + + GLib.Property("atk_object_name_property_description") + + - Atk.Role + System.String To be added - an object of type + 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 - an object of type + a To be added + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("atk_object_name_property_name") + + - Atk.Layer + System.String + + To be added - an object of type + an object of type To be added - - + + + Property + + 2.12.0.0 + + + + GLib.Property("atk_object_name_property_parent") + + - System.String + Atk.Object To be added - an object of type + an object of type To be added - - + + + Property + + 2.12.0.0 + + + + GLib.Property("atk_object_name_property_role") + + - System.String + System.Int32 To be added - an object of type + an object of type To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("atk_object_name_property_name") + GLib.Property("atk_object_name_property_table_caption") - - - - Property System.String @@ -280,182 +302,233 @@ All UI components in an application which provide useful information or services an object of type To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("atk_object_name_property_description") + GLib.Property("atk_object_name_property_table_caption_object") - - - - Property - System.Int32 + Atk.Object + To be added - an object of type + a To be added + + + + + + Property + + 2.12.0.0 + - GLib.Property("atk_object_name_property_component_layer") + GLib.Property("atk_object_name_property_table_column_description") - - - - Property - Atk.Object + System.String To be added - an object of type + an object of type To be added + + + + + Property + + 2.12.0.0 + GLib.Property("atk_object_name_property_table_column_header") - - - - Property - System.Double + Atk.Object To be added - an object of type + an object of type To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("atk_object_name_property_value") + GLib.Property("atk_object_name_property_table_row_description") - - - - Property - Atk.Object + System.String To be added - an object of type + an object of type To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("atk_object_name_property_parent") + GLib.Property("atk_object_name_property_table_row_header") - - - - Property - System.String + Atk.Object To be added - an object of type + an object of type To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("atk_object_name_property_table_row_description") + GLib.Property("atk_object_name_property_table_summary") - - - - Property - System.Int32 + Atk.Object To be added - an object of type + an object of type To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("atk_object_name_property_role") + GLib.Property("atk_object_name_property_value") - - - - Property - System.Int32 + System.Double + + To be added - an object of type + an object of type To be added - - - GLib.Property("atk_object_name_property_component_mdi_zorder") - - - - + + + Property + + 2.12.0.0 + - System.String + Atk.Attribute[] - - - To be added - an object of type - To be added + To be added. + To be added. + To be added. + + + + + + Event + + 2.12.0.0 + - GLib.Property("atk_object_name_property_table_caption") + GLib.Signal("children_changed") + + Atk.ChildrenChangedHandler + + + + To be added + To be added + - - - Property + + + + Method + + 2.12.0.0 + - Atk.Object + System.UInt32 + + an object of type To be added - an object of type + an object of type To be added - - - GLib.Property("atk_object_name_property_table_summary") - - - - + + + Property + + 2.12.0.0 + System.String @@ -466,210 +539,282 @@ All UI components in an application which provide useful information or services an object of type To be added - - - GLib.Property("atk_object_name_property_table_column_description") - - - - - Property + + + + Method + + 2.12.0.0 + - Atk.Object + System.Void + + + - To be added - an object of type - To be added + To be added. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("atk_object_name_property_table_row_header") - - - - - Event + + + + Method + + 2.12.0.0 + - Atk.StateChangeHandler + System.Void - + + + - To be added - To be added + To be added. + To be added. + To be added. - - - GLib.Signal("state_change") - - - - - Event + + + + Method + + 2.12.0.0 + - Atk.ChildrenChangedHandler + System.Void - To be added - To be added + To be added. + To be added. + + + + + Event + + 2.12.0.0 + - GLib.Signal("children_changed") + GLib.Signal("focus_event") - - - - Event - System.EventHandler + Atk.FocusEventHandler To be added To be added - - - GLib.Signal("visible_data_changed") - - - - - Event + + + + Property + + 2.12.0.0 + - Atk.FocusEventHandler + GLib.GType - To be added - To be added + GType Property. + a + Returns the native value for . - - - GLib.Signal("focus_event") - - - - - Event + + + + Property + + 2.12.0.0 + - Atk.ActiveDescendantChangedHandler + System.Int32 - To be added + an object of type To be added - - - GLib.Signal("active_descendant_changed") - - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + an object of type To be added - a - a - a To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Atk.Layer - - - - To be added - a - a - a + an object of type To be added - - + + + Property + + 2.12.0.0 + - GLib.GType + System.Int32 - - GType Property. - a - Returns the native value for . + To be added + an object of type + To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 + + + To be added + an object of type + To be added + + + + + + Property + + 2.12.0.0 + + + System.String - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added + an object of type + To be added - - + + + Method + + 2.12.0.0 + System.Void - + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + System.Void - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -678,138 +823,434 @@ All UI components in an application which provide useful information or services - Default handler for the event. 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 - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetAttributes", Type=typeof(Atk.Object)) + + + + Atk.Attribute[] + + - Internal constructor - a - 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. + To be added. + To be added. + To be added. + + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIndexInParent", Type=typeof(Atk.Object)) + + System.Int32 + + + + To be added. + To be added. + To be added. + - - - Event + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideNChildren", Type=typeof(Atk.Object)) + + - Atk.PropertyChangeEventHandler + System.Int32 - To be added - To be added + To be added. + To be added. + To be added. + + + + + Method + + 2.12.0.0 + - GLib.Signal("property_change") + 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. + - - - Constructor - + + + + 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 + - Default constructor - + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRefStateSet", Type=typeof(Atk.Object)) + + - System.Int32 + Atk.StateSet - To be added - a - To be added - + To be added. + To be added. + To be added. + + + + + Method + + 2.12.0.0 + - GLib.Property("atk_object_name_property_hypertext_num_links") + 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 - a + an object of type To be added - + + + + + Event + + 2.12.0.0 + - GLib.Property("atk_object_name_property_table_caption_object") + 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 - + - To be added. - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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.Attribute[] + Atk.Role + + - To be added. - To be added. - To be added. - + 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 diff --git a/doc/en/Atk/ObjectFactory.xml b/doc/en/Atk/ObjectFactory.xml index 5546c0e43..f3eaeee6a 100644 --- a/doc/en/Atk/ObjectFactory.xml +++ b/doc/en/Atk/ObjectFactory.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,62 +8,115 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 . - 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 . + - - - Method - - Atk.Object - - - - + + + + Constructor + + 2.12.0.0 + + + - To be added - an object of type - an object of type - To be added + Default constructor + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - To be added - To be added + 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 + - Internal constructor 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 @@ -73,45 +127,104 @@ Returns the native value for . - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void To be added - a To be added - - - Constructor - + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateAccessible", Type=typeof(Atk.ObjectFactory)) + + + + Atk.Object + - + - Internal constructor - a - 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. + To be added. + To be added. + To be added. + To be added. + + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetAccessibleType", Type=typeof(Atk.ObjectFactory)) + + GLib.GType + + + + To be added. + To be added. + To be added. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideInvalidate", Type=typeof(Atk.ObjectFactory)) + + + + System.Void + - Default constructor - + To be added. + To be added. + + + + + + Property + + 2.12.0.0 + + + System.IntPtr + + + To be added. + To be added. + To be added. diff --git a/doc/en/Atk/PropertyChangeArgs.xml b/doc/en/Atk/PropertyChangeArgs.xml index 2c7e7c1a4..d8ef623c8 100644 --- a/doc/en/Atk/PropertyChangeArgs.xml +++ b/doc/en/Atk/PropertyChangeArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Atk.PropertyValues diff --git a/doc/en/Atk/PropertyChangeEventHandler.xml b/doc/en/Atk/PropertyChangeEventHandler.xml index 6a86f7889..3b914cabc 100644 --- a/doc/en/Atk/PropertyChangeEventHandler.xml +++ b/doc/en/Atk/PropertyChangeEventHandler.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,16 @@ 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. @@ -17,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Atk/PropertyChangeHandler.xml b/doc/en/Atk/PropertyChangeHandler.xml index 559648e52..5038ec6dc 100644 --- a/doc/en/Atk/PropertyChangeHandler.xml +++ b/doc/en/Atk/PropertyChangeHandler.xml @@ -1,20 +1,14 @@ + atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - Event handler. - To be added - System.Delegate - @@ -22,4 +16,11 @@ System.Void + + To be added. + To be added. + Event handler. + To be added + + diff --git a/doc/en/Atk/PropertyValues.xml b/doc/en/Atk/PropertyValues.xml index aba746046..77bf1af1f 100644 --- a/doc/en/Atk/PropertyValues.xml +++ b/doc/en/Atk/PropertyValues.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,30 +8,22 @@ 2.12.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 + + To be added + To be added + - - - Field - - Atk.PropertyValues - - - - Returns an empty - - - + Method + + 2.12.0.0 + Atk.PropertyValues @@ -38,17 +31,21 @@ - Internal method a + Internal method a new This is an internal method and should not be used by user code. - - + + + Field + + 2.12.0.0 + - System.String + GLib.Value @@ -59,7 +56,11 @@ + Field + + 2.12.0.0 + GLib.Value @@ -70,11 +71,15 @@ To be added - - + + + Field + + 2.12.0.0 + - GLib.Value + System.String @@ -83,5 +88,21 @@ To be added + + + + Field + + 2.12.0.0 + + + Atk.PropertyValues + + + + Returns an empty + + + diff --git a/doc/en/Atk/Rectangle.xml b/doc/en/Atk/Rectangle.xml index 88e53a6c6..58fc328e7 100644 --- a/doc/en/Atk/Rectangle.xml +++ b/doc/en/Atk/Rectangle.xml @@ -1,37 +1,46 @@ + 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 - - System.ValueType - - - - - Field + + + + Property + + 2.12.0.0 + - Atk.Rectangle + GLib.GType - - + To be added + a To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -42,104 +51,132 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.Rectangle + + a To be added + a To be added - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + GLib.Value + - To be added - To be added + To be added. + To be added. + To be added. + To be added. - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.Rectangle + - To be added - To be added + To be added. + To be added. + To be added. + To be added. - - - Method + + + + Field + + 2.12.0.0 + - Atk.Rectangle + System.Int32 - To be added - a - a To be added - - - Property + + + + Field + + 2.12.0.0 + - GLib.GType + System.Int32 - + + To be added - a To be added - - - Method + + + + Field + + 2.12.0.0 + - GLib.Value + System.Int32 - - To be added. - To be added. - To be added. - To be added. + To be added + To be added - - - Method + + + + Field + + 2.12.0.0 + Atk.Rectangle - - To be added. - To be added. - To be added. - To be added. + To be added + To be added diff --git a/doc/en/Atk/Registry.xml b/doc/en/Atk/Registry.xml index 8745425d8..6f876758d 100644 --- a/doc/en/Atk/Registry.xml +++ b/doc/en/Atk/Registry.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,47 +8,78 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An object used to store the of the factories used to create an accessible object for an object of a particular . - - 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - + Method + + 2.12.0.0 + Atk.ObjectFactory @@ -55,71 +87,68 @@ - To be added a + To be added a To be added - - + + + Method + + 2.12.0.0 + - System.Void + GLib.GType - - To be added a - a + To be added + a To be added - - - Method + + + + Property + + 2.12.0.0 + GLib.GType - - - + - To be added - a - a - To be added + GType Property. + a + Returns the native value for . - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Internal constructor - a - 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. - - - - System.Obsolete - - - - - - Constructor - - - - Default constructor - + a + a + To be added + To be added diff --git a/doc/en/Atk/Relation.xml b/doc/en/Atk/Relation.xml index 5e6225211..172b2133b 100644 --- a/doc/en/Atk/Relation.xml +++ b/doc/en/Atk/Relation.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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. @@ -21,78 +27,95 @@ - - GLib.Object - - - - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + + a Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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. - - - Method - - Atk.RelationType - + + + + Constructor + + 2.12.0.0 + + - + - To be added - a - a - To be added + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method - - System.String - + + + + Constructor + + 2.12.0.0 + + - + + - To be added - a - a - To be added + an array of + an for the relation. + Creates a new with the provided information. + + - - + + + Method + + 2.12.0.0 + - Atk.RelationType + System.Void - + + a To be added - a - a To be added + - + + Property + + 2.12.0.0 + GLib.GType @@ -103,43 +126,18 @@ Returns the native value for . - - - Constructor - - - - - - Internal constructor - a - 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. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("relation_type") - - - - Constructor - - - - - - - Creates a new with the provided information. - an array of - an for the relation. - - - - - - - Property Atk.RelationType @@ -151,38 +149,81 @@ - - - GLib.Property("relation_type") - - - - + + + + Property + + 2.12.0.0 + + + Atk.Object[] + + + To be added. + To be added. + To be added. + + + + + Method + + 2.12.0.0 + - System.Void + Atk.RelationType - + + a To be added - a + a To be added - - - - Property + + + + Method + + 2.12.0.0 + - System.IntPtr + System.String + + + - To be added. - To be added. - To be added. + a + To be added + a + To be added + + + + + + Method + + 2.12.0.0 + + + Atk.RelationType + + + + + + a + To be added + a + To be added diff --git a/doc/en/Atk/RelationSet.xml b/doc/en/Atk/RelationSet.xml index 9ee5049de..1001675f3 100644 --- a/doc/en/Atk/RelationSet.xml +++ b/doc/en/Atk/RelationSet.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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 @@ -14,50 +20,69 @@ - - GLib.Object - - - - - - Method - - Atk.Relation - + + + + Constructor + + 2.12.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Determines the relation at the specified position in the relation set. - An representing a position in the set, starting from 0. - - An , which is the relation at - position in the set. - - + 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. - - - Method - - Atk.Relation - + + + + Constructor + + 2.12.0.0 + + - + - Finds a relation that matches the specified type. - An - An , which is a relation matching the specified type. - + 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 @@ -65,14 +90,40 @@ - Add a new relation to the current relation set if it is not already present. 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 @@ -80,8 +131,8 @@ - Determines whether the relation set contains a relation that matches the specified type. 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. @@ -89,61 +140,56 @@ - - + + + Method + + 2.12.0.0 + - System.Void + Atk.Relation - + - Removes a relation from the relation set. - An . + 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. + - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - To be added - To be added - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.Relation + + + - Determines the number of relations in a relation set. - An integer representing the number of relations in the set. + 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 @@ -154,40 +200,39 @@ Returns the native value for . - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + System.Int32 + - Internal constructor - a - 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. + Determines the number of relations in a relation set. + An integer representing the number of relations in the set. + - - - System.Obsolete - - - - + + + Method + + 2.12.0.0 + System.Void - - + - To be added - a - a - To be added - + An . + Removes a relation from the relation set. + diff --git a/doc/en/Atk/RelationType.xml b/doc/en/Atk/RelationType.xml index 00cddd6e3..c2bb1319a 100644 --- a/doc/en/Atk/RelationType.xml +++ b/doc/en/Atk/RelationType.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes the type of the relation - - System.Enum @@ -19,23 +16,18 @@ GLib.GType(typeof(Atk.RelationTypeGType)) + + Describes the type of the relation + + - - - Field - - Atk.RelationType - - - - No Relation - - - - + Field + + 2.12.0.0 + Atk.RelationType @@ -48,7 +40,11 @@ + Field + + 2.12.0.0 + Atk.RelationType @@ -59,74 +55,97 @@ - - + + + Field + + 2.12.0.0 + Atk.RelationType - - Indicates an object is a label for one or more target objects. - - + To be added. + - - + + + Field + + 2.12.0.0 + Atk.RelationType - - Indicates an object is labelled by one or more target objects. - - + 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. + Inverse of , indicates that this object's content is visualy embedded in another object. - - + + + 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. + 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 - + + - To be added + 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 @@ -138,79 +157,115 @@ - - + + + 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). + 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 that the object visually embeds another object's content, i.e. this object's content flows around another's content. + Indicates an object is a member of a group of one or more target objects. - - + + + Field + + 2.12.0.0 + Atk.RelationType - - + - Inverse of , indicates that this object's content is visualy embedded in another object. + 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 - - + - To be added - To be added - + No Relation + + + Field + + 2.12.0.0 + Atk.RelationType @@ -222,26 +277,40 @@ - - + + + Field + + 2.12.0.0 + Atk.RelationType + + - To be added. - + To be added + To be added + - - + + + Field + + 2.12.0.0 + Atk.RelationType + + - To be added. - + To be added + + diff --git a/doc/en/Atk/Role.xml b/doc/en/Atk/Role.xml index 6d67b0897..7ff5745f0 100644 --- a/doc/en/Atk/Role.xml +++ b/doc/en/Atk/Role.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes the role of an object - - System.Enum @@ -19,23 +16,18 @@ GLib.GType(typeof(Atk.RoleGType)) + + Describes the role of an object + + - - - Field - - Atk.Role - - - - Invalid role - - - - + Field + + 2.12.0.0 + Atk.Role @@ -48,7 +40,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -61,7 +57,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -72,9 +72,31 @@ + + + + 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 @@ -85,9 +107,31 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + + + To be added + To be added + + + + Field + + 2.12.0.0 + Atk.Role @@ -100,7 +144,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -111,9 +159,43 @@ + + + + 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 @@ -126,7 +208,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -139,7 +225,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -152,7 +242,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -165,7 +259,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -178,7 +276,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -189,35 +291,47 @@ - - + + + Field + + 2.12.0.0 + Atk.Role - An inconifed internal frame within a + A pane that supports internal frames and iconified versions of those internal frames - - + + + Field + + 2.12.0.0 + Atk.Role - A pane that supports internal frames and iconified versions of those internal frames + An inconifed internal frame within a + Field + + 2.12.0.0 + Atk.Role @@ -230,7 +344,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -243,7 +361,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -254,9 +376,28 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + To be added. + + + + Field + + 2.12.0.0 + Atk.Role @@ -267,9 +408,64 @@ + + + + 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 @@ -282,7 +478,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -295,7 +495,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -306,9 +510,46 @@ + + + + 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 @@ -321,7 +562,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -332,9 +577,46 @@ + + + + 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 @@ -347,7 +629,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -360,7 +646,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -371,9 +661,28 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + To be added. + + + + Field + + 2.12.0.0 + Atk.Role @@ -384,9 +693,30 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + + Invalid role + + + + + Field + + 2.12.0.0 + Atk.Role @@ -397,9 +727,30 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + + not a valid role, used for finding end of enumeration + + + + + Field + + 2.12.0.0 + Atk.Role @@ -410,9 +761,28 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + To be added. + + + + Field + + 2.12.0.0 + Atk.Role @@ -425,7 +795,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -438,7 +812,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -451,7 +829,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -464,7 +846,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -477,7 +863,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -488,9 +878,28 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + To be added. + + + + Field + + 2.12.0.0 + Atk.Role @@ -503,7 +912,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -516,7 +929,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -527,9 +944,31 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + + + An object which is contains a paragraph of text content. + + + + + Field + + 2.12.0.0 + Atk.Role @@ -542,7 +981,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -555,7 +998,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -568,7 +1015,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -581,7 +1032,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -594,7 +1049,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -605,9 +1064,28 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + To be added. + + + + Field + + 2.12.0.0 + Atk.Role @@ -620,7 +1098,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -631,9 +1113,31 @@ + + + + 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 @@ -646,7 +1150,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -657,9 +1165,28 @@ + + + + Field + + 2.12.0.0 + + + Atk.Role + + + To be added. + + + + Field + + 2.12.0.0 + Atk.Role @@ -672,7 +1199,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -683,35 +1214,47 @@ - - + + + Field + + 2.12.0.0 + Atk.Role - A specialized panel that presents two other panels at the same time + An object used to get an integer or floating point number from the user - - + + + Field + + 2.12.0.0 + Atk.Role - An object used to get an integer or floating point number from the user + A specialized panel that presents two other panels at the same time + Field + + 2.12.0.0 + Atk.Role @@ -724,7 +1267,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -737,7 +1284,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -750,7 +1301,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -763,7 +1318,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -776,7 +1335,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -789,7 +1352,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -802,7 +1369,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -815,7 +1386,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -828,7 +1403,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -841,7 +1420,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -854,7 +1437,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -867,7 +1454,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -880,7 +1471,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -893,7 +1488,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -906,7 +1505,11 @@ + Field + + 2.12.0.0 + Atk.Role @@ -917,251 +1520,5 @@ - - - Field - - Atk.Role - - - - not a valid role, used for finding end of enumeration - - - - - - - Field - - Atk.Role - - - - - An object that serves as a document header. - - - - - - - Field - - Atk.Role - - - - - An object that serves as a document footer. - - - - - - - Field - - Atk.Role - - - - - An object which is contains a paragraph of text content. - - - - - - - Field - - 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 - - Atk.Role - - - - - The object is an application object, which may contain objects or other types of accessibles. - - - - - - - Field - - Atk.Role - - - - - To be added - To be added - - - - - - Field - - Atk.Role - - - - - To be added - To be added - - - - - - Field - - Atk.Role - - - - - To be added - To be added - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - - - - Field - - Atk.Role - - - To be added. - - - diff --git a/doc/en/Atk/RowDeletedArgs.xml b/doc/en/Atk/RowDeletedArgs.xml index 8a0de115e..377d94ba9 100644 --- a/doc/en/Atk/RowDeletedArgs.xml +++ b/doc/en/Atk/RowDeletedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Atk/RowDeletedHandler.xml b/doc/en/Atk/RowDeletedHandler.xml index b1d280e9f..fbbcea485 100644 --- a/doc/en/Atk/RowDeletedHandler.xml +++ b/doc/en/Atk/RowDeletedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/RowInsertedArgs.xml b/doc/en/Atk/RowInsertedArgs.xml index 3a92c07c1..47ac8b69c 100644 --- a/doc/en/Atk/RowInsertedArgs.xml +++ b/doc/en/Atk/RowInsertedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Atk/RowInsertedHandler.xml b/doc/en/Atk/RowInsertedHandler.xml index 37cb36a3c..99d18586d 100644 --- a/doc/en/Atk/RowInsertedHandler.xml +++ b/doc/en/Atk/RowInsertedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/Selection.xml b/doc/en/Atk/Selection.xml index 2a5437245..5daf0d33f 100644 --- a/doc/en/Atk/Selection.xml +++ b/doc/en/Atk/Selection.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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. @@ -31,52 +37,55 @@ - - - GLib.IWrapper - - - - + + + Method + + 2.12.0.0 + System.Boolean - + + + - Causes every child of the object to be selected if the object supports multiple selections. + 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 - - - + - Removes the specified child of the object from the object's selection. - - A specifying the index in the selection set. (e.g. the - ith selection as opposed to the ith child). - + Clears the selection in the object so that no children in the object are selected. - if success, - otherwise. + if success, otherwise. + Method + + 2.12.0.0 + System.Boolean @@ -84,8 +93,8 @@ - Determines if the current child of this object is selected. 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. @@ -97,58 +106,94 @@ - - + + + + 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 - + + + - Clears the selection in the object so that no children in the object are selected. + + 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. + if success, + otherwise. - - + + + Method + + 2.12.0.0 + System.Boolean - - - + - Adds the specified accessible child of the object to the object's selection. - A specifying the child index. + Causes every child of the object to be selected if the object supports multiple selections. if success, otherwise. - - - Method + + + + Event + + 2.12.0.0 + - Atk.Object + System.EventHandler - - - + - To be added - To be added: an object of type 'int' - To be added: an object of type 'Atk.Object' - To be added + Event raised when the selected is changed. + - + + Property + + 2.12.0.0 + System.Int32 @@ -169,17 +214,5 @@ - - - Event - - System.EventHandler - - - - Event raised when the selected is changed. - - - diff --git a/doc/en/Atk/SelectionAdapter.xml b/doc/en/Atk/SelectionAdapter.xml index 1671b0a0e..fad6c8883 100644 --- a/doc/en/Atk/SelectionAdapter.xml +++ b/doc/en/Atk/SelectionAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Selection + + GLib.IWrapper + + + Selection adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Boolean @@ -52,7 +89,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -63,106 +104,89 @@ To be added. - - - Method - - Atk.Selection - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - To be added. To be added. - To be added. To be added. - - + + + Method + + 2.12.0.0 + - Atk.Object + Atk.Selection - + - To be added. + To be added. To be added. To be added. To be added. - - + + + Method + + 2.12.0.0 + - System.Boolean + Atk.Selection - + + - 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. - - - Event - - - GLib.Signal("selection_changed") - - + + + + Property + + 2.12.0.0 + - System.EventHandler + GLib.GType To be added. + To be added. To be added. - - + + + Property + + 2.12.0.0 + - System.Int32 + System.IntPtr To be added. @@ -171,8 +195,12 @@ - + + Property + + 2.12.0.0 + Atk.SelectionImplementor @@ -184,7 +212,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -200,7 +232,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -216,7 +252,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -232,7 +272,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -245,7 +289,11 @@ + Event + + 2.12.0.0 + GLib.Signal("selection_changed") @@ -260,8 +308,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -272,9 +324,4 @@ - - Selection adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/SelectionImplementor.xml b/doc/en/Atk/SelectionImplementor.xml index 02b113c89..ad4feb553 100644 --- a/doc/en/Atk/SelectionImplementor.xml +++ b/doc/en/Atk/SelectionImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.SelectionAdapter)) + + Selection implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Boolean @@ -33,7 +43,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -46,7 +60,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -62,7 +80,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -78,7 +100,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -94,7 +120,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -106,8 +136,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -118,9 +152,4 @@ - - Selection implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/StateChangeArgs.xml b/doc/en/Atk/StateChangeArgs.xml index f5de19f1e..7e7953e88 100644 --- a/doc/en/Atk/StateChangeArgs.xml +++ b/doc/en/Atk/StateChangeArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String To be added - To be added: an object of type 'bool' + To be added: an object of type 'string' To be added - - + + + Property + + 2.12.0.0 + - System.String + System.Boolean To be added - To be added: an object of type 'string' + To be added: an object of type 'bool' To be added diff --git a/doc/en/Atk/StateChangeHandler.xml b/doc/en/Atk/StateChangeHandler.xml index bbfcf8e92..f0edf1018 100644 --- a/doc/en/Atk/StateChangeHandler.xml +++ b/doc/en/Atk/StateChangeHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/StateManager.xml b/doc/en/Atk/StateManager.xml index 85f6b3fda..f59e7bb32 100644 --- a/doc/en/Atk/StateManager.xml +++ b/doc/en/Atk/StateManager.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,18 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 @@ -26,15 +45,19 @@ - Gets the corresponding to the description string . a + Gets the corresponding to the description string . a + Method + + 2.12.0.0 + System.String @@ -42,15 +65,19 @@ - Gets the description string describing the . a + Gets the description string describing the . a + Method + + 2.12.0.0 + Atk.StateType @@ -58,21 +85,11 @@ - Register a new object state. a describing the new state. + Register a new object state. a - - - Constructor - - - - Default constructor - - - diff --git a/doc/en/Atk/StateSet.xml b/doc/en/Atk/StateSet.xml index bf74d3633..9346fba4c 100644 --- a/doc/en/Atk/StateSet.xml +++ b/doc/en/Atk/StateSet.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,51 +8,78 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An determines a component's state set. - An determines a component's state set. It is composed of a set of s. - GLib.Object + + An determines a component's state set. + An determines a component's state set. It is composed of a set of s. + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Checks whether the state for the specified type is in the specified set. - an object of type - an object of type , if type is the state type is in set. - + 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. - - - Method - - Atk.StateSet - + + + + Constructor + + 2.12.0.0 + + - + - Constructs the exclusive-or of the two sets, returning is empty. - an object of type - 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. + 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 @@ -59,47 +87,39 @@ - Add a new state for the specified type to the current state set if it is not already present. 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 - - Atk.StateSet - - - - - - Constructs the intersection of the two sets, returning if the intersection is empty. - an object of type - an object of type which is the intersection of the two sets. - - - - - + + + Method + + 2.12.0.0 + - System.Boolean + Atk.StateType - + - Removes the state for the specified type from the state set. - an object of type - an object of type , if type was the state type is in set. - + a + Add the states for the specified types to the current state set. + a + To be added - - + + + Method + + 2.12.0.0 + Atk.StateSet @@ -107,15 +127,19 @@ - Constructs the union of the two sets. an object of type - an object of type which is the union of the two sets, returning is empty. - To be added + 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 @@ -125,34 +149,33 @@ - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Default constructor + 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 @@ -161,16 +184,37 @@ - Checks whether the states for all the specified types are in the specified set. 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 @@ -181,51 +225,64 @@ - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + Atk.StateSet - + + + - GType Property. - a - Returns the native value for . + 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 - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + - Internal constructor - a - 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. + 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. + - - - System.Obsolete - - - - + + + Method + + 2.12.0.0 + - Atk.StateType + Atk.StateSet - + - Add the states for the specified types to the current state set. - a - a - To be added + 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. diff --git a/doc/en/Atk/StateType.xml b/doc/en/Atk/StateType.xml index fa8c36741..20adfb363 100644 --- a/doc/en/Atk/StateType.xml +++ b/doc/en/Atk/StateType.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The possible types of states of an object - - System.Enum @@ -19,36 +16,50 @@ GLib.GType(typeof(Atk.StateTypeGType)) + + The possible types of states of an object + + - - + + + Field + + 2.12.0.0 + Atk.StateType - Indicates an invalid state + Indicates a window is currently the active window - - + + + Field + + 2.12.0.0 + Atk.StateType - - Indicates a window is currently the active window - - + To be added. + + Field + + 2.12.0.0 + Atk.StateType @@ -61,7 +72,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -74,7 +89,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -85,9 +104,28 @@ + + + + Field + + 2.12.0.0 + + + Atk.StateType + + + To be added. + + + + Field + + 2.12.0.0 + Atk.StateType @@ -100,7 +138,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -113,7 +155,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -126,7 +172,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -139,7 +189,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -152,7 +206,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -165,7 +223,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -178,7 +240,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -191,7 +257,11 @@ + Field + + 2.12.0.0 + Atk.StateType @@ -202,268 +272,331 @@ - - + + + 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 - - + Indicates that a check box is in a state other than checked or not checked. + - - + + + Field + + 2.12.0.0 + Atk.StateType - Indicates this (text) object can contain multiple lines of text + Indicates an invalid state - - + + + Field + + 2.12.0.0 + Atk.StateType - - Indicates this object allows more than one of its children to be selected at the same time - - + To be added. + - - + + + Field + + 2.12.0.0 + Atk.StateType - Indicates this object paints every pixel within its rectangular region + Not a valid state, used for finding end of enumeration - - + + + Field + + 2.12.0.0 + Atk.StateType - + + - Indicates this object is currently pressed + 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 the size of this object is not fixed + 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 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 + Indicates this (text) object can contain multiple lines of text - - + + + 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 + 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 is sensitive + Indicates this object paints every pixel within its rectangular region - - + + + 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 + Indicates this object is currently pressed - - + + + Field + + 2.12.0.0 + Atk.StateType - - Indicates this (text) object can contain only a single line of text - - + 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 that the index associated with this object has changed since the user accessed the object. + Indicates the size of this object is not fixed - - + + + Field + + 2.12.0.0 + Atk.StateType - Indicates this object is transient + 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 - - Indicates the orientation of this object is vertical - - + To be added. + - - + + + Field + + 2.12.0.0 + Atk.StateType - Indicates this object is visible + 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 - Not a valid state, used for finding end of enumeration + Indicates this object is sensitive - - + + + 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. + Indicates this object, the object's parent, the object's parent's parent, and so on, are all visible - - - Field - - 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 that an object is truncated, e.g. a text value in a speradsheet cell. - + Indicates this (text) object can contain only a single line of text + + - - + + + 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. - + Indicates that the index associated with this object has changed since the user accessed the object. + + - - + + + Field + + 2.12.0.0 + Atk.StateType @@ -472,53 +605,81 @@ - - + + + Field + + 2.12.0.0 + Atk.StateType + - To be added. - + Indicates this object is transient + + - - + + + Field + + 2.12.0.0 + Atk.StateType + + - To be added. - + Indicates that an object is truncated, e.g. a text value in a speradsheet cell. + - - + + + Field + + 2.12.0.0 + Atk.StateType + - To be added. - + Indicates the orientation of this object is vertical + + - - + + + Field + + 2.12.0.0 + Atk.StateType + - To be added. - + Indicates this object is visible + + + Field + + 2.12.0.0 + Atk.StateType diff --git a/doc/en/Atk/StreamableContent.xml b/doc/en/Atk/StreamableContent.xml index 38f8a840c..a189865ca 100644 --- a/doc/en/Atk/StreamableContent.xml +++ b/doc/en/Atk/StreamableContent.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,19 +8,23 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The interface which provides access to streamable content. - - GLib.IWrapper + + The interface which provides access to streamable content. + + + Method + + 2.12.0.0 + System.String @@ -27,27 +32,19 @@ - The string of the specified mime type. 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. - - - Property - - System.Int32 - - - The number of mime types supported by this object. - the number of mime types supported by the object. - - - + Method + + 2.12.0.0 + System.IntPtr @@ -55,15 +52,19 @@ - To be added a + To be added a To be added + Method + + 2.12.0.0 + System.String @@ -78,5 +79,21 @@ + + + + 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. + + + diff --git a/doc/en/Atk/StreamableContentAdapter.xml b/doc/en/Atk/StreamableContentAdapter.xml index 708a78c17..0985fa994 100644 --- a/doc/en/Atk/StreamableContentAdapter.xml +++ b/doc/en/Atk/StreamableContentAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.StreamableContent + + GLib.IWrapper + + + StreamableContent adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.String @@ -50,9 +87,33 @@ 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 @@ -70,7 +131,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -84,21 +149,13 @@ To be added. - - - Property - - System.Int32 - - - To be added. - To be added. - To be added. - - + Method + + 2.12.0.0 + System.String @@ -112,9 +169,45 @@ 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 @@ -125,8 +218,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -137,9 +234,4 @@ - - StreamableContent adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/StreamableContentImplementor.xml b/doc/en/Atk/StreamableContentImplementor.xml index 2330eaf3e..6f0ea4a38 100644 --- a/doc/en/Atk/StreamableContentImplementor.xml +++ b/doc/en/Atk/StreamableContentImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.StreamableContentAdapter)) + + StreamableContent implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.String @@ -33,7 +43,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -47,21 +61,13 @@ To be added. - - - Property - - System.Int32 - - - To be added. - To be added. - To be added. - - + Method + + 2.12.0.0 + System.String @@ -75,10 +81,21 @@ To be added. + + + + Property + + 2.12.0.0 + + + System.Int32 + + + To be added. + To be added. + To be added. + + - - StreamableContent implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/Table.xml b/doc/en/Atk/Table.xml index e9622ca21..556cffe9b 100644 --- a/doc/en/Atk/Table.xml +++ b/doc/en/Atk/Table.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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. @@ -21,147 +27,202 @@ Since tables are often very complex, includes provisi - - - GLib.IWrapper - - - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - To be added To be added: an object of type 'int' - To be added: an object of type 'Atk.Object' + 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 'int' To be added: an object of type 'bool' To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Atk.Object - To be added - To be added: an object of type 'int' - To be added: an object of type 'bool' + To be added: an object of type 'Atk.Object' To be added - - - Method + + + + Event + + 2.12.0.0 + - System.Int32 + Atk.ColumnDeletedHandler - - - - + To be added - 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 - - + + + + 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.Boolean + System.Int32 - + + a To be added - To be added: an object of type 'int' - To be added: an object of type 'bool' + a To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.String - - + + To be added: an object of type 'int' To be added - 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 - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Int32 + - To be added + To be added: an object of type 'int' To be added: an object of type 'int' - To be added: an object of type 'bool' + 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 'int' To be added: an object of type 'Atk.Object' To be added + Method + + 2.12.0.0 + System.Int32 @@ -170,184 +231,214 @@ Since tables are often very complex, includes provisi - To be added 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.Void + System.Int32 - - + + a To be added - To be added: an object of type 'int' - To be added: an object of type 'string' + a To be added - - + + + Method + + 2.12.0.0 + - Atk.Object + System.String - - To be added To be added: an object of type 'int' - To be added: an object of type 'int' - To be added: an object of type 'Atk.Object' + To be added + To be added: an object of type 'string' To be added - - + + + Method + + 2.12.0.0 + - System.String + System.Int32 + - To be added To be added: an object of type 'int' - To be added: an object of type 'string' + 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.Void + Atk.Object - - To be added To be added: an object of type 'int' - To be added: an object of type 'Atk.Object' + To be added + To be added: an object of type 'Atk.Object' To be added - - + + Method - System.Boolean + System.Int32 - + To be added - To be added: an object of type 'int' - To be added: an object of type 'bool' + a + a To be added + - - + + Method - System.String + System.Int32 - + To be added - To be added: an object of type 'int' - To be added: an object of type 'string' + a + a To be added + - - + + + Method + + 2.12.0.0 + System.Boolean - - To be added - 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 - - + + + Method + + 2.12.0.0 + - Atk.Object + System.Boolean - + + To be added: an object of type 'int' To be added - To be added: an object of type 'int' - To be added: an object of type 'Atk.Object' + To be added: an object of type 'bool' To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - To be added 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 + To be added: an object of type 'bool' To be added - - - Method + + + + Event + + 2.12.0.0 + - System.Boolean + System.EventHandler - - - + To be added - To be added: an object of type 'int' - To be added: an object of type 'bool' To be added - + + Property + + 2.12.0.0 + System.Int32 @@ -357,49 +448,91 @@ Since tables are often very complex, includes provisi 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: an object of type 'Atk.Object' To be added - - - Property + + + + Method + + 2.12.0.0 + - Atk.Object + System.Boolean + + To be added: an object of type 'int' To be added - To be added: an object of type 'Atk.Object' + To be added: an object of type 'bool' To be added - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + + + + To be added: an object of type 'int' To be added - To be added: an object of type 'int' + To be added: an object of type 'bool' To be added + Event + + 2.12.0.0 + Atk.RowDeletedHandler @@ -411,7 +544,11 @@ Since tables are often very complex, includes provisi + Event + + 2.12.0.0 + Atk.RowInsertedHandler @@ -421,9 +558,13 @@ Since tables are often very complex, includes provisi To be added - - + + + Event + + 2.12.0.0 + System.EventHandler @@ -433,115 +574,137 @@ Since tables are often very complex, includes provisi To be added - - - Event - - Atk.ColumnInsertedHandler - - - - To be added - To be added - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.Int32[] - - To be added - To be added + To be added. + To be added. + To be added. - - - Event + + + + Property + + 2.12.0.0 + - Atk.ColumnDeletedHandler + System.Int32[] - - To be added - To be added + To be added. + To be added. + To be added. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + 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.Int32 + System.Void - + + + To be added: an object of type 'int' + To be added: an object of type 'Atk.Object' To be added - a - a To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + To be added: an object of type 'int' + To be added: an object of type 'string' To be added - a - a To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + To be added: an object of type 'int' + To be added: an object of type 'Atk.Object' To be added - a - a To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + Atk.Object - To be added - a - a + To be added: an object of type 'Atk.Object' To be added diff --git a/doc/en/Atk/TableAdapter.xml b/doc/en/Atk/TableAdapter.xml index c8d087af4..32ae65024 100644 --- a/doc/en/Atk/TableAdapter.xml +++ b/doc/en/Atk/TableAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Table + + GLib.IWrapper + + + Table adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Boolean @@ -52,7 +89,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -67,8 +108,12 @@ - + + Property + + 2.12.0.0 + Atk.Object @@ -80,7 +125,11 @@ + Event + + 2.12.0.0 + GLib.Signal("column_deleted") @@ -96,7 +145,11 @@ + Event + + 2.12.0.0 + GLib.Signal("column_inserted") @@ -112,7 +165,11 @@ + Event + + 2.12.0.0 + GLib.Signal("column_reordered") @@ -128,7 +185,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -144,7 +205,11 @@ + Method + + 2.12.0.0 + System.String @@ -160,7 +225,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -178,7 +247,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -194,7 +267,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -210,9 +287,33 @@ 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 @@ -230,7 +331,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -246,7 +351,11 @@ + Method + + 2.12.0.0 + System.String @@ -262,7 +371,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -280,7 +393,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -294,41 +411,61 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - - - - To be added. To be added. - To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + System.IntPtr - - - - To be added. To be added. - 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 @@ -344,7 +481,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -360,7 +501,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -378,7 +523,11 @@ + Event + + 2.12.0.0 + GLib.Signal("model_changed") @@ -393,8 +542,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -405,8 +558,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -418,7 +575,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -436,7 +597,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -452,7 +617,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -468,7 +637,11 @@ + Event + + 2.12.0.0 + GLib.Signal("row_deleted") @@ -484,7 +657,11 @@ + Event + + 2.12.0.0 + GLib.Signal("row_inserted") @@ -500,7 +677,11 @@ + Event + + 2.12.0.0 + GLib.Signal("row_reordered") @@ -514,79 +695,15 @@ 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. - - - - - 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. - - - - + + + Property + + 2.12.0.0 + - Atk.Object + System.Int32[] To be added. @@ -594,11 +711,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - Atk.TableImplementor + System.Int32[] To be added. @@ -606,197 +727,13 @@ To be added. - - - Method - - System.Boolean - - - - - - 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. - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("model_changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Property - - System.Int32 - - - To be added. - To be added. - To be added. - - - - - Property - - System.Int32 - - - To be added. - To be added. - To be added. - - - - - Method - - Atk.Object - - - - - - - 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. - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("row_deleted") - - - - Atk.RowDeletedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("row_inserted") - - - - Atk.RowInsertedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("row_reordered") - - - - System.EventHandler - - - To be added. - To be added. - - + Method + + 2.12.0.0 + System.Void @@ -813,7 +750,11 @@ + Method + + 2.12.0.0 + System.Void @@ -830,7 +771,11 @@ + Method + + 2.12.0.0 + System.Void @@ -847,7 +792,11 @@ + Method + + 2.12.0.0 + System.Void @@ -863,8 +812,12 @@ - + + Property + + 2.12.0.0 + Atk.Object @@ -875,9 +828,4 @@ - - Table adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/TableImplementor.xml b/doc/en/Atk/TableImplementor.xml index 8d0ffd26f..4d29a2c5d 100644 --- a/doc/en/Atk/TableImplementor.xml +++ b/doc/en/Atk/TableImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.TableAdapter)) + + Table implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Boolean @@ -33,7 +43,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -48,8 +62,12 @@ - + + Property + + 2.12.0.0 + Atk.Object @@ -61,7 +79,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -77,7 +99,11 @@ + Method + + 2.12.0.0 + System.String @@ -93,7 +119,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -111,7 +141,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -127,7 +161,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -145,7 +183,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -161,7 +203,11 @@ + Method + + 2.12.0.0 + System.String @@ -177,7 +223,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -195,7 +245,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -209,41 +263,13 @@ 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 + + 2.12.0.0 + System.Boolean @@ -259,7 +285,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -275,7 +305,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -292,8 +326,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -304,8 +342,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -317,7 +359,11 @@ + Method + + 2.12.0.0 + Atk.Object @@ -335,7 +381,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -351,7 +401,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -365,9 +419,45 @@ 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 @@ -384,7 +474,11 @@ + Method + + 2.12.0.0 + System.Void @@ -401,7 +495,11 @@ + Method + + 2.12.0.0 + System.Void @@ -418,7 +516,11 @@ + Method + + 2.12.0.0 + System.Void @@ -434,8 +536,12 @@ - + + Property + + 2.12.0.0 + Atk.Object @@ -446,9 +552,4 @@ - - Table implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/Text.xml b/doc/en/Atk/Text.xml index 133ccf229..3511748fd 100644 --- a/doc/en/Atk/Text.xml +++ b/doc/en/Atk/Text.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,11 @@ 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. @@ -18,224 +24,325 @@ - - - GLib.IWrapper - - - - - Method - - System.Int32 - - - - - - - - Gets the offset of the character located at coordinates and . - screen x-position of character - screen y-position of character - specify whether coordinates are relative to the screen or widget window - 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 + System.Boolean - - Changes the start and end offset of the specified selection. - 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 + 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 - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - Sets the caret (cursor) position to the specified offset. - position - - if success, otherwise. + Gets the offset position of the caret (cursor). + the offset position of the caret (cursor). - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - Removes the specified selection. - 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. - - if success, otherwise + 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 + - System.String + Atk.TextRange - - + + + + - Gets the specified text. - start position - end position - the text from up to, but not including . - + a + a + a + a + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Char - - + - Adds a selection bounded by the specified offsets. - the start position of the selected region - the end position of the selected region - - if success, otherwise - + position + Gets the specified text. + the character at . + + - - - Property + + + + Method + + 2.12.0.0 + - GLib.SList + System.Void + + + + + + + + - 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. + 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. + - - - Property + + + + Method + + 2.12.0.0 + System.Int32 + + + + + - Gets the number of selected regions. - The number of selected regions, or -1 if a failure occurred. - + 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 . - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.TextRectangle + + + + + - Gets the offset position of the caret (cursor). - the offset position of the caret (cursor). - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - Property + + + Method - System.Int32 + System.Void + + + + + + - Gets the character count. - the number of characters. - + To be added + a + a + a + a + To be added + + - - - Event + + + + Method + + 2.12.0.0 + - Atk.TextChangedHandler + Atk.Attribute[] - + + + + + - 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. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - Event + + + Method - System.EventHandler + GLib.SList - + + + + + - Emitted when the selected text of an object which implements AtkText changes. - + 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. + - - - Event + + + + Method + + 2.12.0.0 + - Atk.TextCaretMovedHandler + System.String - + + + + + - Emitted when the caret position of the text of an object which implements AtkText changes. + 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. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.String - + + + + - Emitted when the text attributes of the text of an object which implements AtkText changes. + start position + end position + Gets the specified text. + the text from up to, but not including . + Method + + 2.12.0.0 + System.String @@ -246,11 +353,11 @@ - Gets the specified text. 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 . @@ -289,29 +396,13 @@ If the is - - Method - - System.String - - - - - - - - Gets the text from the specified selection. - 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 - the selected text. - - - - - + + + Method + + 2.12.0.0 + System.String @@ -322,12 +413,12 @@ If the is - Gets the specified text. - position + position a the start offset of the returned string. the end offset of the returned string. - the text before bounded by the specified . + Gets the specified text. + the text at bounded by the specified . If the is the character after the offset is returned. @@ -365,54 +456,13 @@ If the is - - Method - - System.Void - - - - - - - - - - - Get the bounding box containing the glyph representing the character at a particular text offset. - 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 - - - - - - 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 @@ -423,12 +473,12 @@ If the is - Gets the specified text. - position + position a the start offset of the returned string. the end offset of the returned string. - the text at bounded by the specified . + Gets the specified text. + the text before bounded by the specified . If the is the character after the offset is returned. @@ -466,66 +516,151 @@ If the is - + + + + 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 + - Atk.TextRange + System.Boolean - - - - + - To be added - a - a - a - a - a - To be added - + 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.Void + System.Boolean - - - - + - To be added - a - a - a - a - To be added - + position + Sets the caret (cursor) position to the specified offset. + + if success, otherwise. + - - + + + Method + + 2.12.0.0 + - System.Char + System.Boolean - + + + - Gets the specified text. - position - the character at . - - + 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. + diff --git a/doc/en/Atk/TextAdapter.xml b/doc/en/Atk/TextAdapter.xml index 989293ed3..1ac79078c 100644 --- a/doc/en/Atk/TextAdapter.xml +++ b/doc/en/Atk/TextAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Text + + GLib.IWrapper + + + Text adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Boolean @@ -54,7 +91,11 @@ + Method + + 2.12.0.0 + Atk.TextAttribute @@ -70,7 +111,11 @@ + Method + + 2.12.0.0 + System.String @@ -86,7 +131,11 @@ + Method + + 2.12.0.0 + System.String @@ -104,7 +153,11 @@ + Method + + 2.12.0.0 + Atk.TextAttribute @@ -119,8 +172,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -131,8 +188,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -143,10 +204,14 @@ - + + Property + + 2.12.0.0 + - GLib.SList + Atk.Attribute[] To be added. @@ -154,9 +219,36 @@ 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 @@ -171,7 +263,11 @@ + Method + + 2.12.0.0 + Atk.TextRange @@ -193,7 +289,11 @@ + Method + + 2.12.0.0 + System.Char @@ -209,7 +309,11 @@ + Method + + 2.12.0.0 + System.Void @@ -232,9 +336,33 @@ 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 @@ -252,7 +380,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -271,31 +403,38 @@ - + + Method + + 2.12.0.0 + - System.Void + Atk.TextRectangle - 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.SList + Atk.Attribute[] @@ -313,7 +452,11 @@ + Method + + 2.12.0.0 + System.String @@ -333,7 +476,11 @@ + Method + + 2.12.0.0 + System.String @@ -351,7 +498,11 @@ + Method + + 2.12.0.0 + System.String @@ -373,7 +524,11 @@ + Method + + 2.12.0.0 + System.String @@ -395,7 +550,11 @@ + Method + + 2.12.0.0 + System.String @@ -415,11 +574,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType To be added. @@ -427,125 +590,29 @@ To be added. - - - Method - - System.Boolean - - - - - - 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. - - - - - Method - - System.Boolean - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("text_attributes_changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("text_caret_moved") - - - - Atk.TextCaretMovedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("text_changed") - - - - Atk.TextChangedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("text_selection_changed") - - + + + + Property + + 2.12.0.0 + - System.EventHandler + System.IntPtr To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + Atk.TextImplementor @@ -556,8 +623,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -569,7 +640,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -585,7 +660,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -601,7 +680,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -621,7 +704,11 @@ + Event + + 2.12.0.0 + GLib.Signal("text_attributes_changed") @@ -637,7 +724,11 @@ + Event + + 2.12.0.0 + GLib.Signal("text_caret_moved") @@ -653,7 +744,11 @@ + Event + + 2.12.0.0 + GLib.Signal("text_changed") @@ -669,7 +764,11 @@ + Event + + 2.12.0.0 + GLib.Signal("text_selection_changed") @@ -684,9 +783,4 @@ - - Text adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/TextAttribute.xml b/doc/en/Atk/TextAttribute.xml index 78b57e0b5..38a578f69 100644 --- a/doc/en/Atk/TextAttribute.xml +++ b/doc/en/Atk/TextAttribute.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes the text attributes supported - - System.Enum @@ -19,348 +16,460 @@ GLib.GType(typeof(Atk.TextAttributeGType)) + + Describes the text attributes supported + + - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - Invalid attribute + The background color. The value is an RGB value of the format "u,u,u" - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The pixel width of the left margin + "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 - The pixel width of the right margin + "true" if a GdkBitmap is set for stippling the background color. - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The number of pixels that the text is indented + 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 visible or not + Either "true" or "false" indicating whether text is editable or not - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - Either "true" or "false" indicating whether text is editable or not + The font family name - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - Pixels of blank space to leave above each newline-terminated line. + The foreground color. The value is an RGB value of the format "u,u,u" - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - Pixels of blank space to leave below each newline-terminated line. + "true" if a GdkBitmap is set for stippling the foreground color. - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). + The number of pixels that the text is indented - - + + + 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. + Invalid attribute - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - Number of pixels that the characters are risen above the baseline + Either "true" or "false" indicating whether text is visible or not - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - "none", "single", "double" or "low" + The justification of the text, if set. Values are "left", "right", "center" or "fill" - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - "true" or "false" whether the text is strikethrough + The language used - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The size of the characters. + not a valid text attribute, used for finding end of enumeration - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The scale of the characters. The value is a string representation of a double + The pixel width of the left margin - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The weight of the characters. + Pixels of blank space to leave above each newline-terminated line. - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The language used + Pixels of blank space to leave below each newline-terminated line. - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The font family name + Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The background color. The value is an RGB value of the format "u,u,u" + The pixel width of the right margin - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The foreground color. The value is an RGB value of the format "u,u,u" + Number of pixels that the characters are risen above the baseline - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - "true" if a GdkBitmap is set for stippling the background color. + The scale of the characters. The value is a string representation of a double - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - "true" if a GdkBitmap is set for stippling the foreground color. + The size of the characters. - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The wrap mode of the text, if any. Values are "none", "char" or "word" + 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 - The direction of the text, if set. Values are "none", "ltr" or "rtl" + "true" or "false" whether the text is strikethrough - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The justification of the text, if set. Values are "left", "right", "center" or "fill" + The slant style of the text, if set. Values are "normal", "oblique" or "italic" - - + + + 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" + "none", "single", "double" or "low" + Field + + 2.12.0.0 + Atk.TextAttribute @@ -371,28 +480,36 @@ - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - The slant style of the text, if set. Values are "normal", "oblique" or "italic" + The weight of the characters. - - + + + Field + + 2.12.0.0 + Atk.TextAttribute - not a valid text attribute, used for finding end of enumeration + The wrap mode of the text, if any. Values are "none", "char" or "word" diff --git a/doc/en/Atk/TextBoundary.xml b/doc/en/Atk/TextBoundary.xml index 2f74d6321..de3e27fed 100644 --- a/doc/en/Atk/TextBoundary.xml +++ b/doc/en/Atk/TextBoundary.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Text boundary types used for specifying boundaries for regions of text - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Atk.TextBoundaryGType)) + + Text boundary types used for specifying boundaries for regions of text + + + Field + + 2.12.0.0 + Atk.TextBoundary @@ -33,9 +38,13 @@ - - + + + Field + + 2.12.0.0 + Atk.TextBoundary @@ -46,9 +55,13 @@ - - + + + Field + + 2.12.0.0 + Atk.TextBoundary @@ -59,9 +72,13 @@ - - + + + Field + + 2.12.0.0 + Atk.TextBoundary @@ -72,9 +89,13 @@ - - + + + Field + + 2.12.0.0 + Atk.TextBoundary @@ -85,9 +106,13 @@ - - + + + Field + + 2.12.0.0 + Atk.TextBoundary @@ -98,9 +123,13 @@ - - + + + Field + + 2.12.0.0 + Atk.TextBoundary diff --git a/doc/en/Atk/TextCaretMovedArgs.xml b/doc/en/Atk/TextCaretMovedArgs.xml index 111533283..81450db53 100644 --- a/doc/en/Atk/TextCaretMovedArgs.xml +++ b/doc/en/Atk/TextCaretMovedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -27,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -43,8 +48,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Atk/TextCaretMovedHandler.xml b/doc/en/Atk/TextCaretMovedHandler.xml index bbdc6de07..f2507ae5e 100644 --- a/doc/en/Atk/TextCaretMovedHandler.xml +++ b/doc/en/Atk/TextCaretMovedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -29,15 +40,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/TextChangedArgs.xml b/doc/en/Atk/TextChangedArgs.xml index 763e2f4fd..e2eceda00 100644 --- a/doc/en/Atk/TextChangedArgs.xml +++ b/doc/en/Atk/TextChangedArgs.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -27,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -43,8 +48,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -55,8 +64,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Atk/TextChangedDetail.xml b/doc/en/Atk/TextChangedDetail.xml new file mode 100644 index 000000000..c78efc5ea --- /dev/null +++ b/doc/en/Atk/TextChangedDetail.xml @@ -0,0 +1,45 @@ + + + + + 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. + + + + diff --git a/doc/en/Atk/TextChangedHandler.xml b/doc/en/Atk/TextChangedHandler.xml index 1434d9722..8bd3ab309 100644 --- a/doc/en/Atk/TextChangedHandler.xml +++ b/doc/en/Atk/TextChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -29,15 +40,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Atk/TextClipType.xml b/doc/en/Atk/TextClipType.xml index 26fd6fb8d..d97a6ac7f 100644 --- a/doc/en/Atk/TextClipType.xml +++ b/doc/en/Atk/TextClipType.xml @@ -1,16 +1,12 @@ + 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. - - Describes the type of clipping required. - - - System.Enum @@ -19,56 +15,77 @@ GLib.GType(typeof(Atk.TextClipTypeGType)) + + Describes the type of clipping required. + + + - - + + + Field + + 2.12.0.0 + Atk.TextClipType - No clipping to be done + Only text fully within mix/max bound is retained To be added - - + + + Field + + 2.12.0.0 + Atk.TextClipType - Text clipped by min coordinate is omitted + Text clipped by max coordinate is omitted To be added - - + + + Field + + 2.12.0.0 + Atk.TextClipType - Text clipped by max coordinate is omitted + Text clipped by min coordinate is omitted To be added - - + + + Field + + 2.12.0.0 + Atk.TextClipType - Only text fully within mix/max bound is retained + No clipping to be done To be added diff --git a/doc/en/Atk/TextImplementor.xml b/doc/en/Atk/TextImplementor.xml index 77b265984..f18a1d404 100644 --- a/doc/en/Atk/TextImplementor.xml +++ b/doc/en/Atk/TextImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Atk.TextAdapter)) + + Text implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Boolean @@ -34,8 +44,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -46,8 +60,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -58,10 +76,14 @@ - + + Property + + 2.12.0.0 + - GLib.SList + Atk.Attribute[] To be added. @@ -71,7 +93,11 @@ + Method + + 2.12.0.0 + Atk.TextRange @@ -93,7 +119,11 @@ + Method + + 2.12.0.0 + System.Char @@ -109,7 +139,11 @@ + Method + + 2.12.0.0 + System.Void @@ -134,7 +168,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -153,8 +191,12 @@ - + + Method + + 2.12.0.0 + System.Void @@ -162,7 +204,7 @@ - + To be added. @@ -174,10 +216,14 @@ - + + Method + + 2.12.0.0 + - GLib.SList + Atk.Attribute[] @@ -195,7 +241,11 @@ + Method + + 2.12.0.0 + System.String @@ -215,7 +265,11 @@ + Method + + 2.12.0.0 + System.String @@ -233,7 +287,11 @@ + Method + + 2.12.0.0 + System.String @@ -255,7 +313,11 @@ + Method + + 2.12.0.0 + System.String @@ -277,7 +339,11 @@ + Method + + 2.12.0.0 + System.String @@ -298,8 +364,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -311,7 +381,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -327,7 +401,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -343,7 +421,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -362,9 +444,4 @@ - - Text implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Atk/TextRange.xml b/doc/en/Atk/TextRange.xml index 350d9a343..6d9e80a9a 100644 --- a/doc/en/Atk/TextRange.xml +++ b/doc/en/Atk/TextRange.xml @@ -1,99 +1,124 @@ + 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. - - System.ValueType - - - - + + + Field + + 2.12.0.0 + - Atk.TextRange + Atk.TextRectangle - An empty + A rectangle giving the bounds of the text range - - + + + Field + + 2.12.0.0 + - Atk.TextRectangle + System.String - A rectangle giving the bounds of the text range + The text in the text range - - + + + Field + + 2.12.0.0 + System.Int32 - The start offset of a + The end offset of a - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.TextRange + - The end offset of a + a + Creates a new + a - - + + + Field + + 2.12.0.0 + - System.String + System.Int32 - The text in the text range + The start offset of a - - - Method + + + + Field + + 2.12.0.0 + Atk.TextRange - - Creates a new - a - a + An empty diff --git a/doc/en/Atk/TextRectangle.xml b/doc/en/Atk/TextRectangle.xml index 5d73e8d37..311d3c59b 100644 --- a/doc/en/Atk/TextRectangle.xml +++ b/doc/en/Atk/TextRectangle.xml @@ -1,99 +1,124 @@ + 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 . - - System.ValueType - - - - + + + Field + + 2.12.0.0 + - Atk.TextRectangle + System.Int32 - An empty + The height of a rectangle - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + Atk.TextRectangle + - The horizontal coordinate of a rectangle + a + Creates a new + a - - + + + Field + + 2.12.0.0 + System.Int32 - The vertical coordinate of a rectangle + The width of a rectangle - - + + + Field + + 2.12.0.0 + System.Int32 - The width of a rectangle + The horizontal coordinate of a rectangle - - + + + Field + + 2.12.0.0 + System.Int32 - The height of a rectangle + The vertical coordinate of a rectangle - - - Method + + + + Field + + 2.12.0.0 + Atk.TextRectangle - - Creates a new - a - a + An empty diff --git a/doc/en/Atk/Util+AddGlobalEventListenerDelegate.xml b/doc/en/Atk/Util+AddGlobalEventListenerDelegate.xml new file mode 100644 index 000000000..1eb2eb04e --- /dev/null +++ b/doc/en/Atk/Util+AddGlobalEventListenerDelegate.xml @@ -0,0 +1,25 @@ + + + + + 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. + + diff --git a/doc/en/Atk/Util+AddKeyEventListenerDelegate.xml b/doc/en/Atk/Util+AddKeyEventListenerDelegate.xml index eae627a90..2b8f59cc7 100644 --- a/doc/en/Atk/Util+AddKeyEventListenerDelegate.xml +++ b/doc/en/Atk/Util+AddKeyEventListenerDelegate.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 diff --git a/doc/en/Atk/Util+GetRootDelegate.xml b/doc/en/Atk/Util+GetRootDelegate.xml index 324d066a9..f689720a4 100644 --- a/doc/en/Atk/Util+GetRootDelegate.xml +++ b/doc/en/Atk/Util+GetRootDelegate.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 diff --git a/doc/en/Atk/Util+GetToolkitNameDelegate.xml b/doc/en/Atk/Util+GetToolkitNameDelegate.xml index 4642b0ef2..84463a063 100644 --- a/doc/en/Atk/Util+GetToolkitNameDelegate.xml +++ b/doc/en/Atk/Util+GetToolkitNameDelegate.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 diff --git a/doc/en/Atk/Util+GetToolkitVersionDelegate.xml b/doc/en/Atk/Util+GetToolkitVersionDelegate.xml index 3cea350b9..f4a712e48 100644 --- a/doc/en/Atk/Util+GetToolkitVersionDelegate.xml +++ b/doc/en/Atk/Util+GetToolkitVersionDelegate.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 diff --git a/doc/en/Atk/Util+RemoveListenerDelegate.xml b/doc/en/Atk/Util+RemoveListenerDelegate.xml index eb956a506..c89d6d4ea 100644 --- a/doc/en/Atk/Util+RemoveListenerDelegate.xml +++ b/doc/en/Atk/Util+RemoveListenerDelegate.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 diff --git a/doc/en/Atk/Util.xml b/doc/en/Atk/Util.xml index 1ef263fa7..f16cfa9a0 100644 --- a/doc/en/Atk/Util.xml +++ b/doc/en/Atk/Util.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,75 +8,94 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 + - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + Default constructor + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Internal constructor 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. - - - System.Obsolete - - - + + Constructor + + 2.12.0.0 + - + + + - Default constructor - + 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 @@ -87,8 +107,12 @@ - + + Property + + 2.12.0.0 + Atk.Util+GetRootDelegate @@ -100,8 +124,12 @@ - + + Property + + 2.12.0.0 + Atk.Util+GetToolkitNameDelegate @@ -113,8 +141,12 @@ - + + Property + + 2.12.0.0 + Atk.Util+GetToolkitVersionDelegate @@ -125,9 +157,30 @@ + + + + Property + + 2.12.0.0 + + + GLib.GType + + + + GType Property. + a + Returns the native value for . + + - + + Property + + 2.12.0.0 + Atk.Util+RemoveListenerDelegate @@ -139,8 +192,12 @@ - + + Property + + 2.12.0.0 + Atk.Util+RemoveListenerDelegate diff --git a/doc/en/Atk/Value.xml b/doc/en/Atk/Value.xml index a2d5bae48..454ecc956 100644 --- a/doc/en/Atk/Value.xml +++ b/doc/en/Atk/Value.xml @@ -1,5 +1,6 @@ + atk-sharp @@ -7,48 +8,51 @@ 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. - - - GLib.IWrapper - - - - - Method + + + Property - System.Boolean + GLib.Value - - - + - Sets the value of this object. - an object of type which is the desired new accessible value. - - if new value is successfully set, otherwise . - To be added + Gets the value of this object. + a representing the current accessible value. + + + + - - + + + Method + + 2.12.0.0 + System.Void - + - Gets the minimum value of this object. - an object of type representing the minimum accessible value - + To be added. + To be added. + To be added. @@ -65,24 +69,48 @@ an object of type representing the maximum accessible value + - - - Property + + + + Method + + 2.12.0.0 + - GLib.Value + System.Void - + + + - Gets the value of this object. - a representing the current accessible value. - - - + 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 @@ -90,11 +118,51 @@ + + 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 diff --git a/doc/en/Atk/ValueAdapter.xml b/doc/en/Atk/ValueAdapter.xml index acd366469..4daf6cf8b 100644 --- a/doc/en/Atk/ValueAdapter.xml +++ b/doc/en/Atk/ValueAdapter.xml @@ -1,5 +1,6 @@ - + + atk-sharp 2.12.0.0 @@ -11,11 +12,23 @@ Atk.Value + + GLib.IWrapper + + + Value adapter. + Adapts implementations to the full API. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,26 +51,72 @@ To be added. - - - Property + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + + + + Method + + 2.12.0.0 + - GLib.Value + 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. @@ -62,13 +125,17 @@ - + + Method + + 2.12.0.0 + System.Void - + To be added. @@ -76,9 +143,33 @@ 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 @@ -94,40 +185,45 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - - - - To be added. To be added. - To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.IntPtr - - - - To be added. To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + Atk.ValueImplementor @@ -139,7 +235,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -154,9 +254,4 @@ - - Value adapter. - Adapts implementations to the full API. - - diff --git a/doc/en/Atk/ValueImplementor.xml b/doc/en/Atk/ValueImplementor.xml index e4e0b5299..4a0f1cc8d 100644 --- a/doc/en/Atk/ValueImplementor.xml +++ b/doc/en/Atk/ValueImplementor.xml @@ -1,5 +1,6 @@ + atk-sharp 2.12.0.0 @@ -14,27 +15,43 @@ GLib.GInterface(typeof(Atk.ValueAdapter)) + + Value implementor interface. + The implementable portion of the interface. + + - - - Property + + + + Method + + 2.12.0.0 + - GLib.Value + System.Void + + + + To be added. To be added. - To be added. To be added. - + + Method + + 2.12.0.0 + System.Void - + To be added. @@ -42,14 +59,18 @@ To be added. - - + + + Method + + 2.12.0.0 + System.Void - + To be added. @@ -57,27 +78,34 @@ To be added. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + To be added. To be added. - To be added. To be added. - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean @@ -85,13 +113,9 @@ To be added. To be added. + To be added. To be added. - - Value implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/GConf.PropertyEditors/EditorNotSupportedException.xml b/doc/en/GConf.PropertyEditors/EditorNotSupportedException.xml index abf681387..e70d6fdce 100644 --- a/doc/en/GConf.PropertyEditors/EditorNotSupportedException.xml +++ b/doc/en/GConf.PropertyEditors/EditorNotSupportedException.xml @@ -1,9 +1,12 @@ + 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. @@ -12,18 +15,22 @@ - EditorNotSupported exception. - + To be added + To be added + Constructor + + 2.24.0.0 + - Public constructor. - + To be added + To be added diff --git a/doc/en/GConf.PropertyEditors/EditorShell.xml b/doc/en/GConf.PropertyEditors/EditorShell.xml index 63165b9ef..0134eff9b 100644 --- a/doc/en/GConf.PropertyEditors/EditorShell.xml +++ b/doc/en/GConf.PropertyEditors/EditorShell.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -30,7 +37,11 @@ + Constructor + + 2.24.0.0 + @@ -45,7 +56,11 @@ + Method + + 2.24.0.0 + System.Void @@ -60,7 +75,11 @@ + Method + + 2.24.0.0 + System.Void @@ -77,7 +96,11 @@ + Method + + 2.24.0.0 + System.Void @@ -96,7 +119,11 @@ + Method + + 2.24.0.0 + System.Void @@ -117,7 +144,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/InvalidGladeKeyException.xml b/doc/en/GConf.PropertyEditors/InvalidGladeKeyException.xml index 18bb9d7f3..90deed585 100644 --- a/doc/en/GConf.PropertyEditors/InvalidGladeKeyException.xml +++ b/doc/en/GConf.PropertyEditors/InvalidGladeKeyException.xml @@ -1,9 +1,12 @@ + 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. @@ -18,7 +21,11 @@ + Constructor + + 2.24.0.0 + diff --git a/doc/en/GConf.PropertyEditors/PropertyEditor.xml b/doc/en/GConf.PropertyEditors/PropertyEditor.xml index 0cf5517cf..2dfc73339 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditor.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditor.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -31,8 +38,12 @@ - + + Property + + 2.24.0.0 + GConf.ChangeSet @@ -43,8 +54,12 @@ - + + Property + + 2.24.0.0 + GConf.Client @@ -56,7 +71,11 @@ + Method + + 2.24.0.0 + System.Void @@ -68,7 +87,11 @@ + Property + + 2.24.0.0 + Gtk.Widget @@ -80,7 +103,11 @@ + Method + + 2.24.0.0 + System.Object @@ -93,7 +120,11 @@ + Property + + 2.24.0.0 + System.String @@ -105,7 +136,11 @@ + Method + + 2.24.0.0 + System.Void @@ -120,7 +155,11 @@ + Method + + 2.24.0.0 + System.Void @@ -132,7 +171,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorBool.xml b/doc/en/GConf.PropertyEditors/PropertyEditorBool.xml index bb245fa56..ccfd8a984 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorBool.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorBool.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Void @@ -47,7 +58,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorEntry.xml b/doc/en/GConf.PropertyEditors/PropertyEditorEntry.xml index 72de19dc9..38f5eb62d 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorEntry.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorEntry.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Void @@ -44,7 +55,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorEnum.xml b/doc/en/GConf.PropertyEditors/PropertyEditorEnum.xml index 2a0b8af47..ebd4b7ef3 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorEnum.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorEnum.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Constructor + + 2.24.0.0 + @@ -49,7 +60,11 @@ + Constructor + + 2.24.0.0 + @@ -68,7 +83,11 @@ + Method + + 2.24.0.0 + System.Void @@ -83,7 +102,11 @@ + Method + + 2.24.0.0 + System.Int32 diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorFileEntry.xml b/doc/en/GConf.PropertyEditors/PropertyEditorFileEntry.xml index 3f77d9baa..573257d7a 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorFileEntry.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorFileEntry.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Void @@ -44,7 +55,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorOptionMenu.xml b/doc/en/GConf.PropertyEditors/PropertyEditorOptionMenu.xml index dc53bda05..fca0b1974 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorOptionMenu.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorOptionMenu.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Constructor + + 2.24.0.0 + @@ -49,7 +60,11 @@ + Constructor + + 2.24.0.0 + @@ -68,7 +83,11 @@ + Method + + 2.24.0.0 + System.Void @@ -80,7 +99,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorRadioButton.xml b/doc/en/GConf.PropertyEditors/PropertyEditorRadioButton.xml index 95cccc564..349cb67ac 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorRadioButton.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorRadioButton.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Constructor + + 2.24.0.0 + @@ -49,7 +60,11 @@ + Constructor + + 2.24.0.0 + @@ -68,7 +83,11 @@ + Method + + 2.24.0.0 + System.Void @@ -80,7 +99,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorSpinButton.xml b/doc/en/GConf.PropertyEditors/PropertyEditorSpinButton.xml index fda4e8a04..22df7c917 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorSpinButton.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorSpinButton.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Void @@ -44,7 +55,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf.PropertyEditors/PropertyEditorToggleButton.xml b/doc/en/GConf.PropertyEditors/PropertyEditorToggleButton.xml index 99fb91afb..ac116cd1b 100644 --- a/doc/en/GConf.PropertyEditors/PropertyEditorToggleButton.xml +++ b/doc/en/GConf.PropertyEditors/PropertyEditorToggleButton.xml @@ -1,9 +1,12 @@ + 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. @@ -17,7 +20,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Void @@ -44,7 +55,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf/ChangeSet.xml b/doc/en/GConf/ChangeSet.xml index 68f88f2ac..f2e00a632 100644 --- a/doc/en/GConf/ChangeSet.xml +++ b/doc/en/GConf/ChangeSet.xml @@ -1,9 +1,12 @@ + 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. @@ -21,7 +24,11 @@ + Constructor + + 2.24.0.0 + @@ -32,7 +39,11 @@ + Method + + 2.24.0.0 + System.Void @@ -44,19 +55,27 @@ + Method + + 2.24.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Method + + 2.24.0.0 + System.Object diff --git a/doc/en/GConf/Client.xml b/doc/en/GConf/Client.xml index 91beee105..c529e4a0e 100644 --- a/doc/en/GConf/Client.xml +++ b/doc/en/GConf/Client.xml @@ -1,9 +1,12 @@ + 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. @@ -33,7 +36,11 @@ catch (GConf.NoSuchKeyException) + Constructor + + 2.24.0.0 + @@ -43,7 +50,11 @@ catch (GConf.NoSuchKeyException) + Method + + 2.24.0.0 + System.Void @@ -61,7 +72,11 @@ catch (GConf.NoSuchKeyException) + Method + + 2.24.0.0 + System.Object @@ -77,7 +92,11 @@ catch (GConf.NoSuchKeyException) + Method + + 2.24.0.0 + System.Void @@ -94,7 +113,11 @@ catch (GConf.NoSuchKeyException) + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf/ClientBase.xml b/doc/en/GConf/ClientBase.xml index cbd765676..8024597bf 100644 --- a/doc/en/GConf/ClientBase.xml +++ b/doc/en/GConf/ClientBase.xml @@ -1,9 +1,12 @@ + 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. @@ -19,7 +22,11 @@ + Constructor + + 2.24.0.0 + @@ -30,7 +37,11 @@ + Method + + 2.24.0.0 + System.Object @@ -47,7 +58,11 @@ + Method + + 2.24.0.0 + System.Void diff --git a/doc/en/GConf/Engine.xml b/doc/en/GConf/Engine.xml index e7b270da3..dc3bbdb6d 100644 --- a/doc/en/GConf/Engine.xml +++ b/doc/en/GConf/Engine.xml @@ -1,8 +1,11 @@ + 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. @@ -20,7 +23,11 @@ + Method + + 2.24.0.0 + System.Void @@ -37,7 +44,11 @@ + Property + + 2.24.0.0 + GConf.Engine @@ -50,7 +61,11 @@ + Method + + 2.24.0.0 + System.Void @@ -62,19 +77,27 @@ + Method + + 2.24.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Method + + 2.24.0.0 + GConf.ChangeSet diff --git a/doc/en/GConf/NoSuchKeyException.xml b/doc/en/GConf/NoSuchKeyException.xml index e9072e601..4e55a4aff 100644 --- a/doc/en/GConf/NoSuchKeyException.xml +++ b/doc/en/GConf/NoSuchKeyException.xml @@ -1,9 +1,12 @@ + 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. @@ -18,7 +21,11 @@ + Constructor + + 2.24.0.0 + @@ -29,7 +36,11 @@ + Constructor + + 2.24.0.0 + diff --git a/doc/en/GConf/NotifyEventArgs.xml b/doc/en/GConf/NotifyEventArgs.xml index c07e2ab77..d27e865c1 100644 --- a/doc/en/GConf/NotifyEventArgs.xml +++ b/doc/en/GConf/NotifyEventArgs.xml @@ -1,9 +1,12 @@ + 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. @@ -18,7 +21,11 @@ + Constructor + + 2.24.0.0 + @@ -33,7 +40,11 @@ + Property + + 2.24.0.0 + System.String @@ -46,7 +57,11 @@ + Property + + 2.24.0.0 + System.Object diff --git a/doc/en/GConf/NotifyEventHandler.xml b/doc/en/GConf/NotifyEventHandler.xml index 69abce64f..92e40782d 100644 --- a/doc/en/GConf/NotifyEventHandler.xml +++ b/doc/en/GConf/NotifyEventHandler.xml @@ -1,13 +1,23 @@ + 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. @@ -18,11 +28,4 @@ This is very important for graphic interfaces, as it is a good practice to make the application react instantly to preference changes. - - System.Void - - - - - diff --git a/doc/en/GLib/AppInfo.xml b/doc/en/GLib/AppInfo.xml deleted file mode 100644 index 64d1a1474..000000000 --- a/doc/en/GLib/AppInfo.xml +++ /dev/null @@ -1,309 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - This interface provides application information. See and for concretes implementations and usage. - The following code sample lists all the application installed on your system: - - -public class TestAppInfo -{ - static void Main (string[] args) - { - GLib.GType.Init (); - - foreach (AppInfo appinfo in AppInfoAdapter.All) - Console.WriteLine ("\t{0}: {1}, {2} ", appinfo.Name, appinfo.Descritpion, appinfo.Executable); - } -} - - - - - - - Method - - System.Boolean - - - - - - To be added. - Adds a content type to the application. - Always returns True. Throw a if something went wrong. - - Adds a content type to the application information to indicate the application is capable of opening files with the given content type. - -This method always returns True, or throw a if something went wrong. - - - - - - - - Property - - System.Boolean - - - If a supported content type can be removed from an application. - True if it is possible to remove supported content types from the application, False if not. - To be added. - - - - - - Property - - System.String - - - An human-readable description of an installed application. - A string containing a description of the application, or null if none. - The following code snippet: - - -AppInfo app_info = AppInfoAdapter.GetDefaultForType ("image/jpeg", false); -Console.WriteLine ("{0}:\t{1}", app_info.Name, app_info.Description); - -produces the following output (depending on your installation): - - -Eye of Gnome: Browse and rotate images - - - - - - - Method - - GLib.AppInfo - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - The executable's name for the installed application. - A string containing the AppInfo's application binary's name. - To be added. - - - - - - Property - - GLib.Icon - - - The for the application. - The default for the application. - To be added. - - - - - - Property - - System.String - - - The ID of an application. - A string containing the application's ID. - An id si s a string that identifies the application. The exact format of the id is platform depenedent. For instance, on Unix, this is the desktop file id from the xdg menu specification. - - - - - - Method - - System.Boolean - - - - - - - A of objects, or null to launch the application without arguments. - An , or null. - Launches the application. - Always returns True. Throws a if something went wrong. - - Launches the application. Passes files to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). Throws a on error. - To lauch the application without arguments pass a null files list. - Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this. - Some URIs can be changed when passed through a GFile (for instance unsupported uris with strange formats like mailto:), so if you have a textual uri you want to pass in as argument, consider using instead. - - - - - - - Method - - System.Boolean - - - - - - - A of containing URIs to launch, or null. - A , or null. - Launches the application. - Always returns True. Throws a if something went wrong. - - Launches the application. Passes uris to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). On error, throws a - To lauch the application without arguments pass a NULL uris list. - Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this. - - - - - - - Property - - System.String - - - The name of the installed application. - A containing the name of the application. - To be added. - - - - - - Method - - System.Boolean - - - - - - A containing a content type. On Unix, content types are mimetypes, so "image/jpeg" is a valid content type. - Removes a supported type from an application, if possible. - Always returns True. Throws a if something went wrong. - This method always returns True, but throws on any error. Checking first will avoid some exceptions, but that doesn't mean it won't throw at all. - - - - - - Method - - System.Boolean - - - - - - A containing the file extension (without the dot). - Sets the application as the default handler for the given file extension. - Always returns True. Throws a if something went wrong. - This method always returns True, or throw a if something went wrong. - - - - - - Method - - System.Boolean - - - - - - A containing the content type. - Sets the application as the default handler for a given type. - Always returns True. Throws a if something went wrong. - This method always returns True, or throw a if something went wrong. - - - - - - Property - - System.Boolean - - - If the application info should be shown in menus that list available applications. - True if the application should be shown, False otherwise. - To be added. - - - - - - Property - - System.Boolean - - - If the application accepts files as arguments. - True if the application supports files. - To be added. - - - - - - Property - - System.Boolean - - - If the application supports reading files and directories from URIs. - True if the application supports URIs. - To be added. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/AppInfoAdapter.xml b/doc/en/GLib/AppInfoAdapter.xml deleted file mode 100644 index 832941684..000000000 --- a/doc/en/GLib/AppInfoAdapter.xml +++ /dev/null @@ -1,512 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.AppInfo - - - GLib.IWrapper - - - - - : an implementation of the interface. - To be added. - - - - - - Constructor - - - 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.Boolean - - - - - - To be added. - Adds a content type to the application. - Always returns True. Throw a if something went wrong. - - Adds a content type to the application information to indicate the application is capable of opening files with the given content type. - -This method always returns True, or throw a if something went wrong. - - - - - - - - Property - - GLib.List - - - A list of all the applications currently registered on this system. - A of - For desktop files, this includes applications that have NoDisplay=true set or are excluded from display by means of OnlyShowIn or NotShowIn. See . The returned list does not include applications which have the Hidden key set. - - - - - - Property - - System.Boolean - - - If a supported content type can be removed from an application. - True if it is possible to remove supported content types from the application, False if not. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - An human-readable description of an installed application. - A string containing a description of the application, or null if none. - To be added. - - - - - - Method - - GLib.AppInfo - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - The executable's name for the installed application. - A string containing the AppInfo's application binary's name. - To be added. - - - - - - Method - - GLib.AppInfo[] - - - - - - The content type to find a for. - Gets an array of all for a given content type. - - - An array of for given content_type, or null on error. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - - The content type to find a for. - If True, the is expected to support URIs. - Gets the that correspond to a given content type. - A for given content_type or null on error. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - A string containing a URI scheme. - Gets the default application for launching applications using this URI scheme. - A for given uri_scheme or null on error. - A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip". - - - - - - Method - - GLib.AppInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - The for the application. - The default for the application. - To be added. - - - - - - Property - - System.String - - - The ID of an application. - A string containing the application's ID. - An id is a string that identifies the application. The exact format of the id is platform depenedent. For instance, on Unix, this is the desktop file id from the xdg menu specification. - - - - - - Property - - GLib.AppInfoImplementor - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - - A of objects, or null to launch the application without arguments. - An , or null. - Launches the application. - Always returns True. Throws a if something went wrong. - - Launches the application. Passes files to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). Throws a on error. - To lauch the application without arguments pass a null files list. - Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this. - Some URIs can be changed when passed through a (for instance unsupported uris with strange formats like mailto:), so if you have a textual uri you want to pass in as argument, consider using instead. - - - - - - - Method - - System.Boolean - - - - - - - The uri to show. - An optional , or null. - Utility function that launches the default application registered to handle the specified uri. - Always returns True. Throws a if something went wrong. - Synchronous I/O is done on the uri to detect the type of the file if required. - - - - - - Method - - System.Boolean - - - - - - - A of containing URIs to launch, or null. - A , or null. - Launches the application. - Always returns True. Throws a if something went wrong. - - Launches the application. Passes uris to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). On error, throws a - To lauch the application without arguments pass a null uris list. - Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this. - - - - - - - Property - - System.String - - - The name of the installed application. - A containing the name of the application. - To be added. - - - - - - Method - - System.Boolean - - - - - - A containing a content type. On Unix, content types are mimetypes, so "image/jpeg" is a valid content type. - Removes a supported type from an application, if possible. - Always returns True. Throws a if something went wrong. - This method always returns True, but throws on any error. Checking first will avoid some exceptions, but that doesn't mean it won't throw at all. - - - - - - Method - - System.Boolean - - - - - - A containing the file extension (without the dot). - Sets the application as the default handler for the given file extension. - Always returns True. Throws a if something went wrong. - This method always returns True, or throw a if something went wrong. - - - - - - Method - - System.Boolean - - - - - - A containing the content type. - Sets the application as the default handler for a given type - Always returns True. Throws a if something went wrong. - This method always returns True, or throw a if something went wrong. - - - - - - Property - - System.Boolean - - - If the application info should be shown in menus that list available applications. - True if the application should be shown, False otherwise. - To be added. - - - - - - Property - - System.Boolean - - - If the application accepts files as arguments. - True if the application supports files. - To be added. - - - - - - Property - - System.Boolean - - - If the application supports reading files and directories from URIs. - True if the application supports URIs. - To be added. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/AppInfoCreateFlags.xml b/doc/en/GLib/AppInfoCreateFlags.xml deleted file mode 100644 index 25e67d71f..000000000 --- a/doc/en/GLib/AppInfoCreateFlags.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.AppInfoCreateFlagsGType)) - - - System.Flags - - - - Flags used when creating a . - To be added. - - - - - - Field - - GLib.AppInfoCreateFlags - - - Application opens in a terminal window. - - - - - - Field - - GLib.AppInfoCreateFlags - - - No flags. - - - - - - Field - - GLib.AppInfoCreateFlags - - - Application supports URI arguments. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/AppInfoImplementor.xml b/doc/en/GLib/AppInfoImplementor.xml deleted file mode 100644 index e75790689..000000000 --- a/doc/en/GLib/AppInfoImplementor.xml +++ /dev/null @@ -1,229 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.AppInfoAdapter)) - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.AppInfo - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - 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. - - - - - - Method - - System.Boolean - - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/AppLaunchContext.xml b/doc/en/GLib/AppLaunchContext.xml deleted file mode 100644 index fb0df09cb..000000000 --- a/doc/en/GLib/AppLaunchContext.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - Integrating the launch with the launching application. This is used to handle for instance startup notification and launching the new application on the same screen as the launching window. - To be added. - - - - - - Constructor - - - Creates a new application launch context. - This is not normally used, instead you instantiate a subclass of this, such as . - - - - - - Constructor - - - System.Obsolete - - - - - - - To be added. - To be added. - To be added. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - - A . - A of . - Gets the display string for the display. - A display string for the display. - This is used to ensure new applications are started on the same display as the launching application. - - - - - - Method - - System.String - - - - - - - A . - A of . - Initiates startup notification for the application. - The DESKTOP_STARTUP_ID for the launched operation, if supported. - Startup notification IDs are defined in the FreeDesktop.Org Startup Notifications standard (http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt). - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - The startup notification id that was returned by . - Called when an application has failed to launch. - Called when an application has failed to launch, so that it can cancel the application startup notification started in . - - - - - \ No newline at end of file diff --git a/doc/en/GLib/Argv.xml b/doc/en/GLib/Argv.xml index 899dc1aff..3f15d36b4 100644 --- a/doc/en/GLib/Argv.xml +++ b/doc/en/GLib/Argv.xml @@ -1,8 +1,10 @@ + 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. @@ -25,7 +27,11 @@ Then you application [hello.exe] will be able to access these arguments passed f + Constructor + + 2.12.0.0 + @@ -38,7 +44,11 @@ Then you application [hello.exe] will be able to access these arguments passed f + Constructor + + 2.12.0.0 + @@ -53,19 +63,27 @@ Then you application [hello.exe] will be able to access these arguments passed f + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Method + + 2.12.0.0 + System.String[] @@ -81,7 +99,11 @@ Then you application [hello.exe] will be able to access these arguments passed f + Property + + 2.12.0.0 + System.IntPtr diff --git a/doc/en/GLib/AskPasswordArgs.xml b/doc/en/GLib/AskPasswordArgs.xml deleted file mode 100644 index fd68a86c4..000000000 --- a/doc/en/GLib/AskPasswordArgs.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - Event data. - The event invokes delegate which pass event data via this class. - - - - - - Constructor - - - Public constructor. - To be added. - - - - - - Property - - System.String - - - The default domain. - A containing the default domain. - To be added. - - - - - - Property - - System.String - - - The default user name. - A containing the default user name. - To be added. - - - - - - Property - - GLib.AskPasswordFlags - - - A set of . - A set of . - To be added. - - - - - - Property - - System.String - - - A message to display to the user. - A containing a message to display to the user. - To be added. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/AskPasswordFlags.xml b/doc/en/GLib/AskPasswordFlags.xml deleted file mode 100644 index 6ebfff875..000000000 --- a/doc/en/GLib/AskPasswordFlags.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.AskPasswordFlagsGType)) - - - System.Flags - - - - - are used to request specific information from the user, or to notify the user of their choices in an authentication situation. - To be added. - - - - - - Field - - GLib.AskPasswordFlags - - - Operation supports anonymous users. - - - - - - Field - - GLib.AskPasswordFlags - - - Operation requires a domain. - - - - - - Field - - GLib.AskPasswordFlags - - - Operation requires a password. - - - - - - Field - - GLib.AskPasswordFlags - - - Operation requires a username. - - - - - - Field - - GLib.AskPasswordFlags - - - Operation requires a username. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/AskPasswordHandler.xml b/doc/en/GLib/AskPasswordHandler.xml deleted file mode 100644 index b4e6e7b67..000000000 --- a/doc/en/GLib/AskPasswordHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - Event handler. - The event uses this delegate. - - - \ No newline at end of file diff --git a/doc/en/GLib/AskQuestionArgs.xml b/doc/en/GLib/AskQuestionArgs.xml deleted file mode 100644 index f7939c59d..000000000 --- a/doc/en/GLib/AskQuestionArgs.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - Event data. - The event invokes delegates which pass event data via this class. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - System.String[] - - - Possible choices. - An array of strings for each possible choice. - To be added. - - - - - - Property - - System.String - - - A message to display to the user. - A string containing a message to display to the user. - To be added. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/AskQuestionHandler.xml b/doc/en/GLib/AskQuestionHandler.xml deleted file mode 100644 index cbacdb0e1..000000000 --- a/doc/en/GLib/AskQuestionHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - Event handler. - See . - - - \ No newline at end of file diff --git a/doc/en/GLib/AsyncReadyCallback.xml b/doc/en/GLib/AsyncReadyCallback.xml deleted file mode 100644 index 3bb707574..000000000 --- a/doc/en/GLib/AsyncReadyCallback.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/AsyncResult.xml b/doc/en/GLib/AsyncResult.xml deleted file mode 100644 index 8915e09f9..000000000 --- a/doc/en/GLib/AsyncResult.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Property - - GLib.Object - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/AsyncResultAdapter.xml b/doc/en/GLib/AsyncResultAdapter.xml deleted file mode 100644 index 92e6bb84f..000000000 --- a/doc/en/GLib/AsyncResultAdapter.xml +++ /dev/null @@ -1,161 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.AsyncResult - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Constructor - - - 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 - - GLib.AsyncResult - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.AsyncResult - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.AsyncResultImplementor - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Object - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/AsyncResultImplementor.xml b/doc/en/GLib/AsyncResultImplementor.xml deleted file mode 100644 index 281fd193e..000000000 --- a/doc/en/GLib/AsyncResultImplementor.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.AsyncResultAdapter)) - - - - To be added. - To be added. - - - - - - Property - - GLib.Object - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Boxed.xml b/doc/en/GLib/Boxed.xml index 3980999cf..eebba692a 100644 --- a/doc/en/GLib/Boxed.xml +++ b/doc/en/GLib/Boxed.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -22,7 +24,11 @@ + Constructor + + 2.12.0.0 + @@ -35,7 +41,11 @@ + Constructor + + 2.12.0.0 + @@ -48,8 +58,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr @@ -61,8 +75,12 @@ - + + Property + + 2.12.0.0 + System.Object @@ -75,7 +93,11 @@ + Method + + 2.12.0.0 + System.IntPtr diff --git a/doc/en/GLib/BufferedInputStream.xml b/doc/en/GLib/BufferedInputStream.xml deleted file mode 100644 index a70e2201e..000000000 --- a/doc/en/GLib/BufferedInputStream.xml +++ /dev/null @@ -1,233 +0,0 @@ - - - - gio-sharp - - - GLib.FilterInputStream - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Constructor - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.UInt64 - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("buffer-size") - - - - System.UInt64 - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Int64 - - - - - - - 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. - To be added. - - - - - - Method - - System.Int64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt64 - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.IntPtr - - - - - - 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. - - - - - diff --git a/doc/en/GLib/BufferedOutputStream.xml b/doc/en/GLib/BufferedOutputStream.xml deleted file mode 100644 index 2efcb9009..000000000 --- a/doc/en/GLib/BufferedOutputStream.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - gio-sharp - - - GLib.FilterOutputStream - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Constructor - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("auto-grow") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("buffer-size") - - - - System.UInt64 - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/CDeclCallbackAttribute.xml b/doc/en/GLib/CDeclCallbackAttribute.xml index 9e7048b0b..6b822bfa6 100644 --- a/doc/en/GLib/CDeclCallbackAttribute.xml +++ b/doc/en/GLib/CDeclCallbackAttribute.xml @@ -1,8 +1,10 @@ + 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. @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + diff --git a/doc/en/GLib/Cancellable.xml b/doc/en/GLib/Cancellable.xml deleted file mode 100644 index 5fbaae9f4..000000000 --- a/doc/en/GLib/Cancellable.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("cancelled") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Property - - GLib.Cancellable - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int32 - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancelled", Type=typeof(GLib.Cancellable)) - - - - System.Void - - - - To be added. - 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. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/ChangedArgs.xml b/doc/en/GLib/ChangedArgs.xml deleted file mode 100644 index 77ca8303b..000000000 --- a/doc/en/GLib/ChangedArgs.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.FileMonitorEvent - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/ChangedHandler.xml b/doc/en/GLib/ChangedHandler.xml deleted file mode 100644 index 536ec174a..000000000 --- a/doc/en/GLib/ChangedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/ClassInitializerAttribute.xml b/doc/en/GLib/ClassInitializerAttribute.xml index 20196e9a7..2bd147b0c 100644 --- a/doc/en/GLib/ClassInitializerAttribute.xml +++ b/doc/en/GLib/ClassInitializerAttribute.xml @@ -1,14 +1,21 @@ + 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. @@ -17,7 +24,11 @@ + Constructor + + 2.12.0.0 + @@ -26,9 +37,4 @@ - - - System.Obsolete("Replaced by TypeInitializerAttribute") - - diff --git a/doc/en/GLib/ConnectBeforeAttribute.xml b/doc/en/GLib/ConnectBeforeAttribute.xml index 0f216a409..f5666b0a6 100644 --- a/doc/en/GLib/ConnectBeforeAttribute.xml +++ b/doc/en/GLib/ConnectBeforeAttribute.xml @@ -1,8 +1,10 @@ + 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. @@ -40,7 +42,11 @@ public class Example { + Constructor + + 2.12.0.0 + diff --git a/doc/en/GLib/ConnectFlags.xml b/doc/en/GLib/ConnectFlags.xml index 506a7ed0b..5ec396e68 100644 --- a/doc/en/GLib/ConnectFlags.xml +++ b/doc/en/GLib/ConnectFlags.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -18,7 +20,11 @@ + Field + + 2.12.0.0 + GLib.ConnectFlags @@ -28,7 +34,11 @@ + Field + + 2.12.0.0 + GLib.ConnectFlags diff --git a/doc/en/GLib/Content.xml b/doc/en/GLib/Content.xml deleted file mode 100644 index 30ab737d4..000000000 --- a/doc/en/GLib/Content.xml +++ /dev/null @@ -1,221 +0,0 @@ - - - - gio-sharp - - - System.Object - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Icon - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.List - - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DataInputStream.xml b/doc/en/GLib/DataInputStream.xml deleted file mode 100644 index 00f3193f0..000000000 --- a/doc/en/GLib/DataInputStream.xml +++ /dev/null @@ -1,269 +0,0 @@ - - - - gio-sharp - - - GLib.BufferedInputStream - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("byte-order") - - - - GLib.DataStreamByteOrder - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("newline-type") - - - - GLib.DataStreamNewlineType - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Byte - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Int16 - - - - - - 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.Int64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt16 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt32 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DataOutputStream.xml b/doc/en/GLib/DataOutputStream.xml deleted file mode 100644 index 0256b1243..000000000 --- a/doc/en/GLib/DataOutputStream.xml +++ /dev/null @@ -1,244 +0,0 @@ - - - - gio-sharp - - - GLib.FilterOutputStream - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("byte-order") - - - - GLib.DataStreamByteOrder - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - 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. - - - - - - Method - - System.Boolean - - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DataStreamByteOrder.xml b/doc/en/GLib/DataStreamByteOrder.xml deleted file mode 100644 index fcc530b12..000000000 --- a/doc/en/GLib/DataStreamByteOrder.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.DataStreamByteOrderGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.DataStreamByteOrder - - - To be added. - - - - - - Field - - GLib.DataStreamByteOrder - - - To be added. - - - - - - Field - - GLib.DataStreamByteOrder - - - To be added. - - - - - diff --git a/doc/en/GLib/DataStreamNewlineType.xml b/doc/en/GLib/DataStreamNewlineType.xml deleted file mode 100644 index 3b372a19d..000000000 --- a/doc/en/GLib/DataStreamNewlineType.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.DataStreamNewlineTypeGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.DataStreamNewlineType - - - To be added. - - - - - - Field - - GLib.DataStreamNewlineType - - - To be added. - - - - - - Field - - GLib.DataStreamNewlineType - - - To be added. - - - - - - Field - - GLib.DataStreamNewlineType - - - To be added. - - - - - diff --git a/doc/en/GLib/DefaultSignalHandlerAttribute.xml b/doc/en/GLib/DefaultSignalHandlerAttribute.xml index eafd11e8e..358d3b20f 100644 --- a/doc/en/GLib/DefaultSignalHandlerAttribute.xml +++ b/doc/en/GLib/DefaultSignalHandlerAttribute.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 @@ -46,7 +48,11 @@ protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) + Constructor + + 2.12.0.0 + @@ -55,8 +61,12 @@ protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) - + + Property + + 2.12.0.0 + System.String @@ -68,8 +78,12 @@ protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) - + + Property + + 2.12.0.0 + System.Type diff --git a/doc/en/GLib/DelegateWrapper.xml b/doc/en/GLib/DelegateWrapper.xml index 09076d722..8e4f4b46f 100644 --- a/doc/en/GLib/DelegateWrapper.xml +++ b/doc/en/GLib/DelegateWrapper.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -18,7 +20,16 @@ + Constructor + + 2.12.0.0 + + + + System.Obsolete("Callback wrappers should be manually managed for persistence.") + + @@ -28,11 +39,6 @@ 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. - - - System.Obsolete("Callback wrappers should be manually managed for persistence.") - - diff --git a/doc/en/GLib/DesktopAppInfo.xml b/doc/en/GLib/DesktopAppInfo.xml deleted file mode 100644 index a1db62c25..000000000 --- a/doc/en/GLib/DesktopAppInfo.xml +++ /dev/null @@ -1,375 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - GLib.AppInfo - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.AppInfo - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - 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. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.DesktopAppInfo - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DesktopAppInfoLookup.xml b/doc/en/GLib/DesktopAppInfoLookup.xml deleted file mode 100644 index 87bdc7dbf..000000000 --- a/doc/en/GLib/DesktopAppInfoLookup.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DesktopAppInfoLookupAdapter.xml b/doc/en/GLib/DesktopAppInfoLookupAdapter.xml deleted file mode 100644 index 0edc2b074..000000000 --- a/doc/en/GLib/DesktopAppInfoLookupAdapter.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.DesktopAppInfoLookup - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Constructor - - - 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 - - GLib.AppInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.DesktopAppInfoLookup - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.DesktopAppInfoLookup - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.DesktopAppInfoLookupImplementor - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DesktopAppInfoLookupImplementor.xml b/doc/en/GLib/DesktopAppInfoLookupImplementor.xml deleted file mode 100644 index 20250b5e0..000000000 --- a/doc/en/GLib/DesktopAppInfoLookupImplementor.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.DesktopAppInfoLookupAdapter)) - - - - To be added. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DestroyHelper.xml b/doc/en/GLib/DestroyHelper.xml index 6ec8ab8c2..34feda8d1 100644 --- a/doc/en/GLib/DestroyHelper.xml +++ b/doc/en/GLib/DestroyHelper.xml @@ -1,8 +1,10 @@ + 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. @@ -17,7 +19,11 @@ + Property + + 2.12.0.0 + GLib.DestroyNotify diff --git a/doc/en/GLib/DestroyNotify.xml b/doc/en/GLib/DestroyNotify.xml index 0bd13a783..7cc51f7d6 100644 --- a/doc/en/GLib/DestroyNotify.xml +++ b/doc/en/GLib/DestroyNotify.xml @@ -1,13 +1,26 @@ + 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. @@ -15,15 +28,4 @@ - - System.Void - - - - - - - GLib.CDeclCallback - - diff --git a/doc/en/GLib/Drive.xml b/doc/en/GLib/Drive.xml deleted file mode 100644 index d2fc8501a..000000000 --- a/doc/en/GLib/Drive.xml +++ /dev/null @@ -1,276 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Event - - System.EventHandler - - - To be added. - To be added. - - - - - - Event - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Event - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DriveAdapter.xml b/doc/en/GLib/DriveAdapter.xml deleted file mode 100644 index cd657a69e..000000000 --- a/doc/en/GLib/DriveAdapter.xml +++ /dev/null @@ -1,408 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.Drive - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Constructor - - - 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.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("disconnected") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("eject-button") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Drive - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Drive - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.DriveImplementor - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DriveChangedArgs.xml b/doc/en/GLib/DriveChangedArgs.xml deleted file mode 100644 index a7c1c5f9c..000000000 --- a/doc/en/GLib/DriveChangedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DriveChangedHandler.xml b/doc/en/GLib/DriveChangedHandler.xml deleted file mode 100644 index c8eeaadf0..000000000 --- a/doc/en/GLib/DriveChangedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/DriveConnectedArgs.xml b/doc/en/GLib/DriveConnectedArgs.xml deleted file mode 100644 index 0cabc1f3c..000000000 --- a/doc/en/GLib/DriveConnectedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DriveConnectedHandler.xml b/doc/en/GLib/DriveConnectedHandler.xml deleted file mode 100644 index bbc78d4d0..000000000 --- a/doc/en/GLib/DriveConnectedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/DriveDisconnectedArgs.xml b/doc/en/GLib/DriveDisconnectedArgs.xml deleted file mode 100644 index a004e0a3a..000000000 --- a/doc/en/GLib/DriveDisconnectedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DriveDisconnectedHandler.xml b/doc/en/GLib/DriveDisconnectedHandler.xml deleted file mode 100644 index 45387cc4c..000000000 --- a/doc/en/GLib/DriveDisconnectedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/DriveEjectButtonArgs.xml b/doc/en/GLib/DriveEjectButtonArgs.xml deleted file mode 100644 index 6e1fe81bb..000000000 --- a/doc/en/GLib/DriveEjectButtonArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/DriveEjectButtonHandler.xml b/doc/en/GLib/DriveEjectButtonHandler.xml deleted file mode 100644 index 4782ff45d..000000000 --- a/doc/en/GLib/DriveEjectButtonHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/DriveImplementor.xml b/doc/en/GLib/DriveImplementor.xml deleted file mode 100644 index e21c70eb0..000000000 --- a/doc/en/GLib/DriveImplementor.xml +++ /dev/null @@ -1,245 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.DriveAdapter)) - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Emblem.xml b/doc/en/GLib/Emblem.xml deleted file mode 100644 index a6728f242..000000000 --- a/doc/en/GLib/Emblem.xml +++ /dev/null @@ -1,146 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - GLib.Icon - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Constructor - - - - - - 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. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("icon") - - - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("origin") - - - - GLib.EmblemOrigin - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/EmblemOrigin.xml b/doc/en/GLib/EmblemOrigin.xml deleted file mode 100644 index 775774511..000000000 --- a/doc/en/GLib/EmblemOrigin.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.EmblemOriginGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.EmblemOrigin - - - To be added. - - - - - - Field - - GLib.EmblemOrigin - - - To be added. - - - - - - Field - - GLib.EmblemOrigin - - - To be added. - - - - - - Field - - GLib.EmblemOrigin - - - To be added. - - - - - diff --git a/doc/en/GLib/EmblemedIcon.xml b/doc/en/GLib/EmblemedIcon.xml deleted file mode 100644 index 74e00d593..000000000 --- a/doc/en/GLib/EmblemedIcon.xml +++ /dev/null @@ -1,139 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - GLib.Icon - - - - 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. - - - - - - Constructor - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/EnumWrapper.xml b/doc/en/GLib/EnumWrapper.xml index 1036c8321..551d11328 100644 --- a/doc/en/GLib/EnumWrapper.xml +++ b/doc/en/GLib/EnumWrapper.xml @@ -1,15 +1,22 @@ + 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 @@ -18,7 +25,11 @@ + Constructor + + 2.12.0.0 + @@ -34,7 +45,11 @@ + Field + + 2.12.0.0 + System.Boolean @@ -46,7 +61,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -61,9 +80,4 @@ - - - System.Obsolete("Replaced by direct enum type casts to/from GLib.Value") - - diff --git a/doc/en/GLib/ExceptionManager.xml b/doc/en/GLib/ExceptionManager.xml index dfc5988c2..3c6ce1e3b 100644 --- a/doc/en/GLib/ExceptionManager.xml +++ b/doc/en/GLib/ExceptionManager.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Object @@ -15,7 +17,11 @@ + Method + + 2.12.0.0 + System.Void @@ -32,7 +38,11 @@ + Event + + 2.12.0.0 + GLib.UnhandledExceptionHandler diff --git a/doc/en/GLib/File.xml b/doc/en/GLib/File.xml deleted file mode 100644 index d08fba4ee..000000000 --- a/doc/en/GLib/File.xml +++ /dev/null @@ -1,1660 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - - - 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. - - - - - - Method - - GLib.FileOutputStream - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileEnumerator - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - GLib.FileEnumerator - - - - - - 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. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Mount - - - - - - 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. - - - - - - Method - - GLib.Mount - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - 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. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileMonitor - - - - - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - GLib.File - - - - - - 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. - To be added. - To be added. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - 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. - - - - - - Method - - GLib.FileInfo - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileType - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfoList - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfoList - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInputStream - - - - - - 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. - - - - - - Method - - GLib.FileInputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - - - - 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. - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - 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. - 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. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - - - - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - - 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. - To be added. - - - - - - Method - - GLib.File - - - - - - 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. - - - - - - Method - - System.Void - - - - - - - - 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. - - - - - - Property - - System.Uri - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileAdapter.xml b/doc/en/GLib/FileAdapter.xml deleted file mode 100644 index d6f52ff6a..000000000 --- a/doc/en/GLib/FileAdapter.xml +++ /dev/null @@ -1,1825 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.File - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Constructor - - - 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 - - GLib.FileOutputStream - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - - - 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. - - - - - - Method - - GLib.FileOutputStream - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileEnumerator - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - GLib.FileEnumerator - - - - - - 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. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Mount - - - - - - 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. - - - - - - Method - - GLib.Mount - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt32 - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.FileImplementor - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - 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. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileMonitor - - - - - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - GLib.File - - - - - - 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. - To be added. - To be added. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.AppInfo - - - - - - 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. - - - - - - Method - - GLib.FileInfo - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileType - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfoList - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfoList - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInputStream - - - - - - 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. - - - - - - Method - - GLib.FileInputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - - - - 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. - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - 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. - 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. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - - - - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - - 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. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Uri - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileAttributeInfo.xml b/doc/en/GLib/FileAttributeInfo.xml deleted file mode 100644 index 103690672..000000000 --- a/doc/en/GLib/FileAttributeInfo.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - gio-sharp - - - System.ValueType - - - - To be added. - To be added. - - - - - - Field - - GLib.FileAttributeInfoFlags - - - To be added. - To be added. - - - - - - Field - - System.String - - - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - To be added. - - - - - - Field - - GLib.FileAttributeInfo - - - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileAttributeInfoFlags.xml b/doc/en/GLib/FileAttributeInfoFlags.xml deleted file mode 100644 index faa3c6cac..000000000 --- a/doc/en/GLib/FileAttributeInfoFlags.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileAttributeInfoFlagsGType)) - - - System.Flags - - - - To be added. - To be added. - - - - - - Field - - GLib.FileAttributeInfoFlags - - - To be added. - - - - - - Field - - GLib.FileAttributeInfoFlags - - - To be added. - - - - - - Field - - GLib.FileAttributeInfoFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/FileAttributeInfoList.xml b/doc/en/GLib/FileAttributeInfoList.xml deleted file mode 100644 index a8c69ef0b..000000000 --- a/doc/en/GLib/FileAttributeInfoList.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - gio-sharp - - - GLib.Opaque - - - - To be added. - To be added. - - - - - - Constructor - - - 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. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfoList - - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Int32 - - - 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. - - - - - diff --git a/doc/en/GLib/FileAttributeMatcher.xml b/doc/en/GLib/FileAttributeMatcher.xml deleted file mode 100644 index e7b82de07..000000000 --- a/doc/en/GLib/FileAttributeMatcher.xml +++ /dev/null @@ -1,140 +0,0 @@ - - - - gio-sharp - - - GLib.Opaque - - - - 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.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileAttributeStatus.xml b/doc/en/GLib/FileAttributeStatus.xml deleted file mode 100644 index c27d8a7c4..000000000 --- a/doc/en/GLib/FileAttributeStatus.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileAttributeStatusGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.FileAttributeStatus - - - To be added. - - - - - - Field - - GLib.FileAttributeStatus - - - To be added. - - - - - - Field - - GLib.FileAttributeStatus - - - To be added. - - - - - diff --git a/doc/en/GLib/FileAttributeType.xml b/doc/en/GLib/FileAttributeType.xml deleted file mode 100644 index 3c6935c95..000000000 --- a/doc/en/GLib/FileAttributeType.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileAttributeTypeGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - - Field - - GLib.FileAttributeType - - - To be added. - - - - - diff --git a/doc/en/GLib/FileCopyFlags.xml b/doc/en/GLib/FileCopyFlags.xml deleted file mode 100644 index 078139316..000000000 --- a/doc/en/GLib/FileCopyFlags.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileCopyFlagsGType)) - - - System.Flags - - - - To be added. - To be added. - - - - - - Field - - GLib.FileCopyFlags - - - To be added. - - - - - - Field - - GLib.FileCopyFlags - - - To be added. - - - - - - Field - - GLib.FileCopyFlags - - - To be added. - - - - - - Field - - GLib.FileCopyFlags - - - To be added. - - - - - - Field - - GLib.FileCopyFlags - - - To be added. - - - - - - Field - - GLib.FileCopyFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/FileCreateFlags.xml b/doc/en/GLib/FileCreateFlags.xml deleted file mode 100644 index daec0e86a..000000000 --- a/doc/en/GLib/FileCreateFlags.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileCreateFlagsGType)) - - - System.Flags - - - - To be added. - To be added. - - - - - - Field - - GLib.FileCreateFlags - - - To be added. - - - - - - Field - - GLib.FileCreateFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/FileEnumerator.xml b/doc/en/GLib/FileEnumerator.xml deleted file mode 100644 index a06f08f07..000000000 --- a/doc/en/GLib/FileEnumerator.xml +++ /dev/null @@ -1,252 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - System.Collections.IEnumerable - - - - To be added. - To be added. - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Collections.IEnumerator - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - 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. - - - - - - Method - - GLib.List - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileFactory.xml b/doc/en/GLib/FileFactory.xml deleted file mode 100644 index b2f51a1f8..000000000 --- a/doc/en/GLib/FileFactory.xml +++ /dev/null @@ -1,95 +0,0 @@ - - - - gio-sharp - - - System.Object - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileIcon.xml b/doc/en/GLib/FileIcon.xml deleted file mode 100644 index 2c719b511..000000000 --- a/doc/en/GLib/FileIcon.xml +++ /dev/null @@ -1,176 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - GLib.Icon - - - GLib.LoadableIcon - - - - To be added. - To be added. - - - - - - Constructor - - - - - To be added. - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("file") - - - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.InputStream - - - - - - - - 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. - - - - - - Method - - GLib.InputStream - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileImplementor.xml b/doc/en/GLib/FileImplementor.xml deleted file mode 100644 index 7f3b35b10..000000000 --- a/doc/en/GLib/FileImplementor.xml +++ /dev/null @@ -1,1428 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.FileAdapter)) - - - - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - 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. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Method - - GLib.File - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileEnumerator - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - GLib.FileEnumerator - - - - - - 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. - - - - - - Method - - GLib.Mount - - - - - - 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. - - - - - - Method - - GLib.Mount - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt32 - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - 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. - - - - - - Method - - System.Boolean - - - - - - - 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.Void - - - - To be added. - To be added. - - - - - - Method - - GLib.FileMonitor - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileMonitor - - - - - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - GLib.File - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeInfoList - - - - - - To be added. - 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. - - - - - - Method - - GLib.FileAttributeInfoList - - - - - - To be added. - 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. - - - - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - - - - 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. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileOutputStream - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - 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. - 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. - - - - - - Method - - System.Boolean - - - - - - - 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. - To be added. - - - - - - Method - - GLib.File - - - - - - - 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. - To be added. - - - - - - Method - - GLib.File - - - - - - 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. - - - - - - Method - - System.Void - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileInfo.xml b/doc/en/GLib/FileInfo.xml deleted file mode 100644 index 361a7cc23..000000000 --- a/doc/en/GLib/FileInfo.xml +++ /dev/null @@ -1,765 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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.FileAttributeMatcher - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.FileType - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - 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. - - - - - - Method - - System.String - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Int32 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Int64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Object - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeStatus - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileAttributeType - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt32 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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. - 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. - - - - - - 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. - - - - - - 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. - - - - - - 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. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int32 - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileInputStream.xml b/doc/en/GLib/FileInputStream.xml deleted file mode 100644 index 518142109..000000000 --- a/doc/en/GLib/FileInputStream.xml +++ /dev/null @@ -1,213 +0,0 @@ - - - - gio-sharp - - - GLib.InputStream - - - - GLib.Seekable - - - - To be added. - To be added. - - - - - - 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 - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileMonitor.xml b/doc/en/GLib/FileMonitor.xml deleted file mode 100644 index f519a099b..000000000 --- a/doc/en/GLib/FileMonitor.xml +++ /dev/null @@ -1,238 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("cancelled") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("changed") - - - - GLib.ChangedHandler - - - To be added. - To be added. - - - - - - Method - - GLib.FileMonitor - - - - - - - - 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. - - - - - - Method - - GLib.FileMonitor - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(GLib.FileMonitor)) - - - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("rate-limit") - - - - System.Int32 - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileMonitorEvent.xml b/doc/en/GLib/FileMonitorEvent.xml deleted file mode 100644 index a44c30f9b..000000000 --- a/doc/en/GLib/FileMonitorEvent.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileMonitorEventGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.FileMonitorEvent - - - To be added. - - - - - - Field - - GLib.FileMonitorEvent - - - To be added. - - - - - - Field - - GLib.FileMonitorEvent - - - To be added. - - - - - - Field - - GLib.FileMonitorEvent - - - To be added. - - - - - - Field - - GLib.FileMonitorEvent - - - To be added. - - - - - - Field - - GLib.FileMonitorEvent - - - To be added. - - - - - - Field - - GLib.FileMonitorEvent - - - To be added. - - - - - diff --git a/doc/en/GLib/FileMonitorFlags.xml b/doc/en/GLib/FileMonitorFlags.xml deleted file mode 100644 index 3e25da7dd..000000000 --- a/doc/en/GLib/FileMonitorFlags.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileMonitorFlagsGType)) - - - System.Flags - - - - To be added. - To be added. - - - - - - Field - - GLib.FileMonitorFlags - - - To be added. - - - - - - Field - - GLib.FileMonitorFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/FileOutputStream.xml b/doc/en/GLib/FileOutputStream.xml deleted file mode 100644 index d8958116c..000000000 --- a/doc/en/GLib/FileOutputStream.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - gio-sharp - - - GLib.OutputStream - - - - GLib.Seekable - - - - To be added. - To be added. - - - - - - 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 - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - - 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. - To be added. - - - - - - Method - - GLib.FileInfo - - - - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FileProgressCallback.xml b/doc/en/GLib/FileProgressCallback.xml deleted file mode 100644 index dcdb74d10..000000000 --- a/doc/en/GLib/FileProgressCallback.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/FileQueryInfoFlags.xml b/doc/en/GLib/FileQueryInfoFlags.xml deleted file mode 100644 index a3737f385..000000000 --- a/doc/en/GLib/FileQueryInfoFlags.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileQueryInfoFlagsGType)) - - - System.Flags - - - - To be added. - To be added. - - - - - - Field - - GLib.FileQueryInfoFlags - - - To be added. - - - - - - Field - - GLib.FileQueryInfoFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/FileReadMoreCallback.xml b/doc/en/GLib/FileReadMoreCallback.xml deleted file mode 100644 index 7f39c5ca1..000000000 --- a/doc/en/GLib/FileReadMoreCallback.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Boolean - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/FileType.xml b/doc/en/GLib/FileType.xml deleted file mode 100644 index d8472b173..000000000 --- a/doc/en/GLib/FileType.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FileTypeGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.FileType - - - To be added. - - - - - - Field - - GLib.FileType - - - To be added. - - - - - - Field - - GLib.FileType - - - To be added. - - - - - - Field - - GLib.FileType - - - To be added. - - - - - - Field - - GLib.FileType - - - To be added. - - - - - - Field - - GLib.FileType - - - To be added. - - - - - - Field - - GLib.FileType - - - To be added. - - - - - diff --git a/doc/en/GLib/FileUtils.xml b/doc/en/GLib/FileUtils.xml index 7c461ffaf..07908c375 100644 --- a/doc/en/GLib/FileUtils.xml +++ b/doc/en/GLib/FileUtils.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Method + + 2.12.0.0 + System.String diff --git a/doc/en/GLib/FilenameCompleter.xml b/doc/en/GLib/FilenameCompleter.xml deleted file mode 100644 index 57000ecfb..000000000 --- a/doc/en/GLib/FilenameCompleter.xml +++ /dev/null @@ -1,153 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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 - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("got-completion-data") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideGotCompletionData", Type=typeof(GLib.FilenameCompleter)) - - - - System.Void - - - - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FilesystemPreviewType.xml b/doc/en/GLib/FilesystemPreviewType.xml deleted file mode 100644 index 95f8ddd56..000000000 --- a/doc/en/GLib/FilesystemPreviewType.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.FilesystemPreviewTypeGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.FilesystemPreviewType - - - To be added. - - - - - - Field - - GLib.FilesystemPreviewType - - - To be added. - - - - - - Field - - GLib.FilesystemPreviewType - - - To be added. - - - - - diff --git a/doc/en/GLib/FilterInputStream.xml b/doc/en/GLib/FilterInputStream.xml deleted file mode 100644 index 8db740abe..000000000 --- a/doc/en/GLib/FilterInputStream.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - gio-sharp - - - GLib.InputStream - - - - To be added. - To be added. - - - - - - 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("base-stream") - - - - GLib.InputStream - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/FilterOutputStream.xml b/doc/en/GLib/FilterOutputStream.xml deleted file mode 100644 index 9ac24b248..000000000 --- a/doc/en/GLib/FilterOutputStream.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - gio-sharp - - - GLib.OutputStream - - - - To be added. - To be added. - - - - - - 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("base-stream") - - - - GLib.OutputStream - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Format.xml b/doc/en/GLib/Format.xml deleted file mode 100644 index 41c5d9cdf..000000000 --- a/doc/en/GLib/Format.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - glib-sharp - - - System.Object - - - - Format class. - - - - - - - Constructor - - - Public constructor. - - - - - - Method - - System.String - - - - - - a long integer. - Formats a size value for display. - a string containing the formatted size. - - - - - diff --git a/doc/en/GLib/GException.xml b/doc/en/GLib/GException.xml index efbf5fd7c..f8a1b72c0 100644 --- a/doc/en/GLib/GException.xml +++ b/doc/en/GLib/GException.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -18,7 +20,11 @@ + Constructor + + 2.12.0.0 + @@ -31,26 +37,34 @@ + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Property + + 2.12.0.0 + System.String - Error message. - a string containing the native gerror msg. - + To be added. + To be added. + To be added. diff --git a/doc/en/GLib/GInterfaceAdapter.xml b/doc/en/GLib/GInterfaceAdapter.xml index 54a721363..59bfeef7f 100644 --- a/doc/en/GLib/GInterfaceAdapter.xml +++ b/doc/en/GLib/GInterfaceAdapter.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Object @@ -14,7 +16,11 @@ + Constructor + + 2.12.0.0 + Protected Constructor. @@ -23,7 +29,11 @@ + Property + + 2.12.0.0 + GLib.GType @@ -35,7 +45,11 @@ + Property + + 2.12.0.0 + System.IntPtr @@ -47,7 +61,11 @@ + Property + + 2.12.0.0 + GLib.GInterfaceInitHandler diff --git a/doc/en/GLib/GInterfaceAttribute.xml b/doc/en/GLib/GInterfaceAttribute.xml index d898e3d28..fbd07798a 100644 --- a/doc/en/GLib/GInterfaceAttribute.xml +++ b/doc/en/GLib/GInterfaceAttribute.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Attribute @@ -19,7 +21,11 @@ + Constructor + + 2.12.0.0 + @@ -30,8 +36,12 @@ - + + Property + + 2.12.0.0 + System.Type diff --git a/doc/en/GLib/GInterfaceInitHandler.xml b/doc/en/GLib/GInterfaceInitHandler.xml index 976beddfe..b63aadb65 100644 --- a/doc/en/GLib/GInterfaceInitHandler.xml +++ b/doc/en/GLib/GInterfaceInitHandler.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Delegate diff --git a/doc/en/GLib/GSourceFunc.xml b/doc/en/GLib/GSourceFunc.xml index 289a675cd..51f5051b7 100644 --- a/doc/en/GLib/GSourceFunc.xml +++ b/doc/en/GLib/GSourceFunc.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Delegate @@ -12,7 +14,7 @@ GSource callback delegate. - A boolean value. + A boolean value. Typically, when the delegate returns , the delegate remains connected to the event source. When is returned, the delegate is removed. diff --git a/doc/en/GLib/GString.xml b/doc/en/GLib/GString.xml index 792d490aa..b3d518f50 100644 --- a/doc/en/GLib/GString.xml +++ b/doc/en/GLib/GString.xml @@ -1,8 +1,10 @@ + 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. @@ -20,7 +22,11 @@ + Constructor + + 2.12.0.0 + @@ -34,19 +40,27 @@ + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Property + + 2.12.0.0 + System.IntPtr @@ -60,7 +74,11 @@ + Method + + 2.12.0.0 + System.String diff --git a/doc/en/GLib/GType.xml b/doc/en/GLib/GType.xml index 36f29e09a..bc9c98c94 100644 --- a/doc/en/GLib/GType.xml +++ b/doc/en/GLib/GType.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + @@ -44,7 +50,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -57,7 +67,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -70,7 +84,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -83,7 +101,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -96,7 +118,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -110,7 +136,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -118,18 +148,19 @@ - Object to test for equality. - Tests for equality. - - if the native type is equivalent. - - - + To be added. + To be added. + To be added. + To be added. + Field + + 2.12.0.0 + GLib.GType @@ -143,7 +174,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -156,7 +191,11 @@ + Method + + 2.12.0.0 + GLib.GType @@ -164,43 +203,52 @@ - Native type name. - Looks up a native type value by name. - the requested type, or if lookup fails. - - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Int32 - Gets a hashing value. - An integer hash value. - - + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Void - Initializes the native type system. - This operation is implicitly performed by . The native type system must be initialized before most glib API is used. - + To be added. + To be added. + Field + + 2.12.0.0 + GLib.GType @@ -213,7 +261,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -226,7 +278,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -240,7 +296,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -251,38 +311,28 @@ - - - Method - - System.Boolean - - - - - - a pointer to a native object. - Checks if a native object is an instance of the native type. - if , the instance is of this type. - - - - + Field + + 2.12.0.0 + GLib.GType - Native G_TYPE_LONG. - Note, it is safer to use when using managed long types. - + To be added. + To be added. + Method + + 2.12.0.0 + System.Type @@ -299,7 +349,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -312,7 +366,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -325,7 +383,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -334,16 +396,20 @@ - a type to compare. - a type to compare. - Equality operator. - if , a and b are the same native type. - + To be added. + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Type @@ -351,16 +417,20 @@ - a native type. - Casts a native type to a managed type. - a managed type corresponding to the given native type, or . - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + GLib.GType @@ -368,16 +438,20 @@ - a managed type. - Casts a managed type to a native type. - a native type corresponding to the given native type, or if no corresponding type is found. - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Boolean @@ -386,28 +460,35 @@ - a type to compare. - a type to compare. - Inequality operator. - if , a and b are not the same native type. - + To be added. + To be added. + To be added. + To be added. + To be added. + Field + + 2.12.0.0 + GLib.GType - The for paramspec values. - - + To be added. + To be added. + Field + + 2.12.0.0 + GLib.GType @@ -420,7 +501,11 @@ + Method + + 2.12.0.0 + System.Void @@ -438,7 +523,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -451,21 +540,28 @@ + Method + + 2.12.0.0 + System.String - The native type name. - a string containing the native type name. - - + To be added. + To be added. + To be added. + Field + + 2.12.0.0 + GLib.GType @@ -479,7 +575,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -492,7 +592,11 @@ + Field + + 2.12.0.0 + GLib.GType @@ -505,19 +609,26 @@ + Field + + 2.12.0.0 + GLib.GType - The for gulong values. - Note: it is safer to use for managed ulongs. - + To be added. + To be added. + Property + + 2.12.0.0 + System.IntPtr diff --git a/doc/en/GLib/GTypeAttribute.xml b/doc/en/GLib/GTypeAttribute.xml index 9b697d7b1..e85fe7876 100644 --- a/doc/en/GLib/GTypeAttribute.xml +++ b/doc/en/GLib/GTypeAttribute.xml @@ -1,8 +1,10 @@ + 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. @@ -22,7 +24,11 @@ + Constructor + + 2.12.0.0 + @@ -34,8 +40,12 @@ - + + Property + + 2.12.0.0 + System.Type diff --git a/doc/en/GLib/GioStream.xml b/doc/en/GLib/GioStream.xml deleted file mode 100644 index 544cf20c3..000000000 --- a/doc/en/GLib/GioStream.xml +++ /dev/null @@ -1,240 +0,0 @@ - - - - gio-sharp - - - System.IO.Stream - - - - 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. - - - - - - Constructor - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Constructor - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - 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. - - - - - - Property - - System.Int64 - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - 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.Int64 - - - - - - - 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. - - - - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Global.xml b/doc/en/GLib/Global.xml index d0d153ce9..7d3b0842e 100644 --- a/doc/en/GLib/Global.xml +++ b/doc/en/GLib/Global.xml @@ -1,40 +1,49 @@ + glib-sharp + 2.12.0.0 System.Object - Global API members. - - + To be added. + To be added. - + + Property + + 2.12.0.0 + System.String - Application name. - a string. - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + System.String - Program name. - a string. - + To be added. + To be added. + To be added. diff --git a/doc/en/GLib/IOChannel.xml b/doc/en/GLib/IOChannel.xml index 35ec85cf7..4506df18f 100644 --- a/doc/en/GLib/IOChannel.xml +++ b/doc/en/GLib/IOChannel.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Object @@ -21,7 +23,11 @@ + Constructor + + 2.12.0.0 + @@ -33,7 +39,11 @@ + Constructor + + 2.12.0.0 + @@ -47,7 +57,11 @@ + Method + + 2.12.0.0 + System.UInt32 @@ -122,7 +136,11 @@ public class SpawnTest { + Property + + 2.12.0.0 + GLib.IOCondition @@ -133,8 +151,12 @@ public class SpawnTest { - + + Property + + 2.12.0.0 + System.Boolean @@ -145,8 +167,12 @@ public class SpawnTest { - + + Property + + 2.12.0.0 + System.UInt64 @@ -157,8 +183,12 @@ public class SpawnTest { - + + Property + + 2.12.0.0 + System.Boolean @@ -170,7 +200,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + System.Void @@ -181,8 +215,12 @@ public class SpawnTest { - + + Property + + 2.12.0.0 + System.String @@ -194,7 +232,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOChannelError @@ -209,8 +251,12 @@ public class SpawnTest { - + + Property + + 2.12.0.0 + GLib.IOFlags @@ -222,7 +268,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -235,7 +285,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOChannel @@ -251,7 +305,11 @@ public class SpawnTest { + Property + + 2.12.0.0 + System.IntPtr @@ -263,7 +321,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + System.Void @@ -274,8 +336,12 @@ public class SpawnTest { - + + Property + + 2.12.0.0 + System.Char[] @@ -287,7 +353,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -305,7 +375,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -321,7 +395,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -339,7 +417,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -355,7 +437,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -371,7 +457,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -389,7 +479,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -405,7 +499,11 @@ public class SpawnTest { + Property + + 2.12.0.0 + System.Int32 @@ -417,7 +515,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -435,7 +537,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus @@ -453,7 +559,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + GLib.IOStatus diff --git a/doc/en/GLib/IOChannelError.xml b/doc/en/GLib/IOChannelError.xml index 6469a0e6e..2077a71ca 100644 --- a/doc/en/GLib/IOChannelError.xml +++ b/doc/en/GLib/IOChannelError.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -13,7 +15,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -23,7 +29,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -33,7 +43,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -43,7 +57,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -53,7 +71,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -63,7 +85,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -73,7 +99,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -83,7 +113,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError @@ -93,7 +127,11 @@ + Field + + 2.12.0.0 + GLib.IOChannelError diff --git a/doc/en/GLib/IOCondition.xml b/doc/en/GLib/IOCondition.xml index 82a57b6c8..d7dc04ec6 100644 --- a/doc/en/GLib/IOCondition.xml +++ b/doc/en/GLib/IOCondition.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -18,7 +20,11 @@ + Field + + 2.12.0.0 + GLib.IOCondition @@ -28,7 +34,11 @@ + Field + + 2.12.0.0 + GLib.IOCondition @@ -38,7 +48,11 @@ + Field + + 2.12.0.0 + GLib.IOCondition @@ -48,7 +62,11 @@ + Field + + 2.12.0.0 + GLib.IOCondition @@ -58,7 +76,11 @@ + Field + + 2.12.0.0 + GLib.IOCondition @@ -68,7 +90,11 @@ + Field + + 2.12.0.0 + GLib.IOCondition diff --git a/doc/en/GLib/IOErrorEnum.xml b/doc/en/GLib/IOErrorEnum.xml deleted file mode 100644 index 6867dcc26..000000000 --- a/doc/en/GLib/IOErrorEnum.xml +++ /dev/null @@ -1,357 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - To be added. - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - - Field - - GLib.IOErrorEnum - - - To be added. - - - - - diff --git a/doc/en/GLib/IOExtension.xml b/doc/en/GLib/IOExtension.xml deleted file mode 100644 index 71c1af14a..000000000 --- a/doc/en/GLib/IOExtension.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - gio-sharp - - - GLib.Opaque - - - - 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 - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int32 - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/IOExtensionPoint.xml b/doc/en/GLib/IOExtensionPoint.xml deleted file mode 100644 index 6a0814f03..000000000 --- a/doc/en/GLib/IOExtensionPoint.xml +++ /dev/null @@ -1,130 +0,0 @@ - - - - gio-sharp - - - GLib.Opaque - - - - To be added. - To be added. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.IOExtension - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.IOExtension - - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.IOExtensionPoint - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.IOExtensionPoint - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/IOFlags.xml b/doc/en/GLib/IOFlags.xml index 5a9f5882f..950c410ee 100644 --- a/doc/en/GLib/IOFlags.xml +++ b/doc/en/GLib/IOFlags.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -18,7 +20,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags @@ -28,7 +34,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags @@ -38,7 +48,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags @@ -48,7 +62,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags @@ -58,7 +76,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags @@ -68,7 +90,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags @@ -78,7 +104,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags @@ -88,7 +118,11 @@ + Field + + 2.12.0.0 + GLib.IOFlags diff --git a/doc/en/GLib/IOFunc.xml b/doc/en/GLib/IOFunc.xml index cec9dde3a..6f2241a38 100644 --- a/doc/en/GLib/IOFunc.xml +++ b/doc/en/GLib/IOFunc.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Delegate @@ -17,7 +19,7 @@ The raising the notification. The condition prompting the notification. Callback delegate for IO channel notifications. - If , the delegate is removed from the main loop. + If , the delegate is removed from the main loop. Use an instance of this delegate to add watch notifications for IO channels. diff --git a/doc/en/GLib/IOModule.xml b/doc/en/GLib/IOModule.xml deleted file mode 100644 index 899475de5..000000000 --- a/doc/en/GLib/IOModule.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - 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. - - - - - diff --git a/doc/en/GLib/IOSchedulerJob.xml b/doc/en/GLib/IOSchedulerJob.xml deleted file mode 100644 index 4f4aa3a62..000000000 --- a/doc/en/GLib/IOSchedulerJob.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - gio-sharp - - - GLib.Opaque - - - - To be added. - To be added. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/IOSchedulerJobFunc.xml b/doc/en/GLib/IOSchedulerJobFunc.xml deleted file mode 100644 index 79bcdbb01..000000000 --- a/doc/en/GLib/IOSchedulerJobFunc.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Boolean - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/IOStatus.xml b/doc/en/GLib/IOStatus.xml index cdcf5ee2d..b60552f22 100644 --- a/doc/en/GLib/IOStatus.xml +++ b/doc/en/GLib/IOStatus.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -13,7 +15,11 @@ + Field + + 2.12.0.0 + GLib.IOStatus @@ -23,7 +29,11 @@ + Field + + 2.12.0.0 + GLib.IOStatus @@ -33,7 +43,11 @@ + Field + + 2.12.0.0 + GLib.IOStatus @@ -43,7 +57,11 @@ + Field + + 2.12.0.0 + GLib.IOStatus diff --git a/doc/en/GLib/IWrapper.xml b/doc/en/GLib/IWrapper.xml index 51f4eb13c..c47c0e0f7 100644 --- a/doc/en/GLib/IWrapper.xml +++ b/doc/en/GLib/IWrapper.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -14,7 +16,11 @@ + Property + + 2.12.0.0 + System.IntPtr diff --git a/doc/en/GLib/Icon.xml b/doc/en/GLib/Icon.xml deleted file mode 100644 index 80fdaf6e4..000000000 --- a/doc/en/GLib/Icon.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/IconAdapter.xml b/doc/en/GLib/IconAdapter.xml deleted file mode 100644 index e6fdc6e1a..000000000 --- a/doc/en/GLib/IconAdapter.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.Icon - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Constructor - - - 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.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Icon - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Icon - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt32 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.IconImplementor - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/IconImplementor.xml b/doc/en/GLib/IconImplementor.xml deleted file mode 100644 index 24c996c77..000000000 --- a/doc/en/GLib/IconImplementor.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.IconAdapter)) - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.UInt32 - - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Idle.xml b/doc/en/GLib/Idle.xml index 4c56c4c62..8d8be5f6e 100644 --- a/doc/en/GLib/Idle.xml +++ b/doc/en/GLib/Idle.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 This function is thread safe. @@ -22,7 +24,11 @@ + Method + + 2.12.0.0 + System.UInt32 @@ -57,7 +63,11 @@ + Method + + 2.12.0.0 + System.Boolean diff --git a/doc/en/GLib/IdleHandler.xml b/doc/en/GLib/IdleHandler.xml index 04754b510..75a303776 100644 --- a/doc/en/GLib/IdleHandler.xml +++ b/doc/en/GLib/IdleHandler.xml @@ -1,15 +1,22 @@ + 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. + To be added. The handler specified by the delegate will be invoked during @@ -20,9 +27,4 @@ - - - - System.Boolean - diff --git a/doc/en/GLib/IgnoreClassInitializersAttribute.xml b/doc/en/GLib/IgnoreClassInitializersAttribute.xml index b9abf8f08..760f4571b 100644 --- a/doc/en/GLib/IgnoreClassInitializersAttribute.xml +++ b/doc/en/GLib/IgnoreClassInitializersAttribute.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Attribute @@ -19,7 +21,11 @@ + Constructor + + 2.12.0.0 + Public Constructor. diff --git a/doc/en/GLib/InitiallyUnowned.xml b/doc/en/GLib/InitiallyUnowned.xml index 4cfd7fb75..a2929d10b 100644 --- a/doc/en/GLib/InitiallyUnowned.xml +++ b/doc/en/GLib/InitiallyUnowned.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 GLib.Object @@ -15,7 +17,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -32,7 +38,11 @@ + Constructor + + 2.12.0.0 + @@ -44,7 +54,11 @@ + Property + + 2.12.0.0 + GLib.GType diff --git a/doc/en/GLib/InputStream.xml b/doc/en/GLib/InputStream.xml deleted file mode 100644 index 0a8c0cebb..000000000 --- a/doc/en/GLib/InputStream.xml +++ /dev/null @@ -1,321 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Int64 - - - - - - - - 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. - 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. - - - - - - Method - - System.Int64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Int64 - - - - - - - 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. - To be added. - - - - - - Method - - System.Int64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Io.xml b/doc/en/GLib/Io.xml deleted file mode 100644 index 4df71dd34..000000000 --- a/doc/en/GLib/Io.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - gio-sharp - - - System.Object - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Method - - GLib.IOErrorEnum - - - - - - 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 - - GLib.List - - - - - - To be added. - 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. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/List.xml b/doc/en/GLib/List.xml index 5dff67fea..220363f55 100644 --- a/doc/en/GLib/List.xml +++ b/doc/en/GLib/List.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -48,7 +50,11 @@ + Constructor + + 2.12.0.0 + @@ -72,7 +78,11 @@ + Constructor + + 2.12.0.0 + @@ -96,7 +106,11 @@ + Constructor + + 2.12.0.0 + @@ -123,7 +137,11 @@ + Constructor + + 2.12.0.0 + @@ -141,7 +159,11 @@ + Constructor + + 2.12.0.0 + @@ -161,7 +183,11 @@ + Constructor + + 2.12.0.0 + @@ -179,16 +205,19 @@ + Method + + 2.12.0.0 + System.Object - Clones a list. - a new native list. - - + To be added. + To be added. + To be added. diff --git a/doc/en/GLib/ListBase+FilenameString.xml b/doc/en/GLib/ListBase+FilenameString.xml index 2436d93d0..d509653b4 100644 --- a/doc/en/GLib/ListBase+FilenameString.xml +++ b/doc/en/GLib/ListBase+FilenameString.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Object diff --git a/doc/en/GLib/ListBase.xml b/doc/en/GLib/ListBase.xml index 5739a8b99..b04fbc3ac 100644 --- a/doc/en/GLib/ListBase.xml +++ b/doc/en/GLib/ListBase.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -31,7 +33,11 @@ + Method + + 2.12.0.0 + System.Void @@ -47,7 +53,11 @@ + Method + + 2.12.0.0 + System.Void @@ -62,7 +72,11 @@ + Method + + 2.12.0.0 + System.Void @@ -77,7 +91,11 @@ + Method + + 2.12.0.0 + System.Object @@ -90,7 +108,11 @@ + Method + + 2.12.0.0 + System.Void @@ -108,7 +130,11 @@ + Property + + 2.12.0.0 + System.Int32 @@ -120,7 +146,11 @@ + Method + + 2.12.0.0 + System.Void @@ -132,7 +162,11 @@ + Method + + 2.12.0.0 + System.Void @@ -147,7 +181,11 @@ + Field + + 2.12.0.0 + System.Type @@ -160,7 +198,11 @@ + Method + + 2.12.0.0 + System.Void @@ -173,19 +215,27 @@ + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Method + + 2.12.0.0 + System.Collections.IEnumerator @@ -199,7 +249,11 @@ + Property + + 2.12.0.0 + System.IntPtr @@ -212,7 +266,11 @@ + Property + + 2.12.0.0 + System.Boolean @@ -224,7 +282,11 @@ + Property + + 2.12.0.0 + System.Object @@ -240,7 +302,16 @@ + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by owned parameter on ctor.") + + System.Boolean @@ -251,15 +322,14 @@ 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. - - - System.Obsolete("Replaced by owned parameter on ctor.") - - + Method + + 2.12.0.0 + System.Void @@ -274,7 +344,11 @@ + Property + + 2.12.0.0 + System.Object diff --git a/doc/en/GLib/LoadableIcon.xml b/doc/en/GLib/LoadableIcon.xml deleted file mode 100644 index 76665c241..000000000 --- a/doc/en/GLib/LoadableIcon.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Method - - GLib.InputStream - - - - - - - - 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. - - - - - - Method - - GLib.InputStream - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/LoadableIconAdapter.xml b/doc/en/GLib/LoadableIconAdapter.xml deleted file mode 100644 index f8b3a8907..000000000 --- a/doc/en/GLib/LoadableIconAdapter.xml +++ /dev/null @@ -1,195 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.IWrapper - - - GLib.LoadableIcon - - - - To be added. - To be added. - - - - - - Constructor - - - 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 - - GLib.LoadableIcon - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.LoadableIcon - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.LoadableIconImplementor - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.InputStream - - - - - - - - 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. - - - - - - Method - - GLib.InputStream - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/LoadableIconImplementor.xml b/doc/en/GLib/LoadableIconImplementor.xml deleted file mode 100644 index 1c55f2f78..000000000 --- a/doc/en/GLib/LoadableIconImplementor.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.LoadableIconAdapter)) - - - - To be added. - To be added. - - - - - - Method - - GLib.InputStream - - - - - - - - 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. - - - - - - Method - - GLib.InputStream - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/LocalDirectoryMonitor.xml b/doc/en/GLib/LocalDirectoryMonitor.xml deleted file mode 100644 index 4aa784f94..000000000 --- a/doc/en/GLib/LocalDirectoryMonitor.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - gio-sharp - - - GLib.FileMonitor - - - - To be added. - To be added. - - - - - - 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. - - - - - diff --git a/doc/en/GLib/LocalFileEnumerator.xml b/doc/en/GLib/LocalFileEnumerator.xml deleted file mode 100644 index 7c29e9e6f..000000000 --- a/doc/en/GLib/LocalFileEnumerator.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - gio-sharp - - - GLib.FileEnumerator - - - - To be added. - To be added. - - - - - - 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. - - - - - diff --git a/doc/en/GLib/Log.xml b/doc/en/GLib/Log.xml index 3a2590e11..f6d10ec32 100644 --- a/doc/en/GLib/Log.xml +++ b/doc/en/GLib/Log.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -42,7 +44,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Constructor + + 2.12.0.0 + @@ -52,7 +58,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + System.Void @@ -71,7 +81,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + System.Void @@ -90,7 +104,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + System.Void @@ -109,7 +127,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + System.Void @@ -126,7 +148,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + GLib.LogLevelFlags @@ -142,7 +168,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + GLib.LogLevelFlags @@ -160,7 +190,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + System.UInt32 @@ -180,7 +214,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + GLib.PrintFunc @@ -196,7 +234,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + GLib.PrintFunc @@ -212,7 +254,11 @@ Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); + Method + + 2.12.0.0 + System.Void diff --git a/doc/en/GLib/LogFunc.xml b/doc/en/GLib/LogFunc.xml index d3041d60b..31b59194f 100644 --- a/doc/en/GLib/LogFunc.xml +++ b/doc/en/GLib/LogFunc.xml @@ -1,20 +1,14 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate - - To be added. - To be added. - To be added. - To be added - To be added - - @@ -23,4 +17,12 @@ System.Void + + To be added. + To be added. + To be added. + To be added + To be added + + diff --git a/doc/en/GLib/LogLevelFlags.xml b/doc/en/GLib/LogLevelFlags.xml index a61e0eb15..c83a5ec0d 100644 --- a/doc/en/GLib/LogLevelFlags.xml +++ b/doc/en/GLib/LogLevelFlags.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -21,7 +23,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -34,7 +40,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -47,7 +57,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -60,7 +74,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -73,7 +91,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -86,7 +108,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -99,7 +125,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -112,7 +142,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -125,7 +159,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -138,7 +176,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -151,7 +193,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -164,7 +210,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags @@ -177,7 +227,11 @@ + Field + + 2.12.0.0 + GLib.LogLevelFlags diff --git a/doc/en/GLib/MainContext.xml b/doc/en/GLib/MainContext.xml index c238f2aba..55d5e7a7e 100644 --- a/doc/en/GLib/MainContext.xml +++ b/doc/en/GLib/MainContext.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + @@ -27,7 +33,11 @@ + Property + + 2.12.0.0 + System.Int32 @@ -39,7 +49,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -52,7 +66,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -68,7 +86,11 @@ + Method + + 2.12.0.0 + System.Boolean diff --git a/doc/en/GLib/MainLoop.xml b/doc/en/GLib/MainLoop.xml index 5a32db8dc..989a610bd 100644 --- a/doc/en/GLib/MainLoop.xml +++ b/doc/en/GLib/MainLoop.xml @@ -1,8 +1,10 @@ + 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. @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + @@ -28,19 +34,27 @@ + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Property + + 2.12.0.0 + System.Boolean @@ -54,7 +68,11 @@ + Method + + 2.12.0.0 + System.Void @@ -67,7 +85,11 @@ + Method + + 2.12.0.0 + System.Void diff --git a/doc/en/GLib/Markup.xml b/doc/en/GLib/Markup.xml index cc0731b5c..d0e84d52c 100644 --- a/doc/en/GLib/Markup.xml +++ b/doc/en/GLib/Markup.xml @@ -1,9 +1,11 @@ + 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. @@ -17,7 +19,11 @@ + Method + + 2.12.0.0 + System.String diff --git a/doc/en/GLib/Marshaller.xml b/doc/en/GLib/Marshaller.xml index 9a60bb7f9..6a5481d65 100644 --- a/doc/en/GLib/Marshaller.xml +++ b/doc/en/GLib/Marshaller.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Use GLib.Argv instead to avoid leaks.") + + System.IntPtr @@ -30,15 +41,19 @@ a Replaced by + + + + + Method + + 2.12.0.0 + System.Obsolete("Use GLib.Argv instead to avoid leaks.") - - - - Method System.String[] @@ -53,15 +68,14 @@ a Replaced by - - - System.Obsolete("Use GLib.Argv instead to avoid leaks.") - - + Method + + 2.12.0.0 + System.UInt32 @@ -78,7 +92,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -94,7 +112,11 @@ + Method + + 2.12.0.0 + System.String @@ -111,7 +133,11 @@ + Method + + 2.12.0.0 + System.String @@ -128,7 +154,11 @@ + Method + + 2.12.0.0 + System.Void @@ -144,7 +174,11 @@ + Method + + 2.12.0.0 + System.Void @@ -159,7 +193,11 @@ + Method + + 2.12.0.0 + System.Char @@ -174,26 +212,13 @@ - - - Method - - System.String - - - - - - a - Marshals a UCS4 character represented as an uint to a string. - a - - - - + Method + + 2.12.0.0 + System.Array @@ -205,20 +230,23 @@ - the native list pointer. - the managed type of the list, eg or . - indicates if the native list being marshaled should be released. - indicates if the list members should be released. - the managed type of the list members. - Marshals a list pointer to a managed array. - a managed 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 @@ -237,7 +265,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -253,7 +285,11 @@ + Method + + 2.12.0.0 + System.String[] @@ -271,7 +307,11 @@ + Method + + 2.12.0.0 + System.Array @@ -282,19 +322,22 @@ - a pointer to a native GPtrArray. - indicates if the native array should be released. - indicates if the native members should be released. - the managed type of the array elements. - Marshals a native GPtrArray to a managed array. - a managed 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[] @@ -310,7 +353,11 @@ + Method + + 2.12.0.0 + System.String @@ -326,7 +373,11 @@ + Method + + 2.12.0.0 + System.String[] @@ -342,7 +393,11 @@ + Method + + 2.12.0.0 + System.Void @@ -357,7 +412,11 @@ + Method + + 2.12.0.0 + System.IntPtr[] @@ -373,7 +432,11 @@ + Method + + 2.12.0.0 + System.String @@ -398,7 +461,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -415,7 +482,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -431,7 +502,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -448,7 +523,11 @@ + Method + + 2.12.0.0 + System.DateTime @@ -464,7 +543,11 @@ + Method + + 2.12.0.0 + System.String @@ -481,7 +564,11 @@ + Method + + 2.12.0.0 + System.String[] diff --git a/doc/en/GLib/MemoryInputStream.xml b/doc/en/GLib/MemoryInputStream.xml deleted file mode 100644 index 2d10abc2b..000000000 --- a/doc/en/GLib/MemoryInputStream.xml +++ /dev/null @@ -1,192 +0,0 @@ - - - - gio-sharp - - - GLib.InputStream - - - - GLib.Seekable - - - - To be added. - To be added. - - - - - - 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. - - - - - - Constructor - - - - - - - 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. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MemoryOutputStream.xml b/doc/en/GLib/MemoryOutputStream.xml deleted file mode 100644 index c4940a73b..000000000 --- a/doc/en/GLib/MemoryOutputStream.xml +++ /dev/null @@ -1,203 +0,0 @@ - - - - gio-sharp - - - GLib.OutputStream - - - - GLib.Seekable - - - - 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. - - - - - - Constructor - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - System.UInt64 - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - 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. - To be added. - - - - - - Property - - System.UInt64 - - - 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. - - - - - diff --git a/doc/en/GLib/MissingIntPtrCtorException.xml b/doc/en/GLib/MissingIntPtrCtorException.xml index 6c4cfe015..595fdacbd 100644 --- a/doc/en/GLib/MissingIntPtrCtorException.xml +++ b/doc/en/GLib/MissingIntPtrCtorException.xml @@ -1,8 +1,10 @@ + 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. @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + diff --git a/doc/en/GLib/Mount.xml b/doc/en/GLib/Mount.xml deleted file mode 100644 index 3ae3d72a3..000000000 --- a/doc/en/GLib/Mount.xml +++ /dev/null @@ -1,317 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Event - - System.EventHandler - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - 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. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.File - - - 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. - - - - - - Event - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Volume - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MountAdapter.xml b/doc/en/GLib/MountAdapter.xml deleted file mode 100644 index fcf7538d0..000000000 --- a/doc/en/GLib/MountAdapter.xml +++ /dev/null @@ -1,444 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.IWrapper - - - GLib.Mount - - - - To be added. - To be added. - - - - - - Constructor - - - 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.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Mount - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Mount - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - 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. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.MountImplementor - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.File - - - 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. - - - - - - Event - - - GLib.Signal("unmounted") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Volume - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MountAddedArgs.xml b/doc/en/GLib/MountAddedArgs.xml deleted file mode 100644 index b727c739a..000000000 --- a/doc/en/GLib/MountAddedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Mount - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MountAddedHandler.xml b/doc/en/GLib/MountAddedHandler.xml deleted file mode 100644 index c4a61e878..000000000 --- a/doc/en/GLib/MountAddedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/MountChangedArgs.xml b/doc/en/GLib/MountChangedArgs.xml deleted file mode 100644 index c16b41436..000000000 --- a/doc/en/GLib/MountChangedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Mount - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MountChangedHandler.xml b/doc/en/GLib/MountChangedHandler.xml deleted file mode 100644 index cc84611a5..000000000 --- a/doc/en/GLib/MountChangedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/MountImplementor.xml b/doc/en/GLib/MountImplementor.xml deleted file mode 100644 index 863bae251..000000000 --- a/doc/en/GLib/MountImplementor.xml +++ /dev/null @@ -1,298 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.MountAdapter)) - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - 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. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.File - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Volume - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MountMountFlags.xml b/doc/en/GLib/MountMountFlags.xml deleted file mode 100644 index bead0e2bd..000000000 --- a/doc/en/GLib/MountMountFlags.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.MountMountFlagsGType)) - - - - To be added. - To be added. - - - - - - Field - - GLib.MountMountFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/MountOperation.xml b/doc/en/GLib/MountOperation.xml deleted file mode 100644 index 683ecdaf9..000000000 --- a/doc/en/GLib/MountOperation.xml +++ /dev/null @@ -1,329 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - - : Authentication methods for mountable locations. - - - provides a mechanism for authenticating mountable operations, such as loop mounting files, hard drive partitions or server locations. - Mounting operations are handed a that then can use if they require any privileges or authentication for their volumes to be mounted (e.g. a hard disk partition or an encrypted filesystem), or if they are implementing a remote server protocol which requires user credentials such as FTP or WebDAV. - Users should instantiate a subclass of this that implements all the various callbacks to show the required dialogs, such as . - - - - - - - Constructor - - - Creates a new mount operation. - This is not normally used, instead you instantiate a subclass of this, such as . - - - - - - 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("anonymous") - - - - System.Boolean - - - Wether to use an anonymous user when authenticating. - To be added. - Default to False. - - - - - - Event - - - GLib.Signal("ask-password") - - - - GLib.AskPasswordHandler - - - Emitted when a mount operation asks the user for a password. - - - To be added. - - - - - - Event - - - GLib.Signal("ask-question") - - - - GLib.AskQuestionHandler - - - Emitted when asking the user a question and gives a list of choices for the user to choose from. - To be added. - - - - - - Property - - - GLib.Property("choice") - - - - System.Int32 - - - The index of the user's choice when a question is asked. - The index of the user's choice when a question is asked during the mount operation. - - Allowed values: >= 0 - Default value: 0 - See also . - - - - - - - Property - - - GLib.Property("domain") - - - - System.String - - - The domain to use for the mount operation. - The domain to use for the mount operation. - Default value: null. - - - - - - Method - - System.Void - - - - - - A - Emits the signal. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideAskPassword", Type=typeof(GLib.MountOperation)) - - - - System.Void - - - - - - - - - To be added. - To be added. - To be added. - To be added. - Default handler for the event. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideAskQuestion", Type=typeof(GLib.MountOperation)) - - - - System.Void - - - - - - - To be added. - To be added. - Default handler for the event. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideReply", Type=typeof(GLib.MountOperation)) - - - - System.Void - - - - - - To be added. - Default handler for the event. - To be added. - - - - - - Property - - - GLib.Property("password") - - - - System.String - - - The password that is used for authentication - The password that is used for authentication when carrying out the mount operation. - Default value: null. - - - - - - Property - - - GLib.Property("password-save") - - - - GLib.PasswordSave - - - Ff and how the password information should be saved. - Determines if and how the password information should be saved. - Default value: - - - - - - Event - - - GLib.Signal("reply") - - - - GLib.ReplyHandler - - - Emitted when the user has replied to the mount operation. - To be added. - - - - - - Property - - - GLib.Property("username") - - - - System.String - - - The user name that is used for authentication. - The user name that is used for authentication when carrying out the mount operation. - Default value: null. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/MountOperationResult.xml b/doc/en/GLib/MountOperationResult.xml deleted file mode 100644 index 232d5e588..000000000 --- a/doc/en/GLib/MountOperationResult.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.MountOperationResultGType)) - - - - - is returned as a result when a request for information is send by the mounting operation. - To be added. - - - - - - Field - - GLib.MountOperationResult - - - The user requested the mount operation to be aborted. - - - - - - Field - - GLib.MountOperationResult - - - The request was fulfilled and the user specified data is now available. - - - - - - Field - - GLib.MountOperationResult - - - The request was unhandled (i.e. not implemented). - - - - - \ No newline at end of file diff --git a/doc/en/GLib/MountPreUnmountArgs.xml b/doc/en/GLib/MountPreUnmountArgs.xml deleted file mode 100644 index 1542fd6d9..000000000 --- a/doc/en/GLib/MountPreUnmountArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Mount - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MountPreUnmountHandler.xml b/doc/en/GLib/MountPreUnmountHandler.xml deleted file mode 100644 index baa65f4e1..000000000 --- a/doc/en/GLib/MountPreUnmountHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/MountRemovedArgs.xml b/doc/en/GLib/MountRemovedArgs.xml deleted file mode 100644 index 024376648..000000000 --- a/doc/en/GLib/MountRemovedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Mount - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/MountRemovedHandler.xml b/doc/en/GLib/MountRemovedHandler.xml deleted file mode 100644 index dceb1a6bb..000000000 --- a/doc/en/GLib/MountRemovedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/MountUnmountFlags.xml b/doc/en/GLib/MountUnmountFlags.xml deleted file mode 100644 index 2fbf270cf..000000000 --- a/doc/en/GLib/MountUnmountFlags.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.MountUnmountFlagsGType)) - - - System.Flags - - - - To be added. - To be added. - - - - - - Field - - GLib.MountUnmountFlags - - - To be added. - - - - - - Field - - GLib.MountUnmountFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/NativeVolumeMonitor.xml b/doc/en/GLib/NativeVolumeMonitor.xml deleted file mode 100644 index 4b79bec83..000000000 --- a/doc/en/GLib/NativeVolumeMonitor.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - gio-sharp - - - GLib.VolumeMonitor - - - - To be added. - To be added. - - - - - - 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. - - - - - diff --git a/doc/en/GLib/NotifyArgs.xml b/doc/en/GLib/NotifyArgs.xml index 9f2687e5f..ede532b7f 100644 --- a/doc/en/GLib/NotifyArgs.xml +++ b/doc/en/GLib/NotifyArgs.xml @@ -1,8 +1,10 @@ + 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. @@ -19,7 +21,11 @@ + Constructor + + 2.12.0.0 + @@ -30,7 +36,11 @@ + Property + + 2.12.0.0 + System.String diff --git a/doc/en/GLib/NotifyHandler.xml b/doc/en/GLib/NotifyHandler.xml index 192c98488..012409dae 100644 --- a/doc/en/GLib/NotifyHandler.xml +++ b/doc/en/GLib/NotifyHandler.xml @@ -1,13 +1,22 @@ + 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. @@ -19,11 +28,4 @@ - - System.Void - - - - - diff --git a/doc/en/GLib/Object.xml b/doc/en/GLib/Object.xml index 32e5c6c58..dc02615ff 100644 --- a/doc/en/GLib/Object.xml +++ b/doc/en/GLib/Object.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -24,7 +26,11 @@ + Constructor + + 2.12.0.0 + Protected constructor. @@ -33,7 +39,16 @@ + Constructor + + 2.12.0.0 + + + + System.Obsolete + + @@ -49,15 +64,14 @@ - - - System.Obsolete - - + Constructor + + 2.12.0.0 + @@ -77,7 +91,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void @@ -93,7 +111,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void @@ -111,7 +133,16 @@ This method is called by the generated classes by the Gtk# framework. + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") + + System.ComponentModel.EventHandlerList @@ -120,15 +151,19 @@ This method is called by the generated classes by the Gtk# framework. a To be added + + + + + Property + + 2.12.0.0 + System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") - - - - Property System.Collections.Hashtable @@ -137,15 +172,19 @@ This method is called by the generated classes by the Gtk# framework. a To be added + + + + + Property + + 2.12.0.0 + System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") - - - - Property System.ComponentModel.EventHandlerList @@ -154,15 +193,19 @@ This method is called by the generated classes by the Gtk# framework. a To be added + + + + + Property + + 2.12.0.0 + System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") - - - - Property System.Collections.Hashtable @@ -171,15 +214,14 @@ This method is called by the generated classes by the Gtk# framework. a To be added - - - System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") - - + Method + + 2.12.0.0 + System.Void @@ -196,7 +238,11 @@ This method is called by the generated classes by the Gtk# framework. + Property + + 2.12.0.0 + System.Collections.Hashtable @@ -215,7 +261,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void @@ -228,19 +278,27 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Method + + 2.12.0.0 + System.Void @@ -257,20 +315,28 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Int32 - Gets a hash value. - integer hash value. - + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + GLib.Object @@ -286,7 +352,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + GLib.Object @@ -304,7 +374,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + GLib.Value @@ -320,7 +394,11 @@ This method is called by the generated classes by the Gtk# framework. + Property + + 2.12.0.0 + GLib.GType @@ -333,7 +411,11 @@ This method is called by the generated classes by the Gtk# framework. + Property + + 2.12.0.0 + System.IntPtr @@ -345,7 +427,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + GLib.GType @@ -358,7 +444,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + GLib.GType @@ -366,16 +456,19 @@ This method is called by the generated classes by the Gtk# framework. - a managed object type. - Gets a gtype for a given managed object type. - the native type. - - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Void @@ -390,7 +483,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void @@ -409,20 +506,27 @@ This method is called by the generated classes by the Gtk# framework. + Property + + 2.12.0.0 + System.IntPtr - Gets an owned ref to the native object. - an object pointer. - - + To be added. + To be added. + To be added. + Property + + 2.12.0.0 + System.Collections.Hashtable @@ -434,8 +538,12 @@ This method is called by the generated classes by the Gtk# framework. - + + Property + + 2.12.0.0 + System.IntPtr @@ -449,7 +557,11 @@ This method is called by the generated classes by the Gtk# framework. + Property + + 2.12.0.0 + System.Int32 @@ -461,7 +573,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + GLib.GType @@ -477,7 +593,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void @@ -493,7 +613,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void @@ -511,7 +635,11 @@ This method is called by the generated classes by the Gtk# framework. + Method + + 2.12.0.0 + System.Void @@ -528,7 +656,11 @@ This method is called by the generated classes by the Gtk# framework. + Property + + 2.12.0.0 + System.String diff --git a/doc/en/GLib/ObjectManager.xml b/doc/en/GLib/ObjectManager.xml index 443545432..0b79b46fe 100644 --- a/doc/en/GLib/ObjectManager.xml +++ b/doc/en/GLib/ObjectManager.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + @@ -27,7 +33,11 @@ + Method + + 2.12.0.0 + GLib.Object @@ -43,7 +53,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by GType.Register (GType, Type)") + + System.Void @@ -58,15 +77,19 @@ + + + + + Method + + 2.12.0.0 + System.Obsolete("Replaced by GType.Register (GType, Type)") - - - - Method System.Void @@ -80,15 +103,19 @@ Obsolete. Use the GType overload. + + + + + Method + + 2.12.0.0 + System.Obsolete("Replaced by GType.Register (GType, Type)") - - - - Method System.Void @@ -104,11 +131,6 @@ Obsolete. Use the GType overload. - - - System.Obsolete("Replaced by GType.Register (GType, Type)") - - diff --git a/doc/en/GLib/Opaque.xml b/doc/en/GLib/Opaque.xml index 12704a625..b656f6744 100644 --- a/doc/en/GLib/Opaque.xml +++ b/doc/en/GLib/Opaque.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -24,7 +26,11 @@ + Constructor + + 2.12.0.0 + @@ -35,7 +41,11 @@ + Constructor + + 2.12.0.0 + @@ -50,7 +60,11 @@ + Method + + 2.12.0.0 + GLib.Opaque @@ -66,7 +80,11 @@ + Method + + 2.12.0.0 + System.Void @@ -78,7 +96,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -86,27 +108,35 @@ - object to test. - Tests for equality. - boolean equality indication. - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Method + + 2.12.0.0 + System.Void @@ -121,20 +151,33 @@ + Method + + 2.12.0.0 + System.Int32 - Hashing value. - integer hash value. - + 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 @@ -147,15 +190,14 @@ 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. - - - System.Obsolete("Use more explicit overload. This method always returns null") - - + Method + + 2.12.0.0 + GLib.Opaque @@ -175,7 +217,11 @@ + Property + + 2.12.0.0 + System.IntPtr @@ -186,8 +232,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -200,20 +250,27 @@ + Property + + 2.12.0.0 + System.IntPtr - Gets a pointer to an owned native copy. - a native copy. - - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + System.IntPtr @@ -227,7 +284,11 @@ + Method + + 2.12.0.0 + System.Void @@ -242,7 +303,11 @@ + Method + + 2.12.0.0 + System.Void diff --git a/doc/en/GLib/OutputStream.xml b/doc/en/GLib/OutputStream.xml deleted file mode 100644 index bf6089b9e..000000000 --- a/doc/en/GLib/OutputStream.xml +++ /dev/null @@ -1,379 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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. - - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Method - - System.Void - - - - - - - - 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. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Int64 - - - - - - - - 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. - To be added. - To be added. - - - - - - Method - - System.Int64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Int64 - - - - - - - - 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. - 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. - - - - - - Method - - System.Int64 - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/OutputStreamSpliceFlags.xml b/doc/en/GLib/OutputStreamSpliceFlags.xml deleted file mode 100644 index c6e3cc217..000000000 --- a/doc/en/GLib/OutputStreamSpliceFlags.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.OutputStreamSpliceFlagsGType)) - - - System.Flags - - - - To be added. - To be added. - - - - - - Field - - GLib.OutputStreamSpliceFlags - - - To be added. - - - - - - Field - - GLib.OutputStreamSpliceFlags - - - To be added. - - - - - - Field - - GLib.OutputStreamSpliceFlags - - - To be added. - - - - - diff --git a/doc/en/GLib/PasswordSave.xml b/doc/en/GLib/PasswordSave.xml deleted file mode 100644 index 361041439..000000000 --- a/doc/en/GLib/PasswordSave.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - gio-sharp - - - System.Enum - - - - GLib.GType(typeof(GLib.PasswordSaveGType)) - - - - - is used to indicate the lifespan of a saved password. - Gvfs stores passwords in the Gnome keyring when this flag allows it to, and later retrieves it again from there. - - - - - - Field - - GLib.PasswordSave - - - Save a password for the session. - - - - - - Field - - GLib.PasswordSave - - - Never save a password. - - - - - - Field - - GLib.PasswordSave - - - Save a password permanently. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/PrintFunc.xml b/doc/en/GLib/PrintFunc.xml index 94574c0fa..1194b848c 100644 --- a/doc/en/GLib/PrintFunc.xml +++ b/doc/en/GLib/PrintFunc.xml @@ -1,22 +1,24 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate - - To be added. - To be added - To be added - - System.Void + + To be added. + To be added + To be added + + diff --git a/doc/en/GLib/Process.xml b/doc/en/GLib/Process.xml index 5e9667ac0..ac0e7a185 100644 --- a/doc/en/GLib/Process.xml +++ b/doc/en/GLib/Process.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Object @@ -14,7 +16,11 @@ + Method + + 2.12.0.0 + System.Void @@ -26,7 +32,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -38,7 +48,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -50,7 +64,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -92,7 +110,11 @@ try { + Method + + 2.12.0.0 + System.Boolean @@ -179,7 +201,11 @@ public class SpawnTest { + Method + + 2.12.0.0 + System.Boolean @@ -211,7 +237,11 @@ try { + Method + + 2.12.0.0 + System.Boolean @@ -251,7 +281,11 @@ try { + Method + + 2.12.0.0 + System.Boolean diff --git a/doc/en/GLib/PropertyAttribute.xml b/doc/en/GLib/PropertyAttribute.xml index 344d01022..cb186c1d3 100644 --- a/doc/en/GLib/PropertyAttribute.xml +++ b/doc/en/GLib/PropertyAttribute.xml @@ -1,8 +1,10 @@ + 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. @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + @@ -31,37 +37,47 @@ + Constructor + + 2.12.0.0 + - the native property name. - the native property nickname. - the native property blurb. - Attribute constructor - - + To be added. + To be added. + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + System.String - The native property description. - a string. - - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + System.String @@ -74,16 +90,19 @@ - + + Property + + 2.12.0.0 + System.String - The (C/GObject) nickname of the property - a - - + To be added. + To be added. + To be added. diff --git a/doc/en/GLib/PtrArray.xml b/doc/en/GLib/PtrArray.xml index 8b5c34d59..475b0b909 100644 --- a/doc/en/GLib/PtrArray.xml +++ b/doc/en/GLib/PtrArray.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Object @@ -21,14 +23,17 @@ - Wrapper for unmanaged GPtrArray data types. - - + To be added. + To be added. + Constructor + + 2.12.0.0 + @@ -40,7 +45,11 @@ + Constructor + + 2.12.0.0 + @@ -54,7 +63,11 @@ + Constructor + + 2.12.0.0 + @@ -70,7 +83,11 @@ + Constructor + + 2.12.0.0 + @@ -88,7 +105,11 @@ + Method + + 2.12.0.0 + System.Void @@ -103,7 +124,11 @@ + Property + + 2.12.0.0 + System.IntPtr @@ -115,7 +140,11 @@ + Method + + 2.12.0.0 + System.Object @@ -128,7 +157,11 @@ + Method + + 2.12.0.0 + System.Void @@ -145,7 +178,11 @@ + Property + + 2.12.0.0 + System.Int32 @@ -157,7 +194,11 @@ + Method + + 2.12.0.0 + System.Void @@ -169,7 +210,11 @@ + Field + + 2.12.0.0 + System.Type @@ -180,7 +225,11 @@ + Method + + 2.12.0.0 + System.Void @@ -192,7 +241,11 @@ + Method + + 2.12.0.0 + System.Collections.IEnumerator @@ -205,7 +258,11 @@ + Property + + 2.12.0.0 + System.IntPtr @@ -217,7 +274,11 @@ + Property + + 2.12.0.0 + System.Boolean @@ -229,7 +290,11 @@ + Property + + 2.12.0.0 + System.Object @@ -245,7 +310,11 @@ + Method + + 2.12.0.0 + System.Void @@ -260,7 +329,11 @@ + Method + + 2.12.0.0 + System.Void @@ -279,7 +352,11 @@ + Property + + 2.12.0.0 + System.Object diff --git a/doc/en/GLib/ReallocFunc.xml b/doc/en/GLib/ReallocFunc.xml deleted file mode 100644 index e0a374a21..000000000 --- a/doc/en/GLib/ReallocFunc.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.IntPtr - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/ReplyArgs.xml b/doc/en/GLib/ReplyArgs.xml deleted file mode 100644 index 389a159b5..000000000 --- a/doc/en/GLib/ReplyArgs.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - Event data. - - The event invokes delegates which pass event data via this class. - - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.MountOperationResult - - - How the request was handled . - A indicating how the request was handled. - To be added. - - - - - \ No newline at end of file diff --git a/doc/en/GLib/ReplyHandler.xml b/doc/en/GLib/ReplyHandler.xml deleted file mode 100644 index 756ce3c45..000000000 --- a/doc/en/GLib/ReplyHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - Event handler. - See . - - - \ No newline at end of file diff --git a/doc/en/GLib/SList.xml b/doc/en/GLib/SList.xml index 3d2b8d144..dd643da9d 100644 --- a/doc/en/GLib/SList.xml +++ b/doc/en/GLib/SList.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -19,7 +21,11 @@ + Constructor + + 2.12.0.0 + @@ -34,7 +40,11 @@ + Constructor + + 2.12.0.0 + @@ -47,7 +57,11 @@ + Constructor + + 2.12.0.0 + @@ -64,7 +78,11 @@ + Constructor + + 2.12.0.0 + @@ -82,7 +100,11 @@ + Constructor + + 2.12.0.0 + @@ -102,7 +124,11 @@ + Constructor + + 2.12.0.0 + @@ -120,16 +146,19 @@ + Method + + 2.12.0.0 + System.Object - Clones a list. - a cloned list. - - + To be added. + To be added. + To be added. diff --git a/doc/en/GLib/SeekType.xml b/doc/en/GLib/SeekType.xml index 332ba95ff..dcb0c9332 100644 --- a/doc/en/GLib/SeekType.xml +++ b/doc/en/GLib/SeekType.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -13,7 +15,11 @@ + Field + + 2.12.0.0 + GLib.SeekType @@ -23,7 +29,11 @@ + Field + + 2.12.0.0 + GLib.SeekType @@ -33,7 +43,11 @@ + Field + + 2.12.0.0 + GLib.SeekType diff --git a/doc/en/GLib/Seekable.xml b/doc/en/GLib/Seekable.xml deleted file mode 100644 index 1e7530431..000000000 --- a/doc/en/GLib/Seekable.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/SeekableAdapter.xml b/doc/en/GLib/SeekableAdapter.xml deleted file mode 100644 index 1946c08c6..000000000 --- a/doc/en/GLib/SeekableAdapter.xml +++ /dev/null @@ -1,215 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.IWrapper - - - GLib.Seekable - - - - To be added. - To be added. - - - - - - Constructor - - - 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. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Seekable - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Seekable - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.SeekableImplementor - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Int64 - - - 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. - To be added. - - - - - - Method - - System.Boolean - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/SeekableImplementor.xml b/doc/en/GLib/SeekableImplementor.xml deleted file mode 100644 index 0b3c82511..000000000 --- a/doc/en/GLib/SeekableImplementor.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.SeekableAdapter)) - - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - 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. - To be added. - - - - - - Method - - System.Int64 - - - - 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. - - - - - diff --git a/doc/en/GLib/Signal+EmissionHook.xml b/doc/en/GLib/Signal+EmissionHook.xml index 9e6ff4a36..dfb05dfb9 100644 --- a/doc/en/GLib/Signal+EmissionHook.xml +++ b/doc/en/GLib/Signal+EmissionHook.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Delegate @@ -14,11 +16,10 @@ System.Boolean - invocation hint. - array containing instance at index 0 followed by parameter values. - Emission hook delegate type. - indicates if emission should be stopped. - - + To be added. + To be added. + To be added. + To be added. + To be added. diff --git a/doc/en/GLib/Signal+EmissionHookMarshaler.xml b/doc/en/GLib/Signal+EmissionHookMarshaler.xml index d89804dc8..7a94f67b2 100644 --- a/doc/en/GLib/Signal+EmissionHookMarshaler.xml +++ b/doc/en/GLib/Signal+EmissionHookMarshaler.xml @@ -1,21 +1,26 @@ + glib-sharp + 2.12.0.0 System.Object - Emission Hook delegate marshaling class. - - + To be added. + To be added. + Constructor + + 2.12.0.0 + @@ -27,7 +32,11 @@ + Constructor + + 2.12.0.0 + @@ -41,7 +50,11 @@ + Property + + 2.12.0.0 + GLib.Signal+EmissionHookNative @@ -53,7 +66,11 @@ + Property + + 2.12.0.0 + GLib.Signal+EmissionHook diff --git a/doc/en/GLib/Signal+EmissionHookNative.xml b/doc/en/GLib/Signal+EmissionHookNative.xml index 5e79327f7..6ae880d0c 100644 --- a/doc/en/GLib/Signal+EmissionHookNative.xml +++ b/doc/en/GLib/Signal+EmissionHookNative.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Delegate @@ -21,13 +23,12 @@ System.Boolean - invocation hint. - number of parameters. - parameter values. - user data. - Emission hook native delegate type. - indicates if emission should be stopped. - - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. diff --git a/doc/en/GLib/Signal+Flags.xml b/doc/en/GLib/Signal+Flags.xml index 7f71c8d63..c9ecc27fd 100644 --- a/doc/en/GLib/Signal+Flags.xml +++ b/doc/en/GLib/Signal+Flags.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -12,14 +14,17 @@ - Signal flags enumeration. - - + To be added. + To be added. + Field + + 2.12.0.0 + GLib.Signal+Flags @@ -29,7 +34,11 @@ + Field + + 2.12.0.0 + GLib.Signal+Flags @@ -39,7 +48,11 @@ + Field + + 2.12.0.0 + GLib.Signal+Flags @@ -49,7 +62,11 @@ + Field + + 2.12.0.0 + GLib.Signal+Flags @@ -59,7 +76,11 @@ + Field + + 2.12.0.0 + GLib.Signal+Flags @@ -69,7 +90,11 @@ + Field + + 2.12.0.0 + GLib.Signal+Flags @@ -79,7 +104,11 @@ + Field + + 2.12.0.0 + GLib.Signal+Flags diff --git a/doc/en/GLib/Signal+InvocationHint.xml b/doc/en/GLib/Signal+InvocationHint.xml index 950274710..3e580be6f 100644 --- a/doc/en/GLib/Signal+InvocationHint.xml +++ b/doc/en/GLib/Signal+InvocationHint.xml @@ -1,49 +1,62 @@ + glib-sharp + 2.12.0.0 System.ValueType - Invocation hint structure. - - + To be added. + To be added. + Field + + 2.12.0.0 + System.UInt32 - Signal detail. - + To be added. + To be added. + Field + + 2.12.0.0 + GLib.Signal+Flags - Run position. - Indicates when signal is in invocation timeline. + To be added. + To be added. + Field + + 2.12.0.0 + System.UInt32 - Native signal id. - + To be added. + To be added. diff --git a/doc/en/GLib/Signal.xml b/doc/en/GLib/Signal.xml index f2771cde6..cd7347af0 100644 --- a/doc/en/GLib/Signal.xml +++ b/doc/en/GLib/Signal.xml @@ -1,8 +1,10 @@ + 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. @@ -17,7 +19,11 @@ + Method + + 2.12.0.0 + System.Void @@ -32,7 +38,11 @@ + Method + + 2.12.0.0 + System.UInt64 @@ -42,18 +52,21 @@ - detailed signal name. - native type containing signal. - callback. - Installs an emission hook into the native signal emission. - an unsigned long. - Power user feature. For more information, consult the gtk+ documentation. - + 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 @@ -69,18 +82,21 @@ - object instance. - detailed signal name. - arguments to the signal emission. - Emits a native signal on an object. - The return of the native emission. - - + 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 @@ -93,7 +109,11 @@ + Method + + 2.12.0.0 + GLib.Signal @@ -111,7 +131,11 @@ + Method + + 2.12.0.0 + GLib.Signal @@ -131,7 +155,11 @@ + Method + + 2.12.0.0 + GLib.Signal @@ -141,18 +169,21 @@ - a - The signal name to look up. - event argument type. - Gets the marshaler for a signal on an object. - a - - + 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 diff --git a/doc/en/GLib/SignalArgs.xml b/doc/en/GLib/SignalArgs.xml index b7d40a86d..62c103877 100644 --- a/doc/en/GLib/SignalArgs.xml +++ b/doc/en/GLib/SignalArgs.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -18,7 +20,11 @@ + Constructor + + 2.12.0.0 + @@ -29,7 +35,11 @@ + Constructor + + 2.12.0.0 + @@ -43,7 +53,11 @@ + Constructor + + 2.12.0.0 + @@ -56,8 +70,12 @@ - + + Property + + 2.12.0.0 + System.Object[] @@ -71,8 +89,12 @@ - + + Property + + 2.12.0.0 + System.Object diff --git a/doc/en/GLib/SignalAttribute.xml b/doc/en/GLib/SignalAttribute.xml index 366b41c75..e080f2ccf 100644 --- a/doc/en/GLib/SignalAttribute.xml +++ b/doc/en/GLib/SignalAttribute.xml @@ -1,15 +1,22 @@ + 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 @@ -27,7 +34,11 @@ public event System.EventHandler Destroyed { add; remove; } + Constructor + + 2.12.0.0 + @@ -40,7 +51,11 @@ public event System.EventHandler Destroyed { add; remove; } + Property + + 2.12.0.0 + System.String @@ -51,9 +66,4 @@ public event System.EventHandler Destroyed { add; remove; } - - - System.AttributeUsage(System.AttributeTargets.Event, Inherited=false) - - diff --git a/doc/en/GLib/SignalCallback.xml b/doc/en/GLib/SignalCallback.xml index 3b9027201..bd5944fa2 100644 --- a/doc/en/GLib/SignalCallback.xml +++ b/doc/en/GLib/SignalCallback.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -27,7 +29,11 @@ + Constructor + + 2.12.0.0 + @@ -44,7 +50,11 @@ + Field + + 2.12.0.0 + System.Type @@ -56,7 +66,11 @@ + Field + + 2.12.0.0 + System.Delegate @@ -68,7 +82,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -81,7 +99,11 @@ + Field + + 2.12.0.0 + System.Collections.Hashtable @@ -93,7 +115,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -105,7 +131,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -117,7 +147,11 @@ + Field + + 2.12.0.0 + GLib.Object @@ -129,7 +163,11 @@ + Method + + 2.12.0.0 + System.Void @@ -144,7 +182,11 @@ + Method + + 2.12.0.0 + System.Void @@ -163,7 +205,11 @@ + Method + + 2.12.0.0 + System.Void @@ -175,7 +221,11 @@ + Method + + 2.12.0.0 + System.Void @@ -187,7 +237,11 @@ + Method + + 2.12.0.0 + System.Void @@ -202,7 +256,11 @@ + Method + + 2.12.0.0 + System.Void @@ -214,7 +272,11 @@ + Method + + 2.12.0.0 + System.Void diff --git a/doc/en/GLib/Simple.xml b/doc/en/GLib/Simple.xml deleted file mode 100644 index f4b12b421..000000000 --- a/doc/en/GLib/Simple.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - gio-sharp - - - System.Object - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/SimpleAsyncResult.xml b/doc/en/GLib/SimpleAsyncResult.xml deleted file mode 100644 index f2ebf6ad1..000000000 --- a/doc/en/GLib/SimpleAsyncResult.xml +++ /dev/null @@ -1,288 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - GLib.AsyncResult - - - - 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. - - - - - Constructor - - - - - - - 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.Void - - - - To be added. - To be added. - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Method - - GLib.SimpleAsyncResult - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - Property - - System.Int64 - - - To be added. - To be added. - To be added. - - - - - Method - - System.Boolean - - - - 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. - - - - - Method - - System.Void - - - - - - - - - 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. - - - - - Property - - GLib.Object - - - To be added. - To be added. - To be added. - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - diff --git a/doc/en/GLib/SimpleAsyncThreadFunc.xml b/doc/en/GLib/SimpleAsyncThreadFunc.xml deleted file mode 100644 index 5f724efe3..000000000 --- a/doc/en/GLib/SimpleAsyncThreadFunc.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/Source.xml b/doc/en/GLib/Source.xml index 3c4adaa2c..f9e1e685e 100644 --- a/doc/en/GLib/Source.xml +++ b/doc/en/GLib/Source.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Method + + 2.12.0.0 + System.Boolean diff --git a/doc/en/GLib/SpawnChildSetupFunc.xml b/doc/en/GLib/SpawnChildSetupFunc.xml index c409b8723..a0c564897 100644 --- a/doc/en/GLib/SpawnChildSetupFunc.xml +++ b/doc/en/GLib/SpawnChildSetupFunc.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Delegate diff --git a/doc/en/GLib/SpawnError.xml b/doc/en/GLib/SpawnError.xml index 720dfb3a6..126e80037 100644 --- a/doc/en/GLib/SpawnError.xml +++ b/doc/en/GLib/SpawnError.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -13,7 +15,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -23,7 +29,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -33,7 +43,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -43,7 +57,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -53,7 +71,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -63,7 +85,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -73,7 +99,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -83,7 +113,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -93,7 +127,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -103,7 +141,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -113,7 +155,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -123,7 +169,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -133,7 +183,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -143,7 +197,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -153,7 +211,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -163,7 +225,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -173,7 +239,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -183,7 +253,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -193,7 +267,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError @@ -203,7 +281,11 @@ + Field + + 2.12.0.0 + GLib.SpawnError diff --git a/doc/en/GLib/SpawnFlags.xml b/doc/en/GLib/SpawnFlags.xml index 51d51a3e9..350a3f39e 100644 --- a/doc/en/GLib/SpawnFlags.xml +++ b/doc/en/GLib/SpawnFlags.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Enum @@ -18,7 +20,11 @@ + Field + + 2.12.0.0 + GLib.SpawnFlags @@ -28,7 +34,11 @@ + Field + + 2.12.0.0 + GLib.SpawnFlags @@ -38,7 +48,11 @@ + Field + + 2.12.0.0 + GLib.SpawnFlags @@ -48,7 +62,11 @@ + Field + + 2.12.0.0 + GLib.SpawnFlags @@ -58,7 +76,11 @@ + Field + + 2.12.0.0 + GLib.SpawnFlags @@ -68,7 +90,11 @@ + Field + + 2.12.0.0 + GLib.SpawnFlags @@ -78,7 +104,11 @@ + Field + + 2.12.0.0 + GLib.SpawnFlags diff --git a/doc/en/GLib/ThemedIcon.xml b/doc/en/GLib/ThemedIcon.xml deleted file mode 100644 index 2dd0baff9..000000000 --- a/doc/en/GLib/ThemedIcon.xml +++ /dev/null @@ -1,197 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - GLib.Icon - - - - 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. - - - - - - Constructor - - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("names") - - - - System.String[] - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.ThemedIcon - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.ThemedIcon - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Property - - - GLib.Property("use-default-fallbacks") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Thread.xml b/doc/en/GLib/Thread.xml index cdb66026e..b33379611 100644 --- a/doc/en/GLib/Thread.xml +++ b/doc/en/GLib/Thread.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Method + + 2.12.0.0 + System.Void @@ -29,7 +35,11 @@ + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/GLib/Timeout.xml b/doc/en/GLib/Timeout.xml index 670eeedd7..8d1006a80 100644 --- a/doc/en/GLib/Timeout.xml +++ b/doc/en/GLib/Timeout.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -40,7 +42,11 @@ The diferance between GLib.Timeout and System.Windows.Forms.Timer is that Timeou + Method + + 2.12.0.0 + System.UInt32 @@ -63,24 +69,5 @@ Invocation of the delegate may be delayed by other event processing, so this mec - - - Method - - System.UInt32 - - - - - - - interval in seconds. - callback. - Installs a timeout handler for an interval given in seconds. - the source id. - - - - diff --git a/doc/en/GLib/TimeoutHandler.xml b/doc/en/GLib/TimeoutHandler.xml index 42ae38fe9..324255414 100644 --- a/doc/en/GLib/TimeoutHandler.xml +++ b/doc/en/GLib/TimeoutHandler.xml @@ -1,21 +1,23 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate - - Delegate used for Timeouts in the GLib main loop. - To be added. - Return to restart the timeout. Returning clears the timeout. - - System.Boolean + + Delegate used for Timeouts in the GLib main loop. + To be added. + Return to restart the timeout. Returning clears the timeout. + + diff --git a/doc/en/GLib/TypeConverter.xml b/doc/en/GLib/TypeConverter.xml index 792ca810e..4b387a111 100644 --- a/doc/en/GLib/TypeConverter.xml +++ b/doc/en/GLib/TypeConverter.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by explicit (GType) cast") + + GLib.GType @@ -30,11 +41,6 @@ a - - - System.Obsolete("Replaced by explicit (GType) cast") - - diff --git a/doc/en/GLib/TypeFundamentals.xml b/doc/en/GLib/TypeFundamentals.xml index e01d56d83..d07ff16e7 100644 --- a/doc/en/GLib/TypeFundamentals.xml +++ b/doc/en/GLib/TypeFundamentals.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -30,7 +36,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -43,7 +53,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -56,7 +70,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -69,7 +87,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -82,7 +104,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -95,7 +121,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -108,7 +138,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -121,7 +155,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -134,7 +172,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -147,7 +189,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -160,7 +206,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -173,7 +223,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -186,7 +240,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -199,7 +257,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -212,7 +274,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -225,7 +291,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -238,7 +308,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -251,7 +325,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -264,7 +342,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals @@ -277,7 +359,11 @@ + Field + + 2.12.0.0 + GLib.TypeFundamentals diff --git a/doc/en/GLib/TypeInitializerAttribute.xml b/doc/en/GLib/TypeInitializerAttribute.xml index 6affcc4c9..69de945ff 100644 --- a/doc/en/GLib/TypeInitializerAttribute.xml +++ b/doc/en/GLib/TypeInitializerAttribute.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Attribute @@ -19,7 +21,11 @@ + Constructor + + 2.12.0.0 + @@ -32,8 +38,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -44,8 +54,12 @@ - + + Property + + 2.12.0.0 + System.Type diff --git a/doc/en/GLib/UnhandledExceptionArgs.xml b/doc/en/GLib/UnhandledExceptionArgs.xml index 2f28d030e..2f4f61143 100644 --- a/doc/en/GLib/UnhandledExceptionArgs.xml +++ b/doc/en/GLib/UnhandledExceptionArgs.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.UnhandledExceptionEventArgs @@ -15,7 +17,11 @@ + Constructor + + 2.12.0.0 + @@ -28,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/GLib/UnhandledExceptionHandler.xml b/doc/en/GLib/UnhandledExceptionHandler.xml index e8f3d123c..5b6373f1b 100644 --- a/doc/en/GLib/UnhandledExceptionHandler.xml +++ b/doc/en/GLib/UnhandledExceptionHandler.xml @@ -1,7 +1,9 @@ + glib-sharp + 2.12.0.0 System.Delegate diff --git a/doc/en/GLib/UnwrappedObject.xml b/doc/en/GLib/UnwrappedObject.xml index f50b669ce..924d6529a 100644 --- a/doc/en/GLib/UnwrappedObject.xml +++ b/doc/en/GLib/UnwrappedObject.xml @@ -1,15 +1,22 @@ + 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 @@ -17,7 +24,11 @@ + Constructor + + 2.12.0.0 + @@ -30,7 +41,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -45,9 +60,4 @@ - - - System.Obsolete("Replaced by direct object-type casts to/from GLib.Value") - - diff --git a/doc/en/GLib/Value.xml b/doc/en/GLib/Value.xml index c43484d9c..2ad39da4a 100644 --- a/doc/en/GLib/Value.xml +++ b/doc/en/GLib/Value.xml @@ -1,9 +1,11 @@ + glib-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -22,7 +24,11 @@ + Constructor + + 2.12.0.0 + @@ -34,7 +40,11 @@ + Constructor + + 2.12.0.0 + @@ -47,7 +57,11 @@ + Constructor + + 2.12.0.0 + @@ -61,7 +75,11 @@ + Constructor + + 2.12.0.0 + @@ -75,20 +93,27 @@ + Constructor + + 2.12.0.0 + - a byte value. - Constructs a Value from a specified byte. - - + To be added. + To be added. + To be added. + Constructor + + 2.12.0.0 + @@ -102,7 +127,11 @@ + Constructor + + 2.12.0.0 + @@ -116,7 +145,11 @@ + Constructor + + 2.12.0.0 + @@ -129,7 +162,11 @@ + Constructor + + 2.12.0.0 + @@ -143,7 +180,11 @@ + Constructor + + 2.12.0.0 + @@ -157,20 +198,27 @@ + Constructor + + 2.12.0.0 + - an sbyte value. - Constructs a Value from a specified signed byte value. - - + To be added. + To be added. + To be added. + Constructor + + 2.12.0.0 + @@ -184,7 +232,11 @@ + Constructor + + 2.12.0.0 + @@ -198,7 +250,11 @@ + Constructor + + 2.12.0.0 + @@ -211,7 +267,11 @@ + Constructor + + 2.12.0.0 + @@ -225,7 +285,11 @@ + Constructor + + 2.12.0.0 + @@ -239,7 +303,11 @@ + Constructor + + 2.12.0.0 + @@ -252,7 +320,16 @@ + Constructor + + 2.12.0.0 + + + + System.Obsolete("Replaced by Value(object) constructor") + + @@ -265,15 +342,14 @@ - - - System.Obsolete("Replaced by Value(object) constructor") - - + Constructor + + 2.12.0.0 + @@ -288,7 +364,11 @@ + Constructor + + 2.12.0.0 + @@ -304,7 +384,16 @@ + Constructor + + 2.12.0.0 + + + + System.Obsolete + + @@ -318,15 +407,19 @@ Constructs a value initialized to a given enumerated type property. + + + + + Constructor + + 2.12.0.0 + System.Obsolete - - - - Constructor @@ -340,15 +433,14 @@ Constructs a value for an Opaque type. - - - System.Obsolete - - + Method + + 2.12.0.0 + System.Void @@ -361,7 +453,11 @@ + Field + + 2.12.0.0 + GLib.Value @@ -374,7 +470,11 @@ + Method + + 2.12.0.0 + System.Void @@ -389,7 +489,11 @@ + Method + + 2.12.0.0 + GLib.Boxed @@ -405,7 +509,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by Enum cast") + + GLib.EnumWrapper @@ -418,15 +531,14 @@ The enumeration value. - - - System.Obsolete("Replaced by Enum cast") - - + Method + + 2.12.0.0 + GLib.Object @@ -442,7 +554,11 @@ + Method + + 2.12.0.0 + GLib.Opaque @@ -458,7 +574,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by GLib.Object cast") + + GLib.UnwrappedObject @@ -471,15 +596,14 @@ The unwrapped object value. - - - System.Obsolete("Replaced by GLib.Object cast") - - + Method + + 2.12.0.0 + System.Boolean @@ -495,7 +619,11 @@ + Method + + 2.12.0.0 + System.Byte @@ -503,16 +631,19 @@ - a Value. - Extracts a byte value from a . - the byte value. - - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Double @@ -528,7 +659,11 @@ + Method + + 2.12.0.0 + System.Enum @@ -544,7 +679,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -560,7 +699,11 @@ + Method + + 2.12.0.0 + System.Int64 @@ -576,7 +719,11 @@ + Method + + 2.12.0.0 + System.IntPtr @@ -592,7 +739,11 @@ + Method + + 2.12.0.0 + System.SByte @@ -600,16 +751,19 @@ - a Value. - Extracts a signed byte value from a . - the signed byte value. - - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Single @@ -625,7 +779,11 @@ + Method + + 2.12.0.0 + System.String @@ -641,7 +799,11 @@ + Method + + 2.12.0.0 + System.String[] @@ -658,7 +820,11 @@ + Method + + 2.12.0.0 + System.UInt16 @@ -674,7 +840,11 @@ + Method + + 2.12.0.0 + System.UInt32 @@ -690,7 +860,11 @@ + Method + + 2.12.0.0 + System.UInt64 @@ -705,8 +879,12 @@ - + + Property + + 2.12.0.0 + System.Object diff --git a/doc/en/GLib/ValueArray.xml b/doc/en/GLib/ValueArray.xml index a7fb76395..3ddced199 100644 --- a/doc/en/GLib/ValueArray.xml +++ b/doc/en/GLib/ValueArray.xml @@ -1,8 +1,10 @@ + 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. @@ -29,7 +31,11 @@ + Constructor + + 2.12.0.0 + @@ -42,7 +48,11 @@ + Method + + 2.12.0.0 + System.Void @@ -57,7 +67,11 @@ + Property + + 2.12.0.0 + System.IntPtr @@ -70,7 +84,11 @@ + Method + + 2.12.0.0 + System.Object @@ -83,7 +101,11 @@ + Method + + 2.12.0.0 + System.Void @@ -100,7 +122,11 @@ + Property + + 2.12.0.0 + System.Int32 @@ -113,7 +139,11 @@ + Method + + 2.12.0.0 + System.Void @@ -125,19 +155,27 @@ + Method + + 2.12.0.0 + System.Void - Finalizer. - + To be added. + To be added. + Method + + 2.12.0.0 + System.Collections.IEnumerator @@ -150,7 +188,11 @@ + Property + + 2.12.0.0 + System.IntPtr @@ -163,7 +205,11 @@ + Method + + 2.12.0.0 + System.Void @@ -180,7 +226,11 @@ + Property + + 2.12.0.0 + System.Boolean @@ -193,7 +243,11 @@ + Property + + 2.12.0.0 + System.Object @@ -209,7 +263,11 @@ + Method + + 2.12.0.0 + System.Void @@ -224,7 +282,11 @@ + Method + + 2.12.0.0 + System.Void @@ -239,7 +301,11 @@ + Property + + 2.12.0.0 + System.Object diff --git a/doc/en/GLib/Vfs.xml b/doc/en/GLib/Vfs.xml deleted file mode 100644 index a9e0a7dbd..000000000 --- a/doc/en/GLib/Vfs.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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.Vfs - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Vfs - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.File - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/Volume.xml b/doc/en/GLib/Volume.xml deleted file mode 100644 index d0ee89539..000000000 --- a/doc/en/GLib/Volume.xml +++ /dev/null @@ -1,269 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - To be added. - To be added. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Event - - System.EventHandler - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Mount - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Event - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/VolumeAdapter.xml b/doc/en/GLib/VolumeAdapter.xml deleted file mode 100644 index 7bca32b02..000000000 --- a/doc/en/GLib/VolumeAdapter.xml +++ /dev/null @@ -1,396 +0,0 @@ - - - - gio-sharp - - - GLib.GInterfaceAdapter - - - - GLib.IWrapper - - - GLib.Volume - - - - To be added. - To be added. - - - - - - Constructor - - - 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. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Volume - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Volume - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Property - - System.IntPtr - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.VolumeImplementor - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Mount - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("removed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/VolumeAddedArgs.xml b/doc/en/GLib/VolumeAddedArgs.xml deleted file mode 100644 index ef2c3893e..000000000 --- a/doc/en/GLib/VolumeAddedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Volume - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/VolumeAddedHandler.xml b/doc/en/GLib/VolumeAddedHandler.xml deleted file mode 100644 index a6c64c84d..000000000 --- a/doc/en/GLib/VolumeAddedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/VolumeChangedArgs.xml b/doc/en/GLib/VolumeChangedArgs.xml deleted file mode 100644 index 511d3ff1b..000000000 --- a/doc/en/GLib/VolumeChangedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Volume - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/VolumeChangedHandler.xml b/doc/en/GLib/VolumeChangedHandler.xml deleted file mode 100644 index 53dc68848..000000000 --- a/doc/en/GLib/VolumeChangedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/GLib/VolumeImplementor.xml b/doc/en/GLib/VolumeImplementor.xml deleted file mode 100644 index aed0708ef..000000000 --- a/doc/en/GLib/VolumeImplementor.xml +++ /dev/null @@ -1,250 +0,0 @@ - - - - gio-sharp - - - - GLib.IWrapper - - - - - GLib.GInterface(typeof(GLib.VolumeAdapter)) - - - - To be added. - To be added. - - - - - - Property - - GLib.File - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Drive - - - 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. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - To be added. - To be added. - To be added. - - - - - - Method - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Icon - - - To be added. - To be added. - To be added. - - - - - - Property - - GLib.Mount - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - 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. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/VolumeMonitor.xml b/doc/en/GLib/VolumeMonitor.xml deleted file mode 100644 index 86b92ebf7..000000000 --- a/doc/en/GLib/VolumeMonitor.xml +++ /dev/null @@ -1,593 +0,0 @@ - - - - gio-sharp - - - GLib.Object - - - - To be added. - To be added. - - - - - - 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. - - - - - - Method - - GLib.Volume - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("drive-changed") - - - - GLib.DriveChangedHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("drive-connected") - - - - GLib.DriveConnectedHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("drive-disconnected") - - - - GLib.DriveDisconnectedHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("drive-eject-button") - - - - GLib.DriveEjectButtonHandler - - - To be added. - To be added. - - - - - - Method - - GLib.VolumeMonitor - - - - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Mount - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - GLib.Volume - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("mount-added") - - - - GLib.MountAddedHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("mount-changed") - - - - GLib.MountChangedHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("mount-pre-unmount") - - - - GLib.MountPreUnmountHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("mount-removed") - - - - GLib.MountRemovedHandler - - - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveChanged", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveConnected", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveDisconnected", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveEjectButton", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideMountAdded", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideMountChanged", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideMountPreUnmount", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideMountRemoved", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumeAdded", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumeChanged", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Method - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumeRemoved", Type=typeof(GLib.VolumeMonitor)) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - - Event - - - GLib.Signal("volume-added") - - - - GLib.VolumeAddedHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("volume-changed") - - - - GLib.VolumeChangedHandler - - - To be added. - To be added. - - - - - - Event - - - GLib.Signal("volume-removed") - - - - GLib.VolumeRemovedHandler - - - To be added. - To be added. - - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/VolumeRemovedArgs.xml b/doc/en/GLib/VolumeRemovedArgs.xml deleted file mode 100644 index 6ae9f09c9..000000000 --- a/doc/en/GLib/VolumeRemovedArgs.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - gio-sharp - - - GLib.SignalArgs - - - - To be added. - To be added. - - - - - - Constructor - - - To be added. - To be added. - - - - - - Property - - GLib.Volume - - - To be added. - To be added. - To be added. - - - - - diff --git a/doc/en/GLib/VolumeRemovedHandler.xml b/doc/en/GLib/VolumeRemovedHandler.xml deleted file mode 100644 index 7db281802..000000000 --- a/doc/en/GLib/VolumeRemovedHandler.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - gio-sharp - - - System.Delegate - - - - - - - System.Void - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/Gdk/AreaUpdatedArgs.xml b/doc/en/Gdk/AreaUpdatedArgs.xml index 2032a7997..156e318de 100644 --- a/doc/en/Gdk/AreaUpdatedArgs.xml +++ b/doc/en/Gdk/AreaUpdatedArgs.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -52,26 +65,34 @@ - - + + + Property + + 2.12.0.0 + System.Int32 - The Y coordinate of the upper left point in the updated area. + The X coordinate of the upper left point in the updated area. A - - + + + Property + + 2.12.0.0 + System.Int32 - The X coordinate of the upper left point in the updated area. + The Y coordinate of the upper left point in the updated area. A diff --git a/doc/en/Gdk/AreaUpdatedHandler.xml b/doc/en/Gdk/AreaUpdatedHandler.xml index f0a8c0538..af3903975 100644 --- a/doc/en/Gdk/AreaUpdatedHandler.xml +++ b/doc/en/Gdk/AreaUpdatedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gdk/Atom.xml b/doc/en/Gdk/Atom.xml index 23ed53c86..b16e36b23 100644 --- a/doc/en/Gdk/Atom.xml +++ b/doc/en/Gdk/Atom.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,20 +8,43 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An opaque type representing a string as an index into a table of strings on the X server. - - - 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 @@ -29,31 +53,20 @@ - Finds or creates an corresponding to a given string. 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. - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - + + Property + + 2.12.0.0 + System.String @@ -66,7 +79,11 @@ + Method + + 2.12.0.0 + System.String diff --git a/doc/en/Gdk/AxisUse.xml b/doc/en/Gdk/AxisUse.xml index b07192682..476dacbd2 100644 --- a/doc/en/Gdk/AxisUse.xml +++ b/doc/en/Gdk/AxisUse.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,10 +16,18 @@ 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 @@ -33,93 +38,121 @@ - - + + + Field + + 2.12.0.0 + Gdk.AxisUse - The axis is used as the x axis. + A constant equal to the numerically highest axis value. - - + + + Field + + 2.12.0.0 + Gdk.AxisUse - The axis is used as the y axis. + The axis is used for pressure information. - - + + + Field + + 2.12.0.0 + Gdk.AxisUse - The axis is used for pressure information. + The axis is used for wheel information. - - + + + Field + + 2.12.0.0 + Gdk.AxisUse - The axis is used for x tilt information. + The axis is used as the x axis. - - + + + Field + + 2.12.0.0 + Gdk.AxisUse - The axis is used for y tilt information. + The axis is used for x tilt information. - - + + + Field + + 2.12.0.0 + Gdk.AxisUse - The axis is used for wheel information. + The axis is used as the y axis. - - + + + Field + + 2.12.0.0 + Gdk.AxisUse - A constant equal to the numerically highest axis value. + The axis is used for y tilt information. diff --git a/doc/en/Gdk/BRESINFO.xml b/doc/en/Gdk/BRESINFO.xml index a4cc1ec12..d47ff24b2 100644 --- a/doc/en/Gdk/BRESINFO.xml +++ b/doc/en/Gdk/BRESINFO.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,46 +8,39 @@ 2.12.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 + + To be added + To be added + - - + + + Field + + 2.12.0.0 + - Gdk.BRESINFO - - - - To be added - To be added - - - - - Method - - Gdk.BRESINFO + System.Int32 - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gdk.BRESINFO' To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -57,9 +51,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -72,7 +70,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -85,7 +87,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -96,9 +102,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -109,14 +119,37 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + 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 diff --git a/doc/en/Gdk/ByteOrder.xml b/doc/en/Gdk/ByteOrder.xml index 5c15322f5..a455e1e41 100644 --- a/doc/en/Gdk/ByteOrder.xml +++ b/doc/en/Gdk/ByteOrder.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A set of values describing the possible byte-orders for storing pixel values in memory. - - System.Enum @@ -19,10 +16,18 @@ 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 @@ -34,7 +39,11 @@ + Field + + 2.12.0.0 + Gdk.ByteOrder diff --git a/doc/en/Gdk/CairoHelper.xml b/doc/en/Gdk/CairoHelper.xml index d375e70a5..8e87481cb 100644 --- a/doc/en/Gdk/CairoHelper.xml +++ b/doc/en/Gdk/CairoHelper.xml @@ -1,5 +1,6 @@ + gdk-sharp 2.12.0.0 @@ -8,36 +9,52 @@ System.Object + + Cairo backend API methods. + + + + Constructor + + 2.12.0.0 + Do not use. - - + + + Method + + 2.12.0.0 + - System.Void + Cairo.Context - - + - a cairo context. - a . - Adds a region to the current path of the context. + a Gdk drawable. + Creates a cairo context for a drawable. + the cairo context. + Method + + 2.12.0.0 + System.Void @@ -52,63 +69,80 @@ - - + + + 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. + a . + Adds a region to the current path of the context. - - + + + Method + + 2.12.0.0 + - Cairo.Context + System.Void - + + - a Gdk drawable. - Creates a cairo context for a drawable. - the cairo context. + a cairo context. + a color. + Sets the source color for the Cairo context. - - + + + Method + + 2.12.0.0 + System.Void - + + + a cairo context. - a color. - Sets the source color for the 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 @@ -129,9 +163,4 @@ - - Cairo backend API methods. - - - diff --git a/doc/en/Gdk/CapStyle.xml b/doc/en/Gdk/CapStyle.xml index 6cba25248..5782da4a1 100644 --- a/doc/en/Gdk/CapStyle.xml +++ b/doc/en/Gdk/CapStyle.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines how the end of lines are drawn. - None. - System.Enum @@ -19,55 +16,75 @@ GLib.GType(typeof(Gdk.CapStyleGType)) + + Determines how the end of lines are drawn. + None. + - - + + + 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. + 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 ends of the lines are drawn squared off and extending to the coordinates of the end point. + 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 as semicircles with the diameter equal to the line width and centered at the end point. + 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 squared off and extending half the width of the line beyond the end point. + The ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point. diff --git a/doc/en/Gdk/Char.xml b/doc/en/Gdk/Char.xml index 409f2fe13..a3d25693a 100644 --- a/doc/en/Gdk/Char.xml +++ b/doc/en/Gdk/Char.xml @@ -1,24 +1,48 @@ + 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 - - System.Object - - + + + + Constructor + + 2.12.0.0 + + + + + To be added + To be added + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Int32 @@ -27,34 +51,52 @@ - To be added a a + To be added a To be added - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Int32 - + - To be added a - a + a + To be added a To be added - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Int32 @@ -63,38 +105,37 @@ - To be added a a + To be added a To be added - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Int32 - + - To be added a - a - a - To be added - - - - - Constructor - - - + a To be added + a To be added diff --git a/doc/en/Gdk/ClosedArgs.xml b/doc/en/Gdk/ClosedArgs.xml index e5ff8fd78..91c4a4765 100644 --- a/doc/en/Gdk/ClosedArgs.xml +++ b/doc/en/Gdk/ClosedArgs.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gdk/ClosedHandler.xml b/doc/en/Gdk/ClosedHandler.xml index 7bbb3e8ea..bcbf68df5 100644 --- a/doc/en/Gdk/ClosedHandler.xml +++ b/doc/en/Gdk/ClosedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gdk/Color.xml b/doc/en/Gdk/Color.xml index 5587b2a11..8b9b1307c 100644 --- a/doc/en/Gdk/Color.xml +++ b/doc/en/Gdk/Color.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,10 @@ 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. @@ -39,26 +44,14 @@ - - System.ValueType - - - - - Field - - Gdk.Color - - - - Unallocated, empty color. - - - + Constructor + + 2.12.0.0 + @@ -66,10 +59,10 @@ - Color constructor from RGB byte values 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, @@ -103,204 +96,256 @@ - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - Gdk.Color + System.Int32 - + + - Creates a color from an unmanaged location. - A pointer to the unmanaged GdkColor structure. - 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. - - + a + a + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Boolean + System.Int32 - + + - Compares whether two colors are equal. - The color to compare - 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. - - + a + a + To be added + a + To be added + - - - Property + + + + Field + + 2.12.0.0 + - GLib.GType + System.UInt16 - + + - The GLib.GType for Gdk.Color - a - The GLib.GType for the Gdk.Color class. + Blue element of the color. + - - - Field + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.UInt32 + System.Int32 + + - 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. - - + a + a + To be added + a + To be added + - - - Field + + + + Method + + 2.12.0.0 + - System.UInt16 + System.Boolean + - Red element of the color. - + 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. + + - - - Field + + + + Method + + 2.12.0.0 + - System.UInt16 + System.Int32 - - + - Green element of the color. - + To be added. + To be added. + To be added. - - + + + Field + + 2.12.0.0 + System.UInt16 - Blue element of the color. + Green element of the color. - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - - - - + - To be added - a - a - a - To be added - + The GLib.GType for Gdk.Color + a + The GLib.GType for the Gdk.Color class. - - + + + Method + + 2.12.0.0 + - System.Int32 + Gdk.Color - - + - To be added - a - a - a - To be added - + 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 + - System.Int32 + GLib.Value - - + - To be added - a - a - a - To be added - + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Int32 + Gdk.Color - - + - To be added - a - a - a - To be added - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Boolean @@ -319,36 +364,110 @@ - - - Method + + + + Field + + 2.12.0.0 + - GLib.Value + System.UInt32 - - To be added. + 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 + + - Gdk.Color + System.Int32 - + + - To be added. - To be added. - To be added. - To be added. + a + a + To be added + a + To be added + + + + + + + Field + + 2.12.0.0 + + + Gdk.Color + + + + Unallocated, empty color. + diff --git a/doc/en/Gdk/Colormap.xml b/doc/en/Gdk/Colormap.xml index bc4d59ece..d47f44ca1 100644 --- a/doc/en/Gdk/Colormap.xml +++ b/doc/en/Gdk/Colormap.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,26 +8,52 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A structure that contains different colors. - None. - 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -34,78 +61,128 @@ + Constructor + + 2.12.0.0 + - Creates a new colormap for the given visual. 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. - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Colormap + System.Boolean + + + + + - Gets the system's default colormap for the default screen. - The system's default colormap for the default screen. + 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. - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Visual + System.Int32 + + + + + + + - Returns the visual for which a given colormap was created. - The of the colormap. + 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.Boolean + System.Void - - - + - Allocates a single color from a colormap. - 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. - True if the allocation succeeded. - None. + a + To be added + To be added + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Screen + System.Void + + + + - Gets the screen for which this colormap was created. - The screen for which this colormap was created. + The colors to free. + The number of colors in colors. + Frees previously allocated colors. None. - + + Property + + 2.12.0.0 + GLib.GType @@ -118,7 +195,11 @@ + Method + + 2.12.0.0 + System.Void @@ -127,108 +208,122 @@ - Locates the RGB color in the colormap corresponding to the given hardware pixel. 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 + + - System.Void + Gdk.Colormap - - - - + - Frees previously allocated colors. - The colors to free. - The number of colors in colors. - None. + To be added + a + To be added + - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + Gdk.Screen - - - - - - - - Allocates colors from a colormap. - 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. - The number of colors that were not successfully allocated. + Gets the screen for which this colormap was created. + The screen for which this colormap was created. None. - - - Constructor - - - - - - Internal constructor - a - 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. - - - - System.Obsolete - - - - - + + + Property + + 2.12.0.0 + System.Int32 - To be added - a - To be added + 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 - - - - Method - Gdk.Colormap + System.Int32 To be added - a + a To be added + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -239,35 +334,20 @@ - - - Method - - System.Void - - - - - - To be added - a - To be added - - - - - + + + Property + + 2.12.0.0 + - System.Int32 + Gdk.Visual - - The size of the - The size of the - - - + Returns the visual for which a given colormap was created. + The of the colormap. + None. diff --git a/doc/en/Gdk/Colorspace.xml b/doc/en/Gdk/Colorspace.xml index 73babdd71..0bba89fdb 100644 --- a/doc/en/Gdk/Colorspace.xml +++ b/doc/en/Gdk/Colorspace.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.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 @@ -19,10 +16,18 @@ GLib.GType(typeof(Gdk.ColorspaceGType)) + + To be added + To be added + + Field + + 2.12.0.0 + Gdk.Colorspace diff --git a/doc/en/Gdk/CrossingMode.xml b/doc/en/Gdk/CrossingMode.xml index 6f169ec4d..1df1d5e40 100644 --- a/doc/en/Gdk/CrossingMode.xml +++ b/doc/en/Gdk/CrossingMode.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the crossing mode for - None. - System.Enum @@ -19,36 +16,52 @@ GLib.GType(typeof(Gdk.CrossingModeGType)) + + Specifies the crossing mode for + None. + - - + + + Field + + 2.12.0.0 + Gdk.CrossingMode - Crossing because of pointer motion. + Crossing because a grab is activated. - - + + + Field + + 2.12.0.0 + Gdk.CrossingMode - Crossing because a grab is activated. + Crossing because of pointer motion. + Field + + 2.12.0.0 + Gdk.CrossingMode diff --git a/doc/en/Gdk/Cursor.xml b/doc/en/Gdk/Cursor.xml index 00156cd4f..f1f3f5452 100644 --- a/doc/en/Gdk/Cursor.xml +++ b/doc/en/Gdk/Cursor.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,99 +8,102 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Standard and pixmap cursors - The represents cursors. - GLib.Opaque + + Standard and pixmap cursors + The represents cursors. + - - - Method - - Gdk.Cursor - - - - Adds a reference to the cursor - Same cursor that was passed in. - - - - - - Method - - System.Void - - - - Removes a reference from cursor, deallocating the cursor if no references remain. - - - - - - Property - - Gdk.Display - + + + + Constructor + + 2.12.0.0 + + + + + - Returns the display on which the is defined. - The where the cursor is defined. - + 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 + - Internal constructor. raw managed pointer. + Internal constructor. This is an internal constructor, do not use it. - + + Constructor + + 2.12.0.0 + + - Creates a cursor from standard definitions. - The cursor type. - 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. - + 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 + - + + + - Creates a new cursor from the set of builtin cursors. - The for which the cursor will be created. - Cursor to create. - None. + a + a + a + a + To be added + To be added + + Constructor + + 2.12.0.0 + @@ -110,13 +114,13 @@ To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create a curso - Creates a new cursor from a given pixmap and mask. 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. @@ -127,54 +131,62 @@ Gdk.Cursor cursor = new Gdk.Cursor (pixmap, mask); - - + + + Property + + 2.12.0.0 + - GLib.GType + Gdk.Display - - GType Property. - a - Returns the native value for . + Returns the display on which the is defined. + The where the cursor is defined. + - - - Constructor - - - - - - - + + + + Method + + 2.12.0.0 + + + System.Void + + - To be added - a - a - a - a - To be added - + To be added. + To be added. - - + + + Property + + 2.12.0.0 + - Gdk.CursorType + GLib.GType + - To be added. - To be added. - To be added. + GType Property. + a + Returns the native value for . - + + Property + + 2.12.0.0 + Gdk.Pixbuf @@ -187,7 +199,11 @@ Gdk.Cursor cursor = new Gdk.Cursor (pixmap, mask); + Method + + 2.12.0.0 + Gdk.Cursor @@ -204,5 +220,102 @@ Gdk.Cursor cursor = new Gdk.Cursor (pixmap, mask); + + + + 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. + + diff --git a/doc/en/Gdk/CursorType.xml b/doc/en/Gdk/CursorType.xml index 56ff89d7f..ca8cfe0e7 100644 --- a/doc/en/Gdk/CursorType.xml +++ b/doc/en/Gdk/CursorType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,23 +16,18 @@ 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 - - Gdk.CursorType - - - - To be added - - - - + Field + + 2.12.0.0 + Gdk.CursorType @@ -48,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -61,7 +57,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -74,7 +74,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -87,7 +91,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -100,7 +108,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -113,7 +125,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -126,7 +142,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -139,7 +159,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -152,7 +176,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -165,7 +193,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -178,7 +210,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -191,7 +227,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -204,7 +244,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -217,7 +261,28 @@ + + Field + + 2.12.0.0 + + + Gdk.CursorType + + + + To be added + + + + + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -230,7 +295,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -241,9 +310,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -256,7 +329,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -269,7 +346,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -282,7 +363,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -295,7 +380,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -308,7 +397,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -321,7 +414,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -334,7 +431,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -347,7 +448,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -360,7 +465,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -373,7 +482,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -386,7 +499,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -399,7 +516,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -412,7 +533,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -425,7 +550,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -438,7 +567,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -451,7 +584,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -462,9 +599,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -475,9 +616,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -488,9 +633,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -501,9 +650,30 @@ - - + + + + Field + + 2.12.0.0 + + + Gdk.CursorType + + + + To be added + + + + + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -516,7 +686,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -529,7 +703,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -542,7 +720,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -555,7 +737,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -568,7 +754,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -581,7 +771,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -594,7 +788,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -607,7 +805,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -620,7 +822,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -631,9 +837,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -644,9 +854,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -657,9 +871,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -670,9 +888,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -685,7 +907,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -698,7 +924,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -711,7 +941,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -724,7 +958,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -737,7 +975,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -750,7 +992,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -763,7 +1009,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -776,7 +1026,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -789,7 +1043,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -802,7 +1060,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -815,7 +1077,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -828,7 +1094,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -841,7 +1111,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -854,7 +1128,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -867,7 +1145,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -880,7 +1162,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -893,7 +1179,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -906,7 +1196,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -919,7 +1213,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -932,7 +1230,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -945,7 +1247,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -958,7 +1264,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -971,7 +1281,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -984,7 +1298,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -997,7 +1315,11 @@ + Field + + 2.12.0.0 + Gdk.CursorType @@ -1008,22 +1330,13 @@ - - - Field - - Gdk.CursorType - - - - To be added - - - - - - + + + Field + + 2.12.0.0 + Gdk.CursorType @@ -1034,9 +1347,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.CursorType diff --git a/doc/en/Gdk/DestroyNotify.xml b/doc/en/Gdk/DestroyNotify.xml index fc802c700..9aa3c5d5e 100644 --- a/doc/en/Gdk/DestroyNotify.xml +++ b/doc/en/Gdk/DestroyNotify.xml @@ -1,21 +1,22 @@ + gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A callback function called when a piece of user data is no longer being stored by GDK. - None. - System.Delegate - System.Void + + A callback function called when a piece of user data is no longer being stored by GDK. + None. + + diff --git a/doc/en/Gdk/Device.xml b/doc/en/Gdk/Device.xml index 7f6f604fb..e7df3f58d 100644 --- a/doc/en/Gdk/Device.xml +++ b/doc/en/Gdk/Device.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,50 +8,78 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This class contains a detailed description of an extended input device. - None. - GLib.Object + + This class contains a detailed description of an extended input device. + None. + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + + Internal constructor. + None. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - To be added - To be added: an object of type 'Gdk.InputMode' - To be added: an object of type 'bool' - To be added + 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 + - Internal constructor 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 @@ -60,112 +89,158 @@ None. - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - - + + + + a + a + a To be added - a - a - a + a To be added - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.DeviceAxis - - + + a To be added - a - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + Gdk.DeviceKey - + + + - GType Property. - a - Returns the native value for . + a + To be added + a + To be added - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.TimeCoord[] + - + + + - Internal constructor - a - 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. + a + a + a + To be added + a + To be added - - - System.Obsolete - - - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + + + - Internal constructor. - None. + a + a + a + To be added + To be added - - + + + Property + + 2.12.0.0 + - System.String + GLib.GType - To be added - a - To be added + GType Property. + a + Returns the native value for . - - + + + Property + + 2.12.0.0 + - Gdk.InputSource + System.Boolean To be added - a + a To be added - + + Property + + 2.12.0.0 + Gdk.InputMode @@ -176,22 +251,30 @@ To be added - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String To be added - a + a To be added - + + Property + + 2.12.0.0 + System.Int32 @@ -203,8 +286,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -215,94 +302,84 @@ To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + - + a + a To be added - a - a - a - a To be added - - + + + Method + + 2.12.0.0 + System.Void - - - - - - To be added - a - a - a - To be added - - - - - Method - - Gdk.DeviceAxis - - - + + + + a + a + a To be added - a - a To be added - - + + + Method + + 2.12.0.0 + - Gdk.DeviceKey + System.Boolean - + + To be added: an object of type 'Gdk.InputMode' To be added - a - a + To be added: an object of type 'bool' To be added - - - Method + + + + Property + + 2.12.0.0 + - Gdk.TimeCoord[] + Gdk.InputSource - - - - - + To be added - a - a - a - a + a To be added diff --git a/doc/en/Gdk/DeviceAxis.xml b/doc/en/Gdk/DeviceAxis.xml index 29ab2451d..a2083e5cd 100644 --- a/doc/en/Gdk/DeviceAxis.xml +++ b/doc/en/Gdk/DeviceAxis.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,30 +8,56 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Contains information about the range and mapping of a device axis. - To be added - System.ValueType + + Contains information about the range and mapping of a device axis. + To be added + - - + + + Field + + 2.12.0.0 + - Gdk.DeviceAxis + System.Double - + + - To be added + 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 @@ -38,48 +65,59 @@ - To be added To be added: an object of type 'IntPtr' + To be added To be added: an object of type 'Gdk.DeviceAxis' To be added - - - Field + + + + Method + + 2.12.0.0 + - Gdk.AxisUse + System.String - - + - Specifies how the axis is used. - To be added + To be added. + To be added. + To be added. - - + + + Field + + 2.12.0.0 + - System.Double + Gdk.AxisUse - Minimal value that will be reported by this axis. + Specifies how the axis is used. To be added - - + + + Field + + 2.12.0.0 + - System.Double + Gdk.DeviceAxis - - + - Maximal value that will be reported by this axis. + To be added To be added diff --git a/doc/en/Gdk/DeviceKey.xml b/doc/en/Gdk/DeviceKey.xml index d380766f1..babd8b14c 100644 --- a/doc/en/Gdk/DeviceKey.xml +++ b/doc/en/Gdk/DeviceKey.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,66 +8,82 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Contains information about the mapping of one device macro button onto a normal X key event. - To be added - 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 + - Gdk.DeviceKey + System.UInt32 - + + - To be added + Keyval to generate when the macro button is pressed. If this is 0, no keypress will be generated. To be added - - - Method + + + + Field + + 2.12.0.0 + - Gdk.DeviceKey + Gdk.ModifierType - - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gdk.DeviceKey' + The modifiers set for the generated key event. To be added - - - Field + + + + Method + + 2.12.0.0 + - System.UInt32 + Gdk.DeviceKey + - Keyval to generate when the macro button is pressed. If this is 0, no keypress will be generated. + 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.ModifierType + Gdk.DeviceKey - - + - The modifiers set for the generated key event. + To be added To be added diff --git a/doc/en/Gdk/Display.xml b/doc/en/Gdk/Display.xml index e8c965d6a..e3df1a4b9 100644 --- a/doc/en/Gdk/Display.xml +++ b/doc/en/Gdk/Display.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 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. @@ -26,62 +32,67 @@ 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. - - GLib.Object - - - - - - Method - - Gdk.Display - + + + + Constructor + + 2.12.0.0 + + - 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. - + To be added + To be added - - - Method - - Gdk.Display - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Opens a display. - a - the name of the display to open - a , or null if the display could not be opened. - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Appends the given event onto the front of the event queue for display. - a to be appended onto the front of the event queue. - To be added + a + Internal constructor + This is not typically used by C# code. + Method + + 2.12.0.0 + System.Void @@ -90,28 +101,19 @@ - Adds a filter to be called when X ClientMessage events are received. a representing the type of ClientMessage events to receive. a to call to process the event. - To be added - - - - - Method - - System.Boolean - - - - Test if the pointer is grabbed. - a that is true if an active X pointer grab is in effect. + Adds a filter to be called when X ClientMessage events are received. To be added + Method + + 2.12.0.0 + System.Void @@ -121,22 +123,13 @@ To be added - - - Method - - 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.Void @@ -146,131 +139,135 @@ To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("closed") + + - Gdk.Screen + Gdk.ClosedHandler - - - + - Returns a screen object for one of the screens of the display. - a representing the screen number - a - To be added + This event is emitted when the connect to the windowing system is closed. + None. - - - Method + + + + Property + + 2.12.0.0 + - Gdk.DisplayPointerHooks + Gdk.Device - - - - - - 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. - - + Returns the core pointer device for the given display. + The core pointer for the display. + To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Display - - - - Release any keyboard grab. - a representing a a timestap. + Get the default for the display. + the default object for display. To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.UInt32 - - - + - Release any pointer grab. - a representing a a timestap. + To be added + a To be added + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Window To be added + a To be added + - - - Constructor - - - - - - Internal constructor - a - This is not typically used by C# code. - - - - + + + Property + + 2.12.0.0 + - Gdk.Display + Gdk.Screen - Get the default for the display. - the default object for display. + The default screen.. + The screen represending the DefaultScreen. To be added - - + + + Property + + 2.12.0.0 + - System.String + System.UInt32 - The name of the display - A representing the - display name. - - + To be added + a + To be added + - + + Property + + 2.12.0.0 + System.UInt32 @@ -287,75 +284,141 @@ - - + + + Property + + 2.12.0.0 + - Gdk.Screen + Gdk.Event - The default screen.. - The screen represending the DefaultScreen. + To be added. + + To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Device + System.Void + - Returns the core pointer device for the given display. - The core pointer for the display. + To be added To be added + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Event + System.Void + + + + - To be added. - - + a + a + To be added To be added + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + + + + a + a To be added - a To be added - - - Event + + + + Method + + 2.12.0.0 + - Gdk.ClosedHandler + System.Void - + + + + + - This event is emitted when the connect to the windowing system is closed. - None. + 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 - - - GLib.Signal("closed") - - + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -366,18 +429,67 @@ - Gets the current location of the pointer and the - current modifier mask for a given display. 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 @@ -386,9 +498,9 @@ - Obtains the window underneath the mouse pointer. 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 @@ -397,8 +509,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -409,42 +525,32 @@ To be added - - + + + Method + + 2.12.0.0 + 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. + a representing a a timestap. + Release any keyboard grab. + To be added - - - System.Obsolete - - + Method + + 2.12.0.0 + Gdk.Device[] @@ -455,212 +561,233 @@ To be added - - - Constructor - - - - To be added - To be added - - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - - - - To be added - a - a - a - a - To be added + The name of the display + A representing the + display name. + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - To be added - a - a + a To be added - - + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideClosed", Type=typeof(Gdk.Display)) + + System.Void - - - + - To be added - a - a - a - To be added + 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 + Gdk.Display - - - + - To be added - a - a - a + a - the name of the display to open + Opens a display. + a , or null if the display could not be opened. To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Window + Gdk.Display - To be added - a - To be added - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.UInt32 + Gdk.Event + - To be added - a + 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 - - - - Property + + + + Method + + 2.12.0.0 + - System.UInt32 + System.Boolean - To be added - a + 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 - - + - To be added - a - a - To be added - - - - - - Method - - System.Boolean - - - - To be added - a + a representing a a timestap. + Release any pointer grab. To be added - - - + + + Method + + 2.12.0.0 + System.Void - + + + - To be added + 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 + - System.Boolean + Gdk.DisplayPointerHooks - + - To be added - a - a - To be added - + 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 @@ -671,18 +798,22 @@ - To be added a a a a + To be added To be added - - + + + Method + + 2.12.0.0 + System.Boolean @@ -694,9 +825,30 @@ - - + + + + Property + + 2.12.0.0 + + + System.Boolean + + + Indicates if Compositing is supported. + If compositing is supported, , otherwise . + + + + + + + Method + + 2.12.0.0 + System.Boolean @@ -705,32 +857,34 @@ To be added a To be added - + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - - - - + - 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. - + To be added + a + To be added + - + + Property + + 2.12.0.0 + System.Boolean @@ -741,9 +895,31 @@ + + + + Method + + 2.12.0.0 + + + System.Boolean + + + + To be added + a + To be added + + + - + + Property + + 2.12.0.0 + System.Boolean @@ -754,17 +930,44 @@ - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - Indicates if Compositing is supported. - If compositing is supported, , otherwise . - - + 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. + diff --git a/doc/en/Gdk/DisplayManager.xml b/doc/en/Gdk/DisplayManager.xml index f85d1bdaf..888411096 100644 --- a/doc/en/Gdk/DisplayManager.xml +++ b/doc/en/Gdk/DisplayManager.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,45 +8,81 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The purpose of this class is to offer notification when displays appear or disappear or the default display changes. - To be added - GLib.Object + + The purpose of this class is to offer notification when displays appear or disappear or the default display changes. + To be added + - - - Method - - Gdk.DisplayManager - + + + + Constructor + + 2.12.0.0 + + - Returns the global DisplayManager instance. - The global instance. - This is the only valid way to access this class. + 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 + - Internal constructor. 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 @@ -56,15 +93,19 @@ The default . None. - - - GLib.Property("default-display") - - + Event + + 2.12.0.0 + + + + GLib.Signal("display_opened") + + Gdk.DisplayOpenedHandler @@ -73,15 +114,31 @@ Event emitted when a display is opened. None. - - - GLib.Signal("display_opened") - - + + + + + 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 @@ -92,42 +149,13 @@ Returns the native value for . - - - 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 - - - + Method + + 2.12.0.0 + Gdk.Display[] @@ -138,14 +166,28 @@ None. - - - Constructor - - + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisplayOpened", Type=typeof(Gdk.DisplayManager)) + + + + System.Void + + + + - Do not use. - This object is a singleton object, and should be accessed through instead of creating a new instance. + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. diff --git a/doc/en/Gdk/DisplayOpenedArgs.xml b/doc/en/Gdk/DisplayOpenedArgs.xml index 05d51a5d1..20484082a 100644 --- a/doc/en/Gdk/DisplayOpenedArgs.xml +++ b/doc/en/Gdk/DisplayOpenedArgs.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Display diff --git a/doc/en/Gdk/DisplayOpenedHandler.xml b/doc/en/Gdk/DisplayOpenedHandler.xml index f93028c7a..e9c239154 100644 --- a/doc/en/Gdk/DisplayOpenedHandler.xml +++ b/doc/en/Gdk/DisplayOpenedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gdk/DisplayPointerHooks.xml b/doc/en/Gdk/DisplayPointerHooks.xml index 7f6756ad6..3d9b2d1ac 100644 --- a/doc/en/Gdk/DisplayPointerHooks.xml +++ b/doc/en/Gdk/DisplayPointerHooks.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,40 +8,48 @@ 2.12.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 + + To be added + To be added + - - - Field + + + + Method + + 2.12.0.0 + Gdk.DisplayPointerHooks - + + + + a To be added + a To be added - - - Method + + + + Field + + 2.12.0.0 + Gdk.DisplayPointerHooks - - - + To be added - a - a To be added diff --git a/doc/en/Gdk/Drag.xml b/doc/en/Gdk/Drag.xml index 743b9eb1e..de2933093 100644 --- a/doc/en/Gdk/Drag.xml +++ b/doc/en/Gdk/Drag.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,18 +8,36 @@ 2.12.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 + + To be added + To be added + - - + + + + Constructor + + 2.12.0.0 + + + + + To be added + To be added + + + + + Method + + 2.12.0.0 + System.Void @@ -27,211 +46,237 @@ - Drops on the current destination. a the timestamp for this operation. + Aborts a drag without dropping. To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - - - - - Updates the drag context when the pointer moves or the set of actions changes. 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. - a - This function is called by the drag source. + Drops on the current destination. + To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - Aborts a drag without dropping. a - the timestamp for this operation. + To be added + a To be added + - - + + + Method + + 2.12.0.0 + System.Void - - + + + + + - Selects one of the actions offered by the drag source. 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. - This function is called by the drag destination in response to called by the drag source. + 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 + - Gdk.Atom + System.Void + + + + + + - Returns the selection atom for the current source window. a - the selection atom. - To be added - - - - - Constructor - - - - To be added - To be added + 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 - - Finds out the DND protocol supported by a window. - the where the destination window resides. the X id of the destination window. location where the supported DND protocol is returned. - 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. + 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 + - Finds out the DND protocol supported by a window. + the where the destination window resides. the X id of the destination window. location where the supported DND protocol is returned. - 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. + 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.Void + Gdk.Atom - - - - - - Finds the destination window and DND protocol to use at the given pointer position. 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. - - This function is called by the drag source to obtain the dest_window and protocol parameters for . - + Returns the selection atom for the current source window. + the selection atom. + To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + + - - + + + - Finds the destination window and DND protocol to use at the given pointer position. 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 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. - location to store the destination window in. - location to store the DND protocol in. - This function is called by the drag source to obtain the dest_window and protocol parameters for . + 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.Boolean + System.Void + + - To be added a - a - To be added - + 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. diff --git a/doc/en/Gdk/DragAction.xml b/doc/en/Gdk/DragAction.xml index d5dbad9c1..61bdcc64e 100644 --- a/doc/en/Gdk/DragAction.xml +++ b/doc/en/Gdk/DragAction.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used in to indicate what the destination should do with the dropped data. - None. - System.Enum @@ -22,23 +19,35 @@ System.Flags + + Used in to indicate what the destination should do with the dropped data. + None. + - - + + + Field + + 2.12.0.0 + Gdk.DragAction - The default action. The same as the Copy action. + Ask t user what to do with the data. + Field + + 2.12.0.0 + Gdk.DragAction @@ -49,22 +58,30 @@ - - + + + 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. + The default action. The same as the Copy action. + Field + + 2.12.0.0 + Gdk.DragAction @@ -75,28 +92,36 @@ - - + + + 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. + 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 - Ask t user what to do with the data. + Special action which tells the source that the destination will do something that the source doesn't understand. diff --git a/doc/en/Gdk/DragContext.xml b/doc/en/Gdk/DragContext.xml index 16d09a050..28fc5fbad 100644 --- a/doc/en/Gdk/DragContext.xml +++ b/doc/en/Gdk/DragContext.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,148 +8,219 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This holds information about a drag in progress. It is used on both source and destination sides. - None. - 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 - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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 + - + + + - Default constructor. - None. + 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.DragProtocol + Gdk.DragAction - The DND protocol that governs this drag. - The DND protocol which governs this drag. + The action chosen by the destination. + The chosen by the destination. None. - - + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.DragAction - True if the context is used on the source side. - True if the context is used on the source side. + 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 source of this drag. - The source of this drag. + The destination window of this drag. + The destination window of this drag. None. - - + + + Property + + 2.12.0.0 + - Gdk.Window + Gdk.DragProtocol - The destination window of this drag. - The destination window of this drag. + The DND protocol that governs this drag. + The DND protocol which governs this drag. None. - - + + + Property + + 2.12.0.0 + - Gdk.Atom[] + GLib.GType - A list of targets offered by the source. - A list of targets offered by the source. - None. + GType Property. + a + Returns the native value for . - - + + + Property + + 2.12.0.0 + - Gdk.DragAction + System.Boolean - Various actions proposed by the source when the is - Various actions proposed by the source when the is + True if the context is used on the source side. + True if the context is used on the source side. None. - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - Gdk.DragAction + System.Void - The action suggested by the source. - The suggested by the source. - None. + To be added + To be added + - - + + + Property + + 2.12.0.0 + - Gdk.DragAction + Gdk.Window - The action chosen by the destination. - The chosen by the destination. + The source of this drag. + The source of this drag. None. - + + Property + + 2.12.0.0 + System.UInt32 @@ -159,53 +231,52 @@ None. - - + + + Property + + 2.12.0.0 + - GLib.GType + Gdk.DragAction - GType Property. - a - Returns the native value for . - - - - - Constructor - - - - - - Internal constructor - a - 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. + The action suggested by the source. + The suggested by the source. + None. - - - System.Obsolete - - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Atom[] - To be added - To be added - + 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 diff --git a/doc/en/Gdk/DragProtocol.xml b/doc/en/Gdk/DragProtocol.xml index 34c7fa3dc..8b1d52316 100644 --- a/doc/en/Gdk/DragProtocol.xml +++ b/doc/en/Gdk/DragProtocol.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used in to indicate the protocol according to which DND is done. - None. - System.Enum @@ -19,95 +16,127 @@ 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 - The Motif DND protocol. + Intra-application DND. - - + + + Field + + 2.12.0.0 + Gdk.DragProtocol - The Xdnd protocol. + The Motif DND protocol. - - + + + Field + + 2.12.0.0 + Gdk.DragProtocol - + + - An extension to the Xdnd protocol for unclaimed root window drops. + None. - - + + + Field + + 2.12.0.0 + Gdk.DragProtocol - The simple WM_DROPFILES protocol. + The complex OLE2 DND protocol (not implemented). - - + + + Field + + 2.12.0.0 + Gdk.DragProtocol - The complex OLE2 DND protocol (not implemented). + An extension to the Xdnd protocol for unclaimed root window drops. - - + + + Field + + 2.12.0.0 + Gdk.DragProtocol - Intra-application DND. + The simple WM_DROPFILES protocol. - - + + + Field + + 2.12.0.0 + Gdk.DragProtocol - - + - None. + The Xdnd protocol. diff --git a/doc/en/Gdk/Drawable.xml b/doc/en/Gdk/Drawable.xml index a36579a50..985edf4df 100644 --- a/doc/en/Gdk/Drawable.xml +++ b/doc/en/Gdk/Drawable.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,191 +8,278 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Functions for drawing points, lines, arcs, and text. - - To be added - GLib.Object + + Functions for drawing points, lines, arcs, and text. + + To be added + - - - Method - - System.Void - + + + + 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 + + + - - + - Draws a number of points using the given graphics context. - A - An array of objects. - + 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. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - - - - - + - Render a onto the Drawable - object with the specified colors. - 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, overriding the layout's normal colors with - and/or . - and - need not be allocated. + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Region - - - - - - - Render a onto the Drawable - object. - 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 - + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Colormap - - - - - - - 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. - + 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 + - System.Void + Gdk.Image - - - - + + + + + + + - Render a onto a - 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 - - -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 . + 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 - - + + + + + + + + - Fills and - with the size of the Drawable. or - can be if you - only want the other one. - - A - A + 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. - 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. - + + 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 - - + + + + + + + - Draws a number of unconnected lines. A - A , a list of segments to draw. - A , the number of segments. - TODO: Drawable.custom needs to be edited to make segs an array of Gdk.Segment objects. + 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 @@ -203,12 +291,12 @@ If you are using Gtk, the usual way to obtain a is - Low-level glyph drawing function. 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. @@ -220,121 +308,76 @@ understand; thus, use instead of this f - - + + + Method + + 2.12.0.0 + - Gdk.Image + System.Void + + + - - + - Returns a client-side representing the server-side . - 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. - 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. - - + a + a + a + a + a + a + To be added + To be added + - - - + + + + Method + + 2.12.0.0 + System.Void - - - - - + + + + + - Draws a portion of a drawable into another. - A - A , the source Drawable. - A - A - A - A - A - A - - - 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. - + a + a + a + a + a + a + a + a + To be added + + Method + + 2.12.0.0 + System.Void @@ -349,7 +392,6 @@ understand; thus, use instead of this f - Draws a onto a drawable. A A A @@ -358,12 +400,17 @@ understand; thus, use instead of this f 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 @@ -371,182 +418,160 @@ understand; thus, use instead of this f + + + + + + - Draws a point at (,). - A - A - A + a + a + a + a + a + a + a + a + a + To be added - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Colormap + System.Void + + + + - 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. - - - - - Property - - 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 - - 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. + 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. + - -You must call the Destroy method on the returned region when done. - - - - - - Property - - Gdk.Visual - - - Gets the describing the pixel format of drawable. - A - - - - - - Property - - 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 - - Gdk.Screen - - - Gets the associated with a - a - - - - - - Property - - Gdk.Display - - - Gets the associated with the . - The . - +If you are using Gtk, the usual way to obtain a is . - - + + + Method + + 2.12.0.0 + System.Void - + + + - Draws a series of lines connecting the given points. - a - a - The way in which joins between lines are draw is determined by the value in the . This can be set with property. + 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 - - + + + + + - Draws a Polygon connecting a set of points. - a - a - a - This method is obsolete. Use the overload which takes a for + 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 - - + + + + + - Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the . - a - a - a - 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. + 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 @@ -558,58 +583,43 @@ You must call the Destroy method on the returned region when done. - Draws a line, using the foreground color and other attributes of the a a a a a + Draws a line, using the foreground color and other attributes of the - - + + + Method + + 2.12.0.0 + System.Void - - - - - - - + - 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. 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. - - - - 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); - - + 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 @@ -627,7 +637,6 @@ You must call the Destroy method on the returned region when done. - Renders a rectangular portion of a to a A used for clipping. The to render Source X coordinate within pixbuf. @@ -639,6 +648,7 @@ You must call the Destroy method on the returned region when done. 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. @@ -647,137 +657,161 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - - + + + Method + + 2.12.0.0 + System.Void - - - - Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the . - a - a - a - a - a - a - 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. + A + A + A + Draws a point at (,). + - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + - GType Property. - a - Returns the native value for . + A + An array of objects. + Draws a number of points using the given graphics context. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Internal constructor - a - 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. + a + a + a + Draws a Polygon connecting a set of points. + + + + + + + Method + + 2.12.0.0 + System.Obsolete - - - - Constructor - - + + System.Void + + + + + + - This is a constructor used by derivative types of Drawable. This is not typically used by C# code. - + 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 - - - - - - - + + - To be added a - a - a - a - 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 + - - - - - - To be added a + a a a a 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 @@ -790,10 +824,8 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - - To be added a a a @@ -802,13 +834,17 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. a a a - a + To be added - - + + + Method + + 2.12.0.0 + System.Void @@ -821,9 +857,10 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. + + - To be added a a a @@ -832,12 +869,19 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. a a a + a + a + To be added - - + + + Method + + 2.12.0.0 + System.Void @@ -848,25 +892,29 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - + - To be added a a a a a a - a + a a + To be added + Method + + 2.12.0.0 + System.Void @@ -883,7 +931,6 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - To be added a a a @@ -894,32 +941,78 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. a a a + To be added - - + + + Method + + 2.12.0.0 + System.Void - - + + - Draws a Polygon connecting a set of points. - a - a - a - - + 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 @@ -931,19 +1024,28 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - Deprecated: use instead. a a a a a + Deprecated: use instead. Deprecated. + Method + + 2.12.0.0 + + + + System.Obsolete + + System.UInt32 @@ -955,44 +1057,53 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - Deprecated: draws a numbre of wide-char characters a a a a a + Deprecated: draws a numbre of wide-char characters a Use instead. - - + + + Method + + 2.12.0.0 + System.Void - - - - + + - Deprecated: use instead. - a a - a - a - a + a + a + To be added To be added - + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.IntPtr @@ -1000,72 +1111,178 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - This method is deprecated, do not use. a + This method is deprecated, do not use. a To be added - - + + + Method + + 2.12.0.0 + - Gdk.Drawable + Gdk.Image - + + + + + + - To be added - a - To be added - + 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 + - Gdk.Image + System.Void - - - - - - - + + - Copies a portion of drawable into the client side image structure image. - a - a - a - a - a - a - a - a - To be added - + 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 + + - System.Void + 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 @@ -1075,59 +1292,71 @@ The clip mask of gc is ignored, but clip rectangles and clip regions work fine. - This method is deprecated and should not be used with new code. 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 - a - a - a - a - a - a To be added - + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Region - - - - - - To be added - a - a - a - To be added - + 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 + diff --git a/doc/en/Gdk/Drop.xml b/doc/en/Gdk/Drop.xml index 8476f769d..0c9a4e91a 100644 --- a/doc/en/Gdk/Drop.xml +++ b/doc/en/Gdk/Drop.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,59 +8,71 @@ 2.12.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 + + 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 a - a + a a + To be added To be added - - + + + Method + + 2.12.0.0 + System.Void - + - To be added a - a + a a - To be added - - - - - Constructor - - - To be added To be added diff --git a/doc/en/Gdk/EdgeTable.xml b/doc/en/Gdk/EdgeTable.xml index 7a949b25f..847c5461e 100644 --- a/doc/en/Gdk/EdgeTable.xml +++ b/doc/en/Gdk/EdgeTable.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,30 +8,22 @@ 2.12.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 + + To be added + To be added + - - - Field - - Gdk.EdgeTable - - - - To be added - To be added - - + Method + + 2.12.0.0 + Gdk.EdgeTable @@ -38,15 +31,57 @@ - To be added 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 @@ -59,7 +94,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -70,35 +109,21 @@ To be added - - - Property + + + + Field + + 2.12.0.0 + - Gdk.ScanLineList + Gdk.EdgeTable To be added - a To be added - - - System.Obsolete("Replaced by Scanlines property.") - - - - - - Property - - Gdk.ScanLineList - - - To be added. - To be added. - To be added. - diff --git a/doc/en/Gdk/EdgeTableEntry.xml b/doc/en/Gdk/EdgeTableEntry.xml index 6cb7496da..bbed97eea 100644 --- a/doc/en/Gdk/EdgeTableEntry.xml +++ b/doc/en/Gdk/EdgeTableEntry.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,26 +8,30 @@ 2.12.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 + + To be added + To be added + + Constructor + + 2.12.0.0 + - To be added a + To be added To be added diff --git a/doc/en/Gdk/Error.xml b/doc/en/Gdk/Error.xml index 180a04b44..300769ede 100644 --- a/doc/en/Gdk/Error.xml +++ b/doc/en/Gdk/Error.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,18 +8,36 @@ 2.12.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 + + To be added + To be added + + + + + Constructor + + 2.12.0.0 + + + + + To be added + To be added + + + Method + + 2.12.0.0 + System.Int32 @@ -31,7 +50,11 @@ + Method + + 2.12.0.0 + System.Void @@ -41,15 +64,5 @@ To be added - - - Constructor - - - - To be added - To be added - - diff --git a/doc/en/Gdk/Event.xml b/doc/en/Gdk/Event.xml index 1d9603d3a..a8c1f7407 100644 --- a/doc/en/Gdk/Event.xml +++ b/doc/en/Gdk/Event.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Object @@ -19,37 +16,58 @@ 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property + + + + Method + + 2.12.0.0 + - Gdk.EventType + Gdk.Event + + + - the type of the event. - the type of the event. - None. + a + Gets an Event or Event subclass for a native event pointer. + a + + - + + Property + + 2.12.0.0 + GLib.GType @@ -61,8 +79,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr @@ -73,22 +95,34 @@ This property should rarely if ever need to be accessed. - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Window + Gdk.Event - + + + - The window which received the event. - The window which received the event. - This is a not a . + Native event pointer. + Creates a managed event from a native pointer. + A managed event instance. + + - + + Property + + 2.12.0.0 + System.Boolean @@ -99,38 +133,37 @@ None. - - - Method + + + + Property + + 2.12.0.0 + - Gdk.Event + Gdk.EventType - - - - Gets an Event or Event subclass for a native event pointer. - a - a - - + the type of the event. + the type of the event. + None. - - - Method + + + + Property + + 2.12.0.0 + - Gdk.Event + Gdk.Window - - - + - Native event pointer. - Creates a managed event from a native pointer. - A managed event instance. - - + The window which received the event. + The window which received the event. + This is a not a . diff --git a/doc/en/Gdk/EventButton.xml b/doc/en/Gdk/EventButton.xml index 3b4d9c2a9..9e58bf0c3 100644 --- a/doc/en/Gdk/EventButton.xml +++ b/doc/en/Gdk/EventButton.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,10 @@ 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. @@ -37,140 +42,176 @@ - - Gdk.Event - - - - + + + + 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.UInt32 + System.Double[] - The time of the event in milliseconds. - a + x, y translated to the axes of device, or null if device is the mouse. + a - - + + + Property + + 2.12.0.0 + - Gdk.ModifierType + System.UInt32 - A bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. - a + 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 + - System.Double + Gdk.Device - The x coordinate of the pointer relative to the window. - a + The device where the event originated. + a - - + + + Property + + 2.12.0.0 + - System.Double + Gdk.ModifierType - The y coordinate of the pointer relative to the window. - a + 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.Double + System.UInt32 - The x coordinate of the pointer relative to the root of the screen. - a + The time of the event in milliseconds. + a - - + + + Property + + 2.12.0.0 + System.Double - The y coordinate of the pointer relative to the root of the screen. + The x coordinate of the pointer relative to the window. a - - + + + Property + + 2.12.0.0 + - System.UInt32 + System.Double - 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 + The x coordinate of the pointer relative to the root of the screen. + a - - + + + Property + + 2.12.0.0 + - Gdk.Device + System.Double - The device where the event originated. - a + The y coordinate of the pointer relative to the window. + a - - + + + Property + + 2.12.0.0 + - System.Double[] + System.Double - x, y translated to the axes of device, or null if device is the mouse. - a + The y coordinate of the pointer relative to the root of the screen. + a - - - Constructor - - - - - - Internal constructor - a to a - This constructor is internal and should not be used. - - diff --git a/doc/en/Gdk/EventClient.xml b/doc/en/Gdk/EventClient.xml index 87533531a..67c22003f 100644 --- a/doc/en/Gdk/EventClient.xml +++ b/doc/en/Gdk/EventClient.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,32 +8,57 @@ 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. - - Gdk.Event - - - - + + + + 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.Atom + System.Array - the type of the message, which can be defined by the application. - the type of the message, which can be defined by the application. + 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 @@ -43,31 +69,22 @@ None. - - + + + Property + + 2.12.0.0 + - System.Array + Gdk.Atom - 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. + 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. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - This constructor is internal and should not be used. - - diff --git a/doc/en/Gdk/EventConfigure.xml b/doc/en/Gdk/EventConfigure.xml index 9db8823b6..6753a9731 100644 --- a/doc/en/Gdk/EventConfigure.xml +++ b/doc/en/Gdk/EventConfigure.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,45 +8,57 @@ 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. - - Gdk.Event - - - - - Property - - System.Int32 - - + + + + Constructor + + 2.12.0.0 + + + + + - The new x coordinate of the window, relative to its parent. - The new x coordinate of the window, relative to its parent. - None. + the raw unmanaged pointer. + Internal constructor. + This constructor is internal, and should not be used. - - + + + 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. + The new height of the window. + The new height of the window. None. - + + Property + + 2.12.0.0 + System.Int32 @@ -56,30 +69,38 @@ None. - - + + + Property + + 2.12.0.0 + System.Int32 - The new height of the window. - The new height of the window. + The new x coordinate of the window, relative to its parent. + The new x coordinate of the window, relative to its parent. None. - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + System.Int32 + + - Internal constructor. - the raw unmanaged pointer. - This constructor is internal, and should not be used. + The new y coordinate of the window, relative to the parent. + The new y coordinate of the window, relative to its parent. + None. diff --git a/doc/en/Gdk/EventCrossing.xml b/doc/en/Gdk/EventCrossing.xml index 974bf729f..2efe072c4 100644 --- a/doc/en/Gdk/EventCrossing.xml +++ b/doc/en/Gdk/EventCrossing.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,158 +8,202 @@ 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. - - Gdk.Event - - - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw managed pointer. + Internal constructor. + This constructor should never be used. + + + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.NotifyType - The time of the event in milliseconds. - The time of the event in milliseconds. + The kind of crossing that happened. + The kind of crossing that happened. None. - - + + + Property + + 2.12.0.0 + - Gdk.ModifierType + System.Boolean - 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. + 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 + - System.Double + Gdk.CrossingMode - The x coordinate of the pointer relative to the window. - The x coordinate of the pointer relative to the window. + The crossing mode. + The crossing mode. None. - - + + + Property + + 2.12.0.0 + - System.Double + Gdk.ModifierType - The y coordinate of the pointer relative to the window. - The y coordinate of the pointer relative to the window. + 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.Double + Gdk.Window - 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. + The window that was entered or left. + The window that was entered or left. None. - - + + + Property + + 2.12.0.0 + - System.Double + System.UInt32 - 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. + The time of the event in milliseconds. + The time of the event in milliseconds. None. - - + + + Property + + 2.12.0.0 + - Gdk.Window + System.Double - The window that was entered or left. - The window that was entered or left. + 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 + - Gdk.CrossingMode + System.Double - The crossing mode. - The crossing mode. + 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 + - Gdk.NotifyType + System.Double - The kind of crossing that happened. - The kind of crossing that happened. + 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.Boolean + System.Double - True if window is the focus window or an inferior. - True if window is the focus window or an inferior. + 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. - - - Constructor - - - - - - Internal constructor. - raw managed pointer. - This constructor should never be used. - - diff --git a/doc/en/Gdk/EventDND.xml b/doc/en/Gdk/EventDND.xml index 1791a7360..886226a64 100644 --- a/doc/en/Gdk/EventDND.xml +++ b/doc/en/Gdk/EventDND.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,19 +8,40 @@ 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. - - Gdk.Event - - + + + + 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 @@ -31,8 +53,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -44,8 +70,12 @@ - + + Property + + 2.12.0.0 + System.Int16 @@ -57,8 +87,12 @@ - + + Property + + 2.12.0.0 + System.Int16 @@ -69,18 +103,5 @@ None. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - This constructor is internal and should not be used. - - diff --git a/doc/en/Gdk/EventExpose.xml b/doc/en/Gdk/EventExpose.xml index ba6f810de..86464713f 100644 --- a/doc/en/Gdk/EventExpose.xml +++ b/doc/en/Gdk/EventExpose.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,19 +8,40 @@ 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. - - Gdk.Event - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + - + + Property + + 2.12.0.0 + Gdk.Rectangle @@ -31,8 +53,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -44,8 +70,12 @@ - + + Property + + 2.12.0.0 + Gdk.Region @@ -56,18 +86,5 @@ None. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - None. - - diff --git a/doc/en/Gdk/EventFocus.xml b/doc/en/Gdk/EventFocus.xml index 1eeff87c1..1e6dd260d 100644 --- a/doc/en/Gdk/EventFocus.xml +++ b/doc/en/Gdk/EventFocus.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,39 +8,47 @@ 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. - - Gdk.Event - - - - - Property - - 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. - - + Constructor + + 2.12.0.0 + - Internal constructor. 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. diff --git a/doc/en/Gdk/EventFunc.xml b/doc/en/Gdk/EventFunc.xml index c0805758a..57f041c33 100644 --- a/doc/en/Gdk/EventFunc.xml +++ b/doc/en/Gdk/EventFunc.xml @@ -1,23 +1,24 @@ + gdk-sharp 2.12.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 - System.Delegate - System.Void + + To be added. + To be added + To be added + + diff --git a/doc/en/Gdk/EventGrabBroken.xml b/doc/en/Gdk/EventGrabBroken.xml index 98743d1cf..4a72e0f93 100644 --- a/doc/en/Gdk/EventGrabBroken.xml +++ b/doc/en/Gdk/EventGrabBroken.xml @@ -1,5 +1,6 @@ + gdk-sharp 2.12.0.0 @@ -8,22 +9,35 @@ Gdk.Event + + Indicates a grab was broken by another grab. + + + - - - Property - - Gdk.Window - + + + + Constructor + + 2.12.0.0 + + + + - The event window. - a . - + 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 @@ -33,21 +47,30 @@ If the window which broke the grab is outside the application, the value will be . - - - Constructor - - - + + + + Property + + 2.12.0.0 + + + System.Boolean + - Native struct pointer. - Internal constructor. - This constructor is exposed for binding use and should not be used by application code. + Indicates if the broken grab was implicit. + + for an implicit grab. + - + + Property + + 2.12.0.0 + System.Boolean @@ -58,23 +81,18 @@ - - + + Property - System.Boolean + Gdk.Window - Indicates if the broken grab was implicit. - - for an implicit grab. + The event window. + a . + - - Indicates a grab was broken by another grab. - - - diff --git a/doc/en/Gdk/EventHelper.xml b/doc/en/Gdk/EventHelper.xml index ba19c58b9..495debd45 100644 --- a/doc/en/Gdk/EventHelper.xml +++ b/doc/en/Gdk/EventHelper.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,18 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A utility class that contains methods that operate on Event classes. - This class contains static methods. - 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 @@ -26,15 +45,39 @@ - Copies a . 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 @@ -45,124 +88,147 @@ None. - - + + + Method + + 2.12.0.0 + - Gdk.Screen + System.Boolean + + - 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. A - The for the event. - To be added - - - - - Method - - 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 . + 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 + - Gdk.Event + System.Boolean - + + + - Creates a new event of the given type. All fields are set to 0. - A - A - The returned event should be freed with . + 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 + - System.Boolean + Gdk.Event - - - + - 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. - 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. - True on success. + 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.Void + System.Boolean + + - Frees a . - - to free. - This should only be called with events returned from functions such as , , and . + 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 + - System.Void + Gdk.Screen - 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. - The to send, which should be a . - None. + 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 - + - 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. - The to send, which should be a . - The window to send the X ClientMessage event to. - True on success. - None. + 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 @@ -170,48 +236,73 @@ This could be used for communicating between different applications, though the - Returns the time stamp from event, if there is one. Otherwise returns the current time. If event is null, returns the current time.. 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 - + - 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. - The to wait for the events for. - A if a GraphicsExpose was received, or null if a NoExpose event was received. - None. + 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 + - System.Void + Gdk.Event - - - - + - Sets the screen for event to screen. The event must have been allocated by GTK+, for instance, by . - A - A - None. + 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 @@ -219,126 +310,116 @@ This could be used for communicating between different applications, though the - 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 . 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. - - - Constructor - - - - This constructor is never used. - This class contains only static methods, and this constructor should never be used. - - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - Extract the event window relative x/y coordinates from an event. - A - Event window x coordinate. - Event window y coordinate. - True if the event delivered event coordinates. - None. + A MotionNotify event. + Requests additional motion notify events. + + - - + + + Method + + 2.12.0.0 + System.Boolean - + - If the event contains a "state" field, puts that field in state. Otherwise stores an empty state (0). - A or null. - The of the event. - True if there was a state field in the event. - To be added + 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 + - - + - Extract the axis value for a particular axis use from an event. - A - The axis use to look for. - The value found. - True if the specified axis was found, otherwise false. + 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.Boolean + System.Void - - - Extract the root window relative x/y coordinates from an event. - A - Root window x coordinate. - Root window y coordinate. - True if the event delivered root window coordinates. + 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. - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - + + + Method + + 2.12.0.0 + System.Void - + + - A MotionNotify event. - Requests additional motion notify events. - - + A + A + Sets the screen for event to screen. The event must have been allocated by GTK+, for instance, by . + None. diff --git a/doc/en/Gdk/EventKey.xml b/doc/en/Gdk/EventKey.xml index a3696f963..a8a678dd1 100644 --- a/doc/en/Gdk/EventKey.xml +++ b/doc/en/Gdk/EventKey.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,57 +8,90 @@ 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. - - Gdk.Event - - - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + + + + Property + + 2.12.0.0 + - Gdk.Key + System.Byte + - The key that was pressed or released. - The key that was pressed or released. + The keyboard group. + The keyboard group. None. - - + + + Property + + 2.12.0.0 + - System.UInt32 + System.UInt16 - The time of the event in milliseconds. - The time of the event in milliseconds. + 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.ModifierType + Gdk.Key - - 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. + The key that was pressed or released. + The key that was pressed or released. None. - + + Property + + 2.12.0.0 + System.UInt32 @@ -68,42 +102,37 @@ None. - - + + + Property + + 2.12.0.0 + - System.UInt16 + Gdk.ModifierType - The raw code of the key that was pressed or released. - The raw code of the key that was pressed or released. + 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.Byte + System.UInt32 - The keyboard group. - The keyboard group. - None. - - - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. + The time of the event in milliseconds. + The time of the event in milliseconds. None. diff --git a/doc/en/Gdk/EventMask.xml b/doc/en/Gdk/EventMask.xml index 1d8ba2563..968204223 100644 --- a/doc/en/Gdk/EventMask.xml +++ b/doc/en/Gdk/EventMask.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 - System.Enum @@ -22,166 +19,222 @@ 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 - Receive expose events. + The combination of all the above event masks. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive all pointer motion events. + Receive pointer motion events while 1 button is pressed. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Special mask which is used to reduce the number of .MotionNotify events received + Receive pointer motion events while 2 button is pressed. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive pointer motion events while any button is pressed. + Receive pointer motion events while 3 button is pressed. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive pointer motion events while 1 button is pressed. + Receive pointer motion events while any button is pressed. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive pointer motion events while 2 button is pressed. + Receive button press events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive pointer motion events while 3 button is pressed. + Receive button release events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive button press events. + Receive window enter events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive button release events. + Receive expose events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive key press events. + Receive focus change events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive key release events. + Receive key press events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive window enter events. + Receive key release events. + Field + + 2.12.0.0 + Gdk.EventMask @@ -192,35 +245,47 @@ - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive focus change events. + Special mask which is used to reduce the number of .MotionNotify events received - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive events about window configuration change. + Receive all pointer motion events. + Field + + 2.12.0.0 + Gdk.EventMask @@ -231,80 +296,104 @@ - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive visibility change events. + Receive proximity in events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive proximity in events. + Receive proximity out events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive proximity out events. + Receive scroll events. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive events about window configuration changes of child windows. + Receive events about window configuration change. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - Receive scroll events. + Receive events about window configuration changes of child windows. - - + + + Field + + 2.12.0.0 + Gdk.EventMask - The combination of all the above event masks. + Receive visibility change events. diff --git a/doc/en/Gdk/EventMotion.xml b/doc/en/Gdk/EventMotion.xml index 9ebf5df3f..aa79c0fdc 100644 --- a/doc/en/Gdk/EventMotion.xml +++ b/doc/en/Gdk/EventMotion.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,145 +8,185 @@ 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. - - Gdk.Event - - - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + + + + Property + + 2.12.0.0 + - System.UInt32 + System.Double[] - The time of the event in milliseconds. - The time of the event in milliseconds. + + , 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.ModifierType + Gdk.Device - 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. + The device where the event originated. + The device where the event originated. None. - - + + + Property + + 2.12.0.0 + - System.Double + System.Boolean - The x coordinate of the pointer relative to window. - The x coordinate of the pointer relative to the window. + True if this event is just a hint. + True if the event is just a hint. None. - - + + + Property + + 2.12.0.0 + - System.Double + Gdk.ModifierType - The y coordinate of the pointer relative to the window. - The y coordinate of the pointer relative to the window. + 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.Double + System.UInt32 - 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. + The time of the event in milliseconds. + The time of the event in milliseconds. 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. + 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.Boolean + System.Double - True if this event is just a hint. - True if the event is just a hint. + 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 + - Gdk.Device + System.Double - The device where the event originated. - The device where the event originated. + 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[] + 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. - - - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. + 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. diff --git a/doc/en/Gdk/EventOwnerChange.xml b/doc/en/Gdk/EventOwnerChange.xml index 710e82298..a3dc4a296 100644 --- a/doc/en/Gdk/EventOwnerChange.xml +++ b/doc/en/Gdk/EventOwnerChange.xml @@ -1,133 +1,112 @@ - + + 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 - - System.ValueType - - - - - Field - - Gdk.EventOwnerChange - - - - - To be added - To be added - - - - - Field - - Gdk.EventType - + + + + Constructor + + 2.12.0.0 + + - To be added - To be added + To be added. + To be added. + To be added. - - - Field + + + Method - System.SByte + Gdk.EventOwnerChange + To be added + a + a To be added + - - Field + + + Property + + 2.12.0.0 + System.UInt32 - - - To be added - To be added + To be added. + To be added. + To be added. - - Field + + + Property + + 2.12.0.0 + Gdk.OwnerChange - - - To be added - To be added + To be added. + To be added. + To be added. - - - Field + + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.Atom - - - To be added - To be added + To be added. + To be added. + To be added. - - Field - - System.UInt32 - - - - - To be added - To be added - - - - - Method - - Gdk.EventOwnerChange - - - - - - To be added - a - a - To be added - - - - + + Property + + 2.12.0.0 + - Gdk.Window + System.UInt32 To be added. @@ -135,11 +114,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - Gdk.Atom + System.UInt32 To be added. diff --git a/doc/en/Gdk/EventProperty.xml b/doc/en/Gdk/EventProperty.xml index 846f20fbf..e1404c1e3 100644 --- a/doc/en/Gdk/EventProperty.xml +++ b/doc/en/Gdk/EventProperty.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,19 +8,40 @@ 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. - - Gdk.Event - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + - + + Property + + 2.12.0.0 + Gdk.Atom @@ -31,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gdk.PropertyState @@ -44,8 +70,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -56,18 +86,5 @@ None. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - None. - - diff --git a/doc/en/Gdk/EventProximity.xml b/doc/en/Gdk/EventProximity.xml index cb9b6b708..e8f35663b 100644 --- a/doc/en/Gdk/EventProximity.xml +++ b/doc/en/Gdk/EventProximity.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,10 @@ 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. @@ -21,14 +26,31 @@ - - Gdk.Event - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + - + + Property + + 2.12.0.0 + Gdk.Device @@ -40,8 +62,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -52,18 +78,5 @@ None. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - None. - - diff --git a/doc/en/Gdk/EventScroll.xml b/doc/en/Gdk/EventScroll.xml index 1af029c5d..703702233 100644 --- a/doc/en/Gdk/EventScroll.xml +++ b/doc/en/Gdk/EventScroll.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,130 +8,166 @@ 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. - - Gdk.Event - - - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.Device - The time of the event in milliseconds. - The time of the event in milliseconds. + The device where the event originated. + The device where the event originated. None. - - + + + Property + + 2.12.0.0 + - Gdk.ModifierType + Gdk.ScrollDirection - 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. + The direction to scroll to. + The direction to scroll to. None. - - + + + Property + + 2.12.0.0 + - System.Double + Gdk.ModifierType - The x coordinate of the pointer relative to the window. - The x coordinate of the pointer relative to the window. + 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.Double + System.UInt32 - The y coordinate of the pointer relative to the window. - The y coordinate of the pointer relative to the window. + 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 root of the screen. - The x coordinate of the pointer relative to the root of the screen. + 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 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. + 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 + - Gdk.ScrollDirection + System.Double - The direction to scroll to. - The direction to scroll to. + 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 + - Gdk.Device + System.Double - The device where the event originated. - The device where the event originated. - None. - - - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. + 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. diff --git a/doc/en/Gdk/EventSelection.xml b/doc/en/Gdk/EventSelection.xml index 098fd4197..8b2671b35 100644 --- a/doc/en/Gdk/EventSelection.xml +++ b/doc/en/Gdk/EventSelection.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,18 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Generated when a selection is requested or ownership of a selection is taken over by another client application. - To be added - 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 @@ -29,48 +51,64 @@ None. - - + + + Property + + 2.12.0.0 + - Gdk.Atom + System.UInt32 - The selection. - The selection. + The native window on which to place . + The native window on which to place . 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. + The selection. + The selection. None. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.Atom - The native window on which to place . - The native window on which to place . + 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 @@ -81,18 +119,5 @@ None. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - Internal constructor, do not use. - - diff --git a/doc/en/Gdk/EventSetting.xml b/doc/en/Gdk/EventSetting.xml index 6ea4610b7..b8727b624 100644 --- a/doc/en/Gdk/EventSetting.xml +++ b/doc/en/Gdk/EventSetting.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,18 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Generated when a setting is modified. - None. - 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 @@ -30,8 +52,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -42,18 +68,5 @@ None. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - None. - - diff --git a/doc/en/Gdk/EventType.xml b/doc/en/Gdk/EventType.xml index 3f6e492ed..4e9fd4139 100644 --- a/doc/en/Gdk/EventType.xml +++ b/doc/en/Gdk/EventType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,484 +16,636 @@ 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 special code to indicate a null event. + A mouse button has been pressed. - - + + + 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. + A mouse button has been released. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The window has been destroyed. + A message has been received from another application. - - + + + Field + + 2.12.0.0 + Gdk.EventType - All or part of the window has become visible and needs to be redrawn. + 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 pointer (usually a mouse) has moved. + 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 - A mouse button has been pressed. + The window has been destroyed. - - + + + 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. + The mouse has entered the window while a drag is in progress. - - + + + 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. + The mouse has left the window while a drag is in progress. - - + + + Field + + 2.12.0.0 + Gdk.EventType - A mouse button has been released. + The mouse has moved in the window while a drag is in progress. - - + + + Field + + 2.12.0.0 + Gdk.EventType - A key has been pressed. + The status of the drag operation initiated by the window has changed. - - + + + Field + + 2.12.0.0 + Gdk.EventType - A key has been released. + The drop operation initiated by the window has completed. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The pointer has entered the window. + A drop operation onto the window has started. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The pointer has left the window. + The pointer has entered the window. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The keyboard focus has entered or left the window. + All or part of the window has become visible and needs to be redrawn. - - + + + 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. + The keyboard focus has entered or left the window. - - + + + Field + + 2.12.0.0 + Gdk.EventType - - The window has been mapped. - - + A pointer or keyboard grab was broken. + - - + + + Field + + 2.12.0.0 + Gdk.EventType - The window has been unmapped. + A key has been pressed. - - + + + Field + + 2.12.0.0 + Gdk.EventType - A property on the window has been changed or deleted. + A key has been released. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The application has lost ownership of a selection. + The pointer has left the window. - - + + + Field + + 2.12.0.0 + Gdk.EventType - Another application has requested a selection. + The window has been mapped. - - + + + Field + + 2.12.0.0 + Gdk.EventType - A selection has been received. + The pointer (usually a mouse) has moved. - - + + + 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). + 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 - An input device has moved out of contact with a sensing surface. + A special code to indicate a null event. - - + + + Field + + 2.12.0.0 + Gdk.EventType - + + - The mouse has entered the window while a drag is in progress. - - + The owner of the selection has changed. + - - + + + Field + + 2.12.0.0 + Gdk.EventType - The mouse has left the window while a drag is in progress. + A property on the window has been changed or deleted. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The mouse has moved in the window while a drag is in progress. + 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 - The status of the drag operation initiated by the window has changed. + An input device has moved out of contact with a sensing surface. - - + + + Field + + 2.12.0.0 + Gdk.EventType - A drop operation onto the window has started. + The scroll wheel was turned. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The drop operation initiated by the window has completed. + The application has lost ownership of a selection. - - + + + Field + + 2.12.0.0 + Gdk.EventType - A message has been received from another application. + A selection has been received. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The window visibility status has changed. + Another application has requested a selection. - - + + + 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. + A setting has been modified. - - + + + Field + + 2.12.0.0 + Gdk.EventType - The scroll wheel was turned. + 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 - The state of a window has changed. See for the possible window states + 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 - A setting has been modified. + The window has been unmapped. - - + + + Field + + 2.12.0.0 + Gdk.EventType - - + - The owner of the selection has changed. - + The window visibility status has changed. + + - - + + + Field + + 2.12.0.0 + Gdk.EventType + - A pointer or keyboard grab was broken. - + The state of a window has changed. See for the possible window states + + diff --git a/doc/en/Gdk/EventVisibility.xml b/doc/en/Gdk/EventVisibility.xml index 143566a81..1950a3efa 100644 --- a/doc/en/Gdk/EventVisibility.xml +++ b/doc/en/Gdk/EventVisibility.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,10 @@ 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. @@ -16,14 +21,31 @@ - - Gdk.Event - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + - + + Property + + 2.12.0.0 + Gdk.VisibilityState @@ -64,18 +86,5 @@ - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - None. - - diff --git a/doc/en/Gdk/EventWindowState.xml b/doc/en/Gdk/EventWindowState.xml index bf8ec1d9d..89224fe72 100644 --- a/doc/en/Gdk/EventWindowState.xml +++ b/doc/en/Gdk/EventWindowState.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,19 +8,40 @@ 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. - - Gdk.Event - - + + + + Constructor + + 2.12.0.0 + + + + + + + raw unmanaged pointer. + Internal constructor. + None. + + - + + Property + + 2.12.0.0 + Gdk.WindowState @@ -31,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gdk.WindowState @@ -43,18 +69,5 @@ None. - - - Constructor - - - - - - Internal constructor. - raw unmanaged pointer. - None. - - diff --git a/doc/en/Gdk/ExtensionMode.xml b/doc/en/Gdk/ExtensionMode.xml index 85ed49422..0d8cf3023 100644 --- a/doc/en/Gdk/ExtensionMode.xml +++ b/doc/en/Gdk/ExtensionMode.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.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 @@ -19,10 +16,18 @@ GLib.GType(typeof(Gdk.ExtensionModeGType)) + + To be added + To be added + - - + + + Field + + 2.12.0.0 + Gdk.ExtensionMode @@ -33,9 +38,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.ExtensionMode @@ -46,9 +55,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.ExtensionMode diff --git a/doc/en/Gdk/Fill.xml b/doc/en/Gdk/Fill.xml index 7e93fc267..d263b271d 100644 --- a/doc/en/Gdk/Fill.xml +++ b/doc/en/Gdk/Fill.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines how primitives are drawn. - None. - System.Enum @@ -19,36 +16,52 @@ GLib.GType(typeof(Gdk.FillGType)) + + Determines how primitives are drawn. + None. + - - + + + Field + + 2.12.0.0 + Gdk.Fill - Draw with the foreground color. + 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 a tiled pixmap. + Draw with the foreground color. + Field + + 2.12.0.0 + Gdk.Fill @@ -59,15 +72,19 @@ - - + + + 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. + Draw with a tiled pixmap. diff --git a/doc/en/Gdk/FillRule.xml b/doc/en/Gdk/FillRule.xml index 36ec0f5aa..14a365d05 100644 --- a/doc/en/Gdk/FillRule.xml +++ b/doc/en/Gdk/FillRule.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,10 +16,18 @@ 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 @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.FillRule diff --git a/doc/en/Gdk/FilterFunc.xml b/doc/en/Gdk/FilterFunc.xml index 9c33ee5ed..db1ab6083 100644 --- a/doc/en/Gdk/FilterFunc.xml +++ b/doc/en/Gdk/FilterFunc.xml @@ -1,21 +1,14 @@ + gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - Delegate for callbacks invoked by . - - To be added. - System.Delegate - @@ -23,4 +16,12 @@ Gdk.FilterReturn + + To be added. + To be added. + Delegate for callbacks invoked by . + To be added. + + + diff --git a/doc/en/Gdk/FilterReturn.xml b/doc/en/Gdk/FilterReturn.xml index 3cfd3a708..e7c8094b4 100644 --- a/doc/en/Gdk/FilterReturn.xml +++ b/doc/en/Gdk/FilterReturn.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the result of applying a to a native event. - None. - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gdk.FilterReturnGType)) + + Specifies the result of applying a to a native event. + None. + + Field + + 2.12.0.0 + Gdk.FilterReturn @@ -33,28 +38,36 @@ - - + + + Field + + 2.12.0.0 + Gdk.FilterReturn - Native event translated into a GDK event and tored in the event structure that was passed in. + Event handled, terminate processing. - - + + + Field + + 2.12.0.0 + Gdk.FilterReturn - Event handled, terminate processing. + Native event translated into a GDK event and tored in the event structure that was passed in. diff --git a/doc/en/Gdk/Font.xml b/doc/en/Gdk/Font.xml index 79e852c82..8451f81e2 100644 --- a/doc/en/Gdk/Font.xml +++ b/doc/en/Gdk/Font.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,47 +8,28 @@ 2.12.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 + + + System.Obsolete + + + + To be added + To be added + - - - Field - - Gdk.Font - - - - - To be added - To be added - - - - - - Field - - Gdk.FontType - - - - - To be added - To be added - - - + Field + + 2.12.0.0 + System.Int32 @@ -61,7 +43,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -73,71 +59,132 @@ - - + + + Property + + 2.12.0.0 + - GLib.GType + Gdk.Display To be added - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Display + System.Boolean - + + + + a To be added - a + a To be added - - + + + Method + + 2.12.0.0 + Gdk.Font - + + a To be added - a a To be added - - + + + Method + + 2.12.0.0 + Gdk.Font + - To be added + 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 @@ -145,8 +192,8 @@ - To be added a + To be added a To be added @@ -154,7 +201,11 @@ + Method + + 2.12.0.0 + Gdk.Font @@ -163,129 +214,147 @@ - To be added a a + To be added a To be added - - + + + Method + + 2.12.0.0 + Gdk.Font - - + + a To be added - a - a a To be added - - + + + Method + + 2.12.0.0 + - Gdk.Font + GLib.Value - + + + - To be added - a - To be added + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Boolean + Gdk.Font - + - To be added - a - a - To be added + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Font To be added + a To be added - - - Method + + + + Field + + 2.12.0.0 + - System.Int32 + Gdk.FontType - + + To be added - a To be added - - + + + Method + + 2.12.0.0 + - GLib.Value + System.Void - - - + - To be added. - To be added. - To be added. - To be added. + To be added + To be added - - - Method + + + + Field + + 2.12.0.0 + Gdk.Font - - To be added. - To be added. - To be added. - To be added. + To be added + To be added - - - System.Obsolete - - diff --git a/doc/en/Gdk/FontType.xml b/doc/en/Gdk/FontType.xml index d962d61a7..0986ce886 100644 --- a/doc/en/Gdk/FontType.xml +++ b/doc/en/Gdk/FontType.xml @@ -1,16 +1,12 @@ + 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. - - To be added - To be added - - System.Enum @@ -19,10 +15,19 @@ GLib.GType(typeof(Gdk.FontTypeGType)) + + To be added + To be added + + + Field + + 2.12.0.0 + Gdk.FontType @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.FontType diff --git a/doc/en/Gdk/Fontset.xml b/doc/en/Gdk/Fontset.xml index 1d2394363..be41ab402 100644 --- a/doc/en/Gdk/Fontset.xml +++ b/doc/en/Gdk/Fontset.xml @@ -1,24 +1,48 @@ + 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 - - System.Object - - + + + + Constructor + + 2.12.0.0 + + + + + To be added + To be added + + + Method + + 2.12.0.0 + + + + System.Obsolete + + Gdk.Font @@ -26,15 +50,24 @@ - To be added a + To be added a To be added + Method + + 2.12.0.0 + + + + System.Obsolete + + Gdk.Font @@ -43,20 +76,10 @@ - To be added a a - a - To be added - - - - - Constructor - - - To be added + a To be added diff --git a/doc/en/Gdk/Function.xml b/doc/en/Gdk/Function.xml index 351a0cf36..b59f24457 100644 --- a/doc/en/Gdk/Function.xml +++ b/doc/en/Gdk/Function.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,49 +16,69 @@ 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 - Copy + And - - + + + Field + + 2.12.0.0 + Gdk.Function - Invert + And Invert - - + + + Field + + 2.12.0.0 + Gdk.Function - Xor + And Reverse + Field + + 2.12.0.0 + Gdk.Function @@ -72,113 +89,149 @@ - - + + + Field + + 2.12.0.0 + Gdk.Function - And + Copy - - + + + Field + + 2.12.0.0 + Gdk.Function - And Reverse + Copy Invert - - + + + Field + + 2.12.0.0 + Gdk.Function - And Invert + Equiv - - + + + Field + + 2.12.0.0 + Gdk.Function - No op + Invert - - + + + Field + + 2.12.0.0 + Gdk.Function - Or + N And - - + + + Field + + 2.12.0.0 + Gdk.Function - Equiv + No op - - + + + Field + + 2.12.0.0 + Gdk.Function - Or Reverse + Nor - - + + + Field + + 2.12.0.0 + Gdk.Function - Copy Invert + Or + Field + + 2.12.0.0 + Gdk.Function @@ -189,41 +242,53 @@ - - + + + Field + + 2.12.0.0 + Gdk.Function - N And + Or Reverse - - + + + Field + + 2.12.0.0 + Gdk.Function - Nor + Set - - + + + Field + + 2.12.0.0 + Gdk.Function - Set + Xor diff --git a/doc/en/Gdk/GC.xml b/doc/en/Gdk/GC.xml index 3cc540a83..a60461bca 100644 --- a/doc/en/Gdk/GC.xml +++ b/doc/en/Gdk/GC.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 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 @@ -30,289 +36,287 @@ - - GLib.Object - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Copy the set of values from one graphics context onto another graphics context. - The GC to copy. + 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 - - Copies the settings of the graphics - context into this GC. - + This is an internal constructor, and should not be used by user code. - - - Method + + + + 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 + - System.Void + Gdk.Color - - - Set the origin when using tiles or stipples with the GC. - the x-coordinate of the origin. - the y-coordinate of the origin. + Sets the background color for a graphics context. + the new background color. - 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. + 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); + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Pixmap - - - Sets the origin of the clip mask. - the x-coordinate of the origin. - the y-coordinate of the origin. + Sets the clip mask for a graphics context from a bitmap. + a bitmap. - 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. + Sets the clip mask for a graphics context from a + bitmap. The clip mask is interpreted relative to the clip + origin. (See ). + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Rectangle - - - Set the x and y offsets on the Gdk.GC - amount by which to offset the GC in the X direction - amount by which to offset the GC in the Y direction + Sets the clip mask for a graphics context from a rectangle. + an object of type 'Gdk.Rectangle' - 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. + Sets the clip mask for a graphics context from a + rectangle. The clip mask is interpreted relative to the clip + origin. (See ). - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Region - - - Sets attributes of a graphics context in bulk. - struct containing the new values - mask indicating which struct fields are to be used + Sets the clip mask for a graphics context from a region structure. + the Gdk.Region - 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. + Sets the clip mask for a graphics context from a + region structure. The clip mask is interpreted relative to + the clip origin. (See ). - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Colormap - - - - - Sets various attributes of how lines are drawn. - 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 the colormap for the GC to the given colormap. + a Gdk.Colormap - Sets various attributes of how lines are drawn. See - the corresponding members of Gdk.GC.Values for full - explanations of the arguments. + + 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 - + - Retrieves the current values from a graphics context. - the structure in which to store the results. + The GC to copy. + Copy the set of values from one graphics context onto another graphics context. - Retrieves the current values from a graphics context. + + Copies the settings of the graphics + context into this GC. + - - - Constructor - + + + + Property + + 2.12.0.0 + + + System.Boolean + - - Internal constructor - Pointer to the C object. + Sets whether or not this GC should geenrate exposure events. + To be added: an object of type 'bool' - This is an internal constructor, and should not be used by user code. + 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 ). - - - Constructor - - - - - - To be added - To be added: an object of type 'Gdk.Drawable' - To be added - - - - - Constructor - - - - - - - - To be added - 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 - - - - - Property - - 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 - - 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 - - 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. - - - - - - Property - - 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.Fill @@ -326,52 +330,35 @@ - - - Property - - 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. - - - - - - + + + Property + + 2.12.0.0 + + + + System.Obsolete + + - Gdk.Color + Gdk.Font - - - 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. - + To be added + a + To be added + - + + Property + + 2.12.0.0 + Gdk.Color @@ -412,153 +399,176 @@ - - + + + Property + + 2.12.0.0 + - Gdk.Region + Gdk.Function - Sets the clip mask for a graphics context from a region structure. - the Gdk.Region + Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. + a function. - Sets the clip mask for a graphics context from a - region structure. The clip mask is interpreted relative to - the clip origin. (See ). + Determines how the current pixel values and the pixel + values being drawn are combined to produce the final pixel + values. - - - Property + + + + Method + + 2.12.0.0 + - Gdk.SubwindowMode + System.Void + - Sets how drawing with this GC on a window will affect child windows of that window. - the subwindow mode. + the structure in which to store the results. + Retrieves the current values from a graphics context. - Sets how drawing with this GC on a window will affect - child windows of that window. + Retrieves the current values from a graphics context. - - + + + Property + + 2.12.0.0 + - Gdk.Pixmap + GLib.GType - - + - 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 . - - + GType Property. + a + Returns the native value for . - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Function + System.Void + + - Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. - a function. + 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 - Determines how the current pixel values and the pixel - values being drawn are combined to produce the final pixel - values. + 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 - Sets the background color for a graphics context. - the new background color. + Set the background color of a GC using an unallocated color. + a Gdk.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); - - + 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 + - System.Boolean + Gdk.Color - Sets whether or not this GC should geenrate exposure events. - To be added: an object of type 'bool' + Set the foreground color of a GC using an unallocated color. + an object of type 'Gdk.Color' - 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 ). + 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 @@ -568,9 +578,38 @@ 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 @@ -580,10 +619,10 @@ - Sets the way dashed-lines are drawn. 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 @@ -594,72 +633,168 @@ - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + + + - GType Property. - a - Returns the native value for . + 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. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Internal constructor - a - 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. + 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. + + - - - System.Obsolete - - - - + + + + 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.Font + Gdk.Pixmap + + - To be added - a - To be added - + 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 . + + - - - System.Obsolete - - - - - Method + + + + Property + + 2.12.0.0 + - Gdk.GC + Gdk.SubwindowMode - + + - To be added - a - To be added - + 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 diff --git a/doc/en/Gdk/GCValues.xml b/doc/en/Gdk/GCValues.xml index 64fd1c892..3140e3d05 100644 --- a/doc/en/Gdk/GCValues.xml +++ b/doc/en/Gdk/GCValues.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,142 +8,129 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Holds a set of values used to create or modify a graphics context. - To be added - System.ValueType + + Holds a set of values used to create or modify a graphics context. + To be added + - - + + + Field + + 2.12.0.0 + - Gdk.GCValues + Gdk.Color - + + - To be added + The background color. To be added - - - Method + + + + Field + + 2.12.0.0 + - Gdk.GCValues + Gdk.CapStyle - - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gdk.GCValues' + The way the ends of lines are drawn. To be added - + + Property - - Gdk.Pixmap - - - - - The clip mask bitmap. - To be added: an object of type 'Gdk.Pixmap' - To be added - + + 2.12.0.0 + System.Obsolete("Replaced by ClipMask property.") - - - - Property Gdk.Pixmap - The stipple bitmap. + The clip mask bitmap. To be added: an object of type 'Gdk.Pixmap' To be added - - - System.Obsolete("Replaced by Stipple property.") - - - - + + + Property + + 2.12.0.0 + Gdk.Pixmap - - - The tile pixmap. - To be added: an object of type 'Gdk.Pixmap' - To be added - - - - System.Obsolete("Replaced by Tile property.") - - - - - - Field - - Gdk.Color - - - - - The foreground color. - To be added + To be added. + To be added. + To be added. - - + + + Field + + 2.12.0.0 + - Gdk.Color + System.Int32 - The background color. + The x origin of the clip mask. To be added - - + + + Field + + 2.12.0.0 + - Gdk.Function + System.Int32 - The bitwise operation used when drawing. + The y origin of the clip mask. To be added + Field + + 2.12.0.0 + Gdk.Fill @@ -153,87 +141,116 @@ To be added - - - Field + + + + Property + + 2.12.0.0 + - Gdk.SubwindowMode + Gdk.Font - - + To be added + a To be added + - - + + + Field + + 2.12.0.0 + - System.Int32 + Gdk.Color - The x origin of the tile or stipple. + The foreground color. To be added - - + + + Field + + 2.12.0.0 + - System.Int32 + Gdk.Function - The y origin of the tile or stipple. + The bitwise operation used when drawing. To be added - - + + + Field + + 2.12.0.0 + System.Int32 - The x origin of the clip mask. + Whether graphics exposures are enabled. To be added - - + + + Field + + 2.12.0.0 + - System.Int32 + Gdk.JoinStyle - The y origin of the clip mask. + The way joins between lines are drawn. To be added - - + + + Field + + 2.12.0.0 + - System.Int32 + Gdk.LineStyle - Whether graphics exposures are enabled. + The way dashed lines are drawn. To be added + Field + + 2.12.0.0 + System.Int32 @@ -244,62 +261,112 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - Gdk.LineStyle + Gdk.GCValues + - The way dashed lines are drawn. + To be added: an object of type 'IntPtr' + To be added + To be added: an object of type 'Gdk.GCValues' To be added - - - Field + + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Stipple property.") + + - Gdk.CapStyle + Gdk.Pixmap - The way the ends of lines are drawn. + 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.JoinStyle + Gdk.SubwindowMode - The way joins between lines are drawn. + To be added To be added - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Tile property.") + + - Gdk.Font + Gdk.Pixmap - + + - To be added - a + The tile pixmap. + To be added: an object of type 'Gdk.Pixmap' To be added - - + + Property + + 2.12.0.0 + Gdk.Pixmap @@ -309,28 +376,54 @@ To be added. - - - Property + + + + Field + + 2.12.0.0 + - Gdk.Pixmap + System.Int32 + + + + + The x origin of the tile or stipple. + To be added + + + + + + Field + + 2.12.0.0 + + + System.Int32 + + - To be added. - To be added. - To be added. + The y origin of the tile or stipple. + To be added - - - Property + + + + Field + + 2.12.0.0 + - Gdk.Pixmap + Gdk.GCValues + - To be added. - To be added. - To be added. + To be added + To be added diff --git a/doc/en/Gdk/GCValuesMask.xml b/doc/en/Gdk/GCValuesMask.xml index 6360c5990..1f3fdf1f2 100644 --- a/doc/en/Gdk/GCValuesMask.xml +++ b/doc/en/Gdk/GCValuesMask.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A set of flags used to indicate which fields structure are set. - None. - System.Enum @@ -19,237 +16,313 @@ 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. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. - - + + + Field + + 2.12.0.0 + Gdk.GCValuesMask - The is set. + The is set. diff --git a/doc/en/Gdk/Geometry.xml b/doc/en/Gdk/Geometry.xml index 41bfd2ab8..ac091e132 100644 --- a/doc/en/Gdk/Geometry.xml +++ b/doc/en/Gdk/Geometry.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,46 +8,39 @@ 2.12.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 + + To be added + To be added + - - + + + Field + + 2.12.0.0 + - Gdk.Geometry - - - - To be added - To be added - - - - - Method - - Gdk.Geometry + System.Int32 - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gdk.Geometry' To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -57,9 +51,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -70,11 +68,15 @@ To be added - - + + + Field + + 2.12.0.0 + - System.Int32 + System.Double @@ -85,7 +87,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -96,9 +102,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -109,11 +119,15 @@ To be added - - + + + Field + + 2.12.0.0 + - System.Int32 + System.Double @@ -122,9 +136,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -135,9 +153,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -148,24 +170,35 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - System.Double + 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.Double + System.Int32 @@ -176,7 +209,11 @@ + Field + + 2.12.0.0 + Gdk.Gravity @@ -187,5 +224,21 @@ To be added + + + + Field + + 2.12.0.0 + + + Gdk.Geometry + + + + To be added + To be added + + diff --git a/doc/en/Gdk/Global.xml b/doc/en/Gdk/Global.xml index eb8a69f13..3e39563e0 100644 --- a/doc/en/Gdk/Global.xml +++ b/doc/en/Gdk/Global.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,75 +8,53 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Global API elements for - Shouldn't be called explicitly if Gtk.Application.Init() is used. - System.Object + + Global API elements for + Shouldn't be called explicitly if Gtk.Application.Init() is used. + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - To be added - a - To be added - - - - - Method - - Gdk.PointerHooks - - - - - - To be added - a - a - To be added + Defaul constructor + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Window To be added - To be added - - - - - Method - - System.UInt32 - - - - - - To be added - a - a + a To be added + Method + + 2.12.0.0 + System.Void @@ -84,101 +63,89 @@ - To be added a a - To be added - - - - - Method - - System.String - - - To be added - a To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - + To be added - a - a - a + a To be added - - - Constructor - - - - Defaul constructor - - - - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.Window - - To be added - a + a To be added - - + + + Property + + 2.12.0.0 + - System.String + Gdk.Rectangle[] + To be added - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + Gdk.Device[] - - + To be added - a + a To be added - - + + + Property + + 2.12.0.0 + System.String - - To be added a @@ -186,8 +153,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -197,35 +168,48 @@ If the name was not specified then null is returned. - - + + + Property + + 2.12.0.0 + - System.String + System.UInt32 To be added - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Window + System.Boolean + To be added - a + a To be added + Method + + 2.12.0.0 + System.Byte @@ -236,22 +220,33 @@ To be added - - + + + Method + + 2.12.0.0 + - Gdk.Device[] + System.Boolean - + + + - To be added - a + 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[] @@ -262,182 +257,271 @@ To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Atom[] + System.Void To be added - a To be added - - + + + Property + + 2.12.0.0 + - Gdk.Window[] + System.Int32 To be added - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + 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 - a To be added + - - + + + Property + + 2.12.0.0 + - System.Int32 + System.String - + + To be added - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Window + System.Int32[] To be added - a + a To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Rectangle[] + Gdk.VisualType[] To be added - a + a To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - - - + - Initializes the library for usage. - A containing the args used to initialize the library. - A , that is true if its able to open and set the default display, otherwise its false. + To be added + a To be added - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.PointerHooks - + - Parses command line arguments and stores them for future usage. - A containing the args to parse. - Shouldn't be called explicitly if Global.InitCheck or Gtk.Application.Init or Gtk.Application.InitCheck are being used. + a + To be added + a + To be added - - + + + Method + + 2.12.0.0 + - System.Int32[] + System.Boolean - + + + + + a + a To be added - a + a To be added - - - Method + + + + Property + + 2.12.0.0 + - Gdk.VisualType[] + System.Boolean - + + To be added - a + a To be added - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String - + + To be added - a + a To be added - + + + + + Method + + 2.12.0.0 + System.Obsolete - - - - Method - System.Int32 + System.Void + + + + + - To be added a a - a + a + a + a + a + a + To be added To be added + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Int32 @@ -446,45 +530,54 @@ - To be added a a + To be added a To be added - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Void + System.Int32 - - - - - - To be added a a - a - a - a - a - a + To be added + a To be added + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Int32 @@ -493,25 +586,89 @@ - To be added 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.Void + 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 - diff --git a/doc/en/Gdk/GrabStatus.xml b/doc/en/Gdk/GrabStatus.xml index 9ef236fc0..914f76764 100644 --- a/doc/en/Gdk/GrabStatus.xml +++ b/doc/en/Gdk/GrabStatus.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Returned by and to indicate success or the reason for the failure of the grab event. - None. - System.Enum @@ -19,36 +16,52 @@ 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 was successfully grabbed. + The resource is actively grabbed by another client. - - + + + Field + + 2.12.0.0 + Gdk.GrabStatus - The resource is actively grabbed by another client. + The resource is frozen by an active grab of another client. + Field + + 2.12.0.0 + Gdk.GrabStatus @@ -61,7 +74,11 @@ + Field + + 2.12.0.0 + Gdk.GrabStatus @@ -72,15 +89,19 @@ - - + + + Field + + 2.12.0.0 + Gdk.GrabStatus - The resource is frozen by an active grab of another client. + The resource was successfully grabbed. diff --git a/doc/en/Gdk/Gravity.xml b/doc/en/Gdk/Gravity.xml index 6757f5f95..17eff261b 100644 --- a/doc/en/Gdk/Gravity.xml +++ b/doc/en/Gdk/Gravity.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Defines the reference point of a window and the meaning of coordinates passed to . - See - System.Enum @@ -19,133 +16,177 @@ 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 top left corner. + The reference point is at the center of the window. - - + + + Field + + 2.12.0.0 + Gdk.Gravity - The reference point is in the middle of the top edge. + The reference point is at the middle of the right edge. - - + + + Field + + 2.12.0.0 + Gdk.Gravity - The reference point is at the top right corner. + The reference point is in the middle of the top edge. - - + + + Field + + 2.12.0.0 + Gdk.Gravity - The reference point is at the middle of the left edge. + The reference point is at the top right corner. - - + + + Field + + 2.12.0.0 + Gdk.Gravity - The reference point is at the center of the window. + 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 right edge. + 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 left corner. + The reference point is at the lower right corner. - - + + + Field + + 2.12.0.0 + Gdk.Gravity - The reference point is at the middle of the lower edge. + The reference point is at the lower left corner. - - + + + Field + + 2.12.0.0 + Gdk.Gravity - The reference point is at the lower right corner. + 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 top left corner of the window itself, ignoring window manager decorations. + The reference point is at the middle of the left edge. diff --git a/doc/en/Gdk/Image.xml b/doc/en/Gdk/Image.xml index 229d7c965..14880e1eb 100644 --- a/doc/en/Gdk/Image.xml +++ b/doc/en/Gdk/Image.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,63 +8,52 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Contains information on the image and the pixel data. - To be added - GLib.Object + + Contains information on the image and the pixel data. + To be added + - - - Method - - System.Void - - - - - - - - To be added - 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 - - - - - Method - - System.UInt32 - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - To be added - 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 + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -71,7 +61,11 @@ + Constructor + + 2.12.0.0 + @@ -80,17 +74,97 @@ - To be added 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 @@ -102,40 +176,37 @@ To be added - - + + + Property + + 2.12.0.0 + - GLib.GType + System.UInt16 - GType Property. - a - Returns the native value for . + The image depth (ie, the number of bits per pixel). + a + + + - - - Constructor - - - - - - Internal constructor - a - 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. - + + + + Method + + 2.12.0.0 + System.Obsolete - - - - Method Gdk.Image @@ -147,137 +218,169 @@ - To be added a a a a a - a - To be added - - - - - - Method - - System.Void - - - To be added + a To be added - - + + + Method + + 2.12.0.0 + - Gdk.Image + System.UInt32 - + + + + + To be added: an object of type 'int' + To be added: an object of type 'int' To be added - a + To be added: an object of type 'uint' To be added - - - + + + Property + + 2.12.0.0 + - System.UInt16 + GLib.GType - The number of bytes per pixel. - a - - - + GType Property. + a + Returns the native value for . - - + + + Property + + 2.12.0.0 + - System.UInt16 + System.Int32 - The number of bytes per line of the image. - a + The height of the image in pixels. + a - - - Property + + + + Method + + 2.12.0.0 + - System.UInt16 + System.Void - + + + + + - The image depth (ie, the number of bits per pixel). - a - - - + 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 - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - Gdk.ByteOrder + Gdk.Image - The image byte order. - a - - + To be added + a + To be added - - + + + Property + + 2.12.0.0 + - System.UInt16 + Gdk.ImageType - The number of bits per pixel. - a + The image's + a - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Int32 + System.Void - The width of the image in pixels. - a - - + To be added + To be added - + + Property + + 2.12.0.0 + Gdk.Visual @@ -290,30 +393,19 @@ - - - Property - - Gdk.ImageType - - - - The image's - a - - - - - - - + + + Property + + 2.12.0.0 + System.Int32 - The height of the image in pixels. + The width of the image in pixels. a diff --git a/doc/en/Gdk/ImageType.xml b/doc/en/Gdk/ImageType.xml index ab4eec752..631cd96bd 100644 --- a/doc/en/Gdk/ImageType.xml +++ b/doc/en/Gdk/ImageType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the type of a . - None. - System.Enum @@ -19,42 +16,58 @@ GLib.GType(typeof(Gdk.ImageTypeGType)) + + Specifies the type of a . + None. + - - + + + 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. + Specifies that Shared should be tried first, and if that fails, then Normal will be used. - - + + + 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. + 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 - Specifies that Shared should be tried first, and if that fails, then Normal will be used. + 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. diff --git a/doc/en/Gdk/Input.xml b/doc/en/Gdk/Input.xml index d26224000..fdb6d6951 100644 --- a/doc/en/Gdk/Input.xml +++ b/doc/en/Gdk/Input.xml @@ -1,58 +1,77 @@ + 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 - - System.Object - - - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + To be added - a To be added - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Void + System.Int32 - - - + + + + a + a + a To be added - a - a - a + a To be added + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Int32 @@ -64,42 +83,59 @@ - To be added a a a a a + To be added a To be added - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Int32 + System.Void - - - + + a To be added - a - a - a - a To be added - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + + + + a + a + a To be added To be added diff --git a/doc/en/Gdk/InputCondition.xml b/doc/en/Gdk/InputCondition.xml index c49819cf0..56c9a4637 100644 --- a/doc/en/Gdk/InputCondition.xml +++ b/doc/en/Gdk/InputCondition.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A set of flags used to specify conditions for which an input callback will be triggered. - To be added - System.Enum @@ -22,42 +19,58 @@ 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 - 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.) + An exception was raised on the file descriptor. - - + + + Field + + 2.12.0.0 + Gdk.InputCondition - The file descriptor has become available for writing. + 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 - An exception was raised on the file descriptor. + The file descriptor has become available for writing. diff --git a/doc/en/Gdk/InputFunction.xml b/doc/en/Gdk/InputFunction.xml index 5809f137c..1474f432c 100644 --- a/doc/en/Gdk/InputFunction.xml +++ b/doc/en/Gdk/InputFunction.xml @@ -1,21 +1,14 @@ + gdk-sharp 2.12.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. - Delegate to invoke when a condition becomes true on a file descriptor. - To be added - System.Delegate - @@ -24,4 +17,12 @@ 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 + + diff --git a/doc/en/Gdk/InputMode.xml b/doc/en/Gdk/InputMode.xml index 5d2835016..cf3326c32 100644 --- a/doc/en/Gdk/InputMode.xml +++ b/doc/en/Gdk/InputMode.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration that describes the mode of an input device. - None. - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gdk.InputModeGType)) + + An enumeration that describes the mode of an input device. + None. + + Field + + 2.12.0.0 + Gdk.InputMode @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.InputMode @@ -48,7 +57,11 @@ + Field + + 2.12.0.0 + Gdk.InputMode diff --git a/doc/en/Gdk/InputSource.xml b/doc/en/Gdk/InputSource.xml index aae80d6fa..bd03d97b2 100644 --- a/doc/en/Gdk/InputSource.xml +++ b/doc/en/Gdk/InputSource.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes the type of input device - None. - - System.Enum @@ -20,56 +16,77 @@ GLib.GType(typeof(Gdk.InputSourceGType)) + + Describes the type of input device + None. + + - - + + + Field + + 2.12.0.0 + Gdk.InputSource - - Device is a mouse. - - - None - + Device is a graphics tablet 'puck' or something similar. + None - - + + + Field + + 2.12.0.0 + Gdk.InputSource - Device is a stylus for a graphics tablet or similar device. + Device is an 'eraser', usually the opposite end of the stylus. None - - + + + Field + + 2.12.0.0 + Gdk.InputSource - Device is an 'eraser', usually the opposite end of the stylus. - None + + Device is a mouse. + + + None + - - + + + Field + + 2.12.0.0 + Gdk.InputSource - Device is a graphics tablet 'puck' or something similar. + Device is a stylus for a graphics tablet or similar device. None diff --git a/doc/en/Gdk/InterpType.xml b/doc/en/Gdk/InterpType.xml index fbc01e1c0..6e5417f4d 100644 --- a/doc/en/Gdk/InterpType.xml +++ b/doc/en/Gdk/InterpType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - System.Enum @@ -21,55 +16,77 @@ Nearest provides faster (and low quality) scaling, while Hyper is slow but high- 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 - 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. + 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 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. + 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 - 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. + 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 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). + 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. diff --git a/doc/en/Gdk/InvalidateMaybeRecurseChildFunc.xml b/doc/en/Gdk/InvalidateMaybeRecurseChildFunc.xml index 5577b666c..6c00ba800 100644 --- a/doc/en/Gdk/InvalidateMaybeRecurseChildFunc.xml +++ b/doc/en/Gdk/InvalidateMaybeRecurseChildFunc.xml @@ -1,5 +1,6 @@ + gdk-sharp 2.12.0.0 diff --git a/doc/en/Gdk/JoinStyle.xml b/doc/en/Gdk/JoinStyle.xml index cd0a5837d..42f727b1b 100644 --- a/doc/en/Gdk/JoinStyle.xml +++ b/doc/en/Gdk/JoinStyle.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines how the joins between segments of a polygon are drawn. - None. - System.Enum @@ -19,40 +16,56 @@ 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 each line are extended to meet at an angle. + 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 the two lines are joined by a circular arc. + 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 straight line which makes an equal angle with each line. + The sides of the two lines are joined by a circular arc. None. diff --git a/doc/en/Gdk/Key.xml b/doc/en/Gdk/Key.xml index 9d7135f97..403684e0d 100644 --- a/doc/en/Gdk/Key.xml +++ b/doc/en/Gdk/Key.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,14451 +8,18579 @@ 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 - - System.Enum - - - + + + Field + + 2.12.0.0 + Gdk.Key - VoidSymbol key value + a key value - - + + + Field + + 2.12.0.0 + Gdk.Key - BackSpace key value + A key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Tab key value + aacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Linefeed key value + Aacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Clear key value + abovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Return key value + abreve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pause key value + Abreve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Scroll_Lock key value + AccessX_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Sys_Req key value + AccessX_Feedback_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Escape key value + acircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Delete key value + Acircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Multi_key key value + acute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Codeinput key value + adiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - SingleCandidate key value + Adiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - MultipleCandidate key value + ae key value - - + + + Field + + 2.12.0.0 + Gdk.Key - PreviousCandidate key value + AE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Kanji key value + agrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Muhenkan key value + Agrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Henkan_Mode key value + Alt_L key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Henkan key value + Alt_R key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Romaji key value + amacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hiragana key value + Amacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Katakana key value + ampersand key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hiragana_Katakana key value + aogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Zenkaku key value + Aogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hankaku key value + apostrophe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Zenkaku_Hankaku key value + approximate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Touroku key value + Arabic_ain key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Massyo key value + Arabic_alef key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Kana_Lock key value + Arabic_alefmaksura key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Kana_Shift key value + Arabic_beh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Eisu_Shift key value + Arabic_comma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Eisu_toggle key value + Arabic_dad key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Kanji_Bangou key value + Arabic_dal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Zen_Koho key value + Arabic_damma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Mae_Koho key value + Arabic_dammatan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Home key value + Arabic_fatha key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Left key value + Arabic_fathatan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Up key value + Arabic_feh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Right key value + Arabic_ghain key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Down key value + Arabic_ha key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Prior key value + Arabic_hah key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Page_Up key value + Arabic_hamza key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Next key value + Arabic_hamzaonalef key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Page_Down key value + Arabic_hamzaonwaw key value - - + + + Field + + 2.12.0.0 + Gdk.Key - End key value + Arabic_hamzaonyeh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Begin key value + Arabic_hamzaunderalef key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Select key value + Arabic_heh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Print key value + Arabic_jeem key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Execute key value + Arabic_kaf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Insert key value + Arabic_kasra key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Undo key value + Arabic_kasratan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Redo key value + Arabic_khah key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Menu key value + Arabic_lam key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Find key value + Arabic_maddaonalef key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cancel key value + Arabic_meem key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Help key value + Arabic_noon key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Break key value + Arabic_qaf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Mode_switch key value + Arabic_question_mark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - script_switch key value + Arabic_ra key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Num_Lock key value + Arabic_sad key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Space key value + Arabic_seen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Tab key value + Arabic_semicolon key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Enter key value + Arabic_shadda key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_F1 key value + Arabic_sheen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_F2 key value + Arabic_sukun key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_F3 key value + Arabic_switch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_F4 key value + Arabic_tah key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Home key value + Arabic_tatweel key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Left key value + Arabic_teh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Up key value + Arabic_tehmarbuta key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Right key value + Arabic_thal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Down key value + Arabic_theh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Prior key value + Arabic_waw key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Page_Up key value + Arabic_yeh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Next key value + Arabic_zah key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Page_Down key value + Arabic_zain key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_End key value + aring key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Begin key value + Aring key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Insert key value + asciicircum key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Delete key value + asciitilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Equal key value + asterisk key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Multiply key value + at key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Add key value + atilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Separator key value + Atilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Subtract key value + AudibleBell_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Decimal key value + b key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_Divide key value + B key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_0 key value + backslash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_1 key value + BackSpace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_2 key value + ballotcross key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_3 key value + bar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_4 key value + Begin key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_5 key value + blank key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_6 key value + botintegral key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_7 key value + botleftparens key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_8 key value + botleftsqbracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - KP_9 key value + botleftsummation key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F1 key value + botrightparens key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F2 key value + botrightsqbracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F3 key value + botrightsummation key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F4 key value + bott key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F5 key value + botvertsummationconnector key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F6 key value + BounceKeys_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F7 key value + braceleft key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F8 key value + braceright key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F9 key value + bracketleft key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F10 key value + bracketright key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F11 key value + Break key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L1 key value + breve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F12 key value + brokenbar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L2 key value + Byelorussian_shortu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F13 key value + Byelorussian_SHORTU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L3 key value + c key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F14 key value + C key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L4 key value + cabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F15 key value + Cabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L5 key value + cacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F16 key value + Cacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L6 key value + Cancel key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F17 key value + Caps_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L7 key value + careof key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F18 key value + caret key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L8 key value + caron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F19 key value + ccaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L9 key value + Ccaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F20 key value + ccedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L10 key value + Ccedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F21 key value + ccircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R1 key value + Ccircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F22 key value + cedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R2 key value + cent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F23 key value + checkerboard key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R3 key value + checkmark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F24 key value + circle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R4 key value + Clear key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F25 key value + club key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R5 key value + Codeinput key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F26 key value + colon key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R6 key value + ColonSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F27 key value + comma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R7 key value + Control_L key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F28 key value + Control_R key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R8 key value + copyright key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F29 key value + cr key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R9 key value + crossinglines key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F30 key value + CruzeiroSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R10 key value + currency key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F31 key value + cursor key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R11 key value + Cyrillic_a key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F32 key value + Cyrillic_A key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R12 key value + Cyrillic_be key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F33 key value + Cyrillic_BE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R13 key value + Cyrillic_che key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F34 key value + Cyrillic_CHE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R14 key value + Cyrillic_de key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F35 key value + Cyrillic_DE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R15 key value + Cyrillic_dzhe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Shift_L key value + Cyrillic_DZHE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Shift_R key value + Cyrillic_e key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Control_L key value + Cyrillic_E key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Control_R key value + Cyrillic_ef key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Caps_Lock key value + Cyrillic_EF key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Shift_Lock key value + Cyrillic_el key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Meta_L key value + Cyrillic_EL key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Meta_R key value + Cyrillic_em key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Alt_L key value + Cyrillic_EM key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Alt_R key value + Cyrillic_en key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Super_L key value + Cyrillic_EN key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Super_R key value + Cyrillic_er key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hyper_L key value + Cyrillic_ER key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hyper_R key value + Cyrillic_es key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Lock key value + Cyrillic_ES key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Level2_Latch key value + Cyrillic_ghe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Level3_Shift key value + Cyrillic_GHE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Level3_Latch key value + Cyrillic_ha key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Level3_Lock key value + Cyrillic_HA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Group_Shift key value + Cyrillic_hardsign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Group_Latch key value + Cyrillic_HARDSIGN key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Group_Lock key value + Cyrillic_i key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Next_Group key value + Cyrillic_I key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Next_Group_Lock key value + Cyrillic_ie key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Prev_Group key value + Cyrillic_IE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Prev_Group_Lock key value + Cyrillic_io key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_First_Group key value + Cyrillic_IO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_First_Group_Lock key value + Cyrillic_je key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Last_Group key value + Cyrillic_JE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Last_Group_Lock key value + Cyrillic_ka key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Left_Tab key value + Cyrillic_KA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Move_Line_Up key value + Cyrillic_lje key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Move_Line_Down key value + Cyrillic_LJE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Partial_Line_Up key value + Cyrillic_nje key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Partial_Line_Down key value + Cyrillic_NJE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Partial_Space_Left key value + Cyrillic_o key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Partial_Space_Right key value + Cyrillic_O key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Set_Margin_Left key value + Cyrillic_pe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Set_Margin_Right key value + Cyrillic_PE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Release_Margin_Left key value + Cyrillic_sha key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Release_Margin_Right key value + Cyrillic_SHA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Release_Both_Margins key value + Cyrillic_shcha key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Fast_Cursor_Left key value + Cyrillic_SHCHA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Fast_Cursor_Right key value + Cyrillic_shorti key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Fast_Cursor_Up key value + Cyrillic_SHORTI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Fast_Cursor_Down key value + Cyrillic_softsign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Continuous_Underline key value + Cyrillic_SOFTSIGN key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Discontinuous_Underline key value + Cyrillic_te key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Emphasize key value + Cyrillic_TE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Center_Object key value + Cyrillic_tse key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ISO_Enter key value + Cyrillic_TSE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_grave key value + Cyrillic_u key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_acute key value + Cyrillic_U key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_circumflex key value + Cyrillic_ve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_tilde key value + Cyrillic_VE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_macron key value + Cyrillic_ya key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_breve key value + Cyrillic_YA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_abovedot key value + Cyrillic_yeru key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_diaeresis key value + Cyrillic_YERU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_abovering key value + Cyrillic_yu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_doubleacute key value + Cyrillic_YU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_caron key value + Cyrillic_ze key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_cedilla key value + Cyrillic_ZE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_ogonek key value + Cyrillic_zhe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_iota key value + Cyrillic_ZHE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_voiced_sound key value + d key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_semivoiced_sound key value + D key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dead_belowdot key value + dagger key value - - + + + Field + + 2.12.0.0 + Gdk.Key - First_Virtual_Screen key value + dcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Prev_Virtual_Screen key value + Dcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Next_Virtual_Screen key value + dead_abovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Last_Virtual_Screen key value + dead_abovering key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Terminate_Server key value + dead_acute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - AccessX_Enable key value + dead_belowdot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - AccessX_Feedback_Enable key value + dead_breve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - RepeatKeys_Enable key value + dead_caron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - SlowKeys_Enable key value + dead_cedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - BounceKeys_Enable key value + dead_circumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - StickyKeys_Enable key value + dead_diaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - MouseKeys_Enable key value + dead_doubleacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - MouseKeys_Accel_Enable key value + dead_grave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Overlay1_Enable key value + dead_iota key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Overlay2_Enable key value + dead_macron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - AudibleBell_Enable key value + dead_ogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Left key value + dead_semivoiced_sound key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Right key value + dead_tilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Up key value + dead_voiced_sound key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Down key value + decimalpoint key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_UpLeft key value + degree key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_UpRight key value + Delete key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DownLeft key value + diaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DownRight key value + diamond key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Button_Dflt key value + digitspace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Button1 key value + division key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Button2 key value + dollar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Button3 key value + DongSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Button4 key value + doubbaselinedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Button5 key value + doubleacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DblClick_Dflt key value + doubledagger key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DblClick1 key value + doublelowquotemark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DblClick2 key value + Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DblClick3 key value + downarrow key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DblClick4 key value + downcaret key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DblClick5 key value + downshoe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Drag_Dflt key value + downstile key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Drag1 key value + downtack key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Drag2 key value + dstroke key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Drag3 key value + Dstroke key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Drag4 key value + e key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Drag5 key value + E key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_EnableKeys key value + eabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_Accelerate key value + Eabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DfltBtnNext key value + eacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Pointer_DfltBtnPrev key value + Eacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Duplicate key value + ecaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_FieldMark key value + Ecaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Right2 key value + ecircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Left2 key value + Ecircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_BackTab key value + EcuSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_EraseEOF key value + ediaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_EraseInput key value + Ediaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Reset key value + egrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Quit key value + Egrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_PA1 key value + Eisu_Shift key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_PA2 key value + Eisu_toggle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_PA3 key value + ellipsis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Test key value + em3space key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Attn key value + em4space key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_CursorBlink key value + emacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_AltCursor key value + Emacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_KeyClick key value + emdash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Jump key value + emfilledcircle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Ident key value + emfilledrect key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Rule key value + emopencircle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Copy key value + emopenrectangle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Play key value + emspace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Setup key value + End key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Record key value + endash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_ChangeScreen key value + enfilledcircbullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_DeleteWord key value + enfilledsqbullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_ExSelect key value + eng key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_CursorSelect key value + ENG key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_PrintScreen key value + enopencircbullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3270_Enter key value + enopensquarebullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - space key value + enspace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - exclam key value + eogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - quotedbl key value + Eogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - numbersign key value + equal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dollar key value + Escape key value - - + + + Field + + 2.12.0.0 + Gdk.Key - percent key value + eth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ampersand key value + Eth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - apostrophe key value + ETH key value - - + + + Field + + 2.12.0.0 + Gdk.Key - quoteright key value + EuroSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - parenleft key value + exclam key value - - + + + Field + + 2.12.0.0 + Gdk.Key - parenright key value + exclamdown key value - - + + + Field + + 2.12.0.0 + Gdk.Key - asterisk key value + Execute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - plus key value + f key value - - + + + Field + + 2.12.0.0 + Gdk.Key - comma key value + F key value - - + + + Field + + 2.12.0.0 + Gdk.Key - minus key value + F1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - period key value + F10 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - slash key value + F11 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_0 key value + F12 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_1 key value + F13 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_2 key value + F14 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_3 key value + F15 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_4 key value + F16 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_5 key value + F17 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_6 key value + F18 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_7 key value + F19 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_8 key value + F2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Key_9 key value + F20 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - colon key value + F21 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - semicolon key value + F22 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - less key value + F23 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - equal key value + F24 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - greater key value + F25 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - question key value + F26 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - at key value + F27 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - A key value + F28 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - B key value + F29 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - C key value + F3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - D key value + F30 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - E key value + F31 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - F key value + F32 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - G key value + F33 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - H key value + F34 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - I key value + F35 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - J key value + F4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - K key value + F5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - L key value + F6 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - M key value + F7 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - N key value + F8 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - O key value + F9 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - P key value + femalesymbol key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Q key value + ff key value - - + + + Field + + 2.12.0.0 + Gdk.Key - R key value + FFrancSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - S key value + figdash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - T key value + filledlefttribullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - U key value + filledrectbullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - V key value + filledrighttribullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - W key value + filledtribulletdown key value - - + + + Field + + 2.12.0.0 + Gdk.Key - X key value + filledtribulletup key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Y key value + Find key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Z key value + First_Virtual_Screen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - bracketleft key value + fiveeighths key value - - + + + Field + + 2.12.0.0 + Gdk.Key - backslash key value + fivesixths key value - - + + + Field + + 2.12.0.0 + Gdk.Key - bracketright key value + fourfifths key value - - + + + Field + + 2.12.0.0 + Gdk.Key - asciicircum key value + function key value - - + + + Field + + 2.12.0.0 + Gdk.Key - underscore key value + g key value - - + + + Field + + 2.12.0.0 + Gdk.Key - grave key value + G key value - - + + + Field + + 2.12.0.0 + Gdk.Key - quoteleft key value + gabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - a key value + Gabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - b key value + gbreve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - c key value + Gbreve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - d key value + gcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - e key value + Gcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - f key value + gcircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - g key value + Gcircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - h key value + grave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - i key value + greater key value - - + + + Field + + 2.12.0.0 + Gdk.Key - j key value + greaterthanequal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - k key value + Greek_accentdieresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - l key value + Greek_alpha key value - - + + + Field + + 2.12.0.0 + Gdk.Key - m key value + Greek_ALPHA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - n key value + Greek_alphaaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - o key value + Greek_ALPHAaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - p key value + Greek_beta key value - - + + + Field + + 2.12.0.0 + Gdk.Key - q key value + Greek_BETA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - r key value + Greek_chi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - s key value + Greek_CHI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - t key value + Greek_delta key value - - + + + Field + + 2.12.0.0 + Gdk.Key - u key value + Greek_DELTA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - v key value + Greek_epsilon key value - - + + + Field + + 2.12.0.0 + Gdk.Key - w key value + Greek_EPSILON key value - - + + + Field + + 2.12.0.0 + Gdk.Key - x key value + Greek_epsilonaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - y key value + Greek_EPSILONaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - z key value + Greek_eta key value - - + + + Field + + 2.12.0.0 + Gdk.Key - braceleft key value + Greek_ETA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - bar key value + Greek_etaaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - braceright key value + Greek_ETAaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - asciitilde key value + Greek_finalsmallsigma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - nobreakspace key value + Greek_gamma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - exclamdown key value + Greek_GAMMA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - cent key value + Greek_horizbar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - sterling key value + Greek_iota key value - - + + + Field + + 2.12.0.0 + Gdk.Key - currency key value + Greek_IOTA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - yen key value + Greek_iotaaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - brokenbar key value + Greek_IOTAaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - section key value + Greek_iotaaccentdieresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - diaeresis key value + Greek_IOTAdiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - copyright key value + Greek_iotadieresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ordfeminine key value + Greek_kappa key value - - + + + Field + + 2.12.0.0 + Gdk.Key - guillemotleft key value + Greek_KAPPA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - notsign key value + Greek_lambda key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hyphen key value + Greek_LAMBDA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - registered key value + Greek_lamda key value - - + + + Field + + 2.12.0.0 + Gdk.Key - macron key value + Greek_LAMDA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - degree key value + Greek_mu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - plusminus key value + Greek_MU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - twosuperior key value + Greek_nu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - threesuperior key value + Greek_NU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - acute key value + Greek_omega key value - - + + + Field + + 2.12.0.0 + Gdk.Key - mu key value + Greek_OMEGA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - paragraph key value + Greek_omegaaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - periodcentered key value + Greek_OMEGAaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - cedilla key value + Greek_omicron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - onesuperior key value + Greek_OMICRON key value - - + + + Field + + 2.12.0.0 + Gdk.Key - masculine key value + Greek_omicronaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - guillemotright key value + Greek_OMICRONaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - onequarter key value + Greek_phi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - onehalf key value + Greek_PHI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - threequarters key value + Greek_pi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - questiondown key value + Greek_PI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Agrave key value + Greek_psi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Aacute key value + Greek_PSI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Acircumflex key value + Greek_rho key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Atilde key value + Greek_RHO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Adiaeresis key value + Greek_sigma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Aring key value + Greek_SIGMA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - AE key value + Greek_switch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ccedilla key value + Greek_tau key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Egrave key value + Greek_TAU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Eacute key value + Greek_theta key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ecircumflex key value + Greek_THETA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ediaeresis key value + Greek_upsilon key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Igrave key value + Greek_UPSILON key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Iacute key value + Greek_upsilonaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Icircumflex key value + Greek_UPSILONaccent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Idiaeresis key value + Greek_upsilonaccentdieresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ETH key value + Greek_upsilondieresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Eth key value + Greek_UPSILONdieresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ntilde key value + Greek_xi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ograve key value + Greek_XI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Oacute key value + Greek_zeta key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ocircumflex key value + Greek_ZETA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Otilde key value + guillemotleft key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Odiaeresis key value + guillemotright key value - - + + + Field + + 2.12.0.0 + Gdk.Key - multiply key value + h key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ooblique key value + H key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ugrave key value + hairspace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Uacute key value + Hangul key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ucircumflex key value + Hangul_A key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Udiaeresis key value + Hangul_AE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Yacute key value + Hangul_AraeA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - THORN key value + Hangul_AraeAE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thorn key value + Hangul_Banja key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ssharp key value + Hangul_Cieuc key value - - + + + Field + + 2.12.0.0 + Gdk.Key - agrave key value + Hangul_Codeinput key value - - + + + Field + + 2.12.0.0 + Gdk.Key - aacute key value + Hangul_Dikeud key value - - + + + Field + + 2.12.0.0 + Gdk.Key - acircumflex key value + Hangul_E key value - - + + + Field + + 2.12.0.0 + Gdk.Key - atilde key value + Hangul_End key value - - + + + Field + + 2.12.0.0 + Gdk.Key - adiaeresis key value + Hangul_EO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - aring key value + Hangul_EU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ae key value + Hangul_Hanja key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ccedilla key value + Hangul_Hieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - egrave key value + Hangul_I key value - - + + + Field + + 2.12.0.0 + Gdk.Key - eacute key value + Hangul_Ieung key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ecircumflex key value + Hangul_J_Cieuc key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ediaeresis key value + Hangul_J_Dikeud key value - - + + + Field + + 2.12.0.0 + Gdk.Key - igrave key value + Hangul_J_Hieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - iacute key value + Hangul_J_Ieung key value - - + + + Field + + 2.12.0.0 + Gdk.Key - icircumflex key value + Hangul_J_Jieuj key value - - + + + Field + + 2.12.0.0 + Gdk.Key - idiaeresis key value + Hangul_J_Khieuq key value - - + + + Field + + 2.12.0.0 + Gdk.Key - eth key value + Hangul_J_Kiyeog key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ntilde key value + Hangul_J_KiyeogSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ograve key value + Hangul_J_KkogjiDalrinIeung key value - - + + + Field + + 2.12.0.0 + Gdk.Key - oacute key value + Hangul_J_Mieum key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ocircumflex key value + Hangul_J_Nieun key value - - + + + Field + + 2.12.0.0 + Gdk.Key - otilde key value + Hangul_J_NieunHieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - odiaeresis key value + Hangul_J_NieunJieuj key value - - + + + Field + + 2.12.0.0 + Gdk.Key - division key value + Hangul_J_PanSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - oslash key value + Hangul_J_Phieuf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ugrave key value + Hangul_J_Pieub key value - - + + + Field + + 2.12.0.0 + Gdk.Key - uacute key value + Hangul_J_PieubSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ucircumflex key value + Hangul_J_Rieul key value - - + + + Field + + 2.12.0.0 + Gdk.Key - udiaeresis key value + Hangul_J_RieulHieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - yacute key value + Hangul_J_RieulKiyeog key value - - + + + Field + + 2.12.0.0 + Gdk.Key - thorn key value + Hangul_J_RieulMieum key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ydiaeresis key value + Hangul_J_RieulPhieuf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Aogonek key value + Hangul_J_RieulPieub key value - - + + + Field + + 2.12.0.0 + Gdk.Key - breve key value + Hangul_J_RieulSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Lstroke key value + Hangul_J_RieulTieut key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Lcaron key value + Hangul_J_Sios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Sacute key value + Hangul_J_SsangKiyeog key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Scaron key value + Hangul_J_SsangSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Scedilla key value + Hangul_J_Tieut key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Tcaron key value + Hangul_J_YeorinHieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Zacute key value + Hangul_Jamo key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Zcaron key value + Hangul_Jeonja key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Zabovedot key value + Hangul_Jieuj key value - - + + + Field + + 2.12.0.0 + Gdk.Key - aogonek key value + Hangul_Khieuq key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ogonek key value + Hangul_Kiyeog key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lstroke key value + Hangul_KiyeogSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lcaron key value + Hangul_KkogjiDalrinIeung key value - - + + + Field + + 2.12.0.0 + Gdk.Key - sacute key value + Hangul_Mieum key value - - + + + Field + + 2.12.0.0 + Gdk.Key - caron key value + Hangul_MultipleCandidate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - scaron key value + Hangul_Nieun key value - - + + + Field + + 2.12.0.0 + Gdk.Key - scedilla key value + Hangul_NieunHieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - tcaron key value + Hangul_NieunJieuj key value - - + + + Field + + 2.12.0.0 + Gdk.Key - zacute key value + Hangul_O key value - - + + + Field + + 2.12.0.0 + Gdk.Key - doubleacute key value + Hangul_OE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - zcaron key value + Hangul_PanSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - zabovedot key value + Hangul_Phieuf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Racute key value + Hangul_Pieub key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Abreve key value + Hangul_PieubSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Lacute key value + Hangul_PostHanja key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cacute key value + Hangul_PreHanja key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ccaron key value + Hangul_PreviousCandidate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Eogonek key value + Hangul_Rieul key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ecaron key value + Hangul_RieulHieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Dcaron key value + Hangul_RieulKiyeog key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Dstroke key value + Hangul_RieulMieum key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Nacute key value + Hangul_RieulPhieuf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ncaron key value + Hangul_RieulPieub key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Odoubleacute key value + Hangul_RieulSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Rcaron key value + Hangul_RieulTieut key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Uring key value + Hangul_RieulYeorinHieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Udoubleacute key value + Hangul_Romaja key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Tcedilla key value + Hangul_SingleCandidate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - racute key value + Hangul_Sios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - abreve key value + Hangul_Special key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lacute key value + Hangul_SsangDikeud key value - - + + + Field + + 2.12.0.0 + Gdk.Key - cacute key value + Hangul_SsangJieuj key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ccaron key value + Hangul_SsangKiyeog key value - - + + + Field + + 2.12.0.0 + Gdk.Key - eogonek key value + Hangul_SsangPieub key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ecaron key value + Hangul_SsangSios key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dcaron key value + Hangul_Start key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dstroke key value + Hangul_SunkyeongeumMieum key value - - + + + Field + + 2.12.0.0 + Gdk.Key - nacute key value + Hangul_SunkyeongeumPhieuf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ncaron key value + Hangul_SunkyeongeumPieub key value - - + + + Field + + 2.12.0.0 + Gdk.Key - odoubleacute key value + Hangul_switch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - udoubleacute key value + Hangul_Tieut key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rcaron key value + Hangul_U key value - - + + + Field + + 2.12.0.0 + Gdk.Key - uring key value + Hangul_WA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - tcedilla key value + Hangul_WAE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - abovedot key value + Hangul_WE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hstroke key value + Hangul_WEO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hcircumflex key value + Hangul_WI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Iabovedot key value + Hangul_YA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Gbreve key value + Hangul_YAE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Jcircumflex key value + Hangul_YE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hstroke key value + Hangul_YEO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hcircumflex key value + Hangul_YeorinHieuh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - idotless key value + Hangul_YI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - gbreve key value + Hangul_YO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - jcircumflex key value + Hangul_YU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cabovedot key value + Hankaku key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ccircumflex key value + hcircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Gabovedot key value + Hcircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Gcircumflex key value + heart key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ubreve key value + hebrew_aleph key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Scircumflex key value + hebrew_ayin key value - - + + + Field + + 2.12.0.0 + Gdk.Key - cabovedot key value + hebrew_bet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ccircumflex key value + hebrew_beth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - gabovedot key value + hebrew_chet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - gcircumflex key value + hebrew_dalet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ubreve key value + hebrew_daleth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - scircumflex key value + hebrew_doublelowline key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kra key value + hebrew_finalkaph key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kappa key value + hebrew_finalmem key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Rcedilla key value + hebrew_finalnun key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Itilde key value + hebrew_finalpe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Lcedilla key value + hebrew_finalzade key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Emacron key value + hebrew_finalzadi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Gcedilla key value + hebrew_gimel key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Tslash key value + hebrew_gimmel key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rcedilla key value + hebrew_he key value - - + + + Field + + 2.12.0.0 + Gdk.Key - itilde key value + hebrew_het key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lcedilla key value + hebrew_kaph key value - - + + + Field + + 2.12.0.0 + Gdk.Key - emacron key value + hebrew_kuf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - gcedilla key value + hebrew_lamed key value - - + + + Field + + 2.12.0.0 + Gdk.Key - tslash key value + hebrew_mem key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ENG key value + hebrew_nun key value - - + + + Field + + 2.12.0.0 + Gdk.Key - eng key value + hebrew_pe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Amacron key value + hebrew_qoph key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Iogonek key value + hebrew_resh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Eabovedot key value + hebrew_samech key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Imacron key value + hebrew_samekh key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ncedilla key value + hebrew_shin key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Omacron key value + Hebrew_switch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Kcedilla key value + hebrew_taf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Uogonek key value + hebrew_taw key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Utilde key value + hebrew_tet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Umacron key value + hebrew_teth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - amacron key value + hebrew_waw key value - - + + + Field + + 2.12.0.0 + Gdk.Key - iogonek key value + hebrew_yod key value - - + + + Field + + 2.12.0.0 + Gdk.Key - eabovedot key value + hebrew_zade key value - - + + + Field + + 2.12.0.0 + Gdk.Key - imacron key value + hebrew_zadi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ncedilla key value + hebrew_zain key value - - + + + Field + + 2.12.0.0 + Gdk.Key - omacron key value + hebrew_zayin key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kcedilla key value + Help key value - - + + + Field + + 2.12.0.0 + Gdk.Key - uogonek key value + Henkan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - utilde key value + Henkan_Mode key value - - + + + Field + + 2.12.0.0 + Gdk.Key - umacron key value + hexagram key value - - + + + Field + + 2.12.0.0 + Gdk.Key - OE key value + Hiragana key value - - + + + Field + + 2.12.0.0 + Gdk.Key - oe key value + Hiragana_Katakana key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ydiaeresis key value + Home key value - - + + + Field + + 2.12.0.0 + Gdk.Key - overline key value + horizconnector key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_fullstop key value + horizlinescan1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_openingbracket key value + horizlinescan3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_closingbracket key value + horizlinescan5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_comma key value + horizlinescan7 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_conjunctive key value + horizlinescan9 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_middledot key value + hstroke key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_WO key value + Hstroke key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_a key value + ht key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_i key value + Hyper_L key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_u key value + Hyper_R key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_e key value + hyphen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_o key value + i key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_ya key value + I key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_yu key value + Iabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_yo key value + iacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_tsu key value + Iacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_tu key value + icircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - prolongedsound key value + Icircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_A key value + identical key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_I key value + idiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_U key value + Idiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_E key value + idotless key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_O key value + ifonlyif key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_KA key value + igrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_KI key value + Igrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_KU key value + imacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_KE key value + Imacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_KO key value + implies key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_SA key value + includedin key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_SHI key value + includes key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_SU key value + infinity key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_SE key value + Insert key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_SO key value + integral key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_TA key value + intersection key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_CHI key value + iogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_TI key value + Iogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_TSU key value + ISO_Center_Object key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_TU key value + ISO_Continuous_Underline key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_TE key value + ISO_Discontinuous_Underline key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_TO key value + ISO_Emphasize key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_NA key value + ISO_Enter key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_NI key value + ISO_Fast_Cursor_Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_NU key value + ISO_Fast_Cursor_Left key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_NE key value + ISO_Fast_Cursor_Right key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_NO key value + ISO_Fast_Cursor_Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_HA key value + ISO_First_Group key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_HI key value + ISO_First_Group_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_FU key value + ISO_Group_Latch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_HU key value + ISO_Group_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_HE key value + ISO_Group_Shift key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_HO key value + ISO_Last_Group key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_MA key value + ISO_Last_Group_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_MI key value + ISO_Left_Tab key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_MU key value + ISO_Level2_Latch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_ME key value + ISO_Level3_Latch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_MO key value + ISO_Level3_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_YA key value + ISO_Level3_Shift key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_YU key value + ISO_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_YO key value + ISO_Move_Line_Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_RA key value + ISO_Move_Line_Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_RI key value + ISO_Next_Group key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_RU key value + ISO_Next_Group_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_RE key value + ISO_Partial_Line_Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_RO key value + ISO_Partial_Line_Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_WA key value + ISO_Partial_Space_Left key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_N key value + ISO_Partial_Space_Right key value - - + + + Field + + 2.12.0.0 + Gdk.Key - voicedsound key value + ISO_Prev_Group key value - - + + + Field + + 2.12.0.0 + Gdk.Key - semivoicedsound key value + ISO_Prev_Group_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - kana_switch key value + ISO_Release_Both_Margins key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_comma key value + ISO_Release_Margin_Left key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_semicolon key value + ISO_Release_Margin_Right key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_question_mark key value + ISO_Set_Margin_Left key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_hamza key value + ISO_Set_Margin_Right key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_maddaonalef key value + itilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_hamzaonalef key value + Itilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_hamzaonwaw key value + j key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_hamzaunderalef key value + J key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_hamzaonyeh key value + jcircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_alef key value + Jcircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_beh key value + jot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_tehmarbuta key value + k key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_teh key value + K key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_theh key value + kana_a key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_jeem key value + kana_A key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_hah key value + kana_CHI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_khah key value + kana_closingbracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_dal key value + kana_comma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_thal key value + kana_conjunctive key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_ra key value + kana_e key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_zain key value + kana_E key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_seen key value + kana_FU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_sheen key value + kana_fullstop key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_sad key value + kana_HA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_dad key value + kana_HE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_tah key value + kana_HI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_zah key value + kana_HO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_ain key value + kana_HU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_ghain key value + kana_i key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_tatweel key value + kana_I key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_feh key value + kana_KA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_qaf key value + kana_KE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_kaf key value + kana_KI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_lam key value + kana_KO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_meem key value + kana_KU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_noon key value + Kana_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_ha key value + kana_MA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_heh key value + kana_ME key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_waw key value + kana_MI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_alefmaksura key value + kana_middledot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_yeh key value + kana_MO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_fathatan key value + kana_MU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_dammatan key value + kana_N key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_kasratan key value + kana_NA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_fatha key value + kana_NE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_damma key value + kana_NI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_kasra key value + kana_NO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_shadda key value + kana_NU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_sukun key value + kana_o key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Arabic_switch key value + kana_O key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_dje key value + kana_openingbracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Macedonia_gje key value + kana_RA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_io key value + kana_RE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukrainian_ie key value + kana_RI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukranian_je key value + kana_RO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Macedonia_dse key value + kana_RU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukrainian_i key value + kana_SA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukranian_i key value + kana_SE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukrainian_yi key value + kana_SHI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukranian_yi key value + Kana_Shift key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_je key value + kana_SO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_je key value + kana_SU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_lje key value + kana_switch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_lje key value + kana_TA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_nje key value + kana_TE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_nje key value + kana_TI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_tshe key value + kana_TO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Macedonia_kje key value + kana_tsu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Byelorussian_shortu key value + kana_TSU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_dzhe key value + kana_tu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_dze key value + kana_TU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - numerosign key value + kana_u key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_DJE key value + kana_U key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Macedonia_GJE key value + kana_WA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_IO key value + kana_WO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukrainian_IE key value + kana_ya key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukranian_JE key value + kana_YA key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Macedonia_DSE key value + kana_yo key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukrainian_I key value + kana_YO key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukranian_I key value + kana_yu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukrainian_YI key value + kana_YU key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Ukranian_YI key value + Kanji key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_JE key value + Kanji_Bangou key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_JE key value + kappa key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_LJE key value + Katakana key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_LJE key value + kcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_NJE key value + Kcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_NJE key value + Key_0 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_TSHE key value + Key_1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Macedonia_KJE key value + Key_2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Byelorussian_SHORTU key value + Key_3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_DZHE key value + Key_3270_AltCursor key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Serbian_DZE key value + Key_3270_Attn key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_yu key value + Key_3270_BackTab key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_a key value + Key_3270_ChangeScreen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_be key value + Key_3270_Copy key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_tse key value + Key_3270_CursorBlink key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_de key value + Key_3270_CursorSelect key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ie key value + Key_3270_DeleteWord key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ef key value + Key_3270_Duplicate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ghe key value + Key_3270_Enter key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ha key value + Key_3270_EraseEOF key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_i key value + Key_3270_EraseInput key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_shorti key value + Key_3270_ExSelect key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ka key value + Key_3270_FieldMark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_el key value + Key_3270_Ident key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_em key value + Key_3270_Jump key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_en key value + Key_3270_KeyClick key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_o key value + Key_3270_Left2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_pe key value + Key_3270_PA1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ya key value + Key_3270_PA2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_er key value + Key_3270_PA3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_es key value + Key_3270_Play key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_te key value + Key_3270_PrintScreen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_u key value + Key_3270_Quit key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_zhe key value + Key_3270_Record key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ve key value + Key_3270_Reset key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_softsign key value + Key_3270_Right2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_yeru key value + Key_3270_Rule key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ze key value + Key_3270_Setup key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_sha key value + Key_3270_Test key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_e key value + Key_4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_shcha key value + Key_5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_che key value + Key_6 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_hardsign key value + Key_7 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_YU key value + Key_8 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_A key value + Key_9 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_BE key value + Korean_Won key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_TSE key value + KP_0 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_DE key value + KP_1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_IE key value + KP_2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_EF key value + KP_3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_GHE key value + KP_4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_HA key value + KP_5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_I key value + KP_6 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_SHORTI key value + KP_7 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_KA key value + KP_8 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_EL key value + KP_9 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_EM key value + KP_Add key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_EN key value + KP_Begin key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_O key value + KP_Decimal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_PE key value + KP_Delete key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_YA key value + KP_Divide key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ER key value + KP_Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ES key value + KP_End key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_TE key value + KP_Enter key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_U key value + KP_Equal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ZHE key value + KP_F1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_VE key value + KP_F2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_SOFTSIGN key value + KP_F3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_YERU key value + KP_F4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_ZE key value + KP_Home key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_SHA key value + KP_Insert key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_E key value + KP_Left key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_SHCHA key value + KP_Multiply key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_CHE key value + KP_Next key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Cyrillic_HARDSIGN key value + KP_Page_Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_ALPHAaccent key value + KP_Page_Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_EPSILONaccent key value + KP_Prior key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_ETAaccent key value + KP_Right key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_IOTAaccent key value + KP_Separator key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_IOTAdiaeresis key value + KP_Space key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_OMICRONaccent key value + KP_Subtract key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_UPSILONaccent key value + KP_Tab key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_UPSILONdieresis key value + KP_Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_OMEGAaccent key value + kra key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_accentdieresis key value + l key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_horizbar key value + L key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_alphaaccent key value + L1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_epsilonaccent key value + L10 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_etaaccent key value + L2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_iotaaccent key value + L3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_iotadieresis key value + L4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_iotaaccentdieresis key value + L5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_omicronaccent key value + L6 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_upsilonaccent key value + L7 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_upsilondieresis key value + L8 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_upsilonaccentdieresis key value + L9 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_omegaaccent key value + lacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_ALPHA key value + Lacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_BETA key value + Last_Virtual_Screen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_GAMMA key value + latincross key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_DELTA key value + lcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_EPSILON key value + Lcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_ZETA key value + lcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_ETA key value + Lcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_THETA key value + Left key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_IOTA key value + leftanglebracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_KAPPA key value + leftarrow key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_LAMDA key value + leftcaret key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_LAMBDA key value + leftdoublequotemark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_MU key value + leftmiddlecurlybrace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_NU key value + leftopentriangle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_XI key value + leftpointer key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_OMICRON key value + leftradical key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_PI key value + leftshoe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_RHO key value + leftsinglequotemark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_SIGMA key value + leftt key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_TAU key value + lefttack key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_UPSILON key value + less key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_PHI key value + lessthanequal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_CHI key value + lf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_PSI key value + Linefeed key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_OMEGA key value + LiraSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_alpha key value + logicaland key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_beta key value + logicalor key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_gamma key value + lowleftcorner key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_delta key value + lowrightcorner key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_epsilon key value + lstroke key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_zeta key value + Lstroke key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_eta key value + m key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_theta key value + M key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_iota key value + Macedonia_dse key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_kappa key value + Macedonia_DSE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_lamda key value + Macedonia_gje key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_lambda key value + Macedonia_GJE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_mu key value + Macedonia_kje key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_nu key value + Macedonia_KJE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_xi key value + macron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_omicron key value + Mae_Koho key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_pi key value + malesymbol key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_rho key value + maltesecross key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_sigma key value + marker key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_finalsmallsigma key value + masculine key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_tau key value + Massyo key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_upsilon key value + Menu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_phi key value + Meta_L key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_chi key value + Meta_R key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_psi key value + MillSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_omega key value + minus key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Greek_switch key value + minutes key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftradical key value + Mode_switch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - topleftradical key value + MouseKeys_Accel_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - horizconnector key value + MouseKeys_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - topintegral key value + mu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botintegral key value + Muhenkan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - vertconnector key value + Multi_key key value - - + + + Field + + 2.12.0.0 + Gdk.Key - topleftsqbracket key value + MultipleCandidate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botleftsqbracket key value + multiply key value - - + + + Field + + 2.12.0.0 + Gdk.Key - toprightsqbracket key value + musicalflat key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botrightsqbracket key value + musicalsharp key value - - + + + Field + + 2.12.0.0 + Gdk.Key - topleftparens key value + n key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botleftparens key value + N key value - - + + + Field + + 2.12.0.0 + Gdk.Key - toprightparens key value + nabla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botrightparens key value + nacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftmiddlecurlybrace key value + Nacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightmiddlecurlybrace key value + NairaSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - topleftsummation key value + ncaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botleftsummation key value + Ncaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - topvertsummationconnector key value + ncedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botvertsummationconnector key value + Ncedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - toprightsummation key value + NewSheqelSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - botrightsummation key value + Next key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightmiddlesummation key value + Next_Virtual_Screen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lessthanequal key value + nl key value - - + + + Field + + 2.12.0.0 + Gdk.Key - notequal key value + nobreakspace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - greaterthanequal key value + notequal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - integral key value + notsign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - therefore key value + ntilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - variation key value + Ntilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - infinity key value + Num_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - nabla key value + numbersign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - approximate key value + numerosign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - similarequal key value + o key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ifonlyif key value + O key value - - + + + Field + + 2.12.0.0 + Gdk.Key - implies key value + oacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - identical key value + Oacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - radical key value + ocircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - includedin key value + Ocircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - includes key value + odiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - intersection key value + Odiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - union key value + odoubleacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - logicaland key value + Odoubleacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - logicalor key value + oe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - partialderivative key value + OE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - function key value + ogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftarrow key value + ograve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - uparrow key value + Ograve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightarrow key value + omacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - downarrow key value + Omacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - blank key value + oneeighth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - soliddiamond key value + onefifth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - checkerboard key value + onehalf key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ht key value + onequarter key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ff key value + onesixth key value - - + + + Field + + 2.12.0.0 + Gdk.Key - cr key value + onesuperior key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lf key value + onethird key value - - + + + Field + + 2.12.0.0 + Gdk.Key - nl key value + Ooblique key value - - + + + Field + + 2.12.0.0 + Gdk.Key - vt key value + openrectbullet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lowrightcorner key value + openstar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - uprightcorner key value + opentribulletdown key value - - + + + Field + + 2.12.0.0 + Gdk.Key - upleftcorner key value + opentribulletup key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lowleftcorner key value + ordfeminine key value - - + + + Field + + 2.12.0.0 + Gdk.Key - crossinglines key value + oslash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - horizlinescan1 key value + otilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - horizlinescan3 key value + Otilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - horizlinescan5 key value + overbar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - horizlinescan7 key value + Overlay1_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - horizlinescan9 key value + Overlay2_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftt key value + overline key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightt key value + p key value - - + + + Field + + 2.12.0.0 + Gdk.Key - bott key value + P key value - - + + + Field + + 2.12.0.0 + Gdk.Key - topt key value + Page_Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - vertbar key value + Page_Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - emspace key value + paragraph key value - - + + + Field + + 2.12.0.0 + Gdk.Key - enspace key value + parenleft key value - - + + + Field + + 2.12.0.0 + Gdk.Key - em3space key value + parenright key value - - + + + Field + + 2.12.0.0 + Gdk.Key - em4space key value + partialderivative key value - - + + + Field + + 2.12.0.0 + Gdk.Key - digitspace key value + Pause key value - - + + + Field + + 2.12.0.0 + Gdk.Key - punctspace key value + percent key value - - + + + Field + + 2.12.0.0 + Gdk.Key - thinspace key value + period key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hairspace key value + periodcentered key value - - + + + Field + + 2.12.0.0 + Gdk.Key - emdash key value + PesetaSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - endash key value + phonographcopyright key value - - + + + Field + + 2.12.0.0 + Gdk.Key - signifblank key value + plus key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ellipsis key value + plusminus key value - - + + + Field + + 2.12.0.0 + Gdk.Key - doubbaselinedot key value + Pointer_Accelerate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - onethird key value + Pointer_Button_Dflt key value - - + + + Field + + 2.12.0.0 + Gdk.Key - twothirds key value + Pointer_Button1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - onefifth key value + Pointer_Button2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - twofifths key value + Pointer_Button3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - threefifths key value + Pointer_Button4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - fourfifths key value + Pointer_Button5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - onesixth key value + Pointer_DblClick_Dflt key value - - + + + Field + + 2.12.0.0 + Gdk.Key - fivesixths key value + Pointer_DblClick1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - careof key value + Pointer_DblClick2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - figdash key value + Pointer_DblClick3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftanglebracket key value + Pointer_DblClick4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - decimalpoint key value + Pointer_DblClick5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightanglebracket key value + Pointer_DfltBtnNext key value - - + + + Field + + 2.12.0.0 + Gdk.Key - marker key value + Pointer_DfltBtnPrev key value - - + + + Field + + 2.12.0.0 + Gdk.Key - oneeighth key value + Pointer_Down key value - - + + + Field + + 2.12.0.0 + Gdk.Key - threeeighths key value + Pointer_DownLeft key value - - + + + Field + + 2.12.0.0 + Gdk.Key - fiveeighths key value + Pointer_DownRight key value - - + + + Field + + 2.12.0.0 + Gdk.Key - seveneighths key value + Pointer_Drag_Dflt key value - - + + + Field + + 2.12.0.0 + Gdk.Key - trademark key value + Pointer_Drag1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - signaturemark key value + Pointer_Drag2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - trademarkincircle key value + Pointer_Drag3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftopentriangle key value + Pointer_Drag4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightopentriangle key value + Pointer_Drag5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - emopencircle key value + Pointer_EnableKeys key value - - + + + Field + + 2.12.0.0 + Gdk.Key - emopenrectangle key value + Pointer_Left key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftsinglequotemark key value + Pointer_Right key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightsinglequotemark key value + Pointer_Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftdoublequotemark key value + Pointer_UpLeft key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightdoublequotemark key value + Pointer_UpRight key value + Field + + 2.12.0.0 + Gdk.Key @@ -14463,4244 +18592,5456 @@ - - + + + Field + + 2.12.0.0 + Gdk.Key - minutes key value + Prev_Virtual_Screen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - seconds key value + PreviousCandidate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - latincross key value + Print key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hexagram key value + Prior key value - - + + + Field + + 2.12.0.0 + Gdk.Key - filledrectbullet key value + prolongedsound key value - - + + + Field + + 2.12.0.0 + Gdk.Key - filledlefttribullet key value + punctspace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - filledrighttribullet key value + q key value - - + + + Field + + 2.12.0.0 + Gdk.Key - emfilledcircle key value + Q key value - - + + + Field + + 2.12.0.0 + Gdk.Key - emfilledrect key value + quad key value - - + + + Field + + 2.12.0.0 + Gdk.Key - enopencircbullet key value + question key value - - + + + Field + + 2.12.0.0 + Gdk.Key - enopensquarebullet key value + questiondown key value - - + + + Field + + 2.12.0.0 + Gdk.Key - openrectbullet key value + quotedbl key value - - + + + Field + + 2.12.0.0 + Gdk.Key - opentribulletup key value + quoteleft key value - - + + + Field + + 2.12.0.0 + Gdk.Key - opentribulletdown key value + quoteright key value - - + + + Field + + 2.12.0.0 + Gdk.Key - openstar key value + r key value - - + + + Field + + 2.12.0.0 + Gdk.Key - enfilledcircbullet key value + R key value - - + + + Field + + 2.12.0.0 + Gdk.Key - enfilledsqbullet key value + R1 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - filledtribulletup key value + R10 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - filledtribulletdown key value + R11 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftpointer key value + R12 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightpointer key value + R13 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - club key value + R14 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - diamond key value + R15 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - heart key value + R2 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - maltesecross key value + R3 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - dagger key value + R4 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - doubledagger key value + R5 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - checkmark key value + R6 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ballotcross key value + R7 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - musicalsharp key value + R8 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - musicalflat key value + R9 key value - - + + + Field + + 2.12.0.0 + Gdk.Key - malesymbol key value + racute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - femalesymbol key value + Racute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - telephone key value + radical key value - - + + + Field + + 2.12.0.0 + Gdk.Key - telephonerecorder key value + rcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - phonographcopyright key value + Rcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - caret key value + rcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - singlelowquotemark key value + Rcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - doublelowquotemark key value + Redo key value - - + + + Field + + 2.12.0.0 + Gdk.Key - cursor key value + registered key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftcaret key value + RepeatKeys_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightcaret key value + Return key value - - + + + Field + + 2.12.0.0 + Gdk.Key - downcaret key value + Right key value - - + + + Field + + 2.12.0.0 + Gdk.Key - upcaret key value + rightanglebracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - overbar key value + rightarrow key value - - + + + Field + + 2.12.0.0 + Gdk.Key - downtack key value + rightcaret key value - - + + + Field + + 2.12.0.0 + Gdk.Key - upshoe key value + rightdoublequotemark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - downstile key value + rightmiddlecurlybrace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - underbar key value + rightmiddlesummation key value - - + + + Field + + 2.12.0.0 + Gdk.Key - jot key value + rightopentriangle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - quad key value + rightpointer key value - - + + + Field + + 2.12.0.0 + Gdk.Key - uptack key value + rightshoe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - circle key value + rightsinglequotemark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - upstile key value + rightt key value - - + + + Field + + 2.12.0.0 + Gdk.Key - downshoe key value + righttack key value - - + + + Field + + 2.12.0.0 + Gdk.Key - rightshoe key value + Romaji key value - - + + + Field + + 2.12.0.0 + Gdk.Key - leftshoe key value + RupeeSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - lefttack key value + s key value - - + + + Field + + 2.12.0.0 + Gdk.Key - righttack key value + S key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_doublelowline key value + sacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_aleph key value + Sacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_bet key value + scaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_beth key value + Scaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_gimel key value + scedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_gimmel key value + Scedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_dalet key value + scircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_daleth key value + Scircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_he key value + script_switch key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_waw key value + Scroll_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_zain key value + seconds key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_zayin key value + section key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_chet key value + Select key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_het key value + semicolon key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_tet key value + semivoicedsound key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_teth key value + Serbian_dje key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_yod key value + Serbian_DJE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_finalkaph key value + Serbian_dze key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_kaph key value + Serbian_DZE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_lamed key value + Serbian_je key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_finalmem key value + Serbian_JE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_mem key value + Serbian_lje key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_finalnun key value + Serbian_LJE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_nun key value + Serbian_nje key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_samech key value + Serbian_NJE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_samekh key value + Serbian_tshe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_ayin key value + Serbian_TSHE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_finalpe key value + seveneighths key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_pe key value + Shift_L key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_finalzade key value + Shift_Lock key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_finalzadi key value + Shift_R key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_zade key value + signaturemark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_zadi key value + signifblank key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_qoph key value + similarequal key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_kuf key value + SingleCandidate key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_resh key value + singlelowquotemark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_shin key value + slash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_taw key value + SlowKeys_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - hebrew_taf key value + soliddiamond key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hebrew_switch key value + space key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_kokai key value + ssharp key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_khokhai key value + sterling key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_khokhuat key value + StickyKeys_Enable key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_khokhwai key value + Super_L key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_khokhon key value + Super_R key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_khorakhang key value + Sys_Req key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_ngongu key value + t key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_chochan key value + T key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_choching key value + Tab key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_chochang key value + tcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_soso key value + Tcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_chochoe key value + tcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_yoying key value + Tcedilla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_dochada key value + telephone key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_topatak key value + telephonerecorder key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_thothan key value + Terminate_Server key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_thonangmontho key value + Thai_baht key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_thophuthao key value + Thai_bobaimai key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_nonen key value + Thai_chochan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_dodek key value + Thai_chochang key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_totao key value + Thai_choching key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_thothung key value + Thai_chochoe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_thothahan key value + Thai_dochada key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_thothong key value + Thai_dodek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_nonu key value + Thai_fofa key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_bobaimai key value + Thai_fofan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_popla key value + Thai_hohip key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_phophung key value + Thai_honokhuk key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_fofa key value + Thai_khokhai key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_phophan key value + Thai_khokhon key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_fofan key value + Thai_khokhuat key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_phosamphao key value + Thai_khokhwai key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_moma key value + Thai_khorakhang key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_yoyak key value + Thai_kokai key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_rorua key value + Thai_lakkhangyao key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_ru key value + Thai_lekchet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_loling key value + Thai_lekha key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lu key value + Thai_lekhok key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_wowaen key value + Thai_lekkao key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sosala key value + Thai_leknung key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sorusi key value + Thai_lekpaet key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sosua key value + Thai_leksam key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_hohip key value + Thai_leksi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lochula key value + Thai_leksong key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_oang key value + Thai_leksun key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_honokhuk key value + Thai_lochula key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_paiyannoi key value + Thai_loling key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraa key value + Thai_lu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maihanakat key value + Thai_maichattawa key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraaa key value + Thai_maiek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraam key value + Thai_maihanakat key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sarai key value + Thai_maihanakat_maitho key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraii key value + Thai_maitaikhu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraue key value + Thai_maitho key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sarauee key value + Thai_maitri key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sarau key value + Thai_maiyamok key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sarauu key value + Thai_moma key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_phinthu key value + Thai_ngongu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maihanakat_maitho key value + Thai_nikhahit key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_baht key value + Thai_nonen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sarae key value + Thai_nonu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraae key value + Thai_oang key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_sarao key value + Thai_paiyannoi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraaimaimuan key value + Thai_phinthu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_saraaimaimalai key value + Thai_phophan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lakkhangyao key value + Thai_phophung key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maiyamok key value + Thai_phosamphao key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maitaikhu key value + Thai_popla key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maiek key value + Thai_rorua key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maitho key value + Thai_ru key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maitri key value + Thai_saraa key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_maichattawa key value + Thai_saraaa key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_thanthakhat key value + Thai_saraae key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_nikhahit key value + Thai_saraaimaimalai key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_leksun key value + Thai_saraaimaimuan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_leknung key value + Thai_saraam key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_leksong key value + Thai_sarae key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_leksam key value + Thai_sarai key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_leksi key value + Thai_saraii key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lekha key value + Thai_sarao key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lekhok key value + Thai_sarau key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lekchet key value + Thai_saraue key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lekpaet key value + Thai_sarauee key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Thai_lekkao key value + Thai_sarauu key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul key value + Thai_sorusi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Start key value + Thai_sosala key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_End key value + Thai_soso key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Hanja key value + Thai_sosua key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Jamo key value + Thai_thanthakhat key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Romaja key value + Thai_thonangmontho key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Codeinput key value + Thai_thophuthao key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Jeonja key value + Thai_thothahan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Banja key value + Thai_thothan key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_PreHanja key value + Thai_thothong key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_PostHanja key value + Thai_thothung key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SingleCandidate key value + Thai_topatak key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_MultipleCandidate key value + Thai_totao key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_PreviousCandidate key value + Thai_wowaen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Special key value + Thai_yoyak key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_switch key value + Thai_yoying key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Kiyeog key value + therefore key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SsangKiyeog key value + thinspace key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_KiyeogSios key value + thorn key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Nieun key value + Thorn key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_NieunJieuj key value + THORN key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_NieunHieuh key value + threeeighths key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Dikeud key value + threefifths key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SsangDikeud key value + threequarters key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Rieul key value + threesuperior key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulKiyeog key value + topintegral key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulMieum key value + topleftparens key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulPieub key value + topleftradical key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulSios key value + topleftsqbracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulTieut key value + topleftsummation key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulPhieuf key value + toprightparens key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulHieuh key value + toprightsqbracket key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Mieum key value + toprightsummation key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Pieub key value + topt key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SsangPieub key value + topvertsummationconnector key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_PieubSios key value + Touroku key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Sios key value + trademark key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SsangSios key value + trademarkincircle key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Ieung key value + tslash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Jieuj key value + Tslash key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SsangJieuj key value + twofifths key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Cieuc key value + twosuperior key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Khieuq key value + twothirds key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Tieut key value + u key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Phieuf key value + U key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_Hieuh key value + uacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_A key value + Uacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_AE key value + ubreve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YA key value + Ubreve key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YAE key value + ucircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_EO key value + Ucircumflex key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_E key value + udiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YEO key value + Udiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YE key value + udoubleacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_O key value + Udoubleacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_WA key value + ugrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_WAE key value + Ugrave key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_OE key value + Ukrainian_i key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YO key value + Ukrainian_I key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_U key value + Ukrainian_ie key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_WEO key value + Ukrainian_IE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_WE key value + Ukrainian_yi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_WI key value + Ukrainian_YI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YU key value + Ukranian_i key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_EU key value + Ukranian_I key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YI key value + Ukranian_je key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_I key value + Ukranian_JE key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Kiyeog key value + Ukranian_yi key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_SsangKiyeog key value + Ukranian_YI key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_KiyeogSios key value + umacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Nieun key value + Umacron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_NieunJieuj key value + underbar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_NieunHieuh key value + underscore key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Dikeud key value + Undo key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Rieul key value + union key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_RieulKiyeog key value + uogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_RieulMieum key value + Uogonek key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_RieulPieub key value + Up key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_RieulSios key value + uparrow key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_RieulTieut key value + upcaret key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_RieulPhieuf key value + upleftcorner key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_RieulHieuh key value + uprightcorner key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Mieum key value + upshoe key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Pieub key value + upstile key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_PieubSios key value + uptack key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Sios key value + uring key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_SsangSios key value + Uring key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Ieung key value + utilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Jieuj key value + Utilde key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Cieuc key value + v key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Khieuq key value + V key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Tieut key value + variation key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Phieuf key value + vertbar key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_Hieuh key value + vertconnector key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_RieulYeorinHieuh key value + voicedsound key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SunkyeongeumMieum key value + VoidSymbol key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SunkyeongeumPieub key value + vt key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_PanSios key value + w key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_KkogjiDalrinIeung key value + W key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_SunkyeongeumPhieuf key value + WonSign key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_YeorinHieuh key value + x key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_AraeA key value + X key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_AraeAE key value + y key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_PanSios key value + Y key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_KkogjiDalrinIeung key value + yacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Hangul_J_YeorinHieuh key value + Yacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - Korean_Won key value + ydiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - EcuSign key value + Ydiaeresis key value - - + + + Field + + 2.12.0.0 + Gdk.Key - ColonSign key value + yen key value - - + + + Field + + 2.12.0.0 + Gdk.Key - CruzeiroSign key value + z key value - - + + + Field + + 2.12.0.0 + Gdk.Key - FFrancSign key value + Z key value - - + + + Field + + 2.12.0.0 + Gdk.Key - LiraSign key value + zabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - MillSign key value + Zabovedot key value - - + + + Field + + 2.12.0.0 + Gdk.Key - NairaSign key value + zacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - PesetaSign key value + Zacute key value - - + + + Field + + 2.12.0.0 + Gdk.Key - RupeeSign key value + zcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - WonSign key value + Zcaron key value - - + + + Field + + 2.12.0.0 + Gdk.Key - NewSheqelSign key value + Zen_Koho key value - - + + + Field + + 2.12.0.0 + Gdk.Key - DongSign key value + Zenkaku key value - - + + + Field + + 2.12.0.0 + Gdk.Key - EuroSign key value + Zenkaku_Hankaku key value diff --git a/doc/en/Gdk/Keyboard.xml b/doc/en/Gdk/Keyboard.xml index fc1dfe82a..656c76e1d 100644 --- a/doc/en/Gdk/Keyboard.xml +++ b/doc/en/Gdk/Keyboard.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,33 +8,36 @@ 2.12.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 + + To be added + To be added + - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Ungrabs the keyboard, if it is grabbed by this application. - a timestamp from a , or if no timestamp is available. + To be added To be added + Method + + 2.12.0.0 + Gdk.GrabStatus @@ -43,27 +47,21 @@ - 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. 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. - - - Constructor - - - - To be added - To be added - - + Method + + 2.12.0.0 + System.Boolean @@ -73,14 +71,33 @@ - To be added 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 + + diff --git a/doc/en/Gdk/Keymap.xml b/doc/en/Gdk/Keymap.xml index b2d867f90..29f2fab1a 100644 --- a/doc/en/Gdk/Keymap.xml +++ b/doc/en/Gdk/Keymap.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 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 @@ -19,50 +25,69 @@ - - GLib.Object - - - - - - Method - - System.UInt32 - + + + + Constructor + + 2.12.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - - 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 'Gdk.KeymapKey', initalized keycode/group/level triplet. - An object of type 'uint', a keyval or 0 if none was found. - - None - + 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 + - Internal constructor 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 @@ -73,8 +98,12 @@ - + + Property + + 2.12.0.0 + Pango.Direction @@ -90,7 +119,16 @@ + Event + + 2.12.0.0 + + + + GLib.Signal("direction_changed") + + System.EventHandler @@ -103,78 +141,79 @@ None - - - GLib.Signal("direction_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + + - To be added - To be added + 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. + + - - - GLib.Signal("keys_changed") - - - - + + + Method + + 2.12.0.0 + - Gdk.Keymap + Gdk.KeymapKey[] - + - To be added - a - a - To be added + 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 + - System.Boolean + Gdk.Keymap - - - - - - - + - 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 , 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. - An object of type , return if keys were found and returned. - - + a + To be added + a + To be added - + + Property + + 2.12.0.0 + GLib.GType @@ -185,108 +224,144 @@ Returns the native value for . - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Requests Bidi layout status. + If , bi-directional layout is in use. + To be added. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("keys_changed") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.UInt32 + - + - Internal constructor - a - 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. + 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 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDirectionChanged", Type=typeof(Gdk.Keymap)) - - - - Constructor - + + 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="OverrideKeysChanged", Type=typeof(Gdk.Keymap)) + + System.Void - - - - - + - 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. - 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 - - + 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.KeymapKey[] + System.Boolean - + + + + + + + - Gets a list of keycode/group/level combinations that generate a . - An object of type , such as GDK_a, GDK_up, GDK_RETURN, etc. - the list of key sequences. + 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. - - - Method - - System.Boolean - - - - Requests Bidi layout status. - If , bi-directional layout is in use. - To be added. - - - diff --git a/doc/en/Gdk/KeymapKey.xml b/doc/en/Gdk/KeymapKey.xml index fe1781449..27096f114 100644 --- a/doc/en/Gdk/KeymapKey.xml +++ b/doc/en/Gdk/KeymapKey.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,48 +8,58 @@ 2.12.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 + + To be added + To be added + - - + + + Field + + 2.12.0.0 + - Gdk.KeymapKey + System.Int32 - + + To be added To be added - - - Method + + + + Field + + 2.12.0.0 + - Gdk.KeymapKey + System.UInt32 - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gdk.KeymapKey' To be added - - + + + Field + + 2.12.0.0 + - System.UInt32 + System.Int32 @@ -57,27 +68,37 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + 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 + - System.Int32 + Gdk.KeymapKey - - + To be added To be added diff --git a/doc/en/Gdk/Keyval.xml b/doc/en/Gdk/Keyval.xml index 369956293..210e593e5 100644 --- a/doc/en/Gdk/Keyval.xml +++ b/doc/en/Gdk/Keyval.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,50 +8,79 @@ 2.12.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 + + To be added + To be added + - - + + + + Constructor + + 2.12.0.0 + + + + + To be added + To be added + + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + + a + a + a To be added - a - a To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.UInt32 - + - Returns true if a is in upper case. - A representing a in either lower or upper case. - True if the is in upper case, otherwise it returns false. + a + To be added + a To be added + Method + + 2.12.0.0 + System.Boolean @@ -58,47 +88,59 @@ - Returns true if a is in lower case. 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.UInt32 + System.Boolean - + - To be added - a - a + 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.UInt32 + System.String - Convertes a to its lower case value. - A representing a in either lower or upper case. - A representing a in lower case. - The may be already lower case. + a + To be added + a + To be added - - + + + Method + + 2.12.0.0 + System.UInt32 @@ -106,15 +148,19 @@ - Convertes a to its upper case value. A representing a in either lower or upper case. - A representing a in upper case. - The may be already 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 @@ -122,39 +168,30 @@ - To be added a - a - To be added - - - - - Constructor - - - To be added + a To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.UInt32 - - - + - To be added - a - a - a - To be added + 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. diff --git a/doc/en/Gdk/LineStyle.xml b/doc/en/Gdk/LineStyle.xml index df6d57680..f3ac48b9d 100644 --- a/doc/en/Gdk/LineStyle.xml +++ b/doc/en/Gdk/LineStyle.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines how lines are drawn. - None. - System.Enum @@ -19,22 +16,38 @@ GLib.GType(typeof(Gdk.LineStyleGType)) + + Determines how lines are drawn. + None. + - - + + + Field + + 2.12.0.0 + Gdk.LineStyle - Lines are drawn solid. + + 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 @@ -44,19 +57,19 @@ 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. - + Lines are drawn solid. None. diff --git a/doc/en/Gdk/ModifierType.xml b/doc/en/Gdk/ModifierType.xml index 0f45fe9f1..311745d49 100644 --- a/doc/en/Gdk/ModifierType.xml +++ b/doc/en/Gdk/ModifierType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -24,192 +19,254 @@ Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.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 Shift key. + The first mouse button. - - + + + 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). + The second mouse button. - - + + + Field + + 2.12.0.0 + Gdk.ModifierType - The Control key. + The third mouse button. - - + + + 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). + The fourth mouse button. - - + + + 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). + The fifth mouse button. - - + + + 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). + The Control key. - - + + + 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). - - + Hyper key 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). + 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 - - The first mouse button. - - + Meta key modifier. + - - + + + Field + + 2.12.0.0 + Gdk.ModifierType - The second mouse button. + 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 third mouse button. + 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 fourth mouse button. + 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 fifth mouse button. + 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 - Not used in GDK itself. GTK+ uses it to differentiate between (keyval, modifiers) pairs from key press and release events. + 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 @@ -222,7 +279,11 @@ Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. + Field + + 2.12.0.0 + Gdk.ModifierType @@ -234,36 +295,52 @@ Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. - - + + + Field + + 2.12.0.0 + Gdk.ModifierType + - Meta key modifier. - + 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 + - Super key modifier. - + The Shift key. + + - - + + + Field + + 2.12.0.0 + Gdk.ModifierType - Hyper key modifier. + Super key modifier. diff --git a/doc/en/Gdk/NotifyType.xml b/doc/en/Gdk/NotifyType.xml index 24707777a..e9c0a011c 100644 --- a/doc/en/Gdk/NotifyType.xml +++ b/doc/en/Gdk/NotifyType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the kind of crossing for -See the X11 protocol specification of LeaveNotify for full details of crossing event generation. - None. - System.Enum @@ -20,10 +16,19 @@ See the X11 protocol specification of LeaveNotify for full details of crossing e 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 @@ -34,22 +39,13 @@ See the X11 protocol specification of LeaveNotify for full details of crossing e - - - Field - - Gdk.NotifyType - - - - The pointer moves between an ancestor and an inferior of the window. - - - - + Field + + 2.12.0.0 + Gdk.NotifyType @@ -62,7 +58,11 @@ See the X11 protocol specification of LeaveNotify for full details of crossing e + Field + + 2.12.0.0 + Gdk.NotifyType @@ -75,7 +75,11 @@ See the X11 protocol specification of LeaveNotify for full details of crossing e + Field + + 2.12.0.0 + Gdk.NotifyType @@ -88,7 +92,11 @@ See the X11 protocol specification of LeaveNotify for full details of crossing e + Field + + 2.12.0.0 + Gdk.NotifyType @@ -99,5 +107,22 @@ See the X11 protocol specification of LeaveNotify for full details of crossing e + + + + Field + + 2.12.0.0 + + + Gdk.NotifyType + + + + The pointer moves between an ancestor and an inferior of the window. + + + + diff --git a/doc/en/Gdk/OverlapType.xml b/doc/en/Gdk/OverlapType.xml index 70bd8f2e1..352c6f846 100644 --- a/doc/en/Gdk/OverlapType.xml +++ b/doc/en/Gdk/OverlapType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the possible values returned by . - None. - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gdk.OverlapTypeGType)) + + Specifies the possible values returned by . + None. + + Field + + 2.12.0.0 + Gdk.OverlapType @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.OverlapType @@ -48,7 +57,11 @@ + Field + + 2.12.0.0 + Gdk.OverlapType diff --git a/doc/en/Gdk/OwnerChange.xml b/doc/en/Gdk/OwnerChange.xml index 6c97f762d..6e1821de6 100644 --- a/doc/en/Gdk/OwnerChange.xml +++ b/doc/en/Gdk/OwnerChange.xml @@ -1,16 +1,12 @@ + 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. - - To be added - To be added - - System.Enum @@ -19,10 +15,19 @@ GLib.GType(typeof(Gdk.OwnerChangeGType)) + + To be added + To be added + + - - + + + Field + + 2.12.0.0 + Gdk.OwnerChange @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.OwnerChange @@ -46,9 +55,13 @@ To be added - - + + + Field + + 2.12.0.0 + Gdk.OwnerChange diff --git a/doc/en/Gdk/POINTBLOCK.xml b/doc/en/Gdk/POINTBLOCK.xml index 8838785b3..b687265a8 100644 --- a/doc/en/Gdk/POINTBLOCK.xml +++ b/doc/en/Gdk/POINTBLOCK.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,26 +8,30 @@ 2.12.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 + + To be added + To be added + + Constructor + + 2.12.0.0 + - To be added a + To be added To be added diff --git a/doc/en/Gdk/PangoAttrEmbossColor.xml b/doc/en/Gdk/PangoAttrEmbossColor.xml index d6fa48269..a76b68a46 100644 --- a/doc/en/Gdk/PangoAttrEmbossColor.xml +++ b/doc/en/Gdk/PangoAttrEmbossColor.xml @@ -1,5 +1,6 @@ + gdk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Opaque + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + @@ -23,7 +33,11 @@ + Constructor + + 2.12.0.0 + @@ -34,8 +48,12 @@ - + + Property + + 2.12.0.0 + Pango.Color @@ -47,7 +65,11 @@ + Method + + 2.12.0.0 + Pango.Attribute @@ -63,7 +85,11 @@ + Method + + 2.12.0.0 + Gdk.PangoAttrEmbossColor @@ -78,9 +104,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gdk/PangoAttrEmbossed.xml b/doc/en/Gdk/PangoAttrEmbossed.xml index 79974bd75..e665ad609 100644 --- a/doc/en/Gdk/PangoAttrEmbossed.xml +++ b/doc/en/Gdk/PangoAttrEmbossed.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,35 +8,22 @@ 2.12.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 + + To be added + To be added + - - - Field - - Gdk.PangoAttrEmbossed - - - - Obsolete: use - - - - - System.Obsolete("Gdk.PangoAttrEmbossed is a reference type now, use null") - - - + Constructor + + 2.12.0.0 + @@ -45,9 +33,71 @@ 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 @@ -55,27 +105,24 @@ - Obsolete: replaced by normal constructor 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 - - - Constructor - - - - - To be added. - To be added. - To be added. - - + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by PangoAttrEmbossed(IntPtr) constructor") + + Gdk.PangoAttrEmbossed @@ -83,15 +130,19 @@ - Obsolete internal constructor 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 @@ -107,7 +158,11 @@ + Method + + 2.12.0.0 + Gdk.PangoAttrEmbossed @@ -121,34 +176,26 @@ To be added. - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Property - - Pango.Attribute - - - To be added. - To be added. - To be added. - + + + + Field + + 2.12.0.0 + - System.Obsolete("Replaced by explicit Pango.Attribute cast") + System.Obsolete("Gdk.PangoAttrEmbossed is a reference type now, use null") + + Gdk.PangoAttrEmbossed + + + + Obsolete: use + + diff --git a/doc/en/Gdk/PangoAttrStipple.xml b/doc/en/Gdk/PangoAttrStipple.xml index 4e443c7eb..c45a3c61c 100644 --- a/doc/en/Gdk/PangoAttrStipple.xml +++ b/doc/en/Gdk/PangoAttrStipple.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,48 +8,81 @@ 2.12.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 + + To be added + To be added + - - - Field - - Gdk.PangoAttrStipple - - + + + + Constructor + + 2.12.0.0 + + + + + To be added: an object of type 'Gdk.Pixmap' To be added To be added + - - - System.Obsolete("Gdk.PangoAttrStipple is a reference type now, use null") - - - + + Constructor + + 2.12.0.0 + - + + To be added: an object of type 'IntPtr' To be added - To be added: an object of type 'Gdk.Pixmap' 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 @@ -56,28 +90,25 @@ - Obsolete: replaced by normal constructor To be added: an object of type 'Gdk.Pixmap' + Obsolete: replaced by normal constructor To be added: an object of type 'Gdk.PangoAttrStipple' - - - Constructor - - - - - To be added - To be added: an object of type 'IntPtr' - To be added - - + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by PangoAttrStipple(IntPtr) constructor") + + Gdk.PangoAttrStipple @@ -85,47 +116,19 @@ - Obsolete internal constructor To be added: an object of type 'IntPtr' + Obsolete internal constructor To be added: an object of type 'Gdk.PangoAttrStipple' To be added - - - Property - - Gdk.Pixmap - - - To be added. - To be added. - To be added. - - - - - Property - - Gdk.Pixmap - - - - - Obsolete alias for the property - To be added: an object of type 'Gdk.Pixmap' - To be added - - - - - System.Obsolete("Replaced by Stipple property.") - - - + Method + + 2.12.0.0 + Pango.Attribute @@ -141,7 +144,11 @@ + Method + + 2.12.0.0 + Gdk.PangoAttrStipple @@ -155,22 +162,66 @@ To be added. - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Stipple property.") + + - Pango.Attribute + 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("Replaced by explicit Pango.Attribute cast") + System.Obsolete("Gdk.PangoAttrStipple is a reference type now, use null") + + Gdk.PangoAttrStipple + + + + To be added + To be added + diff --git a/doc/en/Gdk/PangoHelper.xml b/doc/en/Gdk/PangoHelper.xml index ac5733e06..baf4e88da 100644 --- a/doc/en/Gdk/PangoHelper.xml +++ b/doc/en/Gdk/PangoHelper.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,18 +8,53 @@ 2.12.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 + + 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 @@ -26,15 +62,24 @@ - To be added a + To be added a To be added + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -43,38 +88,19 @@ - To be added a a - To be added - - - - - Method - - Pango.Context - - - - To be added - a - To be added - - - - - Constructor - - - To be added To be added + Method + + 2.12.0.0 + Gdk.Region @@ -86,19 +112,23 @@ - To be added a a a a a + To be added a To be added + Method + + 2.12.0.0 + Gdk.Region @@ -110,12 +140,12 @@ - To be added a a a a a + To be added a To be added diff --git a/doc/en/Gdk/PangoRenderer.xml b/doc/en/Gdk/PangoRenderer.xml index 95edd3f43..0f9664cfd 100644 --- a/doc/en/Gdk/PangoRenderer.xml +++ b/doc/en/Gdk/PangoRenderer.xml @@ -1,119 +1,138 @@ + 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. - - To be added - To be added - - Pango.Renderer + + To be added + To be added + + - - - Method - - Gdk.PangoRenderer - + + + + Constructor + + 2.12.0.0 + + - 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 + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. - - - Constructor - + + + + 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 + - To be added a + To be added + a To be added - + + Property + + 2.12.0.0 + GLib.GType @@ -125,8 +144,17 @@ - + + Property + + 2.12.0.0 + + + + GLib.Property("screen") + + Gdk.Screen @@ -136,33 +164,46 @@ a To be added - - - GLib.Property("screen") - - - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Drawable + System.Void + + + + + a + a To be added - a To be added - - - Property + + + + Method + + 2.12.0.0 + - Gdk.GC + System.Void + + + + + a + a To be added - a To be added diff --git a/doc/en/Gdk/Pixbuf.xml b/doc/en/Gdk/Pixbuf.xml index ce53d5eb3..53c256075 100644 --- a/doc/en/Gdk/Pixbuf.xml +++ b/doc/en/Gdk/Pixbuf.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 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. @@ -95,803 +101,398 @@ public class PixmapComposite - - GLib.Object - - - - - - Method - - Gdk.Pixbuf - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - - Creates a Pixbuf from a Pixdata - - Source Gdk.Pixdata - Whether to make a private copy of the data - - - The return value is an initialized Pixbuf class - - - - This creates a Pixbuf from a class that implements the - Gdk.Pixdata interface. - + 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. - - - Method - - Gdk.Pixbuf - + + + + Constructor + + 2.12.0.0 + + - - - - + - Adds an alpha channel to the 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 - - 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. - - + 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); + + - - - Method - - Gdk.Pixbuf - + + + + Constructor + + 2.12.0.0 + + - - - - - - - + - Scaling with checkboard rendering - 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 - - - The new Pixbuf, or if not enough - memory could be allocated for it. - - + Pointer to the C object. + Internal constructor - - 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. - + This is an internal constructor, and should not be used by user code. - - - Method - - Gdk.Pixbuf - + + + + Constructor + + 2.12.0.0 + + - - - + - Scales a Pixbuf - The width of destination image - The height of destination image - The interpolation type for the transformation - - - A new Pixbuf object, or if no - memory is available for the transformation. - - + 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. - 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. + 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. - - For more complicated scale/compositions see and - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - - - - - - - - - - - - - - - + - Scale and Compose a Pixbuf with control over the checks - 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 - - - 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. - - + a + Public constructor. + - - - Method - - Gdk.Pixbuf - + + + + Constructor + + 2.12.0.0 + - - - - - - - - + + - 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.) - - + 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. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - - - - - - - - - - + + - Renders the image into a Drawable - 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. + 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 - 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. - + This method is used to construct a from an embedded resource in an assembly. + - 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. - - + 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 + - - - Method - - Gdk.Pixbuf - + + + + Constructor + + 2.12.0.0 + + - - - - - - + - 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. - - + 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); + + - - - Method - - Gdk.Pixbuf - - + + + + Constructor + + 2.12.0.0 + + + + + + + - Copies the Pixbuf - - - A copy of the data in the Pixbuf, or on failure - - - + 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 - - - Method - - System.Void - + + + + 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 + + + + - - Render pixbuf alpha channel as a bi-level clip mask to a - 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. - 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 . + 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); + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - - - - - - - - - - + + + - Scale and Compose a Pixbuf - 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) - - - 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. - - + a + a + a + To be added + To be added + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - - - - - - - - - + + + + - Scale transformation. - 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. + 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. - 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. - + This method is used to construct a from an embedded resource in an assembly with a specific size. + - Try to use , this - function is the industrial-strength power tool you can - fall back to if is - not powerful enough. - - - - - - - Method - - System.Void - - - - - - - - - - - - Copies a region from one Pixbuf to another - 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 rectangular area from src_pixbuf to - dest_pixbuf. Conversion of pixbuf formats is done - automatically. - - - - - - - Method - - System.Void - - - - - - - Fills a pixbuf with a single color - - RGBA value for the pixel to set (0xffffffff is opaque white, 0x00000000 transparent black) - - - 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 - - System.String - - - - - - Looks up an option in the Pixbuf - the key to lookup - 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. - - - - - - - Method - - System.Void - - - - - - - - Saturation and pixelation of a Pixbuf - Target Pixbuf where the resulting image is stored - saturation factor - whether to pixelation will take place - - - 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 - - System.Void - - - - - - - - - - - - - - - - - Obsolete; do not use. Use instead. - A - A - A - A - A - A - A - A - A - A - A - A - 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. - + 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 + - + + + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + a + a + a + To be added + To be added + + Constructor + + 2.12.0.0 + @@ -901,12 +502,12 @@ public class PixmapComposite - Constructor 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 @@ -917,29 +518,13 @@ public class PixmapComposite - - - Constructor - - - - - - Creates Pixbuf from image file. - Filename with the image - - - 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 + @@ -949,12 +534,12 @@ public class PixmapComposite - Creates a sub-Pixbuf from an existing one. 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 @@ -966,144 +551,240 @@ public class PixmapComposite - - - Property - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + + + + + + + + - Number of bits per color sample in a pixbuf. - The number of bits per color sample in the pixbuf - None. + 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. + - - - GLib.Property("bits-per-sample") - - - - - Property - - 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. - - + + + + 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. + - - - GLib.Property("height") - - - - - Property + + + + 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 + - System.Boolean + Gdk.Pixbuf + + + + + + - Returns whether the Pixbuf contains an alpha channel - - if the image contains an Alpha - channel, otherwise. + 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. + - 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. + 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. - - - GLib.Property("has-alpha") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gdk.Pixbuf + - 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. - - + Applies an embedded orientation transform. + Returns a new pixbuf, or the existing one if no transform exists. + + + + + + + Property + + 2.12.0.0 + - GLib.Property("width") + GLib.Property("bits-per-sample") - - - - Property 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). - + Number of bits per color sample in a pixbuf. + The number of bits per color sample in the pixbuf + None. - - - GLib.Property("n-channels") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Object + - 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. - - + To be added. + To be added. + To be added. + + + + + Property + + 2.12.0.0 + - GLib.Property("rowstride") + GLib.Property("colorspace") - - - - Property Gdk.Colorspace @@ -1116,372 +797,810 @@ public class PixmapComposite - - - GLib.Property("colorspace") - - - - + + + Method + + 2.12.0.0 + - Gdk.Pixbuf + System.Void - - - - + - - + + + + + + + + - Generates a new Pixbuf object from a . - A - A - A - A - A - A - A - A - A - - - - - - Constructor - - - - - - - - Construct a pixbuf from a serialized structure. - 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. - None + 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.Int32 + System.Void - - - To be added - a - - - - - - Constructor - - - + + + + + + + + + + + + + + + + - Constructor for images embedded in an assembly - 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 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 - This method is used to construct a from an embedded resource in an assembly. - + 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. + - 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 - + The and encode the color in 32-bit RGB format. + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.Pixbuf + - - - - + + + + + + + - Constructor for images embedded in an assembly when a specific size is required. - 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 + 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. + + - This method is used to construct a from an embedded resource in an assembly with a specific size. - + Creates a new Pixbuf by scaling to + x + and compositing the result with a checkboard + of colors and . + - 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 - - + 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 + - + + + + + + + - Loads a pixbuf from a resource file. - the name of the resource - a + 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 - This loads a pixbuf from a resource in the calling assembly. This is equivalent to - using the - constructor with a assembly. - + + Copies a rectangular area from src_pixbuf to + dest_pixbuf. Conversion of pixbuf formats is done + automatically. + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by static FromDrawable method") + + + + Gdk.Pixbuf + - + + + + + + + + - Makes a new Pixbuf object from a . - a containing the image - 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); - + A + A + A + A + A + A + A + A + Generates a new Pixbuf object from a . + A + - - - Constructor - + + + + 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 + + + + + + + + - Makes a new Pixbuf object from a with a given size. - a containing the image - a specifying the required width - a specifying the required height - 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); - + a + a + a + a + a + a + a + a + Creates a new Pixbuf object from a . + a + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.Pixbuf + - + + - Makes a new Pixbuf object from a containing an encoded image. - a containing the image in one of the formats recognized by Pixbuf (png, tiff, jpeg, etc). - 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); - - + 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. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.PixbufFormat + - - - + + + - Makes a new Pixbuf object from a with a given size. - a containing the image - a specifying the required width - a specifying the required height - 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); - + a + a + a + To be added + a + To be added - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.Pixbuf + - - - - + + + + + + - - - Public constructor; creates a new from an in-memory RGB or RGBA buffer. - 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. - 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 + ). - + 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. + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.Pixbuf + - - - + + + + + + + + - Construct a pixbuf from a serialized structure - 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. - None + 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.) + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.String + - + - Public constructor. - a - + 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") + + - GLib.GType + System.Int32 - - GType Property. - a - Returns the native value for . + Height of the image + + The height in pixels of the image + + + + See also the , and for more information about + the layout of the image. + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.Pixbuf + - + - Internal constructor - a - 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. + 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 + - System.Obsolete + GLib.Property("n-channels") - - - - Property - Gdk.PixbufFormat[] + System.Int32 - - To be added - a - + 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 @@ -1492,205 +1611,362 @@ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer, 10, 10); - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Boolean + Gdk.Pixbuf + + + + To be added + a + To be added + + + + + + + Method + + 2.12.0.0 + + + System.Void - - - - + + + - Saves pixbuf to a file. - 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 - A - + 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.Boolean + System.Void - - + + + + - Saves pixbuf to a file. - a , name of the file to save - a , file format to save in ("jpeg" and "png" are supported). - 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.) - + 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 + - Gdk.PixbufFormat + System.Void - - - + + + + + + + + - To be added - a - a - a - a - To be added + 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 - + + + + + + + + + + + + + + - To be added - To be added - + 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 - + + + - To be added - a - To be added - + The angle to rotate by. + Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf. + A . + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("rowstride") + + - System.Void + System.Int32 - - - - - - Creates pixmap and mask bitmaps for a given alpha threshold. - a - a - a , threshold value for opacity. + Rowstride of the Pixbuf + The rowstride property for the Pixbuf - 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 . - + 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 - - - - + + + - Creates pixmap and mask bitmaps for a given alpha threshold using a specified colormap. - a - a - a - a , threshold value for opacity. + Target Pixbuf where the resulting image is stored + saturation factor + whether to pixelation will take place + Saturation and pixelation of a Pixbuf - 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 . - + 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. + - - - Constructor - - - - - - - - To be added - a - a - a - To be added - - - - - + + + Method + + 2.12.0.0 + - System.Byte[] + System.Boolean + - - - Saves to a buffer. - an image type, such as png, jpeg, or ico - an array of option keys. - an array of option values. - a - >The and should contain key/value pairs. See for more details. Throws a if the save is not successful. - + 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[] @@ -1698,251 +1974,259 @@ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer, 10, 10); - Saves to a buffer. 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.Void + System.Byte[] - + + - Save using a callback delegate. - a an image type, such as png, jpeg, or ico - Throws a if the save is not successful. + 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 - - - Save using a callback delegate. a an image type, such as png, jpeg, or ico - an array of option keys - an array of option values - The and should contain key/value pairs. See for more details. Throws a if the save is not successful. - - - - - - Method - - Gdk.Pixbuf - - - - - - - - - - - - - Creates a new Pixbuf object from a . - a - a - a - a - a - a - a - a - a - - - - - - - Method - - Gdk.Pixbuf - - - - - - Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf. - The angle to rotate by. - A . - - + Save using a callback delegate. + Throws a if the save is not successful. + - - + + + Method + + 2.12.0.0 + - Gdk.Pixbuf + System.Void - + + + + - Flips a pixbuf horizontally or vertically. - - to flip horizontally, to flip vertically. - A . - - + 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. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - - - + + + - To be added - a - a - a - a - To be added - + 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 + - - - Constructor + + + + 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. + 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. + + - - - Constructor + + + + Method + + 2.12.0.0 + + + Gdk.Pixbuf + - - + + + - 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. + 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.Object + System.Void - To be added. - To be added. - To be added. + To be added + To be added + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("width") + + - Gdk.Pixbuf + System.Int32 - - - Applies an embedded orientation transform. - Returns a new pixbuf, or the existing one if no transform exists. - - - - - - - Constructor - - - - - - - - - - - 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 - - - - - - - - - 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. - + 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. + + - \ No newline at end of file + diff --git a/doc/en/Gdk/PixbufAlphaMode.xml b/doc/en/Gdk/PixbufAlphaMode.xml index 1ac6c9da0..503c460ab 100644 --- a/doc/en/Gdk/PixbufAlphaMode.xml +++ b/doc/en/Gdk/PixbufAlphaMode.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Do not use. - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gdk.PixbufAlphaModeGType)) + + Do not use. + + + Field + + 2.12.0.0 + Gdk.PixbufAlphaMode @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.PixbufAlphaMode diff --git a/doc/en/Gdk/PixbufAniAnim.xml b/doc/en/Gdk/PixbufAniAnim.xml index 7fd97c89c..3c2bfd77a 100644 --- a/doc/en/Gdk/PixbufAniAnim.xml +++ b/doc/en/Gdk/PixbufAniAnim.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,69 +8,85 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents an ANI format animation internally. Do not use. - - Gdk.PixbufAnimation + + Represents an ANI format animation internally. Do not use. + + - + + Constructor + + 2.12.0.0 + - - - - - Constructor for use by internal code. Do not use. - a , pointer to underlying C data - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + Protected constructor. + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - - + + Constructor + + 2.12.0.0 + - + + + - Protected constructor. + 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 . + + diff --git a/doc/en/Gdk/PixbufAniAnimIter.xml b/doc/en/Gdk/PixbufAniAnimIter.xml index cfb8f2e66..fdde38021 100644 --- a/doc/en/Gdk/PixbufAniAnimIter.xml +++ b/doc/en/Gdk/PixbufAniAnimIter.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,69 +8,85 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Iterator for pointing to a particular frame of an ANI animation. Mostly internal; not for general developer use. - - 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 + - - - - - Constructor for internal use. - a , pointer to the underlying C object - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + Protected constructor. + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - - + + Constructor + + 2.12.0.0 + - + + + - Protected constructor. + 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 . + + diff --git a/doc/en/Gdk/PixbufAnimation.xml b/doc/en/Gdk/PixbufAnimation.xml index c4be236df..8cde44142 100644 --- a/doc/en/Gdk/PixbufAnimation.xml +++ b/doc/en/Gdk/PixbufAnimation.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,19 +8,154 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A base class for animations that are rendered using - - 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 @@ -27,12 +163,12 @@ + 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 A to move over the animation

@@ -78,68 +214,30 @@ - - - Constructor - - - - - -

Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - -
-
- - - Constructor - - - - - - 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. - - A , the filename to load into this object. - - - - - - Property - - System.Int32 - - - The width of the animation. - A - - - - - + + + Property + + 2.12.0.0 + - Gdk.Pixbuf + GLib.GType + - Gets the image if this animation is actually a static, - unanimaged file. - A - + GType Property. + a + Returns the native value for . - + + Property + + 2.12.0.0 + System.Int32 @@ -150,8 +248,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -168,40 +270,43 @@ - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + Gdk.PixbufAnimation - - - GType Property. - a - Returns the native value for . - - - - - Constructor - - + - Internal constructor - a - 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. + 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 - - - - Method Gdk.PixbufAnimation @@ -213,9 +318,35 @@ + + + + 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 @@ -226,84 +357,20 @@ - - - Method + + + + Property + + 2.12.0.0 + - Gdk.PixbufAnimation + System.Int32 - - - - - Loads a pixbuf from a resource file. - the name of the resource - a - - This loads an animation from a resource in the calling assembly. This is equivalent to - using the - constructor with a assembly. - - - - - - - Constructor - - - - - Makes a new animation object from a . - 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 - - - - - - - Constructor for images embedded in an assembly - 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 - - - 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 - - + The width of the animation. + A +
diff --git a/doc/en/Gdk/PixbufAnimationIter.xml b/doc/en/Gdk/PixbufAnimationIter.xml index 374f5c536..f9d4573ad 100644 --- a/doc/en/Gdk/PixbufAnimationIter.xml +++ b/doc/en/Gdk/PixbufAnimationIter.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,21 +8,80 @@ 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. - - GLib.Object - - - + + + + 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 @@ -29,12 +89,12 @@ + 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 , pointer to a C time object A , true if the image may need updating.

@@ -61,9 +121,53 @@ + + + + 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 @@ -82,43 +186,13 @@ - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - 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 + Gdk.Pixbuf @@ -139,46 +213,5 @@ - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Constructor - - - - - - Internal constructor - a - 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. - - - - System.Obsolete - - - - - - Constructor - - - - Protected constructor. - - -
diff --git a/doc/en/Gdk/PixbufDestroyNotify.xml b/doc/en/Gdk/PixbufDestroyNotify.xml index 6a8a4e619..1bd635fb9 100644 --- a/doc/en/Gdk/PixbufDestroyNotify.xml +++ b/doc/en/Gdk/PixbufDestroyNotify.xml @@ -1,23 +1,24 @@ + gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - Delegate class for code to be run when a object is destroyed. - - System.Delegate - System.Void + + To be added. + Delegate class for code to be run when a object is destroyed. + + + diff --git a/doc/en/Gdk/PixbufError.xml b/doc/en/Gdk/PixbufError.xml index 7e5579cbc..d28f41d8d 100644 --- a/doc/en/Gdk/PixbufError.xml +++ b/doc/en/Gdk/PixbufError.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Possible errors that can be thrown by a . - - System.Enum @@ -19,81 +16,109 @@ GLib.GType(typeof(Gdk.PixbufErrorGType)) + + Possible errors that can be thrown by a . + + - - + + + Field + + 2.12.0.0 + Gdk.PixbufError - The image file is corrupt. + An invalid option was specified. - - + + + Field + + 2.12.0.0 + Gdk.PixbufError - There is insufficient memory to hold this pixbuf data. + The image file is corrupt. - - + + + Field + + 2.12.0.0 + Gdk.PixbufError - An invalid option was specified. + The operation failed. - - + + + Field + + 2.12.0.0 + Gdk.PixbufError - The given file type is not allowed. + There is insufficient memory to hold this pixbuf data. - - + + + Field + + 2.12.0.0 + Gdk.PixbufError - The given operation is not supported. + The given file type is not allowed. - - + + + Field + + 2.12.0.0 + Gdk.PixbufError - The operation failed. + The given operation is not supported. diff --git a/doc/en/Gdk/PixbufFormat.xml b/doc/en/Gdk/PixbufFormat.xml index 04bd6e072..938472af8 100644 --- a/doc/en/Gdk/PixbufFormat.xml +++ b/doc/en/Gdk/PixbufFormat.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,18 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents a possible format for a . - Mostly for internal use. - 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 @@ -28,23 +50,32 @@ - - + + + Property + + 2.12.0.0 + - System.String + System.Boolean - The MIME types supported by the format. - a - + To be added + a + To be added + - + + Property + + 2.12.0.0 + - System.String + System.String[] The filename extensions typically used for files in the given format. @@ -52,47 +83,66 @@ - - + + + Property + + 2.12.0.0 + - System.String + System.Boolean + - The name of the format. - a - + To be added + a + To be added + - - + + + Property + + 2.12.0.0 + System.Boolean - Whether pixbufs can be saved in the given format. + To be added a - + To be added + - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + System.Boolean + + - Basic constructor. - a , pointer to the underlying C data structure. + Whether pixbufs can be saved in the given format. + a - + + Property + + 2.12.0.0 + System.String @@ -104,45 +154,36 @@ - - - Property - - System.Boolean - - - To be added - a - To be added - - - - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String[] - - To be added - a - To be added - + The MIME types supported by the format. + a + - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - To be added - a - To be added - + The name of the format. + a + diff --git a/doc/en/Gdk/PixbufFrame.xml b/doc/en/Gdk/PixbufFrame.xml index 6f2845340..39a23456c 100644 --- a/doc/en/Gdk/PixbufFrame.xml +++ b/doc/en/Gdk/PixbufFrame.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,84 +8,61 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - - System.ValueType + + To be added + + - - + + + Field + + 2.12.0.0 + - Gdk.PixbufFrame - - - - To be added - - - - - - Method - - Gdk.PixbufFrame + Gdk.PixbufFrameAction - To be added - A - A - - - Property + + + + Field + + 2.12.0.0 + - Gdk.Pixbuf + System.Boolean To be added - A - - - System.Obsolete("Replaced by Revert property.") - - - + + Property - - Gdk.Pixbuf - - - - - To be added - A - - + + 2.12.0.0 + System.Obsolete("Replaced by Composited property.") - - - - Property Gdk.Pixbuf @@ -95,41 +73,30 @@ A - - - System.Obsolete("Replaced by Pixbuf property.") - - - - - - Field - - System.Int32 - - - - - To be added - - - - - Field + + + + Property + + 2.12.0.0 + - System.Int32 + Gdk.Pixbuf - - - To be added - + To be added. + To be added. + To be added. + Field + + 2.12.0.0 + System.Int32 @@ -142,7 +109,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -153,11 +124,15 @@ - - + + + Field + + 2.12.0.0 + - Gdk.PixbufFrameAction + System.Boolean @@ -166,35 +141,56 @@ - - - Field + + + + Method + + 2.12.0.0 + - System.Boolean + Gdk.PixbufFrame + + A To be added + A - - - Field + + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Pixbuf property.") + + - System.Boolean + Gdk.Pixbuf To be added + A - + + Property + + 2.12.0.0 + Gdk.Pixbuf @@ -204,21 +200,36 @@ To be added. - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Revert property.") + + Gdk.Pixbuf + + - To be added. - To be added. - To be added. + To be added + A + - + + Property + + 2.12.0.0 + Gdk.Pixbuf @@ -228,5 +239,55 @@ 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 + + + diff --git a/doc/en/Gdk/PixbufFrameAction.xml b/doc/en/Gdk/PixbufFrameAction.xml index 09792f9db..262bd2ed1 100644 --- a/doc/en/Gdk/PixbufFrameAction.xml +++ b/doc/en/Gdk/PixbufFrameAction.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,17 +8,21 @@ 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 - - System.Enum - - - + + + Field + + 2.12.0.0 + Gdk.PixbufFrameAction @@ -28,9 +33,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixbufFrameAction @@ -43,7 +52,11 @@ + Field + + 2.12.0.0 + Gdk.PixbufFrameAction diff --git a/doc/en/Gdk/PixbufGifAnim.xml b/doc/en/Gdk/PixbufGifAnim.xml index 58b7e6c02..af1829120 100644 --- a/doc/en/Gdk/PixbufGifAnim.xml +++ b/doc/en/Gdk/PixbufGifAnim.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,49 +8,97 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - Gdk.PixbufAnimation + + To be added + To be added + - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + To be added - To be added: an object of type 'Gdk.PixbufFrame' 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 + - Internal constructor 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 @@ -60,33 +109,5 @@ Returns the native value for . - - - Constructor - - - - - - Internal constructor - a - 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. - - - - System.Obsolete - - - - - - Constructor - - - - To be added - To be added - - diff --git a/doc/en/Gdk/PixbufGifAnimIter.xml b/doc/en/Gdk/PixbufGifAnimIter.xml index 86119a87a..6ac7f0dc8 100644 --- a/doc/en/Gdk/PixbufGifAnimIter.xml +++ b/doc/en/Gdk/PixbufGifAnimIter.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,70 +8,86 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added - To be added - Gdk.PixbufAnimationIter + + To be added + To be added + - + + Constructor + + 2.12.0.0 + - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + To be added + To be added + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Internal constructor 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. - - - System.Obsolete - - - + + 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 - To be added + GType Property. + a + Returns the native value for . diff --git a/doc/en/Gdk/PixbufLoader.xml b/doc/en/Gdk/PixbufLoader.xml index b53d82fd0..cf7cfb9b3 100644 --- a/doc/en/Gdk/PixbufLoader.xml +++ b/doc/en/Gdk/PixbufLoader.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 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). @@ -127,85 +133,237 @@ namespace GtkDemo - - GLib.Object - - - - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Parses the next count bytes of image data from buffer buf. - array of bytes buffer to parse. - number of bytes to parse. - returns true if data was parsed and loaded succesfully. - - If the return value is false, the PixbufLoader will be closed. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Boolean - - + + + + Constructor + + 2.12.0.0 + + + + + - 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. + The containing the image. + Loads a Pixbuf in a buffer. + See also + + Constructor + + 2.12.0.0 + - Internal constructor 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 + - + + + - Default constructor - + a containing the image. + Loads a Pixbuf from a . + See also + - - - Property - - Gdk.Pixbuf - + + + + Constructor + + 2.12.0.0 + + + + + - The Pixbuf that is being loaded. - an object of type - + 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 @@ -217,7 +375,16 @@ namespace GtkDemo + Event + + 2.12.0.0 + + + + GLib.Signal("area_prepared") + + System.EventHandler @@ -226,15 +393,19 @@ namespace GtkDemo Emitted when the area of the PixbufLoader is prepared. - - - GLib.Signal("area_prepared") - - + Event + + 2.12.0.0 + + + + GLib.Signal("area_updated") + + Gdk.AreaUpdatedHandler @@ -243,15 +414,36 @@ namespace GtkDemo Emitted when the area of the PixbufLoader is updated with data. - - - GLib.Signal("area_updated") - - + + + + + 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 @@ -260,15 +452,14 @@ namespace GtkDemo Emitted when the PixbufLoader is closed. - - - GLib.Signal("closed") - - - + + Property + + 2.12.0.0 + Gdk.PixbufFormat @@ -278,85 +469,103 @@ namespace GtkDemo To be added - - - Event + + + + Property + + 2.12.0.0 + - Gdk.SizePreparedHandler + GLib.GType - Emitted when the PixbufLoader has prepared its size. - + GType Property. + a + Returns the native value for . - - - GLib.Signal("size_prepared") - - - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.PixbufLoader - - + - Set the size of the image that will be loaded. - a - a - - - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . + 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 + - System.Void + Gdk.PixbufLoader - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -367,238 +576,151 @@ namespace GtkDemo - Default handler for the event. 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. + 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizePrepared", Type=typeof(Gdk.PixbufLoader)) - - - - Method - System.Boolean + System.Void - + + - Parses the bytes into the image data. - a - a - This is an overload to , which determines the length automatically. + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 2.12.0.0 + - Gdk.PixbufLoader + Gdk.Pixbuf - - - - To be added - a - a - To be added - - - - - - Constructor - - - - - - To be added - a - To be added - + The Pixbuf that is being loaded. + an object of type + - - + + + Method + + 2.12.0.0 + - Gdk.PixbufLoader + System.Void - - - - Loads a pixbuf from a resource file. - the name of the resource - 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. - - - - - - - Constructor - - - - - - Loads a Pixbuf from a . - a containing the image. - See also - - - - - - Constructor - - - - Loads a Pixbuf from a , creating it with a specific size. - a containing the image. - a specifying the required width. - a specifying the required height. - See also - - - - - - Constructor - - - - - - - Loads a Pixbuf embedded in an assembly. - 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. - See also - - - - - - Constructor - - - - - - - - - Loads a Pixbuf embedded in an assembly with a specific size. - 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. - See also - - - - - - Constructor - - - - - - Loads a Pixbuf in a buffer. - The containing the image. - See also - + a + a + Set the size of the image that will be loaded. + - - - Constructor - - - - - - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("size_prepared") + + + + Gdk.SizePreparedHandler + + - Loads a Pixbuf in a buffer with a specific size. - The containing the image. - The required width of the pixbuf. - The required height of the pixbuf. - See also - + Emitted when the PixbufLoader has prepared its size. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - - - + - To be added - a - a - a - To be added - + 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 @@ -607,12 +729,36 @@ If the value is , the image will be looked up on the call - Writes a Pixbuf to a buffer. 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. + + + diff --git a/doc/en/Gdk/PixbufRotation.xml b/doc/en/Gdk/PixbufRotation.xml index e81900652..029213716 100644 --- a/doc/en/Gdk/PixbufRotation.xml +++ b/doc/en/Gdk/PixbufRotation.xml @@ -1,16 +1,12 @@ + 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. - - Possible rotations which can be passed to . To make them easier to use, their numerical values are the actual degrees. - - - System.Enum @@ -19,23 +15,36 @@ 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 - No rotation. + Rotate by 270 degrees. + Field + + 2.12.0.0 + Gdk.PixbufRotation @@ -46,29 +55,37 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixbufRotation - Rotate by 180 degrees. + No rotation. - - + + + Field + + 2.12.0.0 + Gdk.PixbufRotation - Rotate by 270 degrees. + Rotate by 180 degrees. diff --git a/doc/en/Gdk/PixbufSaveFunc.xml b/doc/en/Gdk/PixbufSaveFunc.xml index 86872bbc8..ec39c6d8b 100644 --- a/doc/en/Gdk/PixbufSaveFunc.xml +++ b/doc/en/Gdk/PixbufSaveFunc.xml @@ -1,31 +1,32 @@ + 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. - - if successful, if failed. - - System.Delegate - - - System.Boolean - - - - - diff --git a/doc/en/Gdk/PixbufSimpleAnim.xml b/doc/en/Gdk/PixbufSimpleAnim.xml index 360b44c42..e70c7ece1 100644 --- a/doc/en/Gdk/PixbufSimpleAnim.xml +++ b/doc/en/Gdk/PixbufSimpleAnim.xml @@ -1,5 +1,6 @@ + gdk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Gdk.PixbufAnimation + + Simple Pixbuf Animation. + + + + Constructor + + 2.12.0.0 + System.Obsolete @@ -28,7 +38,11 @@ + Constructor + + 2.12.0.0 + @@ -40,7 +54,11 @@ + Constructor + + 2.12.0.0 + @@ -56,7 +74,11 @@ + Method + + 2.12.0.0 + System.Void @@ -69,9 +91,29 @@ + + + + Property + + 2.12.0.0 + + + GLib.GType + + + Native Type. + Do not use. + Do not use. + + + Method + + 2.12.0.0 + GLib.GType @@ -82,22 +124,5 @@ To be added. - - - Property - - GLib.GType - - - Native Type. - Do not use. - Do not use. - - - - Simple Pixbuf Animation. - - - diff --git a/doc/en/Gdk/Pixdata.xml b/doc/en/Gdk/Pixdata.xml index dc8abefa9..e3c219c84 100644 --- a/doc/en/Gdk/Pixdata.xml +++ b/doc/en/Gdk/Pixdata.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,46 +8,44 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Field - - Gdk.Pixdata - - - - A blank Gdk.Pixdata, equivilent to Gdk.Pixdata Zero = new Gdk.Pixdata (); - To be added - - - - + + + Method + + 2.12.0.0 + - Gdk.Pixdata + System.Boolean - + + - Creates a new Gdk.Pixdata from a pointer to a raw GdkPixdata. - An pointing to a raw GdkPixdata. - A new 'Gdk.Pixdata' synonymous with the "raw" parameter. + 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 @@ -55,29 +54,37 @@ - Fils in the Gdk.Pixdata with data from an existing . 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 GdkPixbuf magic number. - All valid Gdk.Pixdata objects must have this set to 0x47646b50, which is 'GdkP' in ASCII. + The height of the image in pixels. + To be added + Field + + 2.12.0.0 + System.Int32 @@ -88,9 +95,50 @@ 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 @@ -142,7 +190,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -153,62 +205,55 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - System.UInt32 + System.Byte[] - - + - The width of the image in pixels. - To be added + 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 height of the image in pixels. - To be added - - - - - Method - - System.Boolean - - - - - - - Converts a serialized datastream, generated by , into pixdata. - A describing the length of "stream". - a - A . True if successful, false if there was an error. + The width of the image in pixels. To be added - - - Method + + + + Field + + 2.12.0.0 + - System.Byte[] + Gdk.Pixdata - Generates serialized pixdata that can then be stored and converted back into a with . - the serialized pixdata. - - + A blank Gdk.Pixdata, equivilent to Gdk.Pixdata Zero = new Gdk.Pixdata (); + To be added diff --git a/doc/en/Gdk/PixdataDumpType.xml b/doc/en/Gdk/PixdataDumpType.xml index 6c9d59b47..c487aea98 100644 --- a/doc/en/Gdk/PixdataDumpType.xml +++ b/doc/en/Gdk/PixdataDumpType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.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 @@ -19,10 +16,18 @@ System.Flags + + To be added + To be added + - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType @@ -33,9 +38,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType @@ -46,9 +55,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType @@ -59,9 +72,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType @@ -72,9 +89,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType @@ -85,9 +106,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType @@ -98,9 +123,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType @@ -111,9 +140,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataDumpType diff --git a/doc/en/Gdk/PixdataType.xml b/doc/en/Gdk/PixdataType.xml index 7ec76caad..4609533e9 100644 --- a/doc/en/Gdk/PixdataType.xml +++ b/doc/en/Gdk/PixdataType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,17 +8,26 @@ 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 - - System.Enum - - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -28,9 +38,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -41,9 +55,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -54,9 +72,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -67,9 +89,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -80,9 +106,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -93,9 +123,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -106,9 +140,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.PixdataType @@ -120,9 +158,4 @@ - - - System.Flags - - diff --git a/doc/en/Gdk/Pixmap.xml b/doc/en/Gdk/Pixmap.xml index 726bcb644..e7f4b17be 100644 --- a/doc/en/Gdk/Pixmap.xml +++ b/doc/en/Gdk/Pixmap.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gdk.Drawable + + + Offscreen drawable. @@ -20,135 +26,76 @@ For client-side images, see the class. - - Gdk.Drawable - - - - - - Method - - Gdk.Pixmap - - - - - - Looks up the that wraps the given native pixmap handle. - a 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 - - Gdk.Pixmap - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Wraps a native window for the default display in a . This may fail if the pixmap has been destroyed. - a native pixmap handle. - 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. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Method - - Gdk.Pixmap - - - - - - - To be added - a - a - a - To be added - - - - - Method - - Gdk.Pixmap - - - - - - - Wraps a native pixmap in a . This may fail if the pixmap has been destroyed. - The where the pixmap is located. - a native pixmap handle. - 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 - - Gdk.Pixmap - + + + + Constructor + + 2.12.0.0 + + - - - - - To be added - a - a - a - a - a - a - a - a - To be added + 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 + @@ -157,88 +104,46 @@ For example in the X backend, a native pixmap handle is an Xlib XID. - Creates a new pixmap with the given size and depth. 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. - - - 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 - - - - - - - - Create a new pixmap using a reference drawable for depth. - 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. - Creates a new pixmap with a given size and depth. - - - - + + + Method + + 2.12.0.0 + Gdk.Pixmap - - - + + - Create a pixmap from XPM data. a - a - a - an array of , defining an XPM image + a + a + To be added a To be added + Method + + 2.12.0.0 + Gdk.Pixmap @@ -250,41 +155,47 @@ For example in the X backend, a native pixmap handle is an Xlib XID. - Create a pixmap from an XPM file using a specific colormap. 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 - - - + + - Create a pixmap from an XPM file. a - a - a - a + a + a + To be added a To be added + Method + + 2.12.0.0 + Gdk.Pixmap @@ -296,39 +207,82 @@ For example in the X backend, a native pixmap handle is an Xlib XID. - Create a pixmap from XPM data using a colormap. 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 + + + + + + + + + - To be added a - a - a + a + a + a + a + a + a + To be added a To be added + Method + + 2.12.0.0 + Gdk.Pixmap @@ -337,36 +291,46 @@ For example in the X backend, a native pixmap handle is an Xlib XID. - To be added a a + To be added a To be added - - + + + Method + + 2.12.0.0 + Gdk.Pixmap - - + + + - To be added a - a - a + a + a + a + Create a pixmap from an XPM file. a To be added + Method + + 2.12.0.0 + Gdk.Pixmap @@ -375,39 +339,94 @@ For example in the X backend, a native pixmap handle is an Xlib XID. - To be added a a + To be added a To be added - - + + + Method + + 2.12.0.0 + Gdk.Pixmap - - - + + + - Creates a new bitmap from data in XBM format. - 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. - The bitmap. - None. - + 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 @@ -430,5 +449,67 @@ For example in the X backend, a native pixmap handle is an Xlib XID. + + + + 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 + + - \ No newline at end of file + diff --git a/doc/en/Gdk/Point.xml b/doc/en/Gdk/Point.xml index 1e92914ba..98a77bdb6 100644 --- a/doc/en/Gdk/Point.xml +++ b/doc/en/Gdk/Point.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,87 +8,96 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional, Cartesian plane. - - System.ValueType + + Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional, Cartesian plane. + + - - - Field - - Gdk.Point - - - - The point (0, 0). - - - - - - Method - - Gdk.Point - + + + + Constructor + + 2.12.0.0 + + - + - Internal constructor - a , pointer to internal data - - This is an internal constructor, and should not be used by user code. + a + Constructs a point from a + The point will have an X of .Width and a Y of .Height + + Constructor + + 2.12.0.0 + - Creates a Point object from integer x- and y-coordinates. The x-coordinate. The y-coordinate. + Creates a Point object from integer x- and y-coordinates. - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - The x-coordinate of the Point. - + To be added. + To be added. + To be added. + To be added. - - - Field + + + + Method + + 2.12.0.0 + System.Int32 - - + - The y-coordinate of the Point. - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + System.Boolean @@ -99,9 +109,33 @@ + + + + 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 @@ -110,30 +144,66 @@ - Moves this point by quanities dx and dy Quanity by which to change X Quanity by which to change Y + Moves this point by quanities dx and dy To be added. - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.Point + + - Constructs a point from a - a - The point will have an X of .Width and a Y of .Height + 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 @@ -148,19 +218,23 @@ - - + + + Method + + 2.12.0.0 + - Gdk.Point + System.Boolean - - + + - To be added. - To be added. + To be added. + To be added. To be added. To be added. To be added. @@ -169,7 +243,11 @@ + Method + + 2.12.0.0 + Gdk.Point @@ -186,42 +264,71 @@ - - + + + Method + + 2.12.0.0 + - System.Boolean + System.String - - - - + - To be added. - To be added. To be added. To be added. To be added. - - - - Method + + + + Field + + 2.12.0.0 + - System.Boolean + System.Int32 - - - To be added. - To be added. - To be added. - To be added. - To be added. - + 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). + diff --git a/doc/en/Gdk/Pointer.xml b/doc/en/Gdk/Pointer.xml index 74911b431..c20b1fd73 100644 --- a/doc/en/Gdk/Pointer.xml +++ b/doc/en/Gdk/Pointer.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,33 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Class containing static methods for grabbing and ungrabbing the pointer as well as checking IsGrabbed status. - - System.Object + + Class containing static methods for grabbing and ungrabbing the pointer as well as checking IsGrabbed status. + + - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Ungrab the pointer. - a - + Default constructor. + Class contains only static methods. + Method + + 2.12.0.0 + Gdk.GrabStatus @@ -46,30 +50,49 @@ - Try to grab pointer. Returns enumeratioion value. a a a a a a + Try to grab pointer. Returns enumeratioion value. a - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Boolean + + + + + + - Default constructor. - Class contains only static methods. + a + a + a + To be added + a + To be added + - + + Property + + 2.12.0.0 + System.Boolean @@ -80,25 +103,23 @@ - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - To be added - a - a - a - a - To be added - + a + Ungrab the pointer. + diff --git a/doc/en/Gdk/PointerHooks.xml b/doc/en/Gdk/PointerHooks.xml index 394c99881..4fe28b024 100644 --- a/doc/en/Gdk/PointerHooks.xml +++ b/doc/en/Gdk/PointerHooks.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,40 +8,48 @@ 2.12.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 + + To be added + To be added + - - - Field + + + + 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 - - - Method + + + + Field + + 2.12.0.0 + Gdk.PointerHooks - - - + To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gdk.PointerHooks' To be added diff --git a/doc/en/Gdk/PropMode.xml b/doc/en/Gdk/PropMode.xml index 658738398..903fb464c 100644 --- a/doc/en/Gdk/PropMode.xml +++ b/doc/en/Gdk/PropMode.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes how existing data is combined with new data. - None. - System.Enum @@ -19,23 +16,35 @@ 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 replaces the existing data. + The new data is appended to the existing data. + Field + + 2.12.0.0 + Gdk.PropMode @@ -46,15 +55,19 @@ - - + + + Field + + 2.12.0.0 + Gdk.PropMode - The new data is appended to the existing data. + The new data replaces the existing data. diff --git a/doc/en/Gdk/Property.xml b/doc/en/Gdk/Property.xml index 49ffd6cad..91db914f2 100644 --- a/doc/en/Gdk/Property.xml +++ b/doc/en/Gdk/Property.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,35 +8,22 @@ 2.12.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 + + To be added + To be added + - - - Method - - System.Void - - - - - - - To be added - a - a - To be added - - + Constructor + + 2.12.0.0 + @@ -45,7 +33,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by corrected overload with data parameter") + + System.Byte @@ -58,20 +55,76 @@ - To be added 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 @@ -88,7 +141,6 @@ - To be added a a a @@ -99,36 +151,10 @@ a a a + To be added a 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. - - diff --git a/doc/en/Gdk/PropertyState.xml b/doc/en/Gdk/PropertyState.xml index 809871d0a..509fc33a8 100644 --- a/doc/en/Gdk/PropertyState.xml +++ b/doc/en/Gdk/PropertyState.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the type of a property change for a . - None. - System.Enum @@ -19,29 +16,41 @@ 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 changed. + The property value was deleted. - - + + + Field + + 2.12.0.0 + Gdk.PropertyState - The property value was deleted. + The property value was changed. diff --git a/doc/en/Gdk/Rectangle.xml b/doc/en/Gdk/Rectangle.xml index 5c780b9f0..2228453c8 100644 --- a/doc/en/Gdk/Rectangle.xml +++ b/doc/en/Gdk/Rectangle.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,46 +8,42 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents a rectangle with x, y, width and height. - - System.ValueType + + Represents a rectangle with x, y, width and height. + + - - - Field - - Gdk.Rectangle - - - - A zero initialized rectangle. - - - - - - Method - - Gdk.Rectangle - + + + + Constructor + + 2.12.0.0 + + - + + - Makes a new rectangle. - An , the underlying unmanaged C object. - A - Not for general developer use. + a + a + Creates a rectangle from a point and a size. + To be added. + + Constructor + + 2.12.0.0 + @@ -55,237 +52,313 @@ - Initializes a rectangle from the given values. X value. Y value Width of the rectangle. Height of the rectangle + Initializes a rectangle from the given values. - - + + + Property + + 2.12.0.0 + - GLib.GType + System.Int32 - GType Property. - a - Returns the native value for . + The Y coordinate of the bottom of the rectangle. + a + To be added. + - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - The X element of the rectangle. - + a + Does hit testing for a point + a + To be added. + - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - The Y element of the rectangle. - + 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 . + - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + + - The rectangle width - + a + a + Does hit testing for a point + a + To be added. + - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - The rectangle height. - + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + Gdk.Rectangle - + + + + - Obtains the union of a this and another. - a - a representing the union of the two objects. - The result is the smallest that contains both objects within its boundaries. + a + a + a + a + Creates a rectangle given the left, right, top, and bottom. + a + To be added. + - - + + + Method - - System.Boolean - - - - - - - Obtains the intersection of a this and another. - a - a representing the intersection of this and the src2 - Returns true if the two objects intersect. - The result is the rectangular region occupied by both source rectanlges. - - - - - Property + + 2.12.0.0 + System.Int32 - The Y coordinate of the top of the rectangle. - a + To be added. + To be added. To be added. - - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - The Y coordinate of the bottom of the rectangle. - a - To be added. - + GType Property. + a + Returns the native value for . - - - Property + + + + Field + + 2.12.0.0 + System.Int32 - + + - The X coordinate of the right of the rectangle. - a - To be added. - + The rectangle height. + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + - The X coordinate of the left of the rectangle. - a + a + Inflates this rectangle by a given size. To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + Gdk.Rectangle - + + + + - Gets if the area of the rectangle is zero - a - This will return true if either the height or the width is zero. + 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 . - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Size + System.Void - + + + + - Gets the size represented by (Width, Height) - a + a + a + Inflates this rectangle by a given size. To be added. - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Point + Gdk.Rectangle - + + + + + - Gets the point represented by (X, Y) - a - To be added. + 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 + - Gdk.Rectangle + System.Void - - - - + - Creates a rectangle given the left, right, top, and bottom. - a - a - a - a - a + a + Modifies this rectangle to be the intersection with another rectangle To be added. - - + + + Method + + 2.12.0.0 + Gdk.Rectangle @@ -294,352 +367,486 @@ - Gets the smallest rectangle that contains both parameters a a + Gets the largest rectangle (if any) which is contained by both parameters. a To be added. - + + Method + + 2.12.0.0 + - Gdk.Rectangle + System.Boolean - - + + - Gets the largest rectangle (if any) which is contained by both parameters. - a - a - a + 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 - - - + - Changes the size of each side of the rectangle by the specified amount. - a - Change in the X size - Change in the Y size - a - The rectangle's center is the same as the center of . + 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 - + - Changes the size of each side of the rectangle by the specified amount. a - A change in size. + a + Returns a rectangle shifted by the vector dr a - The rectangle's center is the same as the center of . + To be added. - + + Method + + 2.12.0.0 + - Gdk.Rectangle + System.Void - - Returns the rectangle shifted by (dx,dy) - a a a - a + Offsets this rectangle by (dx,dy) To be added. - + + Method + + 2.12.0.0 + Gdk.Rectangle - + + - Returns a rectangle shifted by the vector dr a - a + a + a + Returns the rectangle shifted by (dx,dy) a To be added. - - + + + Method + + 2.12.0.0 + System.Boolean - + + - Tests if a rectangle is contained in this rectangle. - a - a - The rectangle must be fully enclosed for this test to return true. That is, - the intersection of this and must equal . + To be added. + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Boolean + GLib.Value - + - Does hit testing for a point - a - a + To be added. + To be added. + To be added. To be added. - - - + + + Method + + 2.12.0.0 + - System.Boolean + Gdk.Rectangle - - + - Does hit testing for a point - a - a - a + To be added. + To be added. + To be added. To be added. - - - + + + Method + + 2.12.0.0 + System.Boolean - + + - Tests if there is any overlap of this rectangle and another - a - a + To be added. + To be added. + To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - + - Modifies this rectangle to be the intersection with another rectangle - a + The X coordinate of the right of the rectangle. + a To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Size - - - + - Inflates this rectangle by a given size. - a + Gets the size represented by (Width, Height) + a To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - + - Inflates this rectangle by a given size. - a - a + The Y coordinate of the top of the rectangle. + a To be added. - - + + + Method + + 2.12.0.0 + - System.Void + System.String - - - - + - Offsets this rectangle by (dx,dy) - a - a + To be added. + To be added. To be added. - - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Rectangle - + - Offsets this rectangle by the vector dr - a - To be added - + 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gdk.Rectangle + - - + + - Creates a rectangle from a point and a size. - a - a + a + a + Gets the smallest rectangle that contains both parameters + a To be added. - - - Method + + + + Field + + 2.12.0.0 + - GLib.Value + System.Int32 - - To be added. - To be added. - To be added. - To be added. + The rectangle width + - - - Method + + + + Field + + 2.12.0.0 + - Gdk.Rectangle + System.Int32 - - To be added. - To be added. - To be added. - To be added. + The X element of the rectangle. + - - - Method + + + + Field + + 2.12.0.0 + - System.Boolean + System.Int32 - - - To be added. - To be added. - To be added. - To be added. - To be added. - + The Y element of the rectangle. + - - - Method + + + + Field + + 2.12.0.0 + - System.Boolean + Gdk.Rectangle - - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - + A zero initialized rectangle. + diff --git a/doc/en/Gdk/Region.xml b/doc/en/Gdk/Region.xml index d9963facf..798729882 100644 --- a/doc/en/Gdk/Region.xml +++ b/doc/en/Gdk/Region.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,34 +8,70 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents an area of the screen. - - GLib.Opaque + + Represents an area of the screen. + + - - - Method - - Gdk.Region - + + + + Constructor + + 2.12.0.0 + + + + + To be added + + + + + + + Constructor + + 2.12.0.0 + + - + + a To be added - a - a + + + + + + + Property + + 2.12.0.0 + + + Gdk.Rectangle + + + + To be added + a + Method + + 2.12.0.0 + Gdk.Region @@ -45,148 +82,163 @@ - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Gdk.Region is now freed automatically") + + - Gdk.OverlapType + System.Void - - - + To be added - a - a - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - - - - - + To be added - a - a - a - a + a - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + + a To be added - a + a - - + + + Method + + 2.12.0.0 + System.Void - - - + - To be added - a - + To be added. + To be added. - - + + + Method + + 2.12.0.0 + System.Void - + - To be added - a - + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Rectangle[] To be added + a - - + + + Method + + 2.12.0.0 + System.Void - - + + a To be added - a - a - - - - - - Method - - System.Boolean - - - - To be added - a - - + + + Method + + 2.12.0.0 + System.Void - + + + a + a To be added - a + Method + + 2.12.0.0 + System.Boolean @@ -195,47 +247,82 @@ - To be added a a + To be added a - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Region - + + + a + a To be added - a + a - - + + + Method + + 2.12.0.0 + - System.Boolean + Gdk.Region - + + a To be added - a - a + a + + + + + + + Method + + 2.12.0.0 + + + Gdk.OverlapType + + + + + + a + To be added + a + Method + + 2.12.0.0 + System.Void @@ -244,76 +331,110 @@ - To be added a a + To be added - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + + + a + a + a + a To be added - a - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + + a To be added - - + + + Method + + 2.12.0.0 + - Gdk.Rectangle[] + System.Void - + + + + a To be added - a - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Rectangle + System.Void - + + + + a To be added - a - - + + + Method + + 2.12.0.0 + - Gdk.Region + System.Void - - + + a To be added - a - a - a diff --git a/doc/en/Gdk/RegionBox.xml b/doc/en/Gdk/RegionBox.xml index 6eda6c697..51092bbac 100644 --- a/doc/en/Gdk/RegionBox.xml +++ b/doc/en/Gdk/RegionBox.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,30 +8,22 @@ 2.12.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 + + To be added + To be added + - - - Field - - Gdk.RegionBox - - - - To be added - To be added - - + Method + + 2.12.0.0 + Gdk.RegionBox @@ -38,15 +31,19 @@ - To be added a + To be added a To be added + Field + + 2.12.0.0 + System.Int32 @@ -57,9 +54,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -70,9 +71,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Int32 @@ -85,7 +90,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -96,5 +105,21 @@ To be added + + + + Field + + 2.12.0.0 + + + Gdk.RegionBox + + + + To be added + To be added + + diff --git a/doc/en/Gdk/Rgb.xml b/doc/en/Gdk/Rgb.xml index fa4dbea7b..5da084234 100644 --- a/doc/en/Gdk/Rgb.xml +++ b/doc/en/Gdk/Rgb.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + System.Object + + @@ -18,14 +23,83 @@ GdkRGB allocates a color cube to use when rendering images. You can set the thre - - System.Object - - + + + + 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 @@ -34,9 +108,9 @@ GdkRGB allocates a color cube to use when rendering images. You can set the thre - Fetches a color to be used on the given colormap. 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. @@ -44,59 +118,89 @@ In many cases, you can avoid this whole issue by setting the - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Boolean + System.Void - - - 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. - - - - - Constructor - - + + + + - Basic constructor. - + a + a + To be added + To be added + - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Int32 + System.Void + + - 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. + a + a + To be added + To be added + - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - Gdk.Visual + System.Void + - 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. + To be added + To be added + - + + Property + + 2.12.0.0 + System.Boolean @@ -111,21 +215,31 @@ A private colormap has more colors, leading to better quality display, but also - - + + + Property + + 2.12.0.0 + - Gdk.Colormap + System.Int32 + + - 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. + 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 @@ -137,45 +251,34 @@ A private colormap has more colors, leading to better quality display, but also - - - Method - - System.Void - - - - - - - To be added - a - a - To be added - - - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Visual - - - - - To be added - a - a - To be added - + 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 @@ -183,42 +286,12 @@ A private colormap has more colors, leading to better quality display, but also - To be added a - 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 - - - diff --git a/doc/en/Gdk/RgbCmap.xml b/doc/en/Gdk/RgbCmap.xml index b87eb17f8..3a10ca67a 100644 --- a/doc/en/Gdk/RgbCmap.xml +++ b/doc/en/Gdk/RgbCmap.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,59 +8,110 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A private data structure which maps color indices to actual RGB colors. - - GLib.Opaque + + A private data structure which maps color indices to actual RGB colors. + + - - - Field - - Gdk.RgbCmap - - + + + + Constructor + + 2.12.0.0 + + + + - Obsolete: use + a + Internal constructor. - - - System.Obsolete("Gdk.RgbCmap is a reference type now, use null") - - + Constructor + + 2.12.0.0 + - Constructs a new with the given colors. An array of colors in the form 0xRRGGBB. + Constructs a new with the given colors. - - - Constructor + + + + Method + + 2.12.0.0 + + + System.Void + + + + To be added. + To be added. + + + + + + Method + + 2.12.0.0 + + + System.Void + - Internal constructor. - a + 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 @@ -67,21 +119,30 @@ - Obsolete internal constructor. a + Obsolete internal constructor. a - - - Property + + + + Field + + 2.12.0.0 + + + + System.Obsolete("Gdk.RgbCmap is a reference type now, use null") + + - System.Int32 + Gdk.RgbCmap + - The number of colors in the colormap. - The number of colors in the colormap. + Obsolete: use diff --git a/doc/en/Gdk/RgbDither.xml b/doc/en/Gdk/RgbDither.xml index 906b98efe..b1c3bf4d8 100644 --- a/doc/en/Gdk/RgbDither.xml +++ b/doc/en/Gdk/RgbDither.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,42 +16,58 @@ 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 - Never use dithering. + Use dithering in 16 bits per pixel and below. - - + + + Field + + 2.12.0.0 + Gdk.RgbDither - Use dithering in 8 bits per pixel (and below) only. + Never use dithering. - - + + + Field + + 2.12.0.0 + Gdk.RgbDither - Use dithering in 16 bits per pixel and below. + Use dithering in 8 bits per pixel (and below) only. diff --git a/doc/en/Gdk/ScanLineList.xml b/doc/en/Gdk/ScanLineList.xml index c2fc6a144..617f68e36 100644 --- a/doc/en/Gdk/ScanLineList.xml +++ b/doc/en/Gdk/ScanLineList.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,26 +8,30 @@ 2.12.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 + + To be added + To be added + + Constructor + + 2.12.0.0 + - To be added a + To be added To be added diff --git a/doc/en/Gdk/ScanLineListBlock.xml b/doc/en/Gdk/ScanLineListBlock.xml index 0a89a8a60..052482ef4 100644 --- a/doc/en/Gdk/ScanLineListBlock.xml +++ b/doc/en/Gdk/ScanLineListBlock.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,26 +8,30 @@ 2.12.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 + + To be added + To be added + + Constructor + + 2.12.0.0 + - To be added a + To be added To be added diff --git a/doc/en/Gdk/Screen.xml b/doc/en/Gdk/Screen.xml index cc32ffec3..83d064207 100644 --- a/doc/en/Gdk/Screen.xml +++ b/doc/en/Gdk/Screen.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,164 +8,151 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Object representing a physical screen. - To be added - GLib.Object + + Object representing a physical screen. + To be added + - + + Constructor + + 2.12.0.0 + - - - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added + To be added - - - Property - - Gdk.Screen - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - The default screen of the default display. - The default . - Returns null if there iss no default display. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Property - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + + + + - To be added - a + Pointer to the C object. + Internal constructor - 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); - - + This is an internal constructor, and should not be used by user code. - - + + + Property + + 2.12.0.0 + Gdk.Window - To be added - a - To be added - - - - - Property - - System.Int32 - - - The height of the screen in pixels. - A with the number of pixels of the screen. - - - - - - Property - - Gdk.Display - - - To be added - a - To be added - - - - - Property - - System.Int32 - - - To be added - a - To be added + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Visual + System.Void + + + + a To be added - a To be added - - - Property - - System.Int32 - - - The height of the screen in millimeters. - A with the height of the screen in millimeters. - - - - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("composited_changed") + + - System.Int32 + System.EventHandler - The width of the screen in pixels. - A with the number of pixels of the screen. + Raised when the composited status of the screen changes. + - - + + + Property + + 2.12.0.0 + - System.Int32 + Gdk.Screen - The width of the screen in millimeters. - A with the width of the screen in millimeters. - + The default screen of the default display. + The default . + Returns null if there iss no default display. - + + Property + + 2.12.0.0 + Gdk.Colormap @@ -176,78 +164,51 @@ Console.WriteLine("You have {0} monitors.",numMonitors); To be added - - - Property - - Gdk.Visual - - - To be added - a - To be added - - - - + + + Property + + 2.12.0.0 + - Gdk.Colormap + Gdk.Display To be added - a + a To be added - - + + + Property - - Gdk.Colormap - - - To be added - a - To be added - - - - - Event - - System.EventHandler - - - - To be added - To be added - + + 2.12.0.0 + - GLib.Signal("size_changed") + GLib.Property("font-options") - - - - Method - System.Int32 + Cairo.FontOptions - - - - Gets the monitor that contains most of the given window. - A whose main monitor is claimed. - A indicating the required monitor. - If the window does not intersect any of the monitors, then the a close one is returned. + 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 @@ -256,31 +217,60 @@ Console.WriteLine("You have {0} monitors.",numMonitors); - Gets the monitor number where the point is located. 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.Void + 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 + a To be added + Method + + 2.12.0.0 + System.Boolean @@ -289,29 +279,20 @@ Console.WriteLine("You have {0} monitors.",numMonitors); - To be added a a + To be added a To be added - - - Method - - System.String - - - - To be added - a - To be added - - - - - Property + + + + Property + + 2.12.0.0 + GLib.GType @@ -322,52 +303,62 @@ Console.WriteLine("You have {0} monitors.",numMonitors); Returns the native value for . - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The height of the screen in pixels. + A with the number of pixels of the screen. + - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + System.Int32 + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + The height of the screen in millimeters. + A with the height of the screen in millimeters. + - - - System.Obsolete - - - - + + + Property + + 2.12.0.0 + - Gdk.Window[] + System.Boolean - - To be added - a - To be added + 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[] @@ -378,91 +369,115 @@ Console.WriteLine("You have {0} monitors.",numMonitors); To be added - - + + + Method + + 2.12.0.0 + - Gdk.Rectangle + System.String - - - - - To be added - a - a - To be added - - - - - Constructor - To be added + a To be added - - + + + Property + + 2.12.0.0 + - Gdk.Visual + System.Int32 - A Visual to use for creating Drawables with an alpha channel. - a or . - Returns if the capability is not available. See for caveats. - + 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 + - Gdk.Colormap + System.Int32 - 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. - + To be added + a + To be added - - - Event + + + + Method + + 2.12.0.0 + - GLib.Signal("composited_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCompositedChanged", Type=typeof(Gdk.Screen)) - System.EventHandler + System.Void + - Raised when the composited status of the screen changes. + 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. - - + 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") @@ -478,53 +493,197 @@ Console.WriteLine("You have {0} monitors.",numMonitors); - - + + + + 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.Property("font-options") + GLib.Signal("size_changed") - Cairo.FontOptions + System.EventHandler + - 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. - + To be added + To be added - - + + + Property + + 2.12.0.0 + - Gdk.Window + Gdk.Colormap - 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. - + To be added + a + To be added - - + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.Visual - 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. - + 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[] diff --git a/doc/en/Gdk/ScrollDirection.xml b/doc/en/Gdk/ScrollDirection.xml index 96b7efa8d..ccfd85eea 100644 --- a/doc/en/Gdk/ScrollDirection.xml +++ b/doc/en/Gdk/ScrollDirection.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the direction for the . - None. - System.Enum @@ -19,55 +16,75 @@ GLib.GType(typeof(Gdk.ScrollDirectionGType)) + + Specifies the direction for the . + None. + - - + + + Field + + 2.12.0.0 + Gdk.ScrollDirection - The window is scrolled up. + The window is scrolled down. - - + + + Field + + 2.12.0.0 + Gdk.ScrollDirection - The window is scrolled down. + The window is scrolled left. - - + + + Field + + 2.12.0.0 + Gdk.ScrollDirection - The window is scrolled left. + The window is scrolled right. - - + + + Field + + 2.12.0.0 + Gdk.ScrollDirection - The window is scrolled right. + The window is scrolled up. diff --git a/doc/en/Gdk/Segment.xml b/doc/en/Gdk/Segment.xml index f5b51db64..38bab63ba 100644 --- a/doc/en/Gdk/Segment.xml +++ b/doc/en/Gdk/Segment.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,31 +8,22 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents a line segment defined as [(x1,y1),(x2,y2)] - - System.ValueType + + Represents a line segment defined as [(x1,y1),(x2,y2)] + + - - - Field - - Gdk.Segment - - - - References a static field defined as new Gdk.Segment (); - - - - + Method + + 2.12.0.0 + Gdk.Segment @@ -39,15 +31,19 @@ - Returns a new object. 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 @@ -58,35 +54,47 @@ - - + + + Field + + 2.12.0.0 + System.Int32 - First y-value for the line segment. + Second x-value for the line segment. - - + + + Field + + 2.12.0.0 + System.Int32 - Second x-value for the line segment. + First y-value for the line segment. + Field + + 2.12.0.0 + System.Int32 @@ -97,5 +105,22 @@ + + + + Field + + 2.12.0.0 + + + Gdk.Segment + + + + References a static field defined as new Gdk.Segment (); + + + + diff --git a/doc/en/Gdk/Selection.xml b/doc/en/Gdk/Selection.xml index 3107dd99b..a6b79e193 100644 --- a/doc/en/Gdk/Selection.xml +++ b/doc/en/Gdk/Selection.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,10 @@ 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. @@ -17,38 +22,28 @@ The contents of a selection can be represented in a number of formats, called ta 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). - - System.Object - - - - - Field - - Gdk.Atom - - - - An Atom representing the PRIMARY selection. - - - - - - Field - - Gdk.Atom - + + + + Constructor + + 2.12.0.0 + + - The atom for the secondary selection - + To be added + To be added + Field + + 2.12.0.0 + Gdk.Atom @@ -58,81 +53,58 @@ The functions in this section only contain the lowlevel parts of the selection p - - - Method - - System.Boolean - - - - - - - - - - Sets the owner as the current owner of the selection selection. - 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. - TRUE if the selection owner was successfully changed to owner, otherwise FALSE. - - - - - + + + Method + + 2.12.0.0 + System.Void - + - - Sends a response to SelectionRequest event. - 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. - To be added + 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 + - System.Void + Gdk.Window - - - - - - Send a response to SelectionRequest event. - 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. - To be added + 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 @@ -141,80 +113,153 @@ The functions in this section only contain the lowlevel parts of the selection p - Determine the owner of the given selection. 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.Void + System.Boolean - + - + - Retrieves the contents of a selection in a given form. - 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. + 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 + - Sets the owner of the given selection. + The 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. - - if the selection owner was successfully changed to owner, otherwise + 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 + - Gdk.Window + System.Void + + + + - Determines the owner of the given selection. - an atom indentifying a 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. - + 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 - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + + + + + + - To be added + 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 diff --git a/doc/en/Gdk/SettingAction.xml b/doc/en/Gdk/SettingAction.xml index 2e5b3239c..3b776a17d 100644 --- a/doc/en/Gdk/SettingAction.xml +++ b/doc/en/Gdk/SettingAction.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the kind of modification applied to a setting in a . - None. - System.Enum @@ -19,42 +16,58 @@ 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 added. + A setting was changed. - - + + + Field + + 2.12.0.0 + Gdk.SettingAction - A setting was changed. + A setting was deleted. - - + + + Field + + 2.12.0.0 + Gdk.SettingAction - A setting was deleted. + A setting was added. diff --git a/doc/en/Gdk/Size.xml b/doc/en/Gdk/Size.xml index 35f9a4d6e..386ea4d10 100644 --- a/doc/en/Gdk/Size.xml +++ b/doc/en/Gdk/Size.xml @@ -1,90 +1,118 @@ + 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. - - 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. - 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. + - - - Field - - Gdk.Size - - - - - A static readonly Size - - - + Constructor + + 2.12.0.0 + - Constructor based on . Initial height and width taken to be point.X and point.Y a + Constructor based on . Initial height and width taken to be point.X and point.Y + Constructor + + 2.12.0.0 + - Constructor with initial values for height and width. a a + Constructor with initial values for height and width. - - - Property + + + + Field + + 2.12.0.0 + - System.Boolean + Gdk.Size - + + - Checks if height and width == 0 - a + A static readonly Size - - - Property + + + + 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 - Gets/sets the width value - a - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + System.Int32 @@ -95,9 +123,30 @@ + + + + Property + + 2.12.0.0 + + + System.Boolean + + + + Checks if height and width == 0 + a + + + + Method + + 2.12.0.0 + Gdk.Size @@ -115,7 +164,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -131,9 +184,33 @@ 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 @@ -151,7 +228,11 @@ + Method + + 2.12.0.0 + Gdk.Size @@ -167,21 +248,39 @@ To be added. - - + + + Method + + 2.12.0.0 + - Gdk.Point + System.String - - - + - To be added. To be added. To be added. To be added. + + + + Property + + 2.12.0.0 + + + System.Int32 + + + + Gets/sets the width value + a + + + diff --git a/doc/en/Gdk/SizePreparedArgs.xml b/doc/en/Gdk/SizePreparedArgs.xml index 5142c296e..da562b731 100644 --- a/doc/en/Gdk/SizePreparedArgs.xml +++ b/doc/en/Gdk/SizePreparedArgs.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gdk/SizePreparedHandler.xml b/doc/en/Gdk/SizePreparedHandler.xml index cfc76f775..e2a980b15 100644 --- a/doc/en/Gdk/SizePreparedHandler.xml +++ b/doc/en/Gdk/SizePreparedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gdk/Span.xml b/doc/en/Gdk/Span.xml index 4dfee1a73..6be0af6c4 100644 --- a/doc/en/Gdk/Span.xml +++ b/doc/en/Gdk/Span.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,46 +8,59 @@ 2.12.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 + + To be added + To be added + - - - Field + + + + 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 - - - Method + + + + Field + + 2.12.0.0 + - Gdk.Span + System.Int32 - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gdk.Span' To be added + Field + + 2.12.0.0 + System.Int32 @@ -59,7 +73,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -70,14 +88,17 @@ To be added - - + + + Field + + 2.12.0.0 + - System.Int32 + Gdk.Span - - + To be added To be added diff --git a/doc/en/Gdk/SpanFunc.xml b/doc/en/Gdk/SpanFunc.xml index 5bd67ba9d..5cd9f0612 100644 --- a/doc/en/Gdk/SpanFunc.xml +++ b/doc/en/Gdk/SpanFunc.xml @@ -1,23 +1,24 @@ + gdk-sharp 2.12.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 - System.Delegate - System.Void + + To be added. + To be added + To be added + + diff --git a/doc/en/Gdk/Spawn.xml b/doc/en/Gdk/Spawn.xml index cb4de5579..fa1dc143b 100644 --- a/doc/en/Gdk/Spawn.xml +++ b/doc/en/Gdk/Spawn.xml @@ -1,24 +1,43 @@ + 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 - - System.Object - - + + + + Constructor + + 2.12.0.0 + + + + + Do not use. + No instance methods exist. + + + Method + + 2.12.0.0 + System.Boolean @@ -27,26 +46,20 @@ - Spawns a process on a Screen using a commandline string. a a + Spawns a process on a Screen using a commandline string. a - - - Constructor - - - - Do not use. - No instance methods exist. - - + Method + + 2.12.0.0 + System.Boolean @@ -75,7 +88,11 @@ + Method + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gdk/Status.xml b/doc/en/Gdk/Status.xml index b36606288..1eab29458 100644 --- a/doc/en/Gdk/Status.xml +++ b/doc/en/Gdk/Status.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.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 @@ -19,10 +16,18 @@ GLib.GType(typeof(Gdk.StatusGType)) + + To be added + To be added + - - + + + Field + + 2.12.0.0 + Gdk.Status @@ -33,9 +38,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.Status @@ -46,9 +55,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.Status @@ -59,9 +72,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.Status @@ -72,9 +89,13 @@ - - + + + Field + + 2.12.0.0 + Gdk.Status diff --git a/doc/en/Gdk/SubwindowMode.xml b/doc/en/Gdk/SubwindowMode.xml index 1d8663afe..2b6d675ef 100644 --- a/doc/en/Gdk/SubwindowMode.xml +++ b/doc/en/Gdk/SubwindowMode.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines how drawing onto a window will affect child windows of that window. - None. - System.Enum @@ -19,10 +16,18 @@ 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 @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gdk.SubwindowMode diff --git a/doc/en/Gdk/TextProperty.xml b/doc/en/Gdk/TextProperty.xml index 0c8de3be2..99c7a59ef 100644 --- a/doc/en/Gdk/TextProperty.xml +++ b/doc/en/Gdk/TextProperty.xml @@ -1,23 +1,42 @@ + 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. - - To be added - To be added - 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[] @@ -28,18 +47,22 @@ - To be added a a a a + To be added a To be added + Method + + 2.12.0.0 + System.String[] @@ -51,23 +74,13 @@ - To be added a a a a a - a - To be added - - - - - Constructor - - - To be added + a To be added diff --git a/doc/en/Gdk/Threads.xml b/doc/en/Gdk/Threads.xml index 9a5a18254..0a9fe1a2a 100644 --- a/doc/en/Gdk/Threads.xml +++ b/doc/en/Gdk/Threads.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + System.Object + + Threads @@ -40,50 +45,14 @@ static void Main (string[] args) - - System.Object - - - - - Method - - System.Void - - - - Leaves a critical region begun with Gdk.Threads.Enter(). - This marks the end of a critical section begun with Gdk.Threads.Enter. - - - - - Method - - 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 - - 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 . - - + Constructor + + 2.12.0.0 + @@ -93,7 +62,11 @@ static void Main (string[] args) + Method + + 2.12.0.0 + System.UInt32 @@ -112,7 +85,11 @@ static void Main (string[] args) + Method + + 2.12.0.0 + System.UInt32 @@ -131,5 +108,53 @@ static void Main (string[] args) + + + + 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. + + diff --git a/doc/en/Gdk/TimeCoord.xml b/doc/en/Gdk/TimeCoord.xml index bc7512083..21c782715 100644 --- a/doc/en/Gdk/TimeCoord.xml +++ b/doc/en/Gdk/TimeCoord.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,22 +8,27 @@ 2.12.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 + + To be added + To be added + - - + + + Field + + 2.12.0.0 + - Gdk.TimeCoord + System.Double[] - + + To be added To be added @@ -30,7 +36,11 @@ + Method + + 2.12.0.0 + Gdk.TimeCoord @@ -38,15 +48,19 @@ - To be added 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 @@ -57,14 +71,17 @@ To be added - - + + + Field + + 2.12.0.0 + - System.Double[] + Gdk.TimeCoord - - + To be added To be added diff --git a/doc/en/Gdk/Trapezoid.xml b/doc/en/Gdk/Trapezoid.xml index 93412c259..430d352c0 100644 --- a/doc/en/Gdk/Trapezoid.xml +++ b/doc/en/Gdk/Trapezoid.xml @@ -1,37 +1,49 @@ + 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 - - System.ValueType - - - - - Field + + + + Method + + 2.12.0.0 + Gdk.Trapezoid + + a To be added + a To be added - - + + + Field + + 2.12.0.0 + System.Double @@ -42,9 +54,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Double @@ -57,7 +73,11 @@ + Field + + 2.12.0.0 + System.Double @@ -68,9 +88,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Double @@ -81,9 +105,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Double @@ -94,9 +122,13 @@ To be added - - + + + Field + + 2.12.0.0 + System.Double @@ -107,19 +139,20 @@ To be added - - - Method + + + + Field + + 2.12.0.0 + Gdk.Trapezoid - To be added - a - a To be added diff --git a/doc/en/Gdk/VisibilityState.xml b/doc/en/Gdk/VisibilityState.xml index 28cd32e33..514b98c11 100644 --- a/doc/en/Gdk/VisibilityState.xml +++ b/doc/en/Gdk/VisibilityState.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the visiblity status of a window for a . - - System.Enum @@ -19,22 +16,34 @@ GLib.GType(typeof(Gdk.VisibilityStateGType)) + + Specifies the visiblity status of a window for a . + + - - + + + Field + + 2.12.0.0 + Gdk.VisibilityState - The window is completely visible. + The window is not visible at all. + Field + + 2.12.0.0 + Gdk.VisibilityState @@ -44,15 +53,19 @@ - - + + + Field + + 2.12.0.0 + Gdk.VisibilityState - The window is not visible at all. + The window is completely visible. diff --git a/doc/en/Gdk/Visual.xml b/doc/en/Gdk/Visual.xml index febee94b8..7a1735a2e 100644 --- a/doc/en/Gdk/Visual.xml +++ b/doc/en/Gdk/Visual.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 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. @@ -49,115 +55,85 @@ - - GLib.Object - - - - - - Method - - Gdk.Visual - - - - - - Get the best visual with depth depth for the default GDK screen. - A bit depth - 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 - - Gdk.Visual - - - - + + + + Constructor + + 2.12.0.0 + + + - Get the best visual of the given visual_type for the default GDK screen. - Required visual type. - 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 . - - + Default constructor. + None. - - - Method - - Gdk.Visual - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Get the best visual given a visual type and a - required depth. - Required depth. - Required visual type. - 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 . - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor 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.VisualType + Gdk.Visual - Best visual type for the default Gdk screen - The best visual type available. - Return the best available visual type for the default GDK screen. + 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 @@ -173,48 +149,114 @@ - - + + + 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 + + + + - 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. + 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 . + + - - - Property + + + + Method + + 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. + 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 + . + + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Screen + Gdk.Visual + + + - Gets the screen to which this visual belongs. - The to which this visual belongs. - None. + 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 @@ -225,32 +267,39 @@ Returns the native value for . - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + Gdk.Screen + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Gets the screen to which this visual belongs. + The to which this visual belongs. + None. - - - System.Obsolete - - - - - Constructor - - + + + + Property + + 2.12.0.0 + + + Gdk.Visual + - Default constructor. - None. + 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. diff --git a/doc/en/Gdk/VisualType.xml b/doc/en/Gdk/VisualType.xml index 6749d76e6..66fdd8fc7 100644 --- a/doc/en/Gdk/VisualType.xml +++ b/doc/en/Gdk/VisualType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,14 @@ 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. @@ -23,37 +32,52 @@ - - System.Enum - - - - GLib.GType(typeof(Gdk.VisualTypeGType)) - - - - + + + Field + + 2.12.0.0 + Gdk.VisualType - Static gray visuals are those in which you cannot change the gray intensities of the hardware. + DirectColor visuals use RGB encoding, with a + correction palette. - 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. + + 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 @@ -67,9 +91,38 @@ + + + + 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 @@ -85,30 +138,36 @@ - - + + + Field + + 2.12.0.0 + Gdk.VisualType - An indexed color visual, where colors can change. + Static gray visuals are those in which you cannot change the gray intensities of the hardware. - 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. + 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 @@ -130,39 +189,5 @@ - - - Field - - 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 - - - - diff --git a/doc/en/Gdk/WMDecoration.xml b/doc/en/Gdk/WMDecoration.xml index bb142cb4b..c49ee8ebd 100644 --- a/doc/en/Gdk/WMDecoration.xml +++ b/doc/en/Gdk/WMDecoration.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,10 +16,18 @@ 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 @@ -34,7 +39,11 @@ + Field + + 2.12.0.0 + Gdk.WMDecoration @@ -44,63 +53,83 @@ - - + + + Field + + 2.12.0.0 + Gdk.WMDecoration - The frame should have resize handles. + A maximize button should be included. - - + + + Field + + 2.12.0.0 + Gdk.WMDecoration - A titlebar should be placed above the window. + A button for opening a menu should be included. - - + + + Field + + 2.12.0.0 + Gdk.WMDecoration - A button for opening a menu should be included. + A minimize button should be included. - - + + + Field + + 2.12.0.0 + Gdk.WMDecoration - A minimize button should be included. + The frame should have resize handles. - - + + + Field + + 2.12.0.0 + Gdk.WMDecoration - A maximize button should be included. + A titlebar should be placed above the window. diff --git a/doc/en/Gdk/WMFunction.xml b/doc/en/Gdk/WMFunction.xml index 193a6e86f..c5db30d16 100644 --- a/doc/en/Gdk/WMFunction.xml +++ b/doc/en/Gdk/WMFunction.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,10 +16,18 @@ 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 @@ -33,35 +38,47 @@ - - + + + Field + + 2.12.0.0 + Gdk.WMFunction - The window should be resizable. + The window should be closable. - - + + + Field + + 2.12.0.0 + Gdk.WMFunction - The window should be movable. + The window should be maximizable. + Field + + 2.12.0.0 + Gdk.WMFunction @@ -72,28 +89,36 @@ - - + + + Field + + 2.12.0.0 + Gdk.WMFunction - The window should be maximizable. + The window should be movable. - - + + + Field + + 2.12.0.0 + Gdk.WMFunction - The window should be closable. + The window should be resizable. diff --git a/doc/en/Gdk/Window.xml b/doc/en/Gdk/Window.xml index b3f552956..bb7fdd26d 100644 --- a/doc/en/Gdk/Window.xml +++ b/doc/en/Gdk/Window.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,11 @@ 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. @@ -16,410 +22,274 @@ 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. - - Gdk.Drawable - - - - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Calls for all windows in the application. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - Gdk.Window - + + + + Constructor + + 2.12.0.0 + + - + - For internal use only. Looks up the Window that wraps the given native window handle. - A , a native window ID. - A - + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method - - Gdk.Window - + + + + Constructor + + 2.12.0.0 + + - + + + - For internal use only. - Wraps a native window for the default display in a . - This may fail if the window has been destroyed. - A - A - + a + a + a + Basic constructor + + - - - Method + + + + 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.Void + System.Boolean - - 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. - + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + System.Void - - + + A - Adds to the update area for the window. - The update area is the - region that needs to be redrawn, or "dirty region." + 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. - A - A - -

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.

-
+
- - + + + Method + + 2.12.0.0 + System.Void - - - + - Reparents this window into the given - . The window being - reparented will be unmapped as a side effect. - A , new parent to move this window into - A , X location inside the new parent - A , Y location inside the new parent - + 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 + - System.Void + Gdk.Window - - + + - - 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.) - - A , amount to scroll in the X direction - A , amount to scroll in the Y direction + a + a + To be added + a - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.Color - - - 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 - A , true if the server supports static gravity - + 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 - -

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 .) -

-
+ Emits a short beep. +
- - + + + Method + + 2.12.0.0 + System.Void - - - - + + + + - - 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.) - - A , new X position relative to window's parent - A , new Y position relative to window's parent - A , new width - A , new height - - - - - - Method - - 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 - - System.Void - - - - - - - - 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 . - - - A - A - -

- 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 - - 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. - - - - - - Method - - System.Void - - - - - - - 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. + 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. - A - - - Method - - 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 - - - - + - 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. + A + + A convenience wrapper around () which + creates a rectangular region for you. See + () for details. - 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 + Method + + 2.12.0.0 + System.Void @@ -427,10 +297,10 @@ + A Indicates that you are beginning the process of redrawing @region. - A

A backing store (offscreen buffer) large enough to contain @@ -477,887 +347,1183 @@ - - + + + Method + + 2.12.0.0 + System.Void - - - - + + + + + + A + A + A + A + A

- Like , but also generates an - expose event for the cleared area. + 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. - 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 - - This function has a stupid name because it dates back to the mists - time, pre-GDK-1.0. - +
- - + + + + 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 - Reverse operation for . + Clears the entire window to the background color or background pixmap. - - + + + Method + + 2.12.0.0 + System.Void - - + + + a + a To be added - A - A - - + + + Method + + 2.12.0.0 + - Gdk.Window + System.Void - - - + + + + - To be added - A - A - A - A + 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 - - - + + + + - To be added - A - A - A - + 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 - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Cursor - + + - To be added + 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 - - "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.) + + 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. - - 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 - - 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. + + 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. - 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. + 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 - - - - + - - A convenience wrapper around - which - invalidates a rectangular region. See - for details. - - A - A , whether to invalidate child windows - + To be added + To be added + - - + + + Method + + 2.12.0.0 + System.Void - - Maximizes the window. If the window was already maximized, then - this function does nothing. + + 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. - -

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. -

-
+ + It is an error to call this function without a matching + () first. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.EventMask - - - - 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 - A - -

- 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 - . -

-
+ To be added + A +
- - + + + Method + + 2.12.0.0 + System.Void - - - - + - Clears an area of this window to the background color or background pixmap. - 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 + 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 + - System.Void + Gdk.Window - + + + - - 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. - + 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 + - System.Void + Gdk.Window - - - + + - - Sets the icon of this window as a pixmap or window. - - A - A - mask bitmap - - 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. - + 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 - 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 . + 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 - - 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. - + To be added + - - + + + + Property + + 2.12.0.0 + + + Gdk.WMFunction + + + + + To be added + A + + + + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + + a to put the decorations in - "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. + Returns the decorations set on the window with . - A - -

- 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. -

-
+ a , true if the window has decorations set, false otherwise. +
- - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Void + System.Boolean - + + - Sends one or more expose events to the window. - A , whether to process updates for child windows - 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. - + a + a + To be added + a + To be added + - - + + + 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. -

-
+ a + a + a + a + a + To be added
- - + + + Method + + 2.12.0.0 + System.Void - - - - - + + + - - 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. - - A - A - A - A - A + a + a + a + To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - + + + + - - 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. - + a + a + To be added + a + - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Window - + + + - - A convenience wrapper around () which - creates a rectangular region for you. See - () for details. - - A + A + A + A + To be added + A - - + + + 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). - + a + a + To be added + - - + + + Method + + 2.12.0.0 + System.Void - + + - Remove a filter previously added with . - A + a + a + To be added - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Window - Clears the entire window to the background color or background pixmap. - + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + System.Void - - - + - 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. - A , timestamp of the event calling this method + + 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 - - 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. + + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Pixbuf[] - To be added + a - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - -

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.

-
- 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 - -

- 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. -

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

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. -

-
+ 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. +
- - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - - - + + - Basic constructor - A - A - A - The type of the parameter in this auto-generated constructor is incorrect. You would normally want to use the overloaded constructor that takes a . - - - - - Constructor - - - - - - - - Basic constructor - a - a - a + 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. +

- - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + - For debugging use only. - A + A + A , whether to invalidate child windows + + A convenience wrapper around + which + invalidates a rectangular region. See + for details. + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.WMFunction + System.Void + + - To be added - A - + 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 + a - - + + + Property + + 2.12.0.0 + - Gdk.Window + System.Boolean - - + To be added - A + a - - + + + Property + + 2.12.0.0 + - Gdk.Window + System.Boolean To be added - A - + a + To be added + - - + + + Property + + 2.12.0.0 + - Gdk.Cursor + System.Boolean - - - 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. - + To be added + a + To be added + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.EventMask + Gdk.Window + - To be added - A + A , a native window ID. + For internal use only. Looks up the Window that wraps the given native window handle. + A - - - Property + + + + Method + + 2.12.0.0 + - System.String + Gdk.Window + + + a + a To be added - A + a - - - Property + + + + Method + + 2.12.0.0 + - Gdk.WindowType + System.Void + - To be added - A + +

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 .) +

+
- - - Property + + + + Method + + 2.12.0.0 + - Gdk.WindowState + System.Void + - To be added - A - + + 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. +

+
- - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - - + - To be added - A + 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 @@ -1369,78 +1535,135 @@ in a child). - - - Property + + + + Method + + 2.12.0.0 + - Gdk.WindowTypeHint + System.Void + + - To be added - A - + 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. +

+
- - - Property + + + + Method + + 2.12.0.0 + - Gdk.Region + System.Void + + + + + - To be added - A - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void + + a To be added - A - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Color + System.Void + + + + - 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; - + 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 + - Gdk.Window + System.Double - To be added - A + Opacity Property. + A double between 0 and 1. + - - + + + Property + + 2.12.0.0 + System.Boolean @@ -1448,75 +1671,101 @@ The color must be allocated; To be added - a + A - - + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.Window - - To be added - a + A - - + + + Method + + 2.12.0.0 + - Gdk.Window + System.Void - - - - + - To be added - a - a - a + Calls for all windows in the application. - - + + + Method + + 2.12.0.0 + - Gdk.Window + System.Void - - + - To be added - a - a - a - + 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 - To be added - + + 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 @@ -1526,623 +1775,841 @@ The color must be allocated; - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - - + - To be added - a - a - a + A + Remove a filter previously added with . - - + + + Method + + 2.12.0.0 + System.Void - - - + - To be added - a - a - a + a + Removes an event filtering function for all Windows. + - - + + + Method + + 2.12.0.0 + - Gdk.Window + System.Void - - + + + - To be added - a - a - a + 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 - a - a - a - a - a - a - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - - To be added - a - a - a - a - a + A - - + + + Method + + 2.12.0.0 + System.Void - - + + - To be added - a - a + 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.Boolean + System.Void - + + + A + A - Returns the decorations set on the window with . + 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 to put the decorations in - a , true if the window has decorations set, false otherwise. - + +

+ 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 - - - - + - To be added - a - a - + 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 . + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - To be added - a + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + - To be added - a - + 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. +

+
- - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 - - - - Property - Gdk.Window[] + System.Void - + + + + + + + + + + a + a + a + a + a + a + a To be added - a - + To be added + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Window[] + System.Void - + + + + + - 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. + 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. + + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Pixbuf[] + System.Boolean + + + - To be added - a + 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 - + + + - To be added - a - + 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 - a - a - - - Property + + + + Method + + 2.12.0.0 + - System.IntPtr + System.Void To be added - a - - - Property - - System.Boolean - - - To be added - 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 - - Gdk.Window - - - - To be added - a - To be added - - - - - - Method - - System.Boolean - - - - - - - To be added - a - a - a - To be added - - - - - + + + Method + + 2.12.0.0 + System.Void - - - - - - - - - + - To be added - a - a - a - a - a - a - a - To be added - + + 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 + - Gdk.Rectangle + System.Boolean - + + - 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 . - + To be added + a + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Boolean - - Adds an event filtering function for all Windows. - a - It is possible to do significant damage to Gdk's built in event processing using this capability if used improperly. - + To be added + a + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - Removes an event filtering function for all Windows. - a - - + Startup notification ID. + A string. + When using Gtk, consider using instead. + - - + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.WindowState To be added - a - To be added - + A + - - + + + Method + + 2.12.0.0 + System.Void - To be added - To be added - + + "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 - To be added - + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - 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. - + To be added + A + - - + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.Window - Indicates if the window needs the user's urgent attention. - - to set the hint, or to clear it. + To be added + A - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Window[] + + + + To be added + a + + + + + + + Property + + 2.12.0.0 + + + Gdk.Window - - - - 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. - + To be added + A + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.WindowTypeHint - + + - 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 . - + To be added + A + - - + + + 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. - + To be added + - - + + + 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 . - + To be added + - - + + + Method + + 2.12.0.0 + System.Void - Emits a short beep. + Reverse operation for . - - - + + + + Property + + 2.12.0.0 + + + Gdk.Region + + + To be added + A + + + + + + 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. - + Indicates if the window needs the user's urgent attention. + + to set the hint, or to clear it. + + - - + + + Property + + 2.12.0.0 + - System.Double + System.IntPtr + - Opacity Property. - A double between 0 and 1. + To be added + a - - - + + + Property + + 2.12.0.0 + - System.String + Gdk.WindowType - Startup notification ID. - A string. - When using Gtk, consider using instead. - + 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. + diff --git a/doc/en/Gdk/WindowAttr.xml b/doc/en/Gdk/WindowAttr.xml index 633606e00..eda3267db 100644 --- a/doc/en/Gdk/WindowAttr.xml +++ b/doc/en/Gdk/WindowAttr.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,46 +8,27 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Attributes to use for a newly-created window. - None. - System.ValueType + + Attributes to use for a newly-created window. + None. + - - - Field - - Gdk.WindowAttr - - - - A zeroed structure. - None. - - - - - Method - - Gdk.WindowAttr - - - - - - Internal method. - raw unmanaged pointer. - A new WindowAttr. - Internal method, do not use this. - - - + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Colormap property.") + + Gdk.Colormap @@ -57,34 +39,35 @@ To be added: an object of type 'Gdk.Colormap' Replaced by . - - - System.Obsolete("Replaced by Colormap property.") - - - - + + + Property + + 2.12.0.0 + - Gdk.Visual + Gdk.Colormap - - - The for the window. - a for the window. - Replaced by . + Colormap for the window. + an object of type 'Gdk.Colormap' + + + + + + Property + + 2.12.0.0 + - System.Obsolete("Replaced by Visual property.") + System.Obsolete("Replaced by Cursor property.") - - - - Property Gdk.Cursor @@ -94,28 +77,30 @@ Cursor for the window. (see ). Replaced by . - - - System.Obsolete("Replaced by Cursor property.") - - - - - Field + + + + Property + + 2.12.0.0 + - System.String + Gdk.Cursor - - - Title of the window (for toplevel windows). - None. + Cursor for the window (see ). + Cursor for the window. (see ). + + Field + + 2.12.0.0 + System.Int32 @@ -126,61 +111,157 @@ See . - - + + + Field + + 2.12.0.0 + System.Int32 - X coordinate relative to parent window. (see ). + 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.Int32 + System.Boolean - Y coordinate relative to parent window (see ). + True to bypass the window manager. None. - - + + + Field + + 2.12.0.0 + - System.Int32 + System.String - Width of the window. + Title of the window (for toplevel windows). None. - - + + + Field + + 2.12.0.0 + - System.Int32 + Gdk.WindowTypeHint + + + Type Hints for the window. + + + + + + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Visual property.") + + + + Gdk.Visual - Height of the window. - None. + 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 @@ -191,9 +272,30 @@ None. + + + + Field + + 2.12.0.0 + + + System.Int32 + + + + + Width of the window. + None. + + + Field + + 2.12.0.0 + Gdk.WindowType @@ -204,9 +306,13 @@ None. - - + + + Field + + 2.12.0.0 + System.String @@ -217,9 +323,13 @@ Don't use. - - + + + Field + + 2.12.0.0 + System.String @@ -230,79 +340,54 @@ Don't use. - - + + + Field + + 2.12.0.0 + - System.Boolean + System.Int32 - True to bypass the window manager. + X coordinate relative to parent window. (see ). None. - - - Property - - Gdk.EventMask - - - - Event mask. - a - See . - - - - - - Property - - Gdk.Visual - - - The for the window. - a for the window. - - - - - - Property - - Gdk.Colormap - - - Colormap for the window. - an object of type 'Gdk.Colormap' - - - - - - Property + + + + Field + + 2.12.0.0 + - Gdk.Cursor + System.Int32 + + - Cursor for the window (see ). - Cursor for the window. (see ). - + Y coordinate relative to parent window (see ). + None. - - + + + Field + + 2.12.0.0 + - Gdk.WindowTypeHint + Gdk.WindowAttr + - Type Hints for the window. - - + A zeroed structure. + None. diff --git a/doc/en/Gdk/WindowAttributesType.xml b/doc/en/Gdk/WindowAttributesType.xml index 4f784f436..c1d66df96 100644 --- a/doc/en/Gdk/WindowAttributesType.xml +++ b/doc/en/Gdk/WindowAttributesType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -22,75 +19,101 @@ 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 title field. + Honor the colormap field. - - + + + Field + + 2.12.0.0 + Gdk.WindowAttributesType - Honor the x coordinate field. + Honor the cursor field. - - + + + Field + + 2.12.0.0 + Gdk.WindowAttributesType - Honor the y coordinate field. + Honor the override_redirect field. - - + + + Field + + 2.12.0.0 + Gdk.WindowAttributesType - Honor the cursor field. + Honor the title field. - - + + + Field + + 2.12.0.0 + Gdk.WindowAttributesType - - Honor the colormap field. - - + Honor the TypeHint field. + + Field + + 2.12.0.0 + Gdk.WindowAttributesType @@ -103,7 +126,11 @@ + Field + + 2.12.0.0 + Gdk.WindowAttributesType @@ -114,28 +141,38 @@
- - + + + Field + + 2.12.0.0 + Gdk.WindowAttributesType - Honor the override_redirect field. + Honor the x coordinate field. - - + + + Field + + 2.12.0.0 + Gdk.WindowAttributesType + - Honor the TypeHint field. - + Honor the y coordinate field. + + diff --git a/doc/en/Gdk/WindowClass.xml b/doc/en/Gdk/WindowClass.xml index fbebcd63c..6a64ad924 100644 --- a/doc/en/Gdk/WindowClass.xml +++ b/doc/en/Gdk/WindowClass.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes the class of a window. - - System.Enum @@ -19,33 +16,45 @@ GLib.GType(typeof(Gdk.WindowClassGType)) + + Describes the class of a window. + + - - + + + Field + + 2.12.0.0 + Gdk.WindowClass - A "normal" window for graphics and events. + + 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 - - Window for events only. These windows are invisible; they are used to trap events, - but can not be drawn on. - + A "normal" window for graphics and events. None. diff --git a/doc/en/Gdk/WindowEdge.xml b/doc/en/Gdk/WindowEdge.xml index 56edcaeb8..89f7fed7a 100644 --- a/doc/en/Gdk/WindowEdge.xml +++ b/doc/en/Gdk/WindowEdge.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines a window edge or corner. - - System.Enum @@ -19,22 +16,34 @@ GLib.GType(typeof(Gdk.WindowEdgeGType)) + + Determines a window edge or corner. + + - - + + + Field + + 2.12.0.0 + Gdk.WindowEdge - The top left corner. + The right edge. + Field + + 2.12.0.0 + Gdk.WindowEdge @@ -46,7 +55,11 @@ + Field + + 2.12.0.0 + Gdk.WindowEdge @@ -56,63 +69,83 @@ - - + + + Field + + 2.12.0.0 + Gdk.WindowEdge - The left edge. + The top left corner. - - + + + Field + + 2.12.0.0 + Gdk.WindowEdge - The right edge. - + The lower edge. + added - - + + + Field + + 2.12.0.0 + Gdk.WindowEdge - The lower left corner. + The lower right corner. - - + + + Field + + 2.12.0.0 + Gdk.WindowEdge - The lower edge. - added + The lower left corner. + - - + + + Field + + 2.12.0.0 + Gdk.WindowEdge - The lower right corner. + The left edge. diff --git a/doc/en/Gdk/WindowHints.xml b/doc/en/Gdk/WindowHints.xml index dacceae4a..dc394f225 100644 --- a/doc/en/Gdk/WindowHints.xml +++ b/doc/en/Gdk/WindowHints.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -22,36 +19,52 @@ 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 - Indicates that the program has positioned the window. + Aspect ratio fields are set. - - + + + Field + + 2.12.0.0 + Gdk.WindowHints - Min size fields are set. + Base size fields are set. + Field + + 2.12.0.0 + Gdk.WindowHints @@ -62,35 +75,47 @@ - - + + + Field + + 2.12.0.0 + Gdk.WindowHints - Base size fields are set. + Min size fields are set. - - + + + Field + + 2.12.0.0 + Gdk.WindowHints - Aspect ratio fields are set. + Indicates that the program has positioned the window. + Field + + 2.12.0.0 + Gdk.WindowHints @@ -101,41 +126,53 @@ - - + + + Field + + 2.12.0.0 + Gdk.WindowHints - Window gravity field is set. + Indicates that the window's poition was explicitly set by the user. - - + + + Field + + 2.12.0.0 + Gdk.WindowHints - Indicates that the window's poition was explicitly set by the user. + Indicates that the window's size 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. + Window gravity field is set. diff --git a/doc/en/Gdk/WindowState.xml b/doc/en/Gdk/WindowState.xml index 90efb162d..75c89c05c 100644 --- a/doc/en/Gdk/WindowState.xml +++ b/doc/en/Gdk/WindowState.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Specifies the state of a toplevel window. - None. - System.Enum @@ -22,95 +19,127 @@ System.Flags + + Specifies the state of a toplevel window. + None. + - - + + + Field + + 2.12.0.0 + Gdk.WindowState - + + - The window is not shown. - None. + To be added + To be added + - - + + + Field + + 2.12.0.0 + Gdk.WindowState - + + - The window is minimized. - None. + To be added + To be added + - - + + + Field + + 2.12.0.0 + Gdk.WindowState - + + - The window is maximized. - None. + Fullscreen window. + + - - + + + Field + + 2.12.0.0 + Gdk.WindowState - The window is sticky. + The window is minimized. None. - - + + + Field + + 2.12.0.0 + Gdk.WindowState - - + - Fullscreen window. - - + The window is maximized. + None. - - + + + Field + + 2.12.0.0 + Gdk.WindowState - - + - To be added - To be added - + The window is sticky. + None. - - + + + Field + + 2.12.0.0 + Gdk.WindowState - - + - To be added - To be added - + The window is not shown. + None. diff --git a/doc/en/Gdk/WindowType.xml b/doc/en/Gdk/WindowType.xml index 2dfa3cf1c..aace80f99 100644 --- a/doc/en/Gdk/WindowType.xml +++ b/doc/en/Gdk/WindowType.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Describes the kind of window. - None. - System.Enum @@ -19,59 +16,83 @@ GLib.GType(typeof(Gdk.WindowTypeGType)) + + Describes the kind of window. + None. + - - + + + 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. + Child window. + This is used to implement child widgets, for example + - - + + + Field + + 2.12.0.0 + Gdk.WindowType - Toplevel window. - This is used to implement . + Useless/deprecated compatibility type. + None. - - + + + Field + + 2.12.0.0 + Gdk.WindowType - Child window. - This is used to implement child widgets, for example - + Foreign window. + See . - - + + + Field + + 2.12.0.0 + Gdk.WindowType - Useless/deprecated compatibility type. + 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 @@ -81,16 +102,20 @@ Used to implement - - + + + Field + + 2.12.0.0 + Gdk.WindowType - Foreign window. - See . + Toplevel window. + This is used to implement . diff --git a/doc/en/Gdk/WindowTypeHint.xml b/doc/en/Gdk/WindowTypeHint.xml index 2c3a7d379..6faccc376 100644 --- a/doc/en/Gdk/WindowTypeHint.xml +++ b/doc/en/Gdk/WindowTypeHint.xml @@ -1,5 +1,6 @@ + gdk-sharp @@ -7,6 +8,14 @@ 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. @@ -19,183 +28,231 @@ These map to the FreeDesktop WM specification (http://freedesktop.org/Standards/wm-spec/) - - System.Enum - - - - GLib.GType(typeof(Gdk.WindowTypeHintGType)) - - - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint - - Normal toplevel window. - + Indicates a combo window. + - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint - + + - Dialog window. - + 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 - Window used to implement a menu. + Dialog window. - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint - - Window used to implement toolbars. - + Indicates a drag and drop window type. + - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint - Indicates that the window is a splash screen displayed as an application is starting up. + 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 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. - - + Indicates a drop down menu window. + - - + + + 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. - - + Window used to implement a menu. + - - + + + 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. - - + Normal toplevel window. + - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint - Indicates a drag and drop window type. + Indicates a notification popup window. - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint - Indicates a notification popup window. + Indicates a popup menu window. - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint + + - Indicates a drop down menu window. - + Indicates that the window is a splash screen displayed as an application is starting up. + + - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint + - Indicates a tooltip popup window. - + Window used to implement toolbars. + - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint - Indicates a popup menu window. + Indicates a tooltip popup window. - - + + + Field + + 2.12.0.0 + Gdk.WindowTypeHint + + - Indicates a combo window. - + 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. + + diff --git a/doc/en/Glade.xml b/doc/en/Glade.xml deleted file mode 100644 index c9a25d21d..000000000 --- a/doc/en/Glade.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - 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. - - - - \ No newline at end of file diff --git a/doc/en/Glade/AccelInfo.xml b/doc/en/Glade/AccelInfo.xml index 31d31eeca..f0cf58ba7 100644 --- a/doc/en/Glade/AccelInfo.xml +++ b/doc/en/Glade/AccelInfo.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -18,7 +20,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -32,7 +38,11 @@ + Field + + 2.12.0.0 + Gdk.ModifierType @@ -46,7 +56,11 @@ + Method + + 2.12.0.0 + Glade.AccelInfo @@ -62,7 +76,11 @@ + Field + + 2.12.0.0 + System.String @@ -76,7 +94,11 @@ + Field + + 2.12.0.0 + Glade.AccelInfo diff --git a/doc/en/Glade/ApplyCustomPropFunc.xml b/doc/en/Glade/ApplyCustomPropFunc.xml index 8d4a83ee9..4c219b627 100644 --- a/doc/en/Glade/ApplyCustomPropFunc.xml +++ b/doc/en/Glade/ApplyCustomPropFunc.xml @@ -1,12 +1,23 @@ + 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. @@ -17,13 +28,4 @@ - - - - - - - - System.Void - diff --git a/doc/en/Glade/AtkActionInfo.xml b/doc/en/Glade/AtkActionInfo.xml index 2bdfaaf14..dfd3a878b 100644 --- a/doc/en/Glade/AtkActionInfo.xml +++ b/doc/en/Glade/AtkActionInfo.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Field + + 2.12.0.0 + System.String @@ -31,7 +37,11 @@ + Field + + 2.12.0.0 + System.String @@ -45,7 +55,11 @@ + Method + + 2.12.0.0 + Glade.AtkActionInfo @@ -61,7 +75,11 @@ + Field + + 2.12.0.0 + Glade.AtkActionInfo diff --git a/doc/en/Glade/AtkRelationInfo.xml b/doc/en/Glade/AtkRelationInfo.xml index 2af0b17f6..64cb33d25 100644 --- a/doc/en/Glade/AtkRelationInfo.xml +++ b/doc/en/Glade/AtkRelationInfo.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -18,7 +20,11 @@ + Method + + 2.12.0.0 + Glade.AtkRelationInfo @@ -34,7 +40,11 @@ + Field + + 2.12.0.0 + System.String @@ -48,7 +58,11 @@ + Field + + 2.12.0.0 + System.String @@ -62,7 +76,11 @@ + Field + + 2.12.0.0 + Glade.AtkRelationInfo diff --git a/doc/en/Glade/BuildChildrenFunc.xml b/doc/en/Glade/BuildChildrenFunc.xml index 0c1e8692b..52c1cc1a4 100644 --- a/doc/en/Glade/BuildChildrenFunc.xml +++ b/doc/en/Glade/BuildChildrenFunc.xml @@ -1,20 +1,14 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate - - 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. - - @@ -23,4 +17,12 @@ 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. + + diff --git a/doc/en/Glade/ChildInfo.xml b/doc/en/Glade/ChildInfo.xml index f9dcc1262..903398ef4 100644 --- a/doc/en/Glade/ChildInfo.xml +++ b/doc/en/Glade/ChildInfo.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Property + + 2.12.0.0 + Glade.WidgetInfo @@ -30,7 +36,11 @@ + Field + + 2.12.0.0 + System.String @@ -44,7 +54,11 @@ + Method + + 2.12.0.0 + Glade.ChildInfo @@ -60,7 +74,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -74,7 +92,11 @@ + Property + + 2.12.0.0 + Glade.Property @@ -87,7 +109,11 @@ + Field + + 2.12.0.0 + Glade.ChildInfo diff --git a/doc/en/Glade/FindInternalChildFunc.xml b/doc/en/Glade/FindInternalChildFunc.xml index e95a51521..9f0eb4bab 100644 --- a/doc/en/Glade/FindInternalChildFunc.xml +++ b/doc/en/Glade/FindInternalChildFunc.xml @@ -1,21 +1,14 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate - - 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. - - @@ -24,4 +17,13 @@ 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. + + diff --git a/doc/en/Glade/Global.xml b/doc/en/Glade/Global.xml index 45e26293f..c82b28106 100644 --- a/doc/en/Glade/Global.xml +++ b/doc/en/Glade/Global.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -24,7 +26,11 @@ Glade-sharp uses the functions to load + Constructor + + 2.12.0.0 + @@ -35,7 +41,11 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + System.Int32 @@ -53,7 +63,11 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + System.UInt32 @@ -71,7 +85,11 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + System.String @@ -87,7 +105,11 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + Glade.XML @@ -103,7 +125,11 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + System.String @@ -119,7 +145,11 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + System.Void @@ -138,7 +168,11 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + System.Void @@ -160,7 +194,16 @@ which make it redundant for us to normally create this object. + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by Glade.XML.CustomHandler static property.") + + System.Void @@ -172,11 +215,6 @@ which make it redundant for us to normally create this object. this method allows you to override the default behaviour when a Custom widget is found in an interface. - - - System.Obsolete("Replaced by Glade.XML.CustomHandler static property.") - - diff --git a/doc/en/Glade/HandlerNotFoundException.xml b/doc/en/Glade/HandlerNotFoundException.xml index e8e1038d2..b48642e6a 100644 --- a/doc/en/Glade/HandlerNotFoundException.xml +++ b/doc/en/Glade/HandlerNotFoundException.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -24,7 +26,11 @@ your code, and recompiling the application. + Constructor + + 2.12.0.0 + @@ -40,7 +46,11 @@ your code, and recompiling the application. + Constructor + + 2.12.0.0 + @@ -60,7 +70,11 @@ your code, and recompiling the application. + Constructor + + 2.12.0.0 + @@ -82,7 +96,11 @@ your code, and recompiling the application. + Constructor + + 2.12.0.0 + @@ -103,7 +121,11 @@ your code, and recompiling the application. + Property + + 2.12.0.0 + System.Type @@ -116,7 +138,11 @@ your code, and recompiling the application. + Property + + 2.12.0.0 + System.Reflection.EventInfo @@ -129,7 +155,11 @@ your code, and recompiling the application. + Method + + 2.12.0.0 + System.Void @@ -138,16 +168,19 @@ your code, and recompiling the application. - serialization info. - serialization context. - Gets object data. - - + To be added. + To be added. + To be added. + To be added. + Property + + 2.12.0.0 + System.String @@ -160,7 +193,11 @@ your code, and recompiling the application. + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Glade/Interface.xml b/doc/en/Glade/Interface.xml index 53bfc6539..6b0c9697e 100644 --- a/doc/en/Glade/Interface.xml +++ b/doc/en/Glade/Interface.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Method + + 2.12.0.0 + System.Void @@ -29,7 +35,11 @@ + Method + + 2.12.0.0 + System.Void @@ -44,7 +54,11 @@ + Method + + 2.12.0.0 + Glade.Interface @@ -60,7 +74,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -74,7 +92,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -88,7 +110,11 @@ + Field + + 2.12.0.0 + System.String @@ -102,7 +128,16 @@ + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Toplevels property") + + Glade.WidgetInfo @@ -112,15 +147,14 @@ - - - System.Obsolete("Replaced by Toplevels property") - - + Property + + 2.12.0.0 + Glade.WidgetInfo[] @@ -132,7 +166,11 @@ + Field + + 2.12.0.0 + Glade.Interface diff --git a/doc/en/Glade/NewFunc.xml b/doc/en/Glade/NewFunc.xml index f133a6f22..c78bc2102 100644 --- a/doc/en/Glade/NewFunc.xml +++ b/doc/en/Glade/NewFunc.xml @@ -1,21 +1,14 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate - - 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. - - @@ -24,4 +17,13 @@ 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. + + diff --git a/doc/en/Glade/Parser.xml b/doc/en/Glade/Parser.xml index 1cfce1e2d..beb79c521 100644 --- a/doc/en/Glade/Parser.xml +++ b/doc/en/Glade/Parser.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -22,7 +24,11 @@ its connections and properties etc. + Constructor + + 2.12.0.0 + @@ -32,7 +38,11 @@ its connections and properties etc. + Method + + 2.12.0.0 + Glade.Interface @@ -53,7 +63,11 @@ Generally, user code will not need to call this function. Instead, it should go + Method + + 2.12.0.0 + Glade.Interface diff --git a/doc/en/Glade/Property.xml b/doc/en/Glade/Property.xml index f38fdf96a..3cc0a437b 100644 --- a/doc/en/Glade/Property.xml +++ b/doc/en/Glade/Property.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Field + + 2.12.0.0 + System.String @@ -31,7 +37,11 @@ + Method + + 2.12.0.0 + Glade.Property @@ -47,7 +57,11 @@ + Field + + 2.12.0.0 + System.String @@ -61,7 +75,11 @@ + Field + + 2.12.0.0 + Glade.Property diff --git a/doc/en/Glade/SignalInfo.xml b/doc/en/Glade/SignalInfo.xml index c5950c480..15b2184dc 100644 --- a/doc/en/Glade/SignalInfo.xml +++ b/doc/en/Glade/SignalInfo.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -16,8 +18,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -31,7 +37,11 @@ + Field + + 2.12.0.0 + System.String @@ -45,7 +55,11 @@ + Field + + 2.12.0.0 + System.String @@ -59,7 +73,11 @@ + Method + + 2.12.0.0 + Glade.SignalInfo @@ -75,7 +93,11 @@ + Field + + 2.12.0.0 + System.String @@ -89,7 +111,11 @@ + Field + + 2.12.0.0 + Glade.SignalInfo diff --git a/doc/en/Glade/Standard.xml b/doc/en/Glade/Standard.xml index e9865b77d..10e3d7a73 100644 --- a/doc/en/Glade/Standard.xml +++ b/doc/en/Glade/Standard.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Constructor + + 2.12.0.0 + @@ -27,7 +33,11 @@ + Method + + 2.12.0.0 + System.Void @@ -46,7 +56,11 @@ + Method + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Glade/WidgetAttribute.xml b/doc/en/Glade/WidgetAttribute.xml index 461709314..33d08faaa 100644 --- a/doc/en/Glade/WidgetAttribute.xml +++ b/doc/en/Glade/WidgetAttribute.xml @@ -1,9 +1,11 @@ + 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. @@ -44,7 +46,11 @@ + Constructor + + 2.12.0.0 + @@ -66,7 +72,11 @@ + Constructor + + 2.12.0.0 + @@ -91,7 +101,11 @@ + Property + + 2.12.0.0 + System.String @@ -104,7 +118,11 @@ + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Glade/WidgetInfo.xml b/doc/en/Glade/WidgetInfo.xml index 2675107b8..6388a1a6c 100644 --- a/doc/en/Glade/WidgetInfo.xml +++ b/doc/en/Glade/WidgetInfo.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Property + + 2.12.0.0 + Glade.AccelInfo @@ -30,7 +36,11 @@ + Property + + 2.12.0.0 + Glade.AtkActionInfo @@ -43,7 +53,11 @@ + Property + + 2.12.0.0 + Glade.Property @@ -56,7 +70,11 @@ + Property + + 2.12.0.0 + Glade.ChildInfo @@ -69,7 +87,11 @@ + Field + + 2.12.0.0 + System.String @@ -83,7 +105,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -97,7 +123,11 @@ + Field + + 2.12.0.0 + System.String @@ -111,7 +141,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -125,7 +159,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -139,7 +177,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -153,7 +195,11 @@ + Method + + 2.12.0.0 + Glade.WidgetInfo @@ -169,7 +215,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -183,7 +233,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -197,7 +251,11 @@ + Field + + 2.12.0.0 + System.UInt32 @@ -211,7 +269,11 @@ + Property + + 2.12.0.0 + Glade.WidgetInfo @@ -224,7 +286,11 @@ + Property + + 2.12.0.0 + Glade.Property @@ -237,7 +303,11 @@ + Property + + 2.12.0.0 + Glade.AtkRelationInfo @@ -250,7 +320,11 @@ + Property + + 2.12.0.0 + Glade.SignalInfo @@ -263,7 +337,11 @@ + Field + + 2.12.0.0 + Glade.WidgetInfo diff --git a/doc/en/Glade/XML.xml b/doc/en/Glade/XML.xml index 6cacd7654..54b57bb45 100644 --- a/doc/en/Glade/XML.xml +++ b/doc/en/Glade/XML.xml @@ -1,9 +1,11 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -71,7 +73,16 @@ public class GladeApp + Constructor + + 2.12.0.0 + + + + System.Obsolete + + @@ -81,15 +92,14 @@ public class GladeApp Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + @@ -104,7 +114,11 @@ public class GladeApp + Constructor + + 2.12.0.0 + @@ -119,7 +133,11 @@ public class GladeApp + Constructor + + 2.12.0.0 + @@ -144,7 +162,11 @@ public class GladeApp + Constructor + + 2.12.0.0 + @@ -167,7 +189,11 @@ public class GladeApp + Constructor + + 2.12.0.0 + @@ -197,7 +223,11 @@ public class GladeApp + Constructor + + 2.12.0.0 + @@ -224,7 +254,11 @@ public class GladeApp + Method + + 2.12.0.0 + System.Void @@ -243,7 +277,11 @@ public class GladeApp + Method + + 2.12.0.0 + System.Void @@ -263,7 +301,11 @@ public class GladeApp + Method + + 2.12.0.0 + System.Void @@ -280,7 +322,11 @@ of this method.
+ Method + + 2.12.0.0 + System.Void @@ -296,7 +342,11 @@ of this method.
+ Method + + 2.12.0.0 + Gtk.Widget @@ -332,7 +382,11 @@ of this method.
+ Method + + 2.12.0.0 + System.Boolean @@ -358,7 +412,11 @@ of this method.
+ Method + + 2.12.0.0 + System.Boolean @@ -381,7 +439,11 @@ of this method.
+ Property + + 2.12.0.0 + Glade.XMLCustomWidgetHandler @@ -402,7 +464,11 @@ of this method.
+ Method + + 2.12.0.0 + Gtk.AccelGroup @@ -421,7 +487,11 @@ of this method.
+ Property + + 2.12.0.0 + System.String @@ -434,7 +504,11 @@ of this method.
+ Method + + 2.12.0.0 + Glade.XML @@ -454,7 +528,11 @@ of this method.
+ Method + + 2.12.0.0 + Glade.XML @@ -476,7 +554,11 @@ of this method.
+ Method + + 2.12.0.0 + Glade.XML @@ -496,7 +578,11 @@ of this method.
+ Method + + 2.12.0.0 + Gtk.Widget @@ -518,7 +604,11 @@ of this method. + Method + + 2.12.0.0 + System.String @@ -535,7 +625,11 @@ of this method. + Method + + 2.12.0.0 + Gtk.Widget[] @@ -551,7 +645,11 @@ of this method. + Method + + 2.12.0.0 + Glade.XML @@ -570,7 +668,11 @@ of this method. + Property + + 2.12.0.0 + GLib.GType @@ -583,7 +685,11 @@ of this method. + Method + + 2.12.0.0 + System.Void @@ -612,7 +718,11 @@ of this method. + Method + + 2.12.0.0 + System.Void @@ -644,7 +754,11 @@ of this method. + Property + + 2.12.0.0 + Gtk.Widget @@ -660,7 +774,11 @@ of this method. + Method + + 2.12.0.0 + System.String @@ -685,7 +803,11 @@ of this method. + Method + + 2.12.0.0 + System.Void @@ -714,7 +836,16 @@ of this method. + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by CustomHandler property.") + + System.Void @@ -726,15 +857,14 @@ of this method. Deprecated: Replaced by the property. Deprecated: Replaced by the property. - - - System.Obsolete("Replaced by CustomHandler property.") - - + Method + + 2.12.0.0 + System.Void @@ -758,7 +888,11 @@ of this method. + Method + + 2.12.0.0 + System.Boolean @@ -779,7 +913,11 @@ of this method. + Method + + 2.12.0.0 + System.Void @@ -799,7 +937,11 @@ of this method. + Method + + 2.12.0.0 + System.Void @@ -822,7 +964,11 @@ of this method. + Method + + 2.12.0.0 + System.Void @@ -847,7 +993,11 @@ of this method. + Property + + 2.12.0.0 + Gtk.Window diff --git a/doc/en/Glade/XMLConnectFunc.xml b/doc/en/Glade/XMLConnectFunc.xml index c4340b471..91aaf3355 100644 --- a/doc/en/Glade/XMLConnectFunc.xml +++ b/doc/en/Glade/XMLConnectFunc.xml @@ -1,23 +1,14 @@ + glade-sharp + 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate - - 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. - - @@ -29,4 +20,15 @@ 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. + + diff --git a/doc/en/Glade/XMLCustomWidgetHandler.xml b/doc/en/Glade/XMLCustomWidgetHandler.xml index 2e1fa8e32..16e046a05 100644 --- a/doc/en/Glade/XMLCustomWidgetHandler.xml +++ b/doc/en/Glade/XMLCustomWidgetHandler.xml @@ -1,12 +1,26 @@ + 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. @@ -16,7 +30,7 @@ To be added. To be added. Event handler. - To be added. + To be added. this delegate is used for custom methods to call when a custom widget is found. @@ -49,16 +63,4 @@ public class View{ - - - - - - - - - - - Gtk.Widget - diff --git a/doc/en/Gnome.Vfs/ACL.xml b/doc/en/Gnome.Vfs/ACL.xml index 71da397b5..c5a84462c 100644 --- a/doc/en/Gnome.Vfs/ACL.xml +++ b/doc/en/Gnome.Vfs/ACL.xml @@ -1,17 +1,28 @@ + 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. @@ -20,7 +31,11 @@ + Constructor + + 2.24.0.0 + System.Obsolete @@ -37,7 +52,11 @@ + Constructor + + 2.24.0.0 + @@ -48,8 +67,12 @@ - + + Property + + 2.24.0.0 + GLib.List @@ -61,7 +84,11 @@ + Method + + 2.24.0.0 + System.Void @@ -73,7 +100,11 @@ + Method + + 2.24.0.0 + System.Void @@ -87,8 +118,12 @@ - + + Property + + 2.24.0.0 + GLib.GType @@ -100,7 +135,11 @@ + Method + + 2.24.0.0 + System.String @@ -116,7 +155,11 @@ + Method + + 2.24.0.0 + System.String @@ -131,9 +174,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gnome.Vfs/Address.xml b/doc/en/Gnome.Vfs/Address.xml index 3242dbcc7..cb1b73ce9 100644 --- a/doc/en/Gnome.Vfs/Address.xml +++ b/doc/en/Gnome.Vfs/Address.xml @@ -1,17 +1,27 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,32 +32,44 @@ - + + Constructor + + 2.24.0.0 + - + - To be added. + 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. + Method + + 2.24.0.0 + Gnome.Vfs.Address @@ -58,9 +80,34 @@ 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 @@ -70,9 +117,48 @@ 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 @@ -83,8 +169,12 @@ - + + Property + + 2.24.0.0 + System.UInt32 @@ -96,7 +186,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -113,26 +207,22 @@ - - + + + Method + + 2.24.0.0 + - System.Boolean + System.String - - - + - To be added. To be added. To be added. To be added. - - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Application.xml b/doc/en/Gnome.Vfs/Application.xml index ff3c71753..111eb8e09 100644 --- a/doc/en/Gnome.Vfs/Application.xml +++ b/doc/en/Gnome.Vfs/Application.xml @@ -1,113 +1,199 @@ + 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. 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.Boolean - + - To be added. + To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + GLib.List - - To be added. To be added. To be added. + To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + 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 @@ -121,37 +207,51 @@ To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + 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.Boolean + GLib.List - To be added. - To be added. To be added. To be added. To be added. @@ -159,7 +259,16 @@ + Method + + 2.24.0.0 + + + + System.Obsolete + + System.String @@ -175,30 +284,41 @@ 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.Boolean + System.Void @@ -206,13 +326,21 @@ To be added. To be added. - To be added. To be added. + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void @@ -229,7 +357,16 @@ + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void @@ -242,126 +379,184 @@ 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 + + - Gnome.Vfs.Result + System.Void To be added. - To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - GLib.List + System.Boolean + 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 + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + 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.MimeApplication + Gnome.Vfs.Result - - - + - To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - GLib.List + 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. - diff --git a/doc/en/Gnome.Vfs/Async+Priority.xml b/doc/en/Gnome.Vfs/Async+Priority.xml index 951fdf754..bd6d5ad00 100644 --- a/doc/en/Gnome.Vfs/Async+Priority.xml +++ b/doc/en/Gnome.Vfs/Async+Priority.xml @@ -1,16 +1,26 @@ + 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 @@ -18,9 +28,13 @@ To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Async+Priority @@ -28,9 +42,13 @@ To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Async+Priority @@ -39,8 +57,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Async.xml b/doc/en/Gnome.Vfs/Async.xml index 8aeceb8d2..9abbd4257 100644 --- a/doc/en/Gnome.Vfs/Async.xml +++ b/doc/en/Gnome.Vfs/Async.xml @@ -1,11 +1,17 @@ + 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. @@ -84,14 +90,14 @@ namespace Test.Gnome.Vfs { } - - System.Object - - + Method + + 2.24.0.0 + System.Void @@ -99,15 +105,19 @@ namespace Test.Gnome.Vfs {
- Cancel an asynchronous operation and close all its callbacks. Its possible to still receive another call or two on the callback. 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 @@ -116,20 +126,24 @@ namespace Test.Gnome.Vfs { - Close a handle opened with . When the close has completed, will be called with the of the operation. 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 - + @@ -137,25 +151,29 @@ namespace Test.Gnome.Vfs { - Create a file at uri according to mode , with permissions . When the create has been completed will be called with the . - the URI to create a file at. + 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 - + @@ -163,68 +181,80 @@ namespace Test.Gnome.Vfs { - Create a file at according to mode , with permissions . When the create has been completed will be called with the . - the to create a file at. + 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 - + - Open uri according to mode . Once the file has been successfully opened, will be called with the . - of the URI to open. + 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 - + - Open according to mode . Once the file has been successfully opened, will be called with the . - to open. + 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 @@ -235,18 +265,22 @@ namespace Test.Gnome.Vfs { - 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. 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 @@ -257,19 +291,23 @@ namespace Test.Gnome.Vfs { - Set the current position for reading/writing through . When the operation is complete, will be called with the of the operation. 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 @@ -280,13 +318,13 @@ namespace Test.Gnome.Vfs { - 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. 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 diff --git a/doc/en/Gnome.Vfs/AsyncCallback.xml b/doc/en/Gnome.Vfs/AsyncCallback.xml index 7086f3c50..a7cd48443 100644 --- a/doc/en/Gnome.Vfs/AsyncCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncCallback.xml @@ -1,26 +1,28 @@ + 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. - - To be added. - To be added. - Delegate used for notifying when an asynchronous operation has finished. See for examples. - To be added - System.Delegate - - - System.Void - + + System.Void + + + To be added. + To be added. + Delegate used for notifying when an asynchronous operation has finished. See for examples. + To be added + + diff --git a/doc/en/Gnome.Vfs/AsyncCloseCallback.xml b/doc/en/Gnome.Vfs/AsyncCloseCallback.xml index b9e2e96ca..3f0699abd 100644 --- a/doc/en/Gnome.Vfs/AsyncCloseCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncCloseCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/AsyncCreateAsChannelCallback.xml b/doc/en/Gnome.Vfs/AsyncCreateAsChannelCallback.xml index ac094728b..7c9904cee 100644 --- a/doc/en/Gnome.Vfs/AsyncCreateAsChannelCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncCreateAsChannelCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/AsyncCreateCallback.xml b/doc/en/Gnome.Vfs/AsyncCreateCallback.xml index bdb8c39b9..6f4ec142a 100644 --- a/doc/en/Gnome.Vfs/AsyncCreateCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncCreateCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/AsyncDirectoryLoadCallback.xml b/doc/en/Gnome.Vfs/AsyncDirectoryLoadCallback.xml index 234d61abc..a4a10ed41 100644 --- a/doc/en/Gnome.Vfs/AsyncDirectoryLoadCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncDirectoryLoadCallback.xml @@ -1,28 +1,30 @@ + 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. - - 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 - System.Delegate - - - System.Void - + + 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 + + diff --git a/doc/en/Gnome.Vfs/AsyncFindDirectoryCallback.xml b/doc/en/Gnome.Vfs/AsyncFindDirectoryCallback.xml index b1d9cea12..4f715dd36 100644 --- a/doc/en/Gnome.Vfs/AsyncFindDirectoryCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncFindDirectoryCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/AsyncHandle.xml b/doc/en/Gnome.Vfs/AsyncHandle.xml index 712b90b05..def34e8b3 100644 --- a/doc/en/Gnome.Vfs/AsyncHandle.xml +++ b/doc/en/Gnome.Vfs/AsyncHandle.xml @@ -1,17 +1,27 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,8 +32,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/AsyncOpenCallback.xml b/doc/en/Gnome.Vfs/AsyncOpenCallback.xml index 26dd00bf5..751bab8fe 100644 --- a/doc/en/Gnome.Vfs/AsyncOpenCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncOpenCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/AsyncReadCallback.xml b/doc/en/Gnome.Vfs/AsyncReadCallback.xml index 413e7c0b8..5f7505c38 100644 --- a/doc/en/Gnome.Vfs/AsyncReadCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncReadCallback.xml @@ -1,27 +1,16 @@ + 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. - - 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 - System.Delegate - - - System.Void - @@ -29,4 +18,17 @@ + + 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 + + diff --git a/doc/en/Gnome.Vfs/AsyncSeekCallback.xml b/doc/en/Gnome.Vfs/AsyncSeekCallback.xml index 986169140..e439e8035 100644 --- a/doc/en/Gnome.Vfs/AsyncSeekCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncSeekCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/AsyncWriteCallback.xml b/doc/en/Gnome.Vfs/AsyncWriteCallback.xml index 9c1fa5d3c..26e4398c9 100644 --- a/doc/en/Gnome.Vfs/AsyncWriteCallback.xml +++ b/doc/en/Gnome.Vfs/AsyncWriteCallback.xml @@ -1,27 +1,16 @@ + 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. - - 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 - System.Delegate - - - System.Void - @@ -29,4 +18,17 @@ + + 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 + + diff --git a/doc/en/Gnome.Vfs/Check.xml b/doc/en/Gnome.Vfs/Check.xml index f40d36bb2..19e3215f3 100644 --- a/doc/en/Gnome.Vfs/Check.xml +++ b/doc/en/Gnome.Vfs/Check.xml @@ -1,88 +1,106 @@ + 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. 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. - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Context.xml b/doc/en/Gnome.Vfs/Context.xml index 183225b53..9423467ca 100644 --- a/doc/en/Gnome.Vfs/Context.xml +++ b/doc/en/Gnome.Vfs/Context.xml @@ -1,17 +1,40 @@ + 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 + @@ -21,9 +44,33 @@ To be added. - - - Constructor + + + + 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. @@ -32,7 +79,16 @@ + Method + + 2.24.0.0 + + + + System.Obsolete("Gnome.Vfs.Context is now freed automatically") + + System.Void @@ -42,24 +98,34 @@ To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Context + System.Void - + + + + To be added. To be added. - To be added. To be added. - - + + + Method + + 2.24.0.0 + - System.Boolean + Gnome.Vfs.Context @@ -69,8 +135,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Create.xml b/doc/en/Gnome.Vfs/Create.xml index 66e85f073..05183ea60 100644 --- a/doc/en/Gnome.Vfs/Create.xml +++ b/doc/en/Gnome.Vfs/Create.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -36,33 +50,37 @@ 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. To be added. - - + + + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -72,7 +90,6 @@ - To be added. @@ -80,26 +97,35 @@ 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. @@ -107,8 +133,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/DNSSDBrowseCallback.xml b/doc/en/Gnome.Vfs/DNSSDBrowseCallback.xml index a34ad0f27..b10bd9b62 100644 --- a/doc/en/Gnome.Vfs/DNSSDBrowseCallback.xml +++ b/doc/en/Gnome.Vfs/DNSSDBrowseCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/DNSSDBrowseHandle.xml b/doc/en/Gnome.Vfs/DNSSDBrowseHandle.xml index 0868aec25..3d6bb62bc 100644 --- a/doc/en/Gnome.Vfs/DNSSDBrowseHandle.xml +++ b/doc/en/Gnome.Vfs/DNSSDBrowseHandle.xml @@ -1,17 +1,27 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,8 +32,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/DNSSDResolveCallback.xml b/doc/en/Gnome.Vfs/DNSSDResolveCallback.xml index c68631b6e..620dccf4e 100644 --- a/doc/en/Gnome.Vfs/DNSSDResolveCallback.xml +++ b/doc/en/Gnome.Vfs/DNSSDResolveCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/DNSSDResolveHandle.xml b/doc/en/Gnome.Vfs/DNSSDResolveHandle.xml index aa16738de..de0458fd0 100644 --- a/doc/en/Gnome.Vfs/DNSSDResolveHandle.xml +++ b/doc/en/Gnome.Vfs/DNSSDResolveHandle.xml @@ -1,17 +1,27 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,8 +32,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/DNSSDService.xml b/doc/en/Gnome.Vfs/DNSSDService.xml index 8bba696f7..491401fe5 100644 --- a/doc/en/Gnome.Vfs/DNSSDService.xml +++ b/doc/en/Gnome.Vfs/DNSSDService.xml @@ -1,17 +1,27 @@ + 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 @@ -20,9 +30,13 @@ To be added. - - + + + Field + + 2.24.0.0 + System.String @@ -31,47 +45,55 @@ To be added. - - - Field + + + + Method + + 2.24.0.0 + - System.String + Gnome.Vfs.DNSSDService + + + + To be added. To be added. + To be added. To be added. - - + + + Field + + 2.24.0.0 + - Gnome.Vfs.DNSSDService + System.String To be added. To be added. - - - Method + + + + Field + + 2.24.0.0 + Gnome.Vfs.DNSSDService - - - - To be added. To be added. - To be added. To be added. - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/DNSSDServiceStatus.xml b/doc/en/Gnome.Vfs/DNSSDServiceStatus.xml index 8db44ebd1..2036be9ec 100644 --- a/doc/en/Gnome.Vfs/DNSSDServiceStatus.xml +++ b/doc/en/Gnome.Vfs/DNSSDServiceStatus.xml @@ -1,16 +1,26 @@ + 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 @@ -20,7 +30,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DNSSDServiceStatus @@ -29,8 +43,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Daemon.xml b/doc/en/Gnome.Vfs/Daemon.xml index f41e2f45d..ae5fb474b 100644 --- a/doc/en/Gnome.Vfs/Daemon.xml +++ b/doc/en/Gnome.Vfs/Daemon.xml @@ -1,17 +1,27 @@ + 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. @@ -19,8 +29,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/DeviceType.xml b/doc/en/Gnome.Vfs/DeviceType.xml index 17afe899e..1fa4a7820 100644 --- a/doc/en/Gnome.Vfs/DeviceType.xml +++ b/doc/en/Gnome.Vfs/DeviceType.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -29,7 +35,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -40,9 +50,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -53,9 +67,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -68,7 +86,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -81,7 +103,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -92,9 +118,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -107,7 +137,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -118,9 +152,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -131,9 +169,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -144,9 +186,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -157,9 +203,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -170,9 +220,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -183,9 +237,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -196,9 +254,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -209,9 +271,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -222,9 +288,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType @@ -235,9 +305,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.DeviceType diff --git a/doc/en/Gnome.Vfs/Directory.xml b/doc/en/Gnome.Vfs/Directory.xml index 76176f4f5..89d09d106 100644 --- a/doc/en/Gnome.Vfs/Directory.xml +++ b/doc/en/Gnome.Vfs/Directory.xml @@ -1,11 +1,17 @@ + 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. @@ -68,49 +74,120 @@ namespace Test.Gnome.Vfs { - - System.Object - - - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.FileInfo[] + Gnome.Vfs.Result + - Load a directory from . - a - a containing the files in the directory. + + 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[] - - Load a directory from with the specified . a - - for loading the directory. + Load a directory from . a containing the files in the directory. To be added + Method + + 2.24.0.0 + Gnome.Vfs.FileInfo[] @@ -118,16 +195,43 @@ namespace Test.Gnome.Vfs { - Load a directory from uri. 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[] @@ -136,18 +240,22 @@ namespace Test.Gnome.Vfs { - Load a directory from uri with the specified . 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 @@ -159,19 +267,23 @@ namespace Test.Gnome.Vfs { - Asynchronously load a directory from with the specified . 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 @@ -183,7 +295,6 @@ namespace Test.Gnome.Vfs { - Asynchronously load a directory from uri with the specified . representing the URI of the directory to be loaded. @@ -191,76 +302,7 @@ namespace Test.Gnome.Vfs { 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. - To be added - - - - - Method - - Gnome.Vfs.Result - - - - - - Delete . must be an empty directory. - - of the directory to be removed. - a - To be added - - - - - Method - - Gnome.Vfs.Result - - - - - - Remove uri. Uri must be an empty directory. - URI of the directory to be removed. - a - To be added - - - - - Method - - Gnome.Vfs.Result - - - - - - - Create a directory at . Only succeeds if a file or directory does not already exist at . - - of the directory to be created. - Unix-style permissions for the newly created directory. - a - To be added - - - - - Method - - Gnome.Vfs.Result - - - - - - - Create a directory at uri. Only succeeds if a file or directory does not already exist at the uri. - URI of the directory to be created. - Unix-style permissions for the newly created directory. - a + Asynchronously load a directory from uri with the specified . To be added diff --git a/doc/en/Gnome.Vfs/Drive.xml b/doc/en/Gnome.Vfs/Drive.xml index fdc0b0057..eb3e732cb 100644 --- a/doc/en/Gnome.Vfs/Drive.xml +++ b/doc/en/Gnome.Vfs/Drive.xml @@ -1,152 +1,154 @@ + 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. - - Container for (floppy drive, CD reader, ...). - To be added - GLib.Object + + Container for (floppy drive, CD reader, ...). + To be added + - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Int32 - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - a - a To be added + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.24.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. - - - Constructor - + + + + 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 + - GLib.GType + System.String - GType Property. - a - Returns the native value for . + The location of the actual device if applicable (i.e. /dev/hdc). + a + To be added - - + + + Property + + 2.24.0.0 + - System.UInt64 + Gnome.Vfs.DeviceType - Internal Drive Id. - a + The type of device this Drive represents. + a To be added - + + Property + + 2.24.0.0 + System.String @@ -157,79 +159,99 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Void - + + + - The icon name used to represent this Drive. - a - To be added + To be added. + To be added. + To be added. - - + + + Property + + 2.24.0.0 + - System.Boolean + GLib.GType - Returns whether the Drive is mounted. - a - To be added + GType Property. + a + Returns the native value for . - - + + + Property + + 2.24.0.0 + System.String - - The which represents this Drive (i.e. file:///media/cdrecorder). - a - To be added + To be added. + To be added. + To be added. - - + + + Property + + 2.24.0.0 + System.String - The location of the actual device if applicable (i.e. /dev/hdc). + The icon name used to represent this Drive. a To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.Volume + System.UInt64 - If , this points to the mounted . - a + Internal Drive Id. + a To be added - - - System.Obsolete - - - + + Property + + 2.24.0.0 + System.Boolean @@ -240,116 +262,194 @@ To be added - - + + + Property + + 2.24.0.0 + System.Boolean - Returns whether the Drive should be visible to the user. + Returns whether the Drive is mounted. a To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.DeviceType + System.Boolean - The type of device this Drive represents. - a + Returns whether the Drive should be visible to the user. + a To be added - - - Event + + + + Method + + 2.24.0.0 + - Gnome.Vfs.VolumePreUnmountHandler + System.Void - + + + - Drive is about to be unmounted. - To be added + To be added. + To be added. + To be added. + + + + + Property + + 2.24.0.0 + - GLib.Signal("volume_pre_unmount") + System.Obsolete - - - - Event - Gnome.Vfs.VolumeUnmountedHandler + Gnome.Vfs.Volume - Drive has been unmounted. + If , this points to the mounted . + a To be added - - - GLib.Signal("volume_unmounted") - - - - - Event + + + + Property + + 2.24.0.0 + - Gnome.Vfs.VolumeMountedHandler + GLib.List + + + To be added. + To be added. + To be added. + + + + + + Method + + 2.24.0.0 + + + System.Boolean - Drive has been mounted. - To be added + To be added. + To be added. + To be added. + + + + + + Method + + 2.24.0.0 + - GLib.Signal("volume_mounted") + 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 - + - To be added. - To be added. - To be added. + 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 - + - To be added. - To be added. - To be added. + 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 @@ -364,7 +464,11 @@ + Method + + 2.24.0.0 + System.Void @@ -377,42 +481,67 @@ To be added. - - - Property + + + + Event + + 2.24.0.0 + + + + GLib.Signal("volume_mounted") + + - System.String + Gnome.Vfs.VolumeMountedHandler + - To be added. - To be added. - To be added. + Drive has been mounted. + To be added - - - Property + + + + Event + + 2.24.0.0 + + + + GLib.Signal("volume_pre_unmount") + + - GLib.List + Gnome.Vfs.VolumePreUnmountHandler + - To be added. - To be added. - To be added. + Drive is about to be unmounted. + To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("volume_unmounted") + + - System.Boolean + Gnome.Vfs.VolumeUnmountedHandler - To be added. - To be added. - To be added. - + Drive has been unmounted. + To be added diff --git a/doc/en/Gnome.Vfs/DriveConnectedArgs.xml b/doc/en/Gnome.Vfs/DriveConnectedArgs.xml index 62751ac8a..e3be468b8 100644 --- a/doc/en/Gnome.Vfs/DriveConnectedArgs.xml +++ b/doc/en/Gnome.Vfs/DriveConnectedArgs.xml @@ -1,25 +1,31 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -28,8 +34,12 @@ - + + Property + + 2.24.0.0 + Gnome.Vfs.Drive diff --git a/doc/en/Gnome.Vfs/DriveConnectedHandler.xml b/doc/en/Gnome.Vfs/DriveConnectedHandler.xml index 753381794..80fafe33f 100644 --- a/doc/en/Gnome.Vfs/DriveConnectedHandler.xml +++ b/doc/en/Gnome.Vfs/DriveConnectedHandler.xml @@ -1,11 +1,23 @@ + 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. @@ -16,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gnome.Vfs/DriveDisconnectedArgs.xml b/doc/en/Gnome.Vfs/DriveDisconnectedArgs.xml index b5d459322..1cbf52545 100644 --- a/doc/en/Gnome.Vfs/DriveDisconnectedArgs.xml +++ b/doc/en/Gnome.Vfs/DriveDisconnectedArgs.xml @@ -1,25 +1,31 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -28,8 +34,12 @@ - + + Property + + 2.24.0.0 + Gnome.Vfs.Drive diff --git a/doc/en/Gnome.Vfs/DriveDisconnectedHandler.xml b/doc/en/Gnome.Vfs/DriveDisconnectedHandler.xml index 31e0c1300..13dac9cd8 100644 --- a/doc/en/Gnome.Vfs/DriveDisconnectedHandler.xml +++ b/doc/en/Gnome.Vfs/DriveDisconnectedHandler.xml @@ -1,11 +1,23 @@ + 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. @@ -16,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gnome.Vfs/DvdArgumentType.xml b/doc/en/Gnome.Vfs/DvdArgumentType.xml index e5cf82adb..087a5dcd9 100644 --- a/doc/en/Gnome.Vfs/DvdArgumentType.xml +++ b/doc/en/Gnome.Vfs/DvdArgumentType.xml @@ -1,16 +1,27 @@ + 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 @@ -20,7 +31,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -30,7 +45,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -40,7 +59,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -50,7 +73,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -60,7 +87,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -70,7 +101,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -80,7 +115,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -90,7 +129,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.DvdArgumentType @@ -99,9 +142,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gnome.Vfs/Escape.xml b/doc/en/Gnome.Vfs/Escape.xml index 165298549..e5f223726 100644 --- a/doc/en/Gnome.Vfs/Escape.xml +++ b/doc/en/Gnome.Vfs/Escape.xml @@ -1,26 +1,40 @@ + 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 @@ -34,17 +48,21 @@ 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. @@ -52,7 +70,11 @@ + Method + + 2.24.0.0 + System.String @@ -70,7 +92,11 @@ + Method + + 2.24.0.0 + System.String @@ -84,25 +110,25 @@ 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. - To be added. - diff --git a/doc/en/Gnome.Vfs/File.xml b/doc/en/Gnome.Vfs/File.xml index 693d93a6c..9ef6c6610 100644 --- a/doc/en/Gnome.Vfs/File.xml +++ b/doc/en/Gnome.Vfs/File.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -40,7 +54,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -61,8 +79,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/FileFlags.xml b/doc/en/Gnome.Vfs/FileFlags.xml index e79353b23..a223e3310 100644 --- a/doc/en/Gnome.Vfs/FileFlags.xml +++ b/doc/en/Gnome.Vfs/FileFlags.xml @@ -1,15 +1,13 @@ + 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. - - Enumeration representing special flags a class can have. - To be added - System.Enum @@ -18,43 +16,59 @@ System.Flags
+ + Enumeration representing special flags a class can have. + To be added + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileFlags - no flags. + whether the file is on a local filesystem. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileFlags - whether the file is a symlink. + no flags. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileFlags - whether the file is on a local filesystem. + whether the file is a symlink. To be added diff --git a/doc/en/Gnome.Vfs/FileInfo.xml b/doc/en/Gnome.Vfs/FileInfo.xml index 316a6989f..ec90e3b3c 100644 --- a/doc/en/Gnome.Vfs/FileInfo.xml +++ b/doc/en/Gnome.Vfs/FileInfo.xml @@ -1,240 +1,336 @@ + 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. - - Class containing all metadata pertaining to a . - To be added - 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 + - + - Create a new FileInfo instance representing the text uri. - - representing the uri. + 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 + - - Create a new FileInfo instance representing the text uri with the specified . representing the uri. - - for the FileInfo metadata. + Create a new FileInfo instance representing the text uri. To be added - + + Constructor + + 2.24.0.0 + + - Create a new FileInfo instance representing . a + + for the FileInfo metadata. + Create a new FileInfo instance representing with the specified . To be added - + + Constructor + + 2.24.0.0 + - + - Create a new FileInfo instance representing with the specified . - a + + 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.String + System.DateTime - Base name of the file (no path). - a + Last time the file was accessed. + a To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.FileInfoFields + System.Int64 - Properties which are actually valid in this class. - a + Size measured in units of 512-byte blocks. + a To be added - - - Property + + + + Method + + 2.24.0.0 + - Gnome.Vfs.FileType + System.Void - File type (i.e. regular, directory, block device...). - a - To be added + To be added. + To be added. - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.FilePermissions + System.DateTime - File permissions. - a + Last time the file was changed. + a To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.FileFlags + System.Int64 - - for this file. - a + Device id of the file. Only valid if the . + a To be added - - - Property + + + + Method + + 2.24.0.0 + - System.Int64 + System.Void - Device id of the file. Only valid if the . - a - To be added + To be added. + To be added. - - + + + Property + + 2.24.0.0 + - System.Int64 + Gnome.Vfs.FileFlags - Inode number of the file. Only valid if the . - a + + for this file. + a To be added - - + + + Property + + 2.24.0.0 + System.UInt32 - Link count. + UNIX group id. a To be added - - + + + Property + + 2.24.0.0 + - System.UInt32 + System.IntPtr - - UNIX user id. - a - To be added + To be added. + To be added. + To be added. - - + + + Property + + 2.24.0.0 + - System.UInt32 + System.Boolean - UNIX group id. - a + Indicates whether the property is set. + a To be added - - + + + Property + + 2.24.0.0 + - System.Int64 + System.Boolean - Size in bytes. - a + Indicates whether the property is set. + a To be added - - + + + Property + + 2.24.0.0 + System.Int64 - Size measured in units of 512-byte blocks. + Inode number of the file. Only valid if the . a To be added - + + Property + + 2.24.0.0 + System.UInt32 @@ -245,61 +341,81 @@ To be added - - + + + Property + + 2.24.0.0 + - System.DateTime + System.Boolean - Last time the file was accessed. - a + Indicates whether the represents a file on the local filesystem. + a To be added - - + + + Property + + 2.24.0.0 + - System.DateTime + System.Boolean - Last time the file was modified. - a + Indicates whether the sticky bit is set. + a To be added - - + + + Property + + 2.24.0.0 + - System.DateTime + System.Boolean - Last time the file was changed. - a + Indicates whether the file is a symlink. + a To be added - - + + + Property + + 2.24.0.0 + - System.String + System.UInt32 - If , this specifies the file the link points to. - a + Link count. + a To be added - + + Property + + 2.24.0.0 + System.String @@ -311,114 +427,157 @@ To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + System.DateTime - Indicates whether the file is a symlink. - a + Last time the file was modified. + a To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + System.String - Indicates whether the represents a file on the local filesystem. - a + Base name of the file (no path). + a To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + Gnome.Vfs.FilePermissions - Indicates whether the property is set. - a + File permissions. + a To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + System.Int64 - Indicates whether the property is set. - a + Size in bytes. + a To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + System.String - Indicates whether the sticky bit is set. - a + If , this specifies the file the link points to. + a To be added - - - Constructor + + + + Method + + 2.24.0.0 + + + System.String + To be added. + To be added. To be added. - - - Constructor - - - + + + + Property + + 2.24.0.0 + + + Gnome.Vfs.FileType + + - To be added. - To be added. - To be added. + File type (i.e. regular, directory, block device...). + a + To be added - - - Method + + + + Property + + 2.24.0.0 + - System.Void + System.UInt32 - To be added. - To be added. + UNIX user id. + a + To be added - - + + + Property + + 2.24.0.0 + - System.IntPtr + Gnome.Vfs.FileInfoFields + - To be added. - To be added. - To be added. + Properties which are actually valid in this class. + a + To be added diff --git a/doc/en/Gnome.Vfs/FileInfoFields.xml b/doc/en/Gnome.Vfs/FileInfoFields.xml index d8392dca3..fecc0f00e 100644 --- a/doc/en/Gnome.Vfs/FileInfoFields.xml +++ b/doc/en/Gnome.Vfs/FileInfoFields.xml @@ -1,15 +1,13 @@ + 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. - - 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 - System.Enum @@ -18,37 +16,50 @@ 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 - no properties are valid. + the access properties (, and ) are valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields - - - - property is valid. - To be added + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -56,13 +67,17 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -70,13 +85,17 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -84,13 +103,17 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -98,13 +121,17 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -112,27 +139,32 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields - - - - property is valid. - To be added + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -140,13 +172,17 @@ - property is valid. + property is valid. To be added + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -158,9 +194,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -168,13 +208,17 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -182,13 +226,17 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -196,27 +244,34 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields - - property is valid. + no properties are valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields @@ -224,54 +279,77 @@ - property is valid. + property is valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields - - - the access properties (, and ) are valid. - To be added + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields + + - To be added. - + + property is valid. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields + + - To be added. - + + property is valid. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoFields + + - To be added. - + + property is valid. + To be added diff --git a/doc/en/Gnome.Vfs/FileInfoOptions.xml b/doc/en/Gnome.Vfs/FileInfoOptions.xml index 218a5964c..5a6da1227 100644 --- a/doc/en/Gnome.Vfs/FileInfoOptions.xml +++ b/doc/en/Gnome.Vfs/FileInfoOptions.xml @@ -1,15 +1,13 @@ + 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. - - Packed boolean bitfield representing options that can be passed into a constructor. - To be added - System.Enum @@ -18,10 +16,18 @@ 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 @@ -32,22 +38,30 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoOptions - detect the MIME type. + automatically follow symbolic links and retrieve the properties of their target (recommended). To be added + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoOptions @@ -60,7 +74,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoOptions @@ -71,46 +89,62 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoOptions - automatically follow symbolic links and retrieve the properties of their target (recommended). + 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 - - - 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 + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoOptions + + - To be added. - + detect the MIME type. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoOptions @@ -119,9 +153,13 @@ - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileInfoOptions diff --git a/doc/en/Gnome.Vfs/FilePermissions.xml b/doc/en/Gnome.Vfs/FilePermissions.xml index d002a3581..3bc4b1e97 100644 --- a/doc/en/Gnome.Vfs/FilePermissions.xml +++ b/doc/en/Gnome.Vfs/FilePermissions.xml @@ -1,15 +1,13 @@ + 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. - - File permissions. These are the same as the Unix ones, but we wrap them into a nicer VFS-like enum. - To be added - System.Enum @@ -18,238 +16,314 @@ 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 - UID bit. + To be added To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - GID bit. + To be added To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - sticky bit. + To be added To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - owner has read permission. + group has all permissions. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - owner has write permission. + group has execution permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - owner has execution permission. + group has read permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - owner has all permissions. + group has write permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - group has read permission. + others have all permissions. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - group has write permission. + others have execution permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - group has execution permission. + others have read permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - group has all permissions. + others have write permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - others have read permission. + GID bit. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - others have write permission. + sticky bit. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - others have execution permission. + UID bit. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - others have all permissions. + owner has all permissions. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - To be added + owner has execution permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - To be added + owner has read permission. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FilePermissions - To be added + owner has write permission. To be added diff --git a/doc/en/Gnome.Vfs/FileType.xml b/doc/en/Gnome.Vfs/FileType.xml index 7459b27cc..3191c3910 100644 --- a/doc/en/Gnome.Vfs/FileType.xml +++ b/doc/en/Gnome.Vfs/FileType.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileType @@ -27,9 +33,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileType @@ -42,7 +52,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.FileType @@ -55,7 +69,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.FileType @@ -66,9 +84,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileType @@ -79,9 +101,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileType @@ -92,9 +118,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileType @@ -105,9 +135,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.FileType diff --git a/doc/en/Gnome.Vfs/Format.xml b/doc/en/Gnome.Vfs/Format.xml index 663eb20e8..cb31eabf1 100644 --- a/doc/en/Gnome.Vfs/Format.xml +++ b/doc/en/Gnome.Vfs/Format.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + System.String @@ -36,7 +50,11 @@ + Method + + 2.24.0.0 + System.String @@ -51,8 +69,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Global.xml b/doc/en/Gnome.Vfs/Global.xml index 09c037449..15549d53b 100644 --- a/doc/en/Gnome.Vfs/Global.xml +++ b/doc/en/Gnome.Vfs/Global.xml @@ -1,211 +1,274 @@ + 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 + 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 + 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.Boolean + 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 + 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. 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. - - - - - Method - - 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.24.0.0 + - System.String + 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. - - + + + Method + + 2.24.0.0 + - System.String + 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.Void + 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.String @@ -219,17 +282,21 @@ 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. @@ -237,7 +304,11 @@ + Method + + 2.24.0.0 + System.String @@ -253,43 +324,66 @@ 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.Result + 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.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.Result + System.String @@ -301,9 +395,13 @@ To be added. - - + + + Method + + 2.24.0.0 + System.String @@ -317,17 +415,42 @@ 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. @@ -335,7 +458,11 @@ + Method + + 2.24.0.0 + System.String @@ -349,69 +476,83 @@ 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.Result + 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 + 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. To be added. @@ -419,7 +560,11 @@ + Method + + 2.24.0.0 + System.Void @@ -432,21 +577,18 @@ To be added. - - - Property - - Gnome.Vfs.VolumeMonitor - - - To be added. - To be added. - To be added. - - - + + Property + + 2.24.0.0 + + + + System.Obsolete + + GLib.List @@ -455,335 +597,376 @@ To be added. To be added. - - - System.Obsolete - - - - + + + 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. 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. To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Result + 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.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. 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. 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 + 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 + 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. - - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Result + 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. - - - + + + + Property + + 2.24.0.0 + + + Gnome.Vfs.VolumeMonitor + + + To be added. + To be added. + To be added. + + + + + Method + + 2.24.0.0 + - System.String + 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. - - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Handle.xml b/doc/en/Gnome.Vfs/Handle.xml index 4c4917d96..ce7740056 100644 --- a/doc/en/Gnome.Vfs/Handle.xml +++ b/doc/en/Gnome.Vfs/Handle.xml @@ -1,23 +1,29 @@ + 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. - - A handle to an asynchronous operation. - To be added - GLib.Opaque + + A handle to an asynchronous operation. + To be added + + Constructor + + 2.24.0.0 + diff --git a/doc/en/Gnome.Vfs/Is.xml b/doc/en/Gnome.Vfs/Is.xml index 327d0bf22..c6671ca90 100644 --- a/doc/en/Gnome.Vfs/Is.xml +++ b/doc/en/Gnome.Vfs/Is.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -36,7 +50,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -48,8 +66,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Make.xml b/doc/en/Gnome.Vfs/Make.xml index 89c149848..e5e245989 100644 --- a/doc/en/Gnome.Vfs/Make.xml +++ b/doc/en/Gnome.Vfs/Make.xml @@ -1,70 +1,96 @@ + 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 + 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 + 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. To be added. @@ -72,7 +98,11 @@ + Method + + 2.24.0.0 + System.String @@ -88,7 +118,11 @@ + Method + + 2.24.0.0 + System.String @@ -102,47 +136,53 @@ To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Result + System.String - - + To be added. - To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Result + 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.24.0.0 + System.String @@ -154,11 +194,16 @@ To be added. To be added. To be added. + + Method + + 2.24.0.0 + System.String @@ -172,26 +217,32 @@ 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. To be added. - - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Mime.xml b/doc/en/Gnome.Vfs/Mime.xml index 5aba951ed..f5b0350a8 100644 --- a/doc/en/Gnome.Vfs/Mime.xml +++ b/doc/en/Gnome.Vfs/Mime.xml @@ -1,159 +1,211 @@ + 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. 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 + + - GLib.List + Gnome.Vfs.Result + 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 + + 2.24.0.0 + - Gnome.Vfs.Result + 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 + 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.24.0.0 + + + + System.Obsolete + + - System.Void + 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 + - GLib.List + System.Void - + - To be added. + To be added. To be added. - To be added. To be added. - - + + + Method + + 2.24.0.0 + System.Void @@ -163,41 +215,60 @@ To be added. - - + + + Method + + 2.24.0.0 + - GLib.List + Gnome.Vfs.MimeApplication[] - To be added. - To be added. - To be added. - To be added. + 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 @@ -211,81 +282,90 @@ To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.Result + 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 + Gnome.Vfs.MimeAction - - 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. - - - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.Result + Gnome.Vfs.MimeActionType - To be added. - To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + - System.Void + Gnome.Vfs.MimeApplication @@ -293,48 +373,72 @@ To be added. To be added. + To be added. To be added. - - + + + Method + + 2.24.0.0 + - System.String + 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 + + - Gnome.Vfs.Result + System.IntPtr - To be added. - To be added. To be added. To be added. To be added. + - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.MimeApplication + System.String @@ -348,7 +452,11 @@ + Method + + 2.24.0.0 + System.String @@ -362,117 +470,165 @@ To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Result + GLib.List - To be added. - To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + 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. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.Result + System.String - To be added. - To be added. 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 + + - Gnome.Vfs.Result + GLib.List - 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 + GLib.List - To be added. - To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.String + GLib.List @@ -484,171 +640,227 @@ To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Result + 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.Boolean - + + - 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. - - - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - GLib.List + 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.24.0.0 + + + + System.Obsolete + + - System.Boolean + GLib.List - - To be added. To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + GLib.List - + - To be added. + To be added. To be added. To be added. To be added. - - + + + Method + + 2.24.0.0 + - GLib.List + System.Void - + - To be added. + To be added. To be added. - To be added. To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.MimeAction + 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 + + - Gnome.Vfs.Result + 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 @@ -661,144 +873,221 @@ To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.MimeActionType + System.Void - - - + - To be added. To be added. - To be added. To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.Result + GLib.List - - + + + - 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.Obsolete + + - System.Void + 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.String + GLib.List - - + + + - 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.Obsolete + + - System.Boolean + 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.String + Gnome.Vfs.Result + To be added. + To be added. To be added. To be added. - This method is deprecated. You should use to lookup icons. + To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.Result + System.Void - - - - + - 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 @@ -814,19 +1103,28 @@ To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.String + Gnome.Vfs.Result - + To be added. - To be added. + To be added. To be added. To be added. To be added. @@ -834,7 +1132,16 @@ + Method + + 2.24.0.0 + + + + System.Obsolete + + Gnome.Vfs.Result @@ -850,40 +1157,72 @@ To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - GLib.List + 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 + 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 @@ -899,142 +1238,277 @@ To be added. - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gnome.Vfs.MimeApplication[] + Gnome.Vfs.Result + - A mime type to query, for example 'text/plain'. - Gets all the applications registered for a MIME type. - an array of . - + To be added. + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.24.0.0 + - System.Void + 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 + + - GLib.List + 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 + 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.MimeEquivalence + 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.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. To be added. - - + + + Method + + 2.24.0.0 + - System.Boolean + 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.24.0.0 + - Gnome.Vfs.MimeApplication + Gnome.Vfs.MimeEquivalence - + - 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 + System.Boolean + + + + + + + To be added. + To be added. + To be added. + To be added. + To be added. + + + + + + Method + + 2.24.0.0 + + + System.Boolean @@ -1046,11 +1520,15 @@ To be added. - - + + + Method + + 2.24.0.0 + - System.IntPtr + System.Boolean @@ -1060,12 +1538,7 @@ To be added. To be added. To be added. - - - Mime related static methods. - - diff --git a/doc/en/Gnome.Vfs/MimeAction.xml b/doc/en/Gnome.Vfs/MimeAction.xml index 8096969c6..aa8b97f79 100644 --- a/doc/en/Gnome.Vfs/MimeAction.xml +++ b/doc/en/Gnome.Vfs/MimeAction.xml @@ -1,25 +1,36 @@ + 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. - - To be added - To be added - System.ValueType + + + System.Obsolete + + + + To be added + To be added + - - + + + Field + + 2.24.0.0 + - Gnome.Vfs.MimeAction + Gnome.Vfs.MimeActionType @@ -28,38 +39,49 @@ To be added - - - Field + + + + Method + + 2.24.0.0 + - Gnome.Vfs.MimeActionType + System.Void - - + To be added To be added - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.MimeAction + Gnome.Vfs.Result - + + a To be added - a - a + a To be added + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -68,45 +90,49 @@ - To be added a a + To be added a To be added - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Result + Gnome.Vfs.MimeAction - + + a To be added - a - a + a To be added - - - Method + + + + Field + + 2.24.0.0 + - System.Void + Gnome.Vfs.MimeAction - + + To be added To be added - - - System.Obsolete - - diff --git a/doc/en/Gnome.Vfs/MimeActionType.xml b/doc/en/Gnome.Vfs/MimeActionType.xml index 170b31fbb..7a1b92e61 100644 --- a/doc/en/Gnome.Vfs/MimeActionType.xml +++ b/doc/en/Gnome.Vfs/MimeActionType.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MimeActionType @@ -27,9 +33,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MimeActionType @@ -40,9 +50,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MimeActionType diff --git a/doc/en/Gnome.Vfs/MimeApplication.xml b/doc/en/Gnome.Vfs/MimeApplication.xml index 96c2438e7..169a53423 100644 --- a/doc/en/Gnome.Vfs/MimeApplication.xml +++ b/doc/en/Gnome.Vfs/MimeApplication.xml @@ -1,88 +1,77 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + - - - Method - - Gnome.Vfs.MimeApplication - - - - - - To be added - a - a - To be added - - - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + - + - To be added - a - To be added + To be added. + To be added. + To be added. - - - Method - - Gnome.Vfs.Result - + + + + Constructor + + 2.24.0.0 + - - + - To be added - a - a - a - To be added + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.24.0.0 + - Gnome.Vfs.Result + System.String - - - - To be added - a - a - To be added + To be added. + To be added. + To be added. + Method + + 2.24.0.0 + Gnome.Vfs.MimeApplication @@ -93,33 +82,45 @@ To be added - - - Constructor - - - + + + + Property + + 2.24.0.0 + + + System.String + - To be added. To be added. + To be added. To be added. - - - Constructor - - - + + + + Property + + 2.24.0.0 + + + System.String + - To be added. To be added. + To be added. To be added. + Method + + 2.24.0.0 + System.Boolean @@ -133,48 +134,64 @@ To be added. - - - Method + + + + Property + + 2.24.0.0 + - System.Boolean + System.String - To be added. - To be added. + To be added. To be added. - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void To be added. - To be added. To be added. - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - + + + + To be added. To be added. - To be added. To be added. - - + + + Property + + 2.24.0.0 + System.String @@ -184,9 +201,13 @@ To be added. - - + + + Property + + 2.24.0.0 + System.String @@ -196,21 +217,74 @@ To be added. - - - Property + + + + Method + + 2.24.0.0 + - System.String + Gnome.Vfs.Result + + + - To be added. - To be added. - To be added. + 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 @@ -220,21 +294,50 @@ To be added. - - - Property + + + + Method + + 2.24.0.0 + - System.String + 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. To be added. - - + + + Property + + 2.24.0.0 + System.String @@ -244,27 +347,37 @@ To be added. - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Boolean + To be added. - To be added. + To be added. To be added. - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Boolean + To be added. - To be added. + To be added. To be added. diff --git a/doc/en/Gnome.Vfs/MimeApplicationArgumentType.xml b/doc/en/Gnome.Vfs/MimeApplicationArgumentType.xml index eacd92eb1..b2f35ff8f 100644 --- a/doc/en/Gnome.Vfs/MimeApplicationArgumentType.xml +++ b/doc/en/Gnome.Vfs/MimeApplicationArgumentType.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MimeApplicationArgumentType @@ -27,9 +33,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MimeApplicationArgumentType @@ -42,7 +52,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.MimeApplicationArgumentType diff --git a/doc/en/Gnome.Vfs/MimeEquivalence.xml b/doc/en/Gnome.Vfs/MimeEquivalence.xml index 07cefb44c..9fd7ae530 100644 --- a/doc/en/Gnome.Vfs/MimeEquivalence.xml +++ b/doc/en/Gnome.Vfs/MimeEquivalence.xml @@ -1,16 +1,26 @@ + 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 @@ -18,9 +28,13 @@ To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MimeEquivalence @@ -28,9 +42,13 @@ To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MimeEquivalence @@ -39,8 +57,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/MimeMonitor.xml b/doc/en/Gnome.Vfs/MimeMonitor.xml index c4aaf0ba2..b078100c3 100644 --- a/doc/en/Gnome.Vfs/MimeMonitor.xml +++ b/doc/en/Gnome.Vfs/MimeMonitor.xml @@ -1,90 +1,121 @@ + 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. - - To be added - To be added - GLib.Object + + To be added + To be added + - - - Method - - Gnome.Vfs.MimeMonitor - + + + + Constructor + + 2.24.0.0 + + To be added - a To be added - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.24.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. - - - Constructor - + + + + 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 @@ -95,22 +126,26 @@ Returns the native value for . - - - Event + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDataChanged", Type=typeof(Gnome.Vfs.MimeMonitor)) + + - System.EventHandler + 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. - - - GLib.Signal("data_changed") - - diff --git a/doc/en/Gnome.Vfs/MimeType.xml b/doc/en/Gnome.Vfs/MimeType.xml index 4a8adcd7e..5c7e9129b 100644 --- a/doc/en/Gnome.Vfs/MimeType.xml +++ b/doc/en/Gnome.Vfs/MimeType.xml @@ -1,109 +1,100 @@ + 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. - - File Types; functions for getting information about files based on their MIME type. - To be added - System.Object + + File Types; functions for getting information about files based on their MIME type. + To be added + - - - Field - - 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 - - - - - Method - - System.String - - - - - - 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 . - - representation of the mime type. - To be added - - + Constructor + + 2.24.0.0 + - Construct a new MimeType for this . a + Construct a new MimeType for this . To be added + Constructor + + 2.24.0.0 + - Construct a new MimeType for the specified mime type. representation of the mime type. + Construct a new MimeType for the specified mime type. To be added + Constructor + + 2.24.0.0 + - Tries to guess the mime type of the data in the buffer using the magic patterns. 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 + - Gnome.Vfs.MimeActionType + System.Boolean - Query the mime database for the to be performed on a particular mime type by default. - a + 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 @@ -114,9 +105,30 @@ 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 @@ -127,9 +139,35 @@ 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 @@ -140,29 +178,54 @@ This property is deprecated. You should use to lookup icons. - - + + + Property + + 2.24.0.0 + - System.Boolean + System.String - Indicates whether files of this mime type might conceivably be executable. Default for known types is false. Default for unknown types is true. - a + The name of the mime type. This is the same as what the method returns. + a To be added - - - Property + + + + Method + + 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. + 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 diff --git a/doc/en/Gnome.Vfs/Module.xml b/doc/en/Gnome.Vfs/Module.xml index 9957ab4d3..01863af9a 100644 --- a/doc/en/Gnome.Vfs/Module.xml +++ b/doc/en/Gnome.Vfs/Module.xml @@ -1,41 +1,40 @@ + 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 - - System.Void - - - - - - To be added. - To be added. - To be added. - - + Method + + 2.24.0.0 + System.Boolean @@ -57,9 +56,24 @@ 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. - diff --git a/doc/en/Gnome.Vfs/ModuleCallback.xml b/doc/en/Gnome.Vfs/ModuleCallback.xml index cd63c5037..4cc5e0329 100644 --- a/doc/en/Gnome.Vfs/ModuleCallback.xml +++ b/doc/en/Gnome.Vfs/ModuleCallback.xml @@ -1,11 +1,17 @@ + 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). @@ -88,30 +94,44 @@ namespace Test.Gnome.Vfs { - - System.Object - - - - - Method + + + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Event + + 2.24.0.0 + - System.Void + Gnome.Vfs.ModuleCallbackHandler - 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. - + 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 @@ -121,21 +141,49 @@ namespace Test.Gnome.Vfs { The temporary handlers are treated as a first-in first-out stack. - - + + + 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. + 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 @@ -150,21 +198,29 @@ namespace Test.Gnome.Vfs { - - + + + 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. + 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 @@ -178,27 +234,5 @@ namespace Test.Gnome.Vfs { - - - Constructor - - - - To be added - To be added - - - - - Event - - 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. - - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackAuthentication+AuthenticationType.xml b/doc/en/Gnome.Vfs/ModuleCallbackAuthentication+AuthenticationType.xml index 1ea0af960..291121fe8 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackAuthentication+AuthenticationType.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackAuthentication+AuthenticationType.xml @@ -1,16 +1,26 @@ + 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 @@ -20,7 +30,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType @@ -29,8 +43,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml b/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml index beee1838d..afbf37255 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml @@ -1,23 +1,29 @@ + 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. - - To be added - To be added - Gnome.Vfs.ModuleCallback + + To be added + To be added + + Constructor + + 2.24.0.0 + @@ -25,35 +31,93 @@ To be added - - + + + Property + + 2.24.0.0 + - System.String + Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType To be added - a + 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 @@ -64,34 +128,111 @@ 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 + - Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType + System.String To be added - a + 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 diff --git a/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationAuthType.xml b/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationAuthType.xml index 83aa843c4..79924489a 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationAuthType.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationAuthType.xml @@ -1,16 +1,27 @@ + 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 @@ -20,7 +31,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackAuthenticationAuthType @@ -29,9 +44,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml b/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml index a121a82d1..2abc271a5 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml @@ -1,23 +1,29 @@ + 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. - - To be added - To be added - Gnome.Vfs.ModuleCallback + + To be added + To be added + + Constructor + + 2.24.0.0 + @@ -25,9 +31,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -38,9 +48,28 @@ To be added - - + + + + Event + + 2.24.0.0 + + + Gnome.Vfs.ModuleCallbackHandler + + + To be added. + To be added. + + + + + Property + + 2.24.0.0 + System.String @@ -51,9 +80,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -64,22 +97,61 @@ 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 @@ -90,9 +162,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -103,9 +179,45 @@ 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 @@ -116,9 +228,45 @@ 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 @@ -129,27 +277,36 @@ To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + System.String + To be added - a + a To be added - - + + + Property + + 2.24.0.0 + - System.String + System.Boolean To be added - a + a To be added diff --git a/doc/en/Gnome.Vfs/ModuleCallbackFullAuthentication.xml b/doc/en/Gnome.Vfs/ModuleCallbackFullAuthentication.xml index a6d133786..095a43fbf 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackFullAuthentication.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackFullAuthentication.xml @@ -1,23 +1,29 @@ + 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. - - To be added - To be added - Gnome.Vfs.ModuleCallback + + To be added + To be added + + Constructor + + 2.24.0.0 + @@ -25,22 +31,29 @@ To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.ModuleCallbackFullAuthenticationFlags + System.Boolean - To be added - a + a To be added - - + + + Property + + 2.24.0.0 + System.String @@ -51,9 +64,28 @@ To be added - - + + + + Event + + 2.24.0.0 + + + Gnome.Vfs.ModuleCallbackHandler + + + To be added. + To be added. + + + + + Property + + 2.24.0.0 + System.String @@ -64,9 +96,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -77,9 +113,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -90,35 +130,46 @@ To be added - - + + + Property + + 2.24.0.0 + - System.Int32 + Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added - a + 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 @@ -129,35 +180,78 @@ 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 + System.Int32 To be added - a + a To be added - - + + + Property + + 2.24.0.0 + System.String @@ -168,9 +262,45 @@ 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 @@ -180,36 +310,83 @@ 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 + System.String + To be added - a + a To be added - - + + + Property + + 2.24.0.0 + System.String + To be added a diff --git a/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationFlags.xml b/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationFlags.xml index 296bc2ee0..5c2132479 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationFlags.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationFlags.xml @@ -1,15 +1,13 @@ + 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. - - To be added - To be added - System.Enum @@ -18,10 +16,32 @@ 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 @@ -34,7 +54,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackFullAuthenticationFlags @@ -47,7 +71,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackFullAuthenticationFlags @@ -58,9 +86,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackFullAuthenticationFlags @@ -73,7 +105,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackFullAuthenticationFlags @@ -84,15 +120,5 @@ To be added - - - Field - - Gnome.Vfs.ModuleCallbackFullAuthenticationFlags - - - To be added. - - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationOutFlags.xml b/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationOutFlags.xml index f0d0477d6..73e87e97d 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationOutFlags.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationOutFlags.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Enum @@ -12,10 +14,18 @@ System.Flags + + To be added. + To be added. + + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackFullAuthenticationOutFlags @@ -24,8 +34,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackHandler.xml b/doc/en/Gnome.Vfs/ModuleCallbackHandler.xml index 8a3f91c93..4c4fba0fb 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackHandler.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackHandler.xml @@ -1,24 +1,26 @@ + 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. - - To be added. - To be added - To be added - System.Delegate - - - System.Void - + + System.Void + + + To be added. + To be added + To be added + + diff --git a/doc/en/Gnome.Vfs/ModuleCallbackQuestionIn.xml b/doc/en/Gnome.Vfs/ModuleCallbackQuestionIn.xml index f4a522215..78ee89c4e 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackQuestionIn.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackQuestionIn.xml @@ -1,17 +1,27 @@ + 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 @@ -20,20 +30,33 @@ To be added. - - - Field + + + + Method + + 2.24.0.0 + - System.String + Gnome.Vfs.ModuleCallbackQuestionIn + + + + To be added. To be added. + To be added. To be added. - - + + + Field + + 2.24.0.0 + System.String @@ -42,36 +65,35 @@ To be added. - - + + + Field + + 2.24.0.0 + - Gnome.Vfs.ModuleCallbackQuestionIn + System.String To be added. To be added. - - - Method + + + + Field + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackQuestionIn - - - - To be added. To be added. - To be added. To be added. - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackQuestionOut.xml b/doc/en/Gnome.Vfs/ModuleCallbackQuestionOut.xml index ab7af0778..8564ac0f3 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackQuestionOut.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackQuestionOut.xml @@ -1,17 +1,27 @@ + 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 @@ -20,20 +30,13 @@ To be added. - - - Field - - Gnome.Vfs.ModuleCallbackQuestionOut - - - To be added. - To be added. - - + Method + + 2.24.0.0 + Gnome.Vfs.ModuleCallbackQuestionOut @@ -47,9 +50,20 @@ To be added. + + + + Field + + 2.24.0.0 + + + Gnome.Vfs.ModuleCallbackQuestionOut + + + To be added. + To be added. + + - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml b/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml index 5c14a56db..cda7f9aa2 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml @@ -1,23 +1,29 @@ + 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. - - To be added - To be added - Gnome.Vfs.ModuleCallback + + To be added + To be added + + Constructor + + 2.24.0.0 + @@ -25,9 +31,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -38,9 +48,28 @@ To be added - - + + + + Event + + 2.24.0.0 + + + Gnome.Vfs.ModuleCallbackHandler + + + To be added. + To be added. + + + + + Property + + 2.24.0.0 + System.String @@ -51,9 +80,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -64,9 +97,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -77,9 +114,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -90,9 +131,45 @@ 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 @@ -103,9 +180,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -116,9 +197,45 @@ 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 @@ -129,9 +246,45 @@ 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 @@ -142,9 +295,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String diff --git a/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml b/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml index aaff84285..39903cf7b 100644 --- a/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml +++ b/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml @@ -1,23 +1,29 @@ + 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. - - To be added - To be added - Gnome.Vfs.ModuleCallback + + To be added + To be added + + Constructor + + 2.24.0.0 + @@ -25,22 +31,28 @@ To be added - - - Property + + + + Event + + 2.24.0.0 + - System.String + Gnome.Vfs.ModuleCallbackHandler - - To be added - a - To be added + To be added. + To be added. - + + Property + + 2.24.0.0 + System.String @@ -52,8 +64,12 @@ - + + Property + + 2.24.0.0 + System.Int32 @@ -64,5 +80,118 @@ 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 + + diff --git a/doc/en/Gnome.Vfs/Monitor.xml b/doc/en/Gnome.Vfs/Monitor.xml index 7ed0c2768..96d16591e 100644 --- a/doc/en/Gnome.Vfs/Monitor.xml +++ b/doc/en/Gnome.Vfs/Monitor.xml @@ -1,23 +1,43 @@ + 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. - - Monitor changes to files and directories. - To be added - 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 @@ -26,17 +46,21 @@ - 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. 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 @@ -47,19 +71,13 @@ To be added - - - Constructor - - - - Create a new instance. - To be added - - + Event + + 2.24.0.0 + Gnome.Vfs.MonitorHandler @@ -69,63 +87,83 @@ To be added - - + + + Event + + 2.24.0.0 + Gnome.Vfs.MonitorHandler - A file has been deleted. + A file has been created. To be added - - + + + Event + + 2.24.0.0 + Gnome.Vfs.MonitorHandler - To be added + A file has been deleted. To be added - - + + + Event + + 2.24.0.0 + Gnome.Vfs.MonitorHandler - To be added + A file metadata has changed. To be added - - + + + Event + + 2.24.0.0 + Gnome.Vfs.MonitorHandler - A file has been created. + To be added To be added - - + + + Event + + 2.24.0.0 + Gnome.Vfs.MonitorHandler - A file metadata has changed. + To be added To be added diff --git a/doc/en/Gnome.Vfs/MonitorHandler.xml b/doc/en/Gnome.Vfs/MonitorHandler.xml index 58ab7ce14..b7305bbb7 100644 --- a/doc/en/Gnome.Vfs/MonitorHandler.xml +++ b/doc/en/Gnome.Vfs/MonitorHandler.xml @@ -1,26 +1,28 @@ + 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. - - To be added. - To be added. - Delegate used for notification of changes in monitored files and/or directories. See . - To be added - System.Delegate - - - System.Void - + + System.Void + + + To be added. + To be added. + Delegate used for notification of changes in monitored files and/or directories. See . + To be added + + diff --git a/doc/en/Gnome.Vfs/MonitorType.xml b/doc/en/Gnome.Vfs/MonitorType.xml index 917aa6a04..501ccfadf 100644 --- a/doc/en/Gnome.Vfs/MonitorType.xml +++ b/doc/en/Gnome.Vfs/MonitorType.xml @@ -1,42 +1,52 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MonitorType - a file. + a directory. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.MonitorType - a directory. + a file. To be added diff --git a/doc/en/Gnome.Vfs/Move.xml b/doc/en/Gnome.Vfs/Move.xml index 259173bb7..99a696c07 100644 --- a/doc/en/Gnome.Vfs/Move.xml +++ b/doc/en/Gnome.Vfs/Move.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -40,7 +54,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -61,8 +79,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Open.xml b/doc/en/Gnome.Vfs/Open.xml index 8173bddcb..372700580 100644 --- a/doc/en/Gnome.Vfs/Open.xml +++ b/doc/en/Gnome.Vfs/Open.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -38,7 +52,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -58,7 +76,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -79,8 +101,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/OpenMode.xml b/doc/en/Gnome.Vfs/OpenMode.xml index da3496fbc..5477d38f4 100644 --- a/doc/en/Gnome.Vfs/OpenMode.xml +++ b/doc/en/Gnome.Vfs/OpenMode.xml @@ -1,15 +1,13 @@ + 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. - - Mode in which files are opened. - If is not used, the file will be have to be accessed sequentially. - System.Enum @@ -18,10 +16,18 @@ 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 @@ -32,9 +38,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.OpenMode @@ -45,9 +55,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.OpenMode @@ -58,27 +72,35 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.OpenMode - - - To be added - To be added + To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.OpenMode + + - To be added. + To be added + To be added diff --git a/doc/en/Gnome.Vfs/Read.xml b/doc/en/Gnome.Vfs/Read.xml index 14012549d..68834990a 100644 --- a/doc/en/Gnome.Vfs/Read.xml +++ b/doc/en/Gnome.Vfs/Read.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -44,7 +58,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -63,8 +81,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Resolve.xml b/doc/en/Gnome.Vfs/Resolve.xml index 6597637a0..8b4062fbe 100644 --- a/doc/en/Gnome.Vfs/Resolve.xml +++ b/doc/en/Gnome.Vfs/Resolve.xml @@ -1,26 +1,40 @@ + 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 @@ -33,42 +47,46 @@ To be added. - - + + + Method + + 2.24.0.0 + - System.Void + System.Boolean + To be added. + To be added. To be added. + To be added. To be added. - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - To be added. - To be added. To be added. - To be added. To be added. - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/ResolveHandle.xml b/doc/en/Gnome.Vfs/ResolveHandle.xml index 69660c77b..706c6023d 100644 --- a/doc/en/Gnome.Vfs/ResolveHandle.xml +++ b/doc/en/Gnome.Vfs/ResolveHandle.xml @@ -1,17 +1,27 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,8 +32,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Result.xml b/doc/en/Gnome.Vfs/Result.xml index 4d1b575fc..6074de994 100644 --- a/doc/en/Gnome.Vfs/Result.xml +++ b/doc/en/Gnome.Vfs/Result.xml @@ -1,690 +1,904 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - No error. + Access denied. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - File not found. + Bad file handle. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Generic error. + Invalid parameters. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Internal error. + Operation cancelled. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Invalid parameters. + Data corrupted. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - - - Unsupported operation. - To be added + To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - I/O error. + Directory busy. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Data corrupted. + Directory not empty. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Format not valid. + End of file. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Bad file handle. + File exists. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - File too big. + Generic error. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - No space left on device. + Host has no address. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Read-only file system. + Host not found. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Invalid . + Operation in progress. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - File not open. + Internal error. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Open mode not valid. + Operation interrupted. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - - - Access denied. - To be added + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Too many open files. + Host name not valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - End of file. + Open mode not valid. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Not a directory. + Invalid . To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Operation in progress. + I/O error. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Operation interrupted. + Is a directory. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - File exists. + Error launching command. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - - - Looping links encountered. - To be added + To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Operation not permitted. + Login failed. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Is a directory. + Looping links encountered. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - - - Not enough memory. - To be added + To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Host not found. + Name too long. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Host name not valid. + No default action associated. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Host has no address. + No handler for URL scheme. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Login failed. + Could not find master browser. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Operation cancelled. + Not enough memory. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Directory busy. + No space left on device. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Directory not empty. + Not a directory. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - - - Too many links. - To be added + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Read only file system. + File not found. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Not on the same file system. + File not open. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Name too long. + Operation not permitted. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Service not available. + Not on the same file system. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Request obsoletes service's data. + Unsupported operation. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Protocol error. + Error parsing command line. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Could not find master browser. + Protocol error. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - No default action associated. + Read-only file system. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - No handler for URL scheme. + Read only file system. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Error parsing command line. + Service not available. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - Error launching command. + Request obsoletes service's data. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result - - - Number of errors. - To be added + To be added. - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result + + - To be added. + File too big. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result + + - To be added. + Too many links. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result + + - To be added. + Too many open files. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result + + - To be added. + Format not valid. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result + + - To be added. - + Number of errors. + To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.Result + + - To be added. - + No error. + To be added diff --git a/doc/en/Gnome.Vfs/SeekPosition.xml b/doc/en/Gnome.Vfs/SeekPosition.xml index ec255a3d8..6fcce4bd4 100644 --- a/doc/en/Gnome.Vfs/SeekPosition.xml +++ b/doc/en/Gnome.Vfs/SeekPosition.xml @@ -1,55 +1,69 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.SeekPosition - Start of the file. + Current position. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.SeekPosition - Current position. + End of the file. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.SeekPosition - End of the file. + Start of the file. To be added diff --git a/doc/en/Gnome.Vfs/SetFileInfoMask.xml b/doc/en/Gnome.Vfs/SetFileInfoMask.xml index e838d0fde..b5adbd396 100644 --- a/doc/en/Gnome.Vfs/SetFileInfoMask.xml +++ b/doc/en/Gnome.Vfs/SetFileInfoMask.xml @@ -1,15 +1,13 @@ + 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. - - Packed boolean bitfield representing the aspects of the file to be changed in a call. - To be added - System.Enum @@ -18,23 +16,33 @@ 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 - - - don't set any file info fields. - To be added + To be added. + + Field + + 2.24.0.0 + Gnome.Vfs.SetFileInfoMask @@ -45,22 +53,30 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.SetFileInfoMask - change the permissions. + don't set any file info fields. To be added + Field + + 2.24.0.0 + Gnome.Vfs.SetFileInfoMask @@ -71,22 +87,30 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.SetFileInfoMask - change the file's time stamp(s). + change the permissions. To be added + Field + + 2.24.0.0 + Gnome.Vfs.SetFileInfoMask @@ -95,26 +119,36 @@ - - + + + Field + + 2.24.0.0 + Gnome.Vfs.SetFileInfoMask To be added. - + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.SetFileInfoMask + + - To be added. - + change the file's time stamp(s). + To be added diff --git a/doc/en/Gnome.Vfs/Sync.xml b/doc/en/Gnome.Vfs/Sync.xml index 638b465f6..bcbccdfe1 100644 --- a/doc/en/Gnome.Vfs/Sync.xml +++ b/doc/en/Gnome.Vfs/Sync.xml @@ -1,11 +1,17 @@ + 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. @@ -59,14 +65,14 @@ namespace Test.Gnome.Vfs { - - System.Object - - + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -74,103 +80,147 @@ namespace Test.Gnome.Vfs { - Close file associated with . a + Close file associated with . a To be added - + + Method + + 2.24.0.0 + Gnome.Vfs.Handle - + - Create uri according to . - representing the to create. + 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 - + - Create according to . - for the file to create. + 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 - + - Open uri according to . - representing the to open. + to open. . + Open according to . a To be added - + + Method + + 2.24.0.0 + Gnome.Vfs.Handle - + - Open according to . - to open. + representing the to open. . + Open uri according to . a To be added + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -181,20 +231,24 @@ namespace Test.Gnome.Vfs { - Read specified number of bytes from the uri . 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 @@ -204,43 +258,23 @@ namespace Test.Gnome.Vfs { - Set the current position for reading/writing through . 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 - - Gnome.Vfs.Result - - - - - - - - - Write number of bytes from buffer byte array into the file pointed to be . - - of the file to write data to. - - array containing the data to be written. - number of bytes to write. - number of bytes actually written. - 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. - - + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -249,70 +283,86 @@ namespace Test.Gnome.Vfs { - Return the current position on . This is the point in the file pointed to by that reads and writes will occur on. 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 - + - Truncate the file represented by uri to the specified length. Data past the new length will be discarded. - - representation of . + + 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 - + - Truncate the file pointed at by to the specified length. Data past the new length will be discarded. - - to the file to be truncated. + + 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 - - + + + - Execute a backend dependent operation specified by the string operation. - a to the file to affect. - operation to execute. - data needed to execute the operation. + + 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 - 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. + 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. diff --git a/doc/en/Gnome.Vfs/Truncate.xml b/doc/en/Gnome.Vfs/Truncate.xml index 670bda6f1..d60b4213e 100644 --- a/doc/en/Gnome.Vfs/Truncate.xml +++ b/doc/en/Gnome.Vfs/Truncate.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -36,57 +50,69 @@ 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. @@ -95,8 +121,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Unescape.xml b/doc/en/Gnome.Vfs/Unescape.xml index c168e7fa2..aed2e54aa 100644 --- a/doc/en/Gnome.Vfs/Unescape.xml +++ b/doc/en/Gnome.Vfs/Unescape.xml @@ -1,60 +1,74 @@ + 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. 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. - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Unlink.xml b/doc/en/Gnome.Vfs/Unlink.xml index 9d70c170f..8797359bc 100644 --- a/doc/en/Gnome.Vfs/Unlink.xml +++ b/doc/en/Gnome.Vfs/Unlink.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -36,7 +50,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -53,8 +71,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Uri.xml b/doc/en/Gnome.Vfs/Uri.xml index f679174fa..2fec9dcda 100644 --- a/doc/en/Gnome.Vfs/Uri.xml +++ b/doc/en/Gnome.Vfs/Uri.xml @@ -1,101 +1,105 @@ + 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. - - Functions for manipulating Uris. - To be added - GLib.Opaque + + Functions for manipulating Uris. + To be added + - - - Method - - System.String - + + + + Constructor + + 2.24.0.0 + + - - + - Returns a full Uri given a full base Uri, and a secondary Uri which may be relative. - a - a - a + a + To be added To be added - - - Method - - 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 - - System.String - + + + + Constructor + + 2.24.0.0 + + - + - Translate the Uri into a printable string hiding the fields specified by . - hide the specified fields. - a + + representation of a Uri. + Create a new Uri instance from the representation. To be added - - + + + Method + + 2.24.0.0 + - System.String + Gnome.Vfs.Uri - + + + - 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. + 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 - + - Create a new Uri from relative_reference, relative to this Uri. - - representing a possibly relative Uri reference. + 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 @@ -103,31 +107,73 @@ - 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 + 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 + - + - 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 - a + 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 @@ -138,43 +184,80 @@ To be added - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Uri + System.String - - - + - 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 - a - To be added + 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.Boolean + System.String - - - - + - 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 - a flag to turn recursive check on. - a + 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 @@ -187,7 +270,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.FileInfo @@ -195,147 +282,206 @@ - Returns the for this Uri with the specified . for the metadata. + Returns the for this Uri with the specified . a To be added - - - Constructor - - - - + + + + Method + + 2.24.0.0 + + + System.Int32 + + - To be added - a - To be added + To be added. + To be added. + To be added. - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.String + - + - Create a new Uri instance from the representation. - - representation of a Uri. - To be added + a + Returns a local path for a file:/// Uri. + a + Only use with Uris. - - - Property + + + + Method + + 2.24.0.0 + System.String - + + + - Retrieve the Uris host name. - a + a + Returns a file:/// Uri for the local path. + a To be added - - + + + Property + + 2.24.0.0 + System.Boolean - Check if the Uri points to an existing entity. + Check if Uri has a parent or not. a To be added - - + + + Property + + 2.24.0.0 + - System.UInt32 + System.String - 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. + Retrieve the Uris host name. + a To be added - - + + + Property + + 2.24.0.0 + - System.String + System.UInt32 - Retrieve the full path name. - a + 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.String + System.Boolean - Retrieve the user name. - a + Check if the Uri is a local (native) file system. + a To be added - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Boolean - + + + + - Retrieve the optional fragment identifier. - a + 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 - - - Property + + + + Method + + 2.24.0.0 + System.String - + + + + - Retrieve the password. - a + 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 + - System.Boolean + Gnome.Vfs.MimeType - Check if the Uri is a local (native) file system. - a + The Uris . + a To be added - + + Property + + 2.24.0.0 + Gnome.Vfs.Uri @@ -346,183 +492,287 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + - System.Boolean + Gnome.Vfs.Uri[] - + + + - Check if Uri has a parent or not. - a + 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 scheme. + Retrieve the password. a To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.MimeType + System.String - The Uris . - a + Retrieve the full path name. + a To be added - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Uri + System.Void - + + + - Creates a duplicate of the Uri. - a - To be added + To be added. + To be added. + To be added. - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Uri[] + Gnome.Vfs.Uri - + - Extracts a list of Uris from a standard text/uri-list, such as one you would get on a drop operation. - a - a + + 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.Result + Gnome.Vfs.Uri - + - Truncate the Uri to be the specified length in bytes. Data past the specified length will be discarded. - length of the new file. - a + 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 - + + + + - Unlink this Uri (i.e. delete the file). + + 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 - - - Property + + + + Method + + 2.24.0.0 + - System.Int64 + System.String - Returns the amount of free space on a . - a - Only works for Uris with the file: . + To be added. + To be added. + To be added. - - + + + Method + + 2.24.0.0 + System.String - + - Returns a local path for a file:/// Uri. - a + hide the specified fields. + Translate the Uri into a printable string hiding the fields specified by . a - Only use with Uris. + To be added - - + + + Method + + 2.24.0.0 + - System.String + Gnome.Vfs.Result - + - Returns a file:/// Uri for the local path. - a - a + 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 - - - - + - Set file information; only the information for which the corresponding bit in is set is actually modified. - - information that must be set for the file. - - bitmask for which fields should actually be modified. + Unlink this Uri (i.e. delete the file). a To be added - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Uri + System.Void - + - To be added. + To be added. 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: . diff --git a/doc/en/Gnome.Vfs/UriHideOptions.xml b/doc/en/Gnome.Vfs/UriHideOptions.xml index 14be5b48c..cfa34aebf 100644 --- a/doc/en/Gnome.Vfs/UriHideOptions.xml +++ b/doc/en/Gnome.Vfs/UriHideOptions.xml @@ -1,15 +1,13 @@ + 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. - - Enumeration indicating which parts of a should be hidden when translated to a . - To be added - System.Enum @@ -18,75 +16,103 @@ 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 - don't hide anything. + hide the fragment identifier. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.UriHideOptions - hide the user name. + hide the host name. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.UriHideOptions - hide the password. + hide the host port. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.UriHideOptions - hide the host name. + don't hide anything. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.UriHideOptions - hide the host port. + hide the password. To be added + Field + + 2.24.0.0 + Gnome.Vfs.UriHideOptions @@ -97,16 +123,20 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.UriHideOptions - hide the fragment identifier. + hide the user name. To be added diff --git a/doc/en/Gnome.Vfs/Url.xml b/doc/en/Gnome.Vfs/Url.xml index f4b187429..97c7b1f92 100644 --- a/doc/en/Gnome.Vfs/Url.xml +++ b/doc/en/Gnome.Vfs/Url.xml @@ -1,17 +1,27 @@ + 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. @@ -20,7 +30,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -36,7 +50,11 @@ + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -53,8 +71,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Vfs.xml b/doc/en/Gnome.Vfs/Vfs.xml index af00b09b5..f23e3b079 100644 --- a/doc/en/Gnome.Vfs/Vfs.xml +++ b/doc/en/Gnome.Vfs/Vfs.xml @@ -1,23 +1,49 @@ + 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. - - Common VFS tasks, including initialization & shutdown of the GNOME Virtual File System. - To be added - 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 @@ -28,9 +54,30 @@ 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 @@ -40,17 +87,21 @@ - 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. 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 @@ -58,15 +109,35 @@ - Returns a string representation of , useful for debugging purposes, but probably not appropriate for passing to the user. 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 @@ -74,14 +145,18 @@ - Throws a with the appropriate description if the is not . a + Throws a with the appropriate description if the is not . To be added + Method + + 2.24.0.0 + System.Void @@ -90,17 +165,21 @@ - Throws a with the appropriate description if the is not . 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 @@ -109,54 +188,13 @@ - Throws a with the appropriate description if the is not . 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. - - - Property - - System.Boolean - - - - Returns whether Gnome.Vfs has already been initialized. - a - Gnome.Vfs must be initialized prior to using any methods or operations. - - - - - Method - - System.Void - - - - Cease all active Gnome.Vfs operations and unload the Mime database from memory. - To be added - - - - - Method - - System.String - - - - - - 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 - a - To be added - - diff --git a/doc/en/Gnome.Vfs/VfsException.xml b/doc/en/Gnome.Vfs/VfsException.xml index ad2baf0c5..328f1f72f 100644 --- a/doc/en/Gnome.Vfs/VfsException.xml +++ b/doc/en/Gnome.Vfs/VfsException.xml @@ -1,38 +1,48 @@ + 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. - - Custom Vfs class. - To be added - System.Exception + + Custom Vfs class. + To be added + + Constructor + + 2.24.0.0 + - Create a new VfsException based on the specified . return value from an operation. + Create a new VfsException based on the specified . To be added - + + Property + + 2.24.0.0 + Gnome.Vfs.Result diff --git a/doc/en/Gnome.Vfs/VfsStream.xml b/doc/en/Gnome.Vfs/VfsStream.xml index e2ac10c5e..638f7399f 100644 --- a/doc/en/Gnome.Vfs/VfsStream.xml +++ b/doc/en/Gnome.Vfs/VfsStream.xml @@ -1,11 +1,18 @@ + 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. @@ -14,32 +21,35 @@ 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. - - System.IO.Stream - - - + Constructor + + 2.24.0.0 + - Construct a new instance of the VfsStream with the specified . 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 + @@ -47,18 +57,197 @@ - Construct a new instance of the VfsStream with the specified . Based the async parameter, the file will be accessed (a)synchronously. 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 @@ -70,9 +259,127 @@ 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 @@ -83,5 +390,47 @@ 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. + + diff --git a/doc/en/Gnome.Vfs/VfsStreamAsyncResult.xml b/doc/en/Gnome.Vfs/VfsStreamAsyncResult.xml index 01ff1f4fa..84147521f 100644 --- a/doc/en/Gnome.Vfs/VfsStreamAsyncResult.xml +++ b/doc/en/Gnome.Vfs/VfsStreamAsyncResult.xml @@ -1,11 +1,21 @@ + 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. @@ -20,18 +30,14 @@ while (!asyncResult.IsCompleted) { - - System.Object - - - - System.IAsyncResult - - - + + Property + + 2.24.0.0 + System.Object @@ -43,8 +49,12 @@ while (!asyncResult.IsCompleted) { - + + Property + + 2.24.0.0 + System.Threading.WaitHandle @@ -56,8 +66,12 @@ while (!asyncResult.IsCompleted) { - + + Property + + 2.24.0.0 + System.Boolean @@ -69,8 +83,12 @@ while (!asyncResult.IsCompleted) { - + + Property + + 2.24.0.0 + System.Exception @@ -82,8 +100,12 @@ while (!asyncResult.IsCompleted) { - + + Property + + 2.24.0.0 + System.Boolean @@ -95,8 +117,12 @@ while (!asyncResult.IsCompleted) { - + + Property + + 2.24.0.0 + System.Int32 diff --git a/doc/en/Gnome.Vfs/Volume.xml b/doc/en/Gnome.Vfs/Volume.xml index 6ea821d63..32a2c8083 100644 --- a/doc/en/Gnome.Vfs/Volume.xml +++ b/doc/en/Gnome.Vfs/Volume.xml @@ -1,120 +1,154 @@ + 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. - - Abstraction for a mounted file system or a network location. - To be added - GLib.Object + + Abstraction for a mounted file system or a network location. + To be added + - - - Method - - System.Int32 - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - a - a To be added + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.24.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. - - - Constructor - + + + + Property + + 2.24.0.0 + + + System.String + - To be added + The which represents this Volume (i.e. file:///media/cdrecorder). + a To be added - - - Property + + + + Method + + 2.24.0.0 + - GLib.GType + System.Int32 - + + + - GType Property. - a - Returns the native value for . + a + To be added + a + To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.Drive + System.String - Returns the on which this Volume resides. - a + The location of the actual device if applicable (i.e. /dev/hdc). + a To be added - - + + + Property + + 2.24.0.0 + - System.String + Gnome.Vfs.DeviceType - The type of the file system (i.e. ext3). - a + The type of device this Volume represents. + a To be added - + + Property + + 2.24.0.0 + System.String @@ -125,113 +159,167 @@ To be added - - + + + Property + + 2.24.0.0 + - System.String + Gnome.Vfs.Drive - The icon name used to represent this Volume. - a + 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.UInt64 + System.String - Internal Volume Id. - a + The type of the file system (i.e. ext3). + a To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + GLib.GType - Returns whether the Volume is mounted. - a - To be added + GType Property. + a + Returns the native value for . - - + + + Property + + 2.24.0.0 + System.String - - The which represents this Volume (i.e. file:///media/cdrecorder). - a - To be added + To be added. + To be added. + To be added. - - + + + Property + + 2.24.0.0 + - System.String + System.Boolean - The location of the actual device if applicable (i.e. /dev/hdc). - a + Returns whether this Volume supports handling trash items. + a To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.VolumeType + System.String - Returns the type of Volume. - a + The icon name used to represent this Volume. + a To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + System.UInt64 - Returns whether the Volume should be visible to the user. - a + Internal Volume Id. + a To be added - - + + + Property + + 2.24.0.0 + System.Boolean - Returns whether this Volume supports handling trash items. + Returns whether the Volume is mounted. a To be added - + + Property + + 2.24.0.0 + System.Boolean @@ -242,37 +330,30 @@ To be added - - + + + Property + + 2.24.0.0 + - Gnome.Vfs.DeviceType + System.Boolean - The type of device this Volume represents. - a + Returns whether the Volume should be visible to the user. + a To be added - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - + Method + + 2.24.0.0 + System.Void @@ -285,16 +366,21 @@ To be added. - - + + + Property + + 2.24.0.0 + - System.String + Gnome.Vfs.VolumeType + - To be added. - To be added. - To be added. + Returns the type of Volume. + a + To be added diff --git a/doc/en/Gnome.Vfs/VolumeMonitor.xml b/doc/en/Gnome.Vfs/VolumeMonitor.xml index a6b6fb494..5f8d9dd08 100644 --- a/doc/en/Gnome.Vfs/VolumeMonitor.xml +++ b/doc/en/Gnome.Vfs/VolumeMonitor.xml @@ -1,11 +1,18 @@ + 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. @@ -39,119 +46,143 @@ In order to use, you need to execute the static method - - Method - - Gnome.Vfs.VolumeMonitor - + + + + Constructor + + 2.24.0.0 + + - 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 To be added - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a + Internal constructor + This is not typically used by C# code. - - - Method + + + + Property + + 2.24.0.0 + - System.Void + Gnome.Vfs.Drive[] - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Returns an array of connected s. + a + To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("drive_connected") + + - System.Void + Gnome.Vfs.DriveConnectedHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a new was connected. + To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("drive_disconnected") + + - System.Void + Gnome.Vfs.DriveDisconnectedHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a was disconnected. + To be added - - + + + Method + + 2.24.0.0 + - Gnome.Vfs.Volume + Gnome.Vfs.VolumeMonitor - - - + - Looks for a which contains . - a - a + 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 @@ -159,15 +190,19 @@ In order to use, you need to execute the static method - Looks for a whose id is . a + Looks for a whose id is . a To be added + Method + + 2.24.0.0 + Gnome.Vfs.Volume @@ -175,56 +210,39 @@ In order to use, you need to execute the static method - Looks for a whose id is . a + Looks for a whose id is . 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 - - - - - - Constructor - + + + + Method + + 2.24.0.0 + + + Gnome.Vfs.Volume + - + - Internal constructor - a - This is not typically used by C# code. - - - - - Constructor - - - - To be added + a + Looks for a which contains . + a To be added - + + Property + + 2.24.0.0 + GLib.GType @@ -235,77 +253,155 @@ In order to use, you need to execute the static method value for . - - - Event + + + + Property + + 2.24.0.0 + - Gnome.Vfs.VolumePreUnmountHandler + Gnome.Vfs.Volume[] - a is about to be unmounted. + Returns an array of mounted s. + a To be added + + + + + Method + + 2.24.0.0 + - GLib.Signal("volume_pre_unmount") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveConnected", Type=typeof(Gnome.Vfs.VolumeMonitor)) - - - - Event - Gnome.Vfs.DriveDisconnectedHandler + System.Void - + + + - a was disconnected. - To be added + 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.Signal("drive_disconnected") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveDisconnected", Type=typeof(Gnome.Vfs.VolumeMonitor)) - - - - Event - Gnome.Vfs.VolumeUnmountedHandler + System.Void - + + + - a was unmounted. - To be added + 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.Signal("volume_unmounted") + 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. + - - - Event + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumePreUnmount", Type=typeof(Gnome.Vfs.VolumeMonitor)) + + - Gnome.Vfs.DriveConnectedHandler + System.Void - + + + - a new was connected. - To be added + 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.Signal("drive_connected") + 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 @@ -314,35 +410,46 @@ In order to use, you need to execute the static method was mounted. To be added + + + + + Event + + 2.24.0.0 + - GLib.Signal("volume_mounted") + GLib.Signal("volume_pre_unmount") - - - - Property - Gnome.Vfs.Drive[] + Gnome.Vfs.VolumePreUnmountHandler - Returns an array of connected s. - a + a is about to be unmounted. To be added - - - Property + + + + Event + + 2.24.0.0 + + + + GLib.Signal("volume_unmounted") + + - Gnome.Vfs.Volume[] + Gnome.Vfs.VolumeUnmountedHandler - Returns an array of mounted s. - a + a was unmounted. To be added diff --git a/doc/en/Gnome.Vfs/VolumeMountedArgs.xml b/doc/en/Gnome.Vfs/VolumeMountedArgs.xml index bc5fba8cc..98db2330b 100644 --- a/doc/en/Gnome.Vfs/VolumeMountedArgs.xml +++ b/doc/en/Gnome.Vfs/VolumeMountedArgs.xml @@ -1,11 +1,17 @@ + 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. @@ -26,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -42,8 +48,12 @@ - + + Property + + 2.24.0.0 + Gnome.Vfs.Volume diff --git a/doc/en/Gnome.Vfs/VolumeMountedHandler.xml b/doc/en/Gnome.Vfs/VolumeMountedHandler.xml index 80d91656e..55ddd7241 100644 --- a/doc/en/Gnome.Vfs/VolumeMountedHandler.xml +++ b/doc/en/Gnome.Vfs/VolumeMountedHandler.xml @@ -1,11 +1,23 @@ + 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. @@ -30,15 +42,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gnome.Vfs/VolumeOpCallback.xml b/doc/en/Gnome.Vfs/VolumeOpCallback.xml index 4f494ac5c..b87b73276 100644 --- a/doc/en/Gnome.Vfs/VolumeOpCallback.xml +++ b/doc/en/Gnome.Vfs/VolumeOpCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/VolumePreUnmountArgs.xml b/doc/en/Gnome.Vfs/VolumePreUnmountArgs.xml index 441aa2dc8..c5a22cd41 100644 --- a/doc/en/Gnome.Vfs/VolumePreUnmountArgs.xml +++ b/doc/en/Gnome.Vfs/VolumePreUnmountArgs.xml @@ -1,11 +1,17 @@ + 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. @@ -26,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -42,8 +48,12 @@ - + + Property + + 2.24.0.0 + Gnome.Vfs.Volume diff --git a/doc/en/Gnome.Vfs/VolumePreUnmountHandler.xml b/doc/en/Gnome.Vfs/VolumePreUnmountHandler.xml index 4b688fb6e..e3ea7ad42 100644 --- a/doc/en/Gnome.Vfs/VolumePreUnmountHandler.xml +++ b/doc/en/Gnome.Vfs/VolumePreUnmountHandler.xml @@ -1,11 +1,23 @@ + 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. @@ -30,15 +42,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gnome.Vfs/VolumeType.xml b/doc/en/Gnome.Vfs/VolumeType.xml index f39356a99..e1f42db10 100644 --- a/doc/en/Gnome.Vfs/VolumeType.xml +++ b/doc/en/Gnome.Vfs/VolumeType.xml @@ -1,55 +1,69 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.VolumeType - a Volume with a local mountpoint. + a Volume obtained via the "Connect To Server" function of Nautilus. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.VolumeType - a Volume mounted via Gnome.Vfs directly. + a Volume with a local mountpoint. To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.VolumeType - a Volume obtained via the "Connect To Server" function of Nautilus. + a Volume mounted via Gnome.Vfs directly. To be added diff --git a/doc/en/Gnome.Vfs/VolumeUnmountedArgs.xml b/doc/en/Gnome.Vfs/VolumeUnmountedArgs.xml index 63ba6e36a..bb65d41ea 100644 --- a/doc/en/Gnome.Vfs/VolumeUnmountedArgs.xml +++ b/doc/en/Gnome.Vfs/VolumeUnmountedArgs.xml @@ -1,11 +1,17 @@ + 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. @@ -26,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -42,8 +48,12 @@ - + + Property + + 2.24.0.0 + Gnome.Vfs.Volume diff --git a/doc/en/Gnome.Vfs/VolumeUnmountedHandler.xml b/doc/en/Gnome.Vfs/VolumeUnmountedHandler.xml index 6fdde0e07..f51f88349 100644 --- a/doc/en/Gnome.Vfs/VolumeUnmountedHandler.xml +++ b/doc/en/Gnome.Vfs/VolumeUnmountedHandler.xml @@ -1,11 +1,23 @@ + 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. @@ -30,15 +42,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gnome.Vfs/XdgAliasList.xml b/doc/en/Gnome.Vfs/XdgAliasList.xml index e1dbd32b7..e2b29e219 100644 --- a/doc/en/Gnome.Vfs/XdgAliasList.xml +++ b/doc/en/Gnome.Vfs/XdgAliasList.xml @@ -1,17 +1,27 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,8 +32,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/XdgMimeCache.xml b/doc/en/Gnome.Vfs/XdgMimeCache.xml index 6a442e17b..31c08b67e 100644 --- a/doc/en/Gnome.Vfs/XdgMimeCache.xml +++ b/doc/en/Gnome.Vfs/XdgMimeCache.xml @@ -1,17 +1,28 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + + Constructor + + 2.24.0.0 + @@ -22,9 +33,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gnome.Vfs/XdgMimeCallback.xml b/doc/en/Gnome.Vfs/XdgMimeCallback.xml index 35c283675..6d45a5592 100644 --- a/doc/en/Gnome.Vfs/XdgMimeCallback.xml +++ b/doc/en/Gnome.Vfs/XdgMimeCallback.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/XdgMimeDestroy.xml b/doc/en/Gnome.Vfs/XdgMimeDestroy.xml index ccb86b635..764688d02 100644 --- a/doc/en/Gnome.Vfs/XdgMimeDestroy.xml +++ b/doc/en/Gnome.Vfs/XdgMimeDestroy.xml @@ -1,8 +1,10 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome.Vfs/XdgParentList.xml b/doc/en/Gnome.Vfs/XdgParentList.xml index 93f863de2..b9c649494 100644 --- a/doc/en/Gnome.Vfs/XdgParentList.xml +++ b/doc/en/Gnome.Vfs/XdgParentList.xml @@ -1,17 +1,27 @@ + gnome-vfs-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,8 +32,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome.Vfs/Xfer.xml b/doc/en/Gnome.Vfs/Xfer.xml index c0980735e..518866e1f 100644 --- a/doc/en/Gnome.Vfs/Xfer.xml +++ b/doc/en/Gnome.Vfs/Xfer.xml @@ -1,49 +1,69 @@ + 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. - - To be added - To be added - 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 a - a - a a - a + a a + To be added a To be added + Method + + 2.24.0.0 + Gnome.Vfs.Result @@ -56,46 +76,44 @@ - To be added a a a a a a + To be added a To be added - - + + + Method + + 2.24.0.0 + Gnome.Vfs.Result - + + + - To be added a - a + a a + a + a a - a - To be added - - - - - Constructor - - - To be added + a To be added diff --git a/doc/en/Gnome.Vfs/XferErrorAction.xml b/doc/en/Gnome.Vfs/XferErrorAction.xml index 060af1bd7..cc18f77a5 100644 --- a/doc/en/Gnome.Vfs/XferErrorAction.xml +++ b/doc/en/Gnome.Vfs/XferErrorAction.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - + Field + + 2.24.0.0 + Gnome.Vfs.XferErrorAction @@ -29,7 +35,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferErrorAction @@ -42,7 +52,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferErrorAction diff --git a/doc/en/Gnome.Vfs/XferErrorMode.xml b/doc/en/Gnome.Vfs/XferErrorMode.xml index d934fb321..0130b1a50 100644 --- a/doc/en/Gnome.Vfs/XferErrorMode.xml +++ b/doc/en/Gnome.Vfs/XferErrorMode.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - + Field + + 2.24.0.0 + Gnome.Vfs.XferErrorMode @@ -29,7 +35,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferErrorMode diff --git a/doc/en/Gnome.Vfs/XferOptions.xml b/doc/en/Gnome.Vfs/XferOptions.xml index b882f658b..c7ba0f1ef 100644 --- a/doc/en/Gnome.Vfs/XferOptions.xml +++ b/doc/en/Gnome.Vfs/XferOptions.xml @@ -1,15 +1,13 @@ + 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. - - To be added - To be added - System.Enum @@ -18,10 +16,18 @@ System.Flags + + To be added + To be added + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -32,9 +38,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -45,9 +55,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -58,9 +72,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -71,9 +89,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -84,9 +106,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -97,9 +123,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -110,9 +140,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -123,9 +157,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -136,9 +174,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -149,22 +191,28 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions - - - To be added - To be added + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -175,9 +223,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions @@ -188,15 +240,21 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferOptions + + - To be added. - + To be added + To be added diff --git a/doc/en/Gnome.Vfs/XferOverwriteAction.xml b/doc/en/Gnome.Vfs/XferOverwriteAction.xml index 151e95790..ec6cf6a5e 100644 --- a/doc/en/Gnome.Vfs/XferOverwriteAction.xml +++ b/doc/en/Gnome.Vfs/XferOverwriteAction.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteAction @@ -29,7 +35,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteAction @@ -42,7 +52,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteAction @@ -55,7 +69,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteAction @@ -68,7 +86,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteAction diff --git a/doc/en/Gnome.Vfs/XferOverwriteMode.xml b/doc/en/Gnome.Vfs/XferOverwriteMode.xml index 979a0a3ee..c44160979 100644 --- a/doc/en/Gnome.Vfs/XferOverwriteMode.xml +++ b/doc/en/Gnome.Vfs/XferOverwriteMode.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteMode @@ -29,7 +35,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteMode @@ -42,7 +52,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteMode @@ -55,7 +69,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferOverwriteMode diff --git a/doc/en/Gnome.Vfs/XferPhase.xml b/doc/en/Gnome.Vfs/XferPhase.xml index f3da73ef9..3dbebc3e1 100644 --- a/doc/en/Gnome.Vfs/XferPhase.xml +++ b/doc/en/Gnome.Vfs/XferPhase.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -27,9 +33,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -40,9 +50,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -53,9 +67,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -66,9 +84,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -79,9 +101,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -92,9 +118,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -105,9 +135,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -118,9 +152,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -131,9 +169,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -144,9 +186,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -157,9 +203,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -170,9 +220,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -183,9 +237,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -196,9 +254,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -209,9 +271,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -222,9 +288,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase @@ -235,9 +305,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferPhase diff --git a/doc/en/Gnome.Vfs/XferProgressCallback.xml b/doc/en/Gnome.Vfs/XferProgressCallback.xml index bae8eef0d..f0e6fd56c 100644 --- a/doc/en/Gnome.Vfs/XferProgressCallback.xml +++ b/doc/en/Gnome.Vfs/XferProgressCallback.xml @@ -1,25 +1,27 @@ + 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. - - To be added. - To be added - To be added - To be added. - System.Delegate - - - System.Int32 - + + System.Int32 + + + To be added. + To be added + To be added. + To be added + + diff --git a/doc/en/Gnome.Vfs/XferProgressInfo.xml b/doc/en/Gnome.Vfs/XferProgressInfo.xml index 9e97c40ab..1713f56bc 100644 --- a/doc/en/Gnome.Vfs/XferProgressInfo.xml +++ b/doc/en/Gnome.Vfs/XferProgressInfo.xml @@ -1,25 +1,31 @@ + 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. - - To be added - To be added - System.ValueType + + To be added + To be added + - - + + + Field + + 2.24.0.0 + - Gnome.Vfs.XferProgressInfo + System.Int64 @@ -28,11 +34,15 @@ To be added - - + + + Field + + 2.24.0.0 + - Gnome.Vfs.XferProgressStatus + System.Int64 @@ -41,11 +51,15 @@ To be added - - + + + Field + + 2.24.0.0 + - Gnome.Vfs.Result + System.Int32 @@ -54,11 +68,15 @@ To be added - - + + + Field + + 2.24.0.0 + - Gnome.Vfs.XferPhase + System.String @@ -67,24 +85,32 @@ To be added - - - Field + + + + Property + + 2.24.0.0 + - System.String + System.UInt64 - - + To be added + a To be added - - + + + Field + + 2.24.0.0 + - System.String + System.Int64 @@ -93,37 +119,52 @@ To be added - - - Field + + + + Property + + 2.24.0.0 + - System.String + System.UInt64 - - + To be added + a To be added - - - Field + + + + Method + + 2.24.0.0 + - System.Int32 + Gnome.Vfs.XferProgressInfo + + a To be added + a To be added - - + + + Field + + 2.24.0.0 + - System.Boolean + Gnome.Vfs.XferPhase @@ -132,53 +173,66 @@ To be added - - - Method + + + + Field + + 2.24.0.0 + - Gnome.Vfs.XferProgressInfo + System.String - To be added - a - a To be added - - - Property + + + + Field + + 2.24.0.0 + - System.UInt64 + Gnome.Vfs.XferProgressStatus - + + To be added - a To be added - - - Property + + + + Field + + 2.24.0.0 + - System.UInt64 + System.String - + + To be added - a To be added - - + + + Field + + 2.24.0.0 + - System.Int64 + System.Boolean @@ -187,9 +241,13 @@ To be added - - + + + Field + + 2.24.0.0 + System.Int64 @@ -200,11 +258,15 @@ To be added - - + + + Field + + 2.24.0.0 + - System.Int64 + Gnome.Vfs.Result @@ -213,11 +275,15 @@ To be added - - + + + Field + + 2.24.0.0 + - System.Int64 + Gnome.Vfs.XferProgressInfo diff --git a/doc/en/Gnome.Vfs/XferProgressStatus.xml b/doc/en/Gnome.Vfs/XferProgressStatus.xml index 67dad444d..513d3fa6e 100644 --- a/doc/en/Gnome.Vfs/XferProgressStatus.xml +++ b/doc/en/Gnome.Vfs/XferProgressStatus.xml @@ -1,22 +1,28 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferProgressStatus @@ -27,9 +33,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferProgressStatus @@ -42,7 +52,11 @@ + Field + + 2.24.0.0 + Gnome.Vfs.XferProgressStatus @@ -53,9 +67,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.Vfs.XferProgressStatus diff --git a/doc/en/Gnome/About.xml b/doc/en/Gnome/About.xml index ac9c47473..3672a95c4 100644 --- a/doc/en/Gnome/About.xml +++ b/doc/en/Gnome/About.xml @@ -1,12 +1,24 @@ + 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. @@ -81,97 +93,146 @@ class GnomeAboutSample - - Gtk.Dialog - - - - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - - - - - - - + - Construct a credits box for an . - a - a - a - a - a - a - a - a - The array cannot be empty. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property - - System.String - + + + + Constructor + + 2.24.0.0 + + + + + + + + + - The name of the application. - an object of type - + 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("name") + GLib.Property("comments") - - - - Property System.String - The translator for the current locale. + 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("translator_credits") + GLib.Property("copyright") - - - - Property System.String @@ -182,15 +243,36 @@ class GnomeAboutSample 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("copyright") + GLib.Property("logo") - - - - Property Gdk.Pixbuf @@ -201,111 +283,75 @@ class GnomeAboutSample an object of type + + + + + Property + + 2.24.0.0 + - GLib.Property("logo") + GLib.Property("name") - - - - Property System.String - The version string of the application. + The name of the application. an object of type + + + + + Property + + 2.24.0.0 + - GLib.Property("version") + GLib.Property("translator_credits") - - - - Property System.String - A short miscellaneous string. + The translator for the current locale. an object of type - - - GLib.Property("comments") - - - - + + + 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. - + + 2.24.0.0 + - System.Obsolete + GLib.Property("version") - - - - Constructor + + System.String + - - - - - - - - - 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. + The version string of the application. + an object of type + - - - System.Obsolete - - diff --git a/doc/en/Gnome/App.xml b/doc/en/Gnome/App.xml index c1de43235..df7a284cd 100644 --- a/doc/en/Gnome/App.xml +++ b/doc/en/Gnome/App.xml @@ -1,241 +1,257 @@ + 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. - - 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 ). - 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 ). + - - - Method - - System.Void - - - - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - an object of type - an object of type - an object of type - an object of type To be added - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - + - To be added - an object of type - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - - + - To be added - an object of type - an object of type - an object of type - To be added + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - - - - + + - To be added - 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 + an object of type + Creates a new instance. + + - - - Method + + + + Property + + 2.24.0.0 + - System.Void + Gtk.AccelGroup - - - - + - To be added - an object of type - an object of type - To be added + The 's + a + + + - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("app_id") + + - System.Void + System.String - - - - - - - - + To be added - an object of type - an object of type - an object of type - an object of type - an object of type - an object of type + a To be added + - - + + + Method + + 2.24.0.0 + System.Void - - - - + + + an object of type + an object of type To be added - an object of type - an object of type - an object of type - an object of type To be added - - - Method + + + + Property + + 2.24.0.0 + - System.String + Gtk.Widget - - To be added - an object of type - an object of type - To be added + The content area of the main window of the . + an object of type + + + - - + + + Method + + 2.24.0.0 + System.Void - - To be added - an object of type an object of type + To be added To be added - - + + + Method + + 2.24.0.0 + System.Void - - - - - To be added - 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 - + + - To be added - an object of type - an object of type - 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 @@ -246,36 +262,42 @@ - To be added 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 - an object of type - an object of type - an object of type To be added + Method + + 2.24.0.0 + System.Void @@ -283,435 +305,556 @@ - To be added an object of type + To be added To be added - - + + + Method + + 2.24.0.0 + System.Void + - To be added 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 + + + + + + - To be added 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 To be added - an object of type - an object of type To be added - - + + + Method + + 2.24.0.0 + System.Void - - + - To be added - an object of type - an object of type + 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 + - + + + - To be added + 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 - + + + + - To be added - 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 + 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 - an object of type - an object of type To be added - - + + + Method + + 2.24.0.0 + System.Void - - + + + - Sets the of the application window, but uses as its container. - 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 + + - To be added + 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 - an object of type - an object of type - an object of type - an object of type - an object of type To be added - - + + + Method + + 2.24.0.0 + - System.Void + Gtk.Widget - + + + + a + a + a To be added - an object of type + 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.Void + System.String - - - - + + an object of type To be added - an object of type - an object of type - an object of type - an object of type + an object of type To be added - - + + + Method + + 2.24.0.0 + System.Void - + + - Specify whether should automatically save the dock's layout configuration via gnome-config whenever it changes or not. - 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 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 - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + - + + + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - - - - Creates a new instance. - an object of type - an object of type - - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.24.0.0 + + + + System.Obsolete("Replaced by overload with no IntPtr arg") + + - Gtk.Toolbar + System.Void + + + + + - Sets the main toolbar of the application window. - 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 - - - Property + + + + Method + + 2.24.0.0 + - Gtk.Widget + System.Void + + + - The content area of the main window of the . - an object of type - - - + an object of type + an object of type + an object of type + To be added + To be added - - - Property + + + + Method + + 2.24.0.0 + - Gtk.MenuBar + System.Void + + - Sets the of the application window. - an object of type - - - + an object of type + an object of type + To be added + To be added - - - Property + + + + Method + + 2.24.0.0 + - Gtk.Widget + System.Void + - The status bar of the application window. - an object of type - - - - - - - - Property - - System.String - - - + an object of type To be added - a To be added - - - - GLib.Property("app_id") - - - - + + + Method + + 2.24.0.0 + - Gtk.Widget + System.Void - - - + + + an object of type + an object of type To be added - a - a - a - a To be added - - + + + Property + + 2.24.0.0 + - GLib.GType + Gtk.MenuBar - - - 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 + Sets the of the application window. + an object of type + + + - + + Property + + 2.24.0.0 + System.String @@ -725,8 +868,12 @@ - + + Property + + 2.24.0.0 + System.String @@ -739,78 +886,128 @@ - - - Property + + + + Method + + 2.24.0.0 + - Gtk.AccelGroup + System.Void - + + + + + - The 's - a - - - + 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. + 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. + 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 - - - To be added. - To be added. - To be added. - To be added. - To be added. + an object of type + To be added + To be added diff --git a/doc/en/Gnome/AppBar.xml b/doc/en/Gnome/AppBar.xml index 03d2e8cc2..c87f83bc1 100644 --- a/doc/en/Gnome/AppBar.xml +++ b/doc/en/Gnome/AppBar.xml @@ -1,130 +1,60 @@ + 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. - - 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. - 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. + - - - Method - - System.Void - - - - Remove all status messages from , and display default status message (if present). - - - - - - - Method - - System.Void - - - - Remove current status message, and display previous status message, if any. - It is fine to call this with an empty stack. - - - - - Method - - System.Void - - - - Remove any prompt from the . - - - - - - - Method - - System.Void - - - - - - Push a new status message onto the stack and display it. - an object of type - - - - - - - Method - - 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. - - - - - Method - - System.Void - - - - - - - Put a prompt in the appbar and wait for a response. - an object of type - an object of type - When the user responds or cancels, a signal is emitted. - - - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - + - To be added - an object of type - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -132,7 +62,11 @@ + Constructor + + 2.24.0.0 + @@ -140,56 +74,55 @@ - Creates a new instance. an object of type an object of type an object of type + Creates a new instance. - - - Property - - System.String - - - Get the response to the prompt, if any. - an object of type - - - - - - - Property + + + + Method + + 2.24.0.0 + - Gtk.Widget + System.Void + - Retrieves the widget. - an object of type + Remove any prompt from the . - - - Property + + + + Method + + 2.24.0.0 + - Gtk.ProgressBar + System.Void + - Retrieves the widget for further manipulation. - an object of type + Remove all status messages from , and display default status message (if present). - + + Property + + 2.24.0.0 + System.String @@ -202,168 +135,339 @@ - - + + + Property + + 2.24.0.0 + - System.Single + GLib.GType - - + - Sets progress bar to . - an object of type - - + GType Property. + a + Returns the native value for . - - + + + Property + + 2.24.0.0 + + + + GLib.Property("has_progress") + + - Gnome.PreferencesType + System.Boolean - Whether or not the user can edit the text in the portion of a instance. - an object of type + Whether or not the contains a . + an object of type + + + + + Property + + 2.24.0.0 + - GLib.Property("interactivity") + GLib.Property("has_status") - - - - Property System.Boolean - Whether or not the contains a . + Whether or not the contains a . an object of type + + + + + Property + + 2.24.0.0 + - GLib.Property("has_progress") + GLib.Property("interactivity") - - - - Property - System.Boolean + Gnome.PreferencesType - Whether or not the contains a . - an object of type + 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.Property("has_status") + GLib.DefaultSignalHandler(ConnectionMethod="OverridePromptCleared", Type=typeof(Gnome.AppBar)) - - - - Event - System.EventHandler + System.Void - Emitted when the prompt is cleared. - - + 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.Signal("clear_prompt") + 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. + - - - Event + + + + Method + + 2.24.0.0 + - System.EventHandler + System.Void - Emitted when the user responds to an that is interactive. + 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("user_response") + GLib.Signal("clear_prompt") - - - - Property - GLib.GType + System.EventHandler - GType Property. - a - Returns the native value for . + Emitted when the prompt is cleared. + + - - + + + Method + + 2.24.0.0 + System.Void - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + an object of type + Push a new status message onto the stack and display it. + + - - + + + Method + + 2.24.0.0 + System.Void - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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. - - - Constructor - + + + + 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 + - + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + GLib.Signal("user_response") + + System.EventHandler + + + + Emitted when the user responds to an that is interactive. + + + diff --git a/doc/en/Gnome/AppBarMsg.xml b/doc/en/Gnome/AppBarMsg.xml index 9ab126d8f..f19a412b0 100644 --- a/doc/en/Gnome/AppBarMsg.xml +++ b/doc/en/Gnome/AppBarMsg.xml @@ -1,32 +1,38 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gnome/Authentication.xml b/doc/en/Gnome/Authentication.xml index 312cdf6d5..a6d045cb2 100644 --- a/doc/en/Gnome/Authentication.xml +++ b/doc/en/Gnome/Authentication.xml @@ -1,51 +1,65 @@ + 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.Void + System.Boolean To be added. + To be added. To be added. - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void To be added. - To be added. To be added. - - To be added. - To be added. - diff --git a/doc/en/Gnome/BackClickedArgs.xml b/doc/en/Gnome/BackClickedArgs.xml index 79ad04154..b3a48b9da 100644 --- a/doc/en/Gnome/BackClickedArgs.xml +++ b/doc/en/Gnome/BackClickedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gtk.Widget diff --git a/doc/en/Gnome/BackClickedHandler.xml b/doc/en/Gnome/BackClickedHandler.xml index 7c1a12e9b..dffc14d61 100644 --- a/doc/en/Gnome/BackClickedHandler.xml +++ b/doc/en/Gnome/BackClickedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/BonoboUIVerb.xml b/doc/en/Gnome/BonoboUIVerb.xml index 4fbd6f6f2..a01769c7d 100644 --- a/doc/en/Gnome/BonoboUIVerb.xml +++ b/doc/en/Gnome/BonoboUIVerb.xml @@ -1,33 +1,39 @@ + 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 - - System.ValueType - - + Constructor + + 2.24.0.0 + - To be added a a + To be added To be added diff --git a/doc/en/Gnome/CancelClickedArgs.xml b/doc/en/Gnome/CancelClickedArgs.xml index 040915974..e84dd1421 100644 --- a/doc/en/Gnome/CancelClickedArgs.xml +++ b/doc/en/Gnome/CancelClickedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gtk.Widget diff --git a/doc/en/Gnome/CancelClickedHandler.xml b/doc/en/Gnome/CancelClickedHandler.xml index 30fc281c8..4923278d7 100644 --- a/doc/en/Gnome/CancelClickedHandler.xml +++ b/doc/en/Gnome/CancelClickedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/Canvas.xml b/doc/en/Gnome/Canvas.xml index 8b6faf6a9..cda8b2b38 100644 --- a/doc/en/Gnome/Canvas.xml +++ b/doc/en/Gnome/Canvas.xml @@ -1,12 +1,19 @@ + 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 @@ -104,159 +111,150 @@ - - Gtk.Layout - - - - - - Method - - System.Void - - - - - - - - + + + + Constructor + + 2.24.0.0 + + + - Sets the bounding box to the new value, requesting full repaint. - 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 + 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. + - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - - - - - - - - - + - Computes the butt points of a line segment. - 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 - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Boolean - + + + + Constructor + + 2.24.0.0 + - - - - - - - - - - - + - - 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. - - 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 - - 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 . - + + 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. - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("aa") + + - Art.PathStrokeJoinType + System.Boolean - - - - Convert from GDK line join specifier to libart. - a join type, represented in GDK format - The line join specifier in libart format. + 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 - - - + + + + - - Render the over the . - - the canvas buffer to render over - the vector path to render - the rgba color to render + 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 @@ -264,671 +262,814 @@ - Convert from GDK line cap specifier to the libart format. a cap type, represented in GDK format + Convert from GDK line cap specifier to the libart format. The line cap specifier in libart format. - - - Method + + + + Property + + 2.24.0.0 + - Gnome.Canvas + System.Boolean - + + - 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. + Whether the canvas is set to center the scrolling region in + the window if the former is smaller than the canvas' + allocation. - A newly-created antialiased canvas. + 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. + - - - Method + + + + Property + + 2.24.0.0 + - System.Boolean + Gdk.RgbDither - - - Allocates a color based on the specified X color specification. - - X color specification, or - for"transparent". - - - Return value the allocated color. - - - if spec is non-NULL and the color is - allocated. If spec is , then returns - . - - To be added + The type of dithering used to render an antialiased canvas. + The type of dithering used to render an antialiased canvas. + + - - - Method - - System.Void - - - - - - - Sets the svp to the new value, requesting repaint on what has changed. - The existing svp - The new svp - - - - - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("draw_background") + + - Gnome.CanvasItem + Gnome.DrawBackgroundHandler - - - - + - Looks for the item that is under the specified position. - X position in world coordinates. - Y position in world coordinates. - The requested item, or if no item is at the specified coordinates. + + Emitted to draw the background for non-antialiased mode + canvas widgets. The default method uses the canvas widget's + style to draw the background. + - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("focused_item") + + - Gnome.CanvasGroup + Gnome.CanvasItem - - Queries the root group of a canvas. - The root group of the specified canvas. - - + To be added. + To be added. + To be added. + - - + + + Method + + 2.24.0.0 + System.Void - - - + + + + + + + + + + - - Sets the svp to the new value, clipping if necessary, and - requesting repaint on what has changed. - - the existing svp - the new svp - a clip path + 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.Void + System.Boolean - - - - + + - Convenience function that informs a canvas that the specified rectangle needs to be repainted. - 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. 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. - - + + 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.Void + System.UInt64 - - + - Queries the scrolling offsets of a canvas. The values are returned in canvas pixel units. - Return value for the horizontal scrolling offset - Return value for the vertical scrolling offset + 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 + - System.Void + Gnome.CanvasItem - + + + + - Forces an immediate update and redraw of a canvas. + 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. - - 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 + 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 - Converts world coordinates into canvas pixel - coordinates. This version returns coordinates in floating - point coordinates, for greater precision. + 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. - World X coordinate. - World Y coordinate. - Return value for the X pixel coordinate - Return value for the Y pixel coordinate + + 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 - - - - + + - Sets the scrolling region of a canvas to the specified rectangle. - Leftmost limit of the scrolling region. - Upper limit of the scrolling region. - Rightmost limit of the scrolling region. - Lower limit of the scrolling region. - To be added + 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 - - - - - Informs a canvas that the specified area, given as a - microtile array, needs to be repainted. To be used only by - item implementations. - - Microtile array that specifies the area to be redrawn. + + + + + + + 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. - - - Method + + + + Property + + 2.24.0.0 + - System.Void + GLib.GType - - - - - - + - Converts world coordinates into window-relative coordinates. - World X coordinate. - World Y coordinate. - Return value for the X window-relative coordinate. - Return value for the Y window-relative coordinate. - - + GType Property. + a + Returns the native value for . - - + + + Method + + 2.24.0.0 + - System.Void + Art.PathStrokeJoinType - - - - + - Converts world coordinates into canvas pixel coordinates. - World X coordinate. - World Y coordinate. - Return value for the X pixel coordinate - Return value for the Y pixel coordinate + 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 + - System.Void + Gnome.Canvas - - - - + - Makes a canvas scroll to the specified offsets, given in canvas pixel units. - Horizontal scrolling offset in canvas pixel units. - Vertical scrolling offset in canvas pixel units. + + 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. - - 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 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawBackground", Type=typeof(Gnome.Canvas)) + + - System.UInt64 + System.Void - + + + + + - Allocates a color from the RGBA value passed into this function. - RGBA color specification. - 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. - - + 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 - - - - - - - Converts canvas pixel coordinates to world coordinates. - Canvas pixel X coordinate. - Canvas pixel Y coordinate. - Return value for the X world coordinate - Return value for the Y world coordinate - - - - - - - Constructor - - - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added. + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Property + + 2.24.0.0 + + + System.Double + - Creates a new empty canvas in non-antialiased mode. + Gets or Sets the number of pixels that correspond to one canvas unit. + a - 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. + 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. - - - Property + + + + Event + + 2.24.0.0 + + + + GLib.Signal("render_background") + + - Gdk.RgbDither + Gnome.RenderBackgroundHandler - - + - The type of dithering used to render an antialiased canvas. - The type of dithering used to render an antialiased canvas. + + 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. + - - - Property + + + + Method + + 2.24.0.0 + - System.Boolean + System.Void + + + + the canvas buffer to render over + the vector path to render + the rgba color to render - Whether the canvas is set to center the scrolling region in - the window if the former is smaller than the canvas' - allocation. + Render the over the . - 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 + + + + Method + + 2.24.0.0 + - Gdk.GC + System.Void + + + + - - 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. - + 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. - This is typically only needed by item implementations. + + 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. + - To be added. - - - Property + + + + Method + + 2.24.0.0 + - System.Boolean + System.Void + + + - Whether to enable anti-aliasing mode - - to enable anti-aliasing + 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. + - - 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. - - - - GLib.Property("aa") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.DrawBackgroundHandler + Gnome.CanvasGroup - - Emitted to draw the background for non-antialiased mode - canvas widgets. The default method uses the canvas widget's - style to draw the background. - + Queries the root group of a canvas. + The root group of the specified canvas. - - - GLib.Signal("draw_background") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.RenderBackgroundHandler + System.Void - + + + + - - 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. - + 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. + - - - GLib.Signal("render_background") - - - - + + + Method + + 2.24.0.0 + System.Void - - - - + + + + - Queries the scrolling region of a canvas. - 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 + 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 - - - - + + + + + - Converts world coordinates into window-relative coordinates. - World X coordinate. - World Y coordinate. - Return value for the X window-relative coordinate. - Return value for the Y window-relative coordinate. + 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. - - - Property + + + + Method + + 2.24.0.0 + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 - - - - - + + - Default handler for the event. - a - a - a - a - a - Override this method in a subclass to provide a default handler for the event. + The existing svp + The new svp + Sets the svp to the new value, requesting repaint on what has changed. + + - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + - + + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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. + + + - - - System.Obsolete - - - - - Property + + + + Method + + 2.24.0.0 + - System.Double + System.Void - + + + + + + - Gets or Sets the number of pixels that correspond to one canvas unit. - a + 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. - - 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. - + Method + + 2.24.0.0 + System.Void @@ -941,51 +1082,86 @@ To be added. - - + + + Method + + 2.24.0.0 + System.Void - + + + + - To be added. - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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. + + + - - - Constructor + + + + Method + + 2.24.0.0 + + + System.Void + - + + + + - - if an antialiased canvas should be created. - Constructs a canvas with or without antialiasing. - - + 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. + + - - - Property - - - GLib.Property("focused_item") - - + + + + Method + + 2.24.0.0 + - Gnome.CanvasItem + System.Void + + + + + + - To be added. - To be added. - To be added. - + 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. + + diff --git a/doc/en/Gnome/CanvasBpath.xml b/doc/en/Gnome/CanvasBpath.xml index a879afe87..1fc9a3150 100644 --- a/doc/en/Gnome/CanvasBpath.xml +++ b/doc/en/Gnome/CanvasBpath.xml @@ -1,12 +1,19 @@ + 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 @@ -16,47 +23,95 @@ - - Gnome.CanvasShape - - - - + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Creates a new Bezier path 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 @@ -72,63 +127,38 @@ - - - GLib.Property("bpath") - - - - + + + Property + + 2.24.0.0 + - GLib.GType + Gnome.CanvasPathDef - - 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 + The Path definition for this shape. + a describing the shape. + - - + + + Property + + 2.24.0.0 + - Gnome.CanvasPathDef + GLib.GType + - The Path definition for this shape. - a describing the shape. - + GType Property. + a + Returns the native value for . diff --git a/doc/en/Gnome/CanvasBpathPriv.xml b/doc/en/Gnome/CanvasBpathPriv.xml index 937be7377..fd7b2ea9d 100644 --- a/doc/en/Gnome/CanvasBpathPriv.xml +++ b/doc/en/Gnome/CanvasBpathPriv.xml @@ -1,32 +1,38 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gnome/CanvasBuf.xml b/doc/en/Gnome/CanvasBuf.xml index e9439451b..44cca394a 100644 --- a/doc/en/Gnome/CanvasBuf.xml +++ b/doc/en/Gnome/CanvasBuf.xml @@ -1,52 +1,64 @@ + 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. - - To be added - To be added - System.ValueType + + To be added + To be added + - - + + + Field + + 2.24.0.0 + - Gnome.CanvasBuf + System.UInt32 - + + To be added To be added - - - Method + + + + Field + + 2.24.0.0 + - Gnome.CanvasBuf + System.Int32 - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gnome.CanvasBuf' To be added + Method + + 2.24.0.0 + System.Void @@ -56,71 +68,93 @@ To be added - - - Field + + + + Property + + 2.24.0.0 + - Art.IRect + System.Boolean - - + To be added + a To be added + - - - Field + + + + Property + + 2.24.0.0 + - System.Int32 + System.Boolean - - + To be added + a To be added + - - - Field + + + + Method + + 2.24.0.0 + - System.UInt32 + 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 - - - Property + + + + Field + + 2.24.0.0 + - System.Boolean + Art.IRect - + + To be added - a To be added - - - - Property + + + + Field + + 2.24.0.0 + - System.Boolean + Gnome.CanvasBuf To be added - a To be added - diff --git a/doc/en/Gnome/CanvasClipgroup.xml b/doc/en/Gnome/CanvasClipgroup.xml index 826ea2080..8509b54bc 100644 --- a/doc/en/Gnome/CanvasClipgroup.xml +++ b/doc/en/Gnome/CanvasClipgroup.xml @@ -1,12 +1,19 @@ + 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 @@ -14,47 +21,112 @@ shape defined by a . - - Gnome.CanvasGroup - - - - + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Create new 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 @@ -70,15 +142,19 @@ + + + + + Property + + 2.24.0.0 + - GLib.Property("path") + GLib.Property("wind") - - - - Property Art.WindRule @@ -90,52 +166,6 @@ - - - GLib.Property("wind") - - - - - - 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 - diff --git a/doc/en/Gnome/CanvasEllipse.xml b/doc/en/Gnome/CanvasEllipse.xml index 29c5be3de..e4a946103 100644 --- a/doc/en/Gnome/CanvasEllipse.xml +++ b/doc/en/Gnome/CanvasEllipse.xml @@ -1,12 +1,19 @@ + 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 @@ -17,85 +24,100 @@ - - Gnome.CanvasRE - - - - + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - - Create a new object - The that this belongs to. + + Create a new object + - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - + + Constructor + + 2.24.0.0 + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - System.Obsolete - - - - - Constructor - + + + + Property + + 2.24.0.0 + + + GLib.GType + - To be added - To be added + GType Property. + a + Returns the native value for . diff --git a/doc/en/Gnome/CanvasEventArgs.xml b/doc/en/Gnome/CanvasEventArgs.xml index b24409dbf..481c78e5a 100644 --- a/doc/en/Gnome/CanvasEventArgs.xml +++ b/doc/en/Gnome/CanvasEventArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gdk.Event diff --git a/doc/en/Gnome/CanvasEventHandler.xml b/doc/en/Gnome/CanvasEventHandler.xml index e53ba42de..de76aef88 100644 --- a/doc/en/Gnome/CanvasEventHandler.xml +++ b/doc/en/Gnome/CanvasEventHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/CanvasGroup.xml b/doc/en/Gnome/CanvasGroup.xml index b15d12f68..3b70afa29 100644 --- a/doc/en/Gnome/CanvasGroup.xml +++ b/doc/en/Gnome/CanvasGroup.xml @@ -1,12 +1,19 @@ + 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 @@ -21,134 +28,161 @@ - - Gnome.CanvasItem - - - - + + Constructor + + 2.24.0.0 + - - - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added + To be added - - - Property - - System.Double - - - - - X coordinate of the group's origin. - X coordinate of the group's origin. - - - + + + + Constructor + + 2.24.0.0 + - GLib.Property("y") + System.Obsolete - - - - Property - - System.Double - + + - Y coordinate of the group's origin - Y coordinate of the group's origin - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - GLib.Property("x") - - - - - Property - - GLib.GType - - + + + + Constructor + + 2.24.0.0 + + + + + - GType Property. - a - Returns the native value for . + a + To be added + To be added - + + Constructor + + 2.24.0.0 + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - System.Obsolete - - + Constructor + + 2.24.0.0 + - To be added a a + To be added To be added - - - Constructor - + + + + 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 + - - To be added - a - To be added + Y coordinate of the group's origin + Y coordinate of the group's origin + + - - - Constructor - - + + + + Property + + 2.24.0.0 + + + + GLib.Property("y") + + + + System.Double + + + - To be added - To be added + X coordinate of the group's origin. + X coordinate of the group's origin. + + diff --git a/doc/en/Gnome/CanvasItem.xml b/doc/en/Gnome/CanvasItem.xml index ba0726c80..b5f340d9d 100644 --- a/doc/en/Gnome/CanvasItem.xml +++ b/doc/en/Gnome/CanvasItem.xml @@ -1,12 +1,19 @@ + 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 @@ -81,68 +88,264 @@ all parts of the item), . - - Gtk.Object - - - - - + + + + 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. - 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. + Makes the item's affine transformation matrix be equal to + the specified matrix. - Number of steps to lower the item. - - + + + 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 + - Shows a canvas item. If the item was already shown, then no action is taken. + + 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 - + + + + + - Request redraw of if in aa mode, or the entire item in in xlib mode. - The svp that needs to be redrawn + 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. + - - This item must contain . - + + + + Method + + 2.24.0.0 + + + System.Int32 + + + + + + + + a + a + a + To be added + a + To be added + + + Method + + 2.24.0.0 + System.Void @@ -157,22 +360,30 @@ - - - Method + + + + Property + + 2.24.0.0 + - System.Void + GLib.GType - Lowers an item to the bottom of its parent's stack. - - + GType Property. + a + Returns the native value for . + Method + + 2.24.0.0 + System.Void @@ -183,22 +394,32 @@ - - + + + Method + + 2.24.0.0 + System.Void - + + + - Raises an item to the top of its parent's stack. - - + To be added. + To be added. + To be added. - - + + + Method + + 2.24.0.0 + System.Void @@ -207,9 +428,9 @@ - Converts a coordinate pair from world coordinates to item-relative coordinates. 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 @@ -218,420 +439,390 @@ - - + + + Method + + 2.24.0.0 + System.Void - - + - Sets the svp to the new value, requesting repaint on what's changed - the existing SVP - the new SVP - - + To be added. + To be added. + To be added. - - + + + Method + + 2.24.0.0 + System.Void - - - + - Sets the svp to the new value, clipping if necessary, and requesting repaint on what's changed. - the old SVP - the new SVP - a clip path + 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 - - - - - - + - - Queries the bounding box of a canvas item. The bounds are - returned in the coordinate system of the item's - parent. - - 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 + Lowers an item to the bottom of its parent's stack. - - + + + Method + + 2.24.0.0 + System.Void - + + + Horizontal offset. + Vertical offset. - 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. + 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. - A canvas group. - - + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCanvasEvent", Type=typeof(Gnome.CanvasItem)) + + - System.Void + System.Boolean - + - Ungrabs the item, which must have been grabbed in the canvas, and ungrabs the mouse. - The timestamp for ungrabbing the mouse. - - + a + Default handler for the event. + a + Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("parent") + + - System.Void + Gnome.CanvasItem - - - 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. - - Number of steps to raise the item. + The parent item + the parent item - - + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverridePoint", Type=typeof(Gnome.CanvasItem)) + + - System.Void + System.Double - - + + + + + - Converts a coordinate pair from item-relative coordinates to world coordinates. - X coordinate to convert (input/output value). - Y coordinate to convert (input/output value). - - - The parameters and - are used as both in and out parameters. - - + 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. - 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. + 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. - Horizontal offset. - Vertical offset. - - + + + 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. + 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 - - Resets the bounding box of a canvas item to an empty rectangle. - - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - Gnome.Canvas - To be added - To be added: an object of type 'Gnome.Canvas' To be added - - - Property + + + + Method + + 2.24.0.0 + - Gnome.CanvasItem + System.Void + - The parent item - the parent item - - + a + Renders the CanvasItem when using an anti-aliased GnomeCanvas. + To be added - - - GLib.Property("parent") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.CanvasEventHandler + System.Void - + + + + A canvas group. - 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. + 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. - - - GLib.Signal("event") - - - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - - - - Default handler for the event. - a - 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 - - - - - - Constructor - - - - + - To be added - a - a - To be added - - - - - Constructor - - - - To be added - To be added + 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 added - To be added + To be used only by item implementations. Requests that the canvas queue an update for the specified item. + + - - + + + Method + + 2.24.0.0 + - System.Double + System.Void - - - - - - - + - To be added - a - a - a - a - a - a - To be added + Resets the bounding box of a canvas item to an empty rectangle. + + - - + + + Method + + 2.24.0.0 + System.Void - - - - - - - + - To be added - a - a - a - a - a - To be added + Shows a canvas item. If the item was already shown, then no action is taken. + + - - + + + Method + + 2.24.0.0 + System.Void - + - Renders the CanvasItem when using an anti-aliased GnomeCanvas. - a - To be added + 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 @@ -641,99 +832,83 @@ - To be added a a a + To be added To be added - - + + + Method + + 2.24.0.0 + System.Void - + + - - Makes the item's affine transformation matrix be equal to - the specified matrix. - - The affine transformation set as the current transformation for the item. + 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 - + + + - - Combines the specified affine transformation matrix with the - item's current transformation. - - The affine transform to combine with the items current transform + 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 - - System.Int32 - - - - - - - - To be added - a - a - a - a - To be added - - - - - Method - - 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. + 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. + + diff --git a/doc/en/Gnome/CanvasLine.xml b/doc/en/Gnome/CanvasLine.xml index 9036df259..04dca0e8e 100644 --- a/doc/en/Gnome/CanvasLine.xml +++ b/doc/en/Gnome/CanvasLine.xml @@ -1,12 +1,19 @@ + 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 @@ -51,67 +58,119 @@ namespace GnomeSamples { - - Gnome.CanvasItem - - - - + + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Creates a new line The that this item belongs to. + Creates a new line - - - Property - - Gdk.Drawable - + + + + Constructor + + 2.24.0.0 + + + - Stipple pattern for the line. - Stipple pattern for the line. + 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("fill_stipple") + 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 @@ -126,176 +185,204 @@ namespace GnomeSamples { + + + + + Property + + 2.24.0.0 + - GLib.Property("arrow_shape_b") + GLib.Property("arrow_shape_c") - - - - Property System.Double - Distance from tip of arrowhead to center. - Distance from tip of arrowhead to center. + 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("arrow_shape_a") + GLib.Property("cap_style") - - - - Property - System.Boolean + Gdk.CapStyle - Specifies whether to smooth the line using parabolic splines. - Whether to smooth the line using parabolic splines + Determines how the ends of lines are drawn (the line cap style). + the line cap style + + + + + Property + + 2.24.0.0 + - GLib.Property("smooth") + GLib.Property("fill_color") - - - - Property - Gdk.LineStyle + System.String - Line dash style. - Line dash style + X color specification for line. + X color specification for the line + + + + + Property + + 2.24.0.0 + - GLib.Property("line_style") + GLib.Property("fill_color_gdk") - - - - Property - Gnome.CanvasPoints + Gdk.Color - a pointer. This - can be created by a call to the constructor. - - a pointer. + The to draw the line with. + the line color + + + + + Property + + 2.24.0.0 + - GLib.Property("points") + GLib.Property("fill_color_rgba") - - - - Property - System.Boolean + System.UInt32 - 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. + Line color with an alpha component (in the format 0xRRGGBBAA). + the line color + + + + + Property + + 2.24.0.0 + - GLib.Property("first_arrowhead") + GLib.Property("fill_stipple") - - - - Property - System.UInt32 + Gdk.Drawable - Specifies the number of steps to use when rendering curves. - the number of steps to use when rendering curves. + Stipple pattern for the line. + Stipple pattern for the line. + + + + + Property + + 2.24.0.0 + - GLib.Property("spline_steps") + GLib.Property("first_arrowhead") - - - - Property 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 + 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. + + - - - GLib.Property("last_arrowhead") - - - - + + + Property + + 2.24.0.0 + - Gdk.CapStyle + GLib.GType - - + - Determines how the ends of lines are drawn (the line cap style). - the line cap style - - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.24.0.0 + - GLib.Property("cap_style") + GLib.Property("join_style") - - - - Property Gdk.JoinStyle @@ -313,170 +400,173 @@ namespace GnomeSamples { + + + + + Property + + 2.24.0.0 + - GLib.Property("join_style") + GLib.Property("last_arrowhead") - - - - Property - System.UInt32 + System.Boolean - Line color with an alpha component (in the format 0xRRGGBBAA). - the line color - - + 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("fill_color_rgba") + GLib.Property("line_style") - - - - Property - Gdk.Color + Gdk.LineStyle - The to draw the line with. - the line color + Line dash style. + Line dash style + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_color_gdk") + GLib.Property("points") - - - - Property - System.Double + Gnome.CanvasPoints - 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 + a pointer. This + can be created by a call to the constructor. + + a pointer. + + + + + Property + + 2.24.0.0 + - GLib.Property("width_units") + GLib.Property("smooth") - - - - Property - System.Double + System.Boolean - Distance of arrowhead trailing points from outside edge of shaft. - Distance of arrowhead trailing points from outside edge of shaft. + Specifies whether to smooth the line using parabolic splines. + Whether to smooth the line using parabolic splines + + + + + Property + + 2.24.0.0 + - GLib.Property("arrow_shape_c") + GLib.Property("spline_steps") - - - - Property 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 + 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") - - - - Property - System.String + System.UInt32 - X color specification for line. - X color specification for the line - - + 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("fill_color") + GLib.Property("width_units") - - - - Property - GLib.GType + System.Double - - - 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 + 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 + + diff --git a/doc/en/Gnome/CanvasPathDef.xml b/doc/en/Gnome/CanvasPathDef.xml index 9b8ecd050..e2d5efb9f 100644 --- a/doc/en/Gnome/CanvasPathDef.xml +++ b/doc/en/Gnome/CanvasPathDef.xml @@ -1,180 +1,200 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + - - - Method - - Gnome.CanvasPathDef - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - To be added: an object of type 'Art.Bpath' - To be added: an object of type 'Gnome.CanvasPathDef' To be added - - - Method - - Gnome.CanvasPathDef - + + + + Constructor + + 2.24.0.0 + + + a To be added - To be added: an object of type 'Art.Bpath' - To be added: an object of type 'Gnome.CanvasPathDef' To be added - - - Method - - Gnome.CanvasPathDef - + + + + Constructor + + 2.24.0.0 + + - + + To be added: an object of type 'int' To be added - To be added: an object of type 'Art.Bpath' - To be added: an object of type 'Gnome.CanvasPathDef' To be added - - - Method - - Gnome.CanvasPathDef - + + + + Constructor + + 2.24.0.0 + + - + - To be added - To be added: an object of type 'GLib.SList' - To be added: an object of type 'Gnome.CanvasPathDef' - To be added + 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 + System.Boolean To be added + To be added: an object of type 'bool' To be added - - + + + Method + + 2.24.0.0 + - System.Void + System.Boolean - - - - + To be added - To be added: an object of type 'double' - To be added: an object of type 'double' + To be added: an object of type 'bool' To be added - - + + + Method + + 2.24.0.0 + - Gnome.CanvasPathDef + System.Boolean To be added - To be added: an object of type 'Gnome.CanvasPathDef' + To be added: an object of type 'bool' To be added - - + + + Method + + 2.24.0.0 + - System.Void + System.Boolean To be added + To be added: an object of type 'bool' To be added - - + + + Method + + 2.24.0.0 + - System.Void + Art.Bpath - - - - - - - - + To be added - 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: an object of type 'Art.Bpath' To be added - - + + + Method + + 2.24.0.0 + - System.Void + Gnome.CanvasPathDef To be added + To be added: an object of type 'Gnome.CanvasPathDef' To be added + Method + + 2.24.0.0 + Gnome.CanvasPathDef @@ -185,22 +205,29 @@ To be added - - + + + Method + + 2.24.0.0 + - Art.Bpath + System.Void To be added - To be added: an object of type 'Art.Bpath' To be added - - + + + Method + + 2.24.0.0 + System.Void @@ -210,37 +237,52 @@ To be added - - + + + Method + + 2.24.0.0 + - System.Void + 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: an object of type 'Gnome.CanvasPathDef' To be added - - + + + Method + + 2.24.0.0 + - Art.Bpath + System.Void - + + + + To be added: an object of type 'Gnome.CanvasPathDef' To be added - To be added: an object of type 'Art.Bpath' To be added + Method + + 2.24.0.0 + System.Void @@ -248,29 +290,47 @@ - To be added 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: an object of type 'int' To be added - - + + + Method + + 2.24.0.0 + Gnome.CanvasPathDef @@ -281,128 +341,166 @@ To be added - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - + + + + To be added: an object of type 'int' To be added - To be added: an object of type 'bool' 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: an object of type 'double' - To be added: an object of type 'double' To be added - - + + + Method + + 2.24.0.0 + - System.Boolean + Art.Bpath To be added - To be added: an object of type 'bool' + To be added: an object of type 'Art.Bpath' To be added - - - Method + + + + Property + + 2.24.0.0 + - Art.Bpath + GLib.GType - - To be added - To be added: an object of type 'Art.Bpath' - To be added + To be added. + To be added. + To be added. + - - - Method + + + + Property + + 2.24.0.0 + - Gnome.CanvasPathDef + System.Boolean To be added - To be added: an object of type 'Gnome.CanvasPathDef' + a To be added - - - Method + + + + Property + + 2.24.0.0 + System.Boolean To be added - To be added: an object of type 'bool' + a To be added - - + + + Method + + 2.24.0.0 + - System.Void + Art.Bpath To be added + To be added: an object of type 'Art.Bpath' To be added - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Int32 To be added - To be added: an object of type 'bool' + To be added: an object of type 'int' To be added + Method + + 2.24.0.0 + System.Void @@ -411,105 +509,194 @@ + 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.Int32 + System.Void - + + + + + To be added: an object of type 'double' + To be added: an object of type 'double' To be added - To be added: an object of type 'int' To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + Gnome.CanvasPathDef + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added: an object of type 'Art.Bpath' + To be added + To be added: an object of type 'Gnome.CanvasPathDef' + To be added - - - Constructor - - + + + + 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 - - - Constructor - + + + + 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 'int' + To be added: an object of type 'Gnome.CanvasPathDef' To be added - - - Property + + + + Method + + 2.24.0.0 + - System.Boolean + Gnome.CanvasPathDef To be added - a + To be added: an object of type 'Gnome.CanvasPathDef' To be added - - - Property + + + + Method + + 2.24.0.0 + + + + System.Obsolete("Gnome.CanvasPathDef is now refcounted automatically") + + - System.Boolean + System.Void To be added - a To be added - - - Constructor - + + + + 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 - a To be added + Method + + 2.24.0.0 + Gnome.CanvasPathDef[] @@ -521,17 +708,44 @@ - - - Property + + + + Method + + 2.24.0.0 + + + + System.Obsolete("Gnome.CanvasPathDef is now refcounted automatically") + + - GLib.GType + 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. - diff --git a/doc/en/Gnome/CanvasPixbuf.xml b/doc/en/Gnome/CanvasPixbuf.xml index dc7745185..6fd659c6c 100644 --- a/doc/en/Gnome/CanvasPixbuf.xml +++ b/doc/en/Gnome/CanvasPixbuf.xml @@ -1,12 +1,19 @@ + 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 @@ -15,148 +22,189 @@ - - Gnome.CanvasItem - - - - + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Creates a new CanvasPixbuf from . an object of type + Creates a new CanvasPixbuf from . - - - Property - - System.Double - + + + + Constructor + + 2.24.0.0 + + + - Pixbuf height. - The height of this item + 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("height") + GLib.Property("anchor") - - - - Property - Gdk.Pixbuf + Gtk.AnchorType - The pixbuf image to draw. - The pixbuf image + + 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 - - - GLib.Property("pixbuf") - - - - + + + Property + + 2.24.0.0 + - System.Boolean + GLib.GType - - + - The unit used by the property - The unit used by the property - - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.24.0.0 + - GLib.Property("width_in_pixels") + GLib.Property("height") - - - - Property - Gtk.AnchorType + System.Double - - 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 + Pixbuf height. + The height of this item + + + + + Property + + 2.24.0.0 + - GLib.Property("anchor") + GLib.Property("height_in_pixels") - - - - Property - System.Double + System.Boolean - Pixbuf width. - The width of the pixbuf + + The unit used by the property. + + + The unit used by the property. + + + + + + Property + + 2.24.0.0 + - GLib.Property("width") + GLib.Property("height_set") - - - - Property System.Boolean @@ -164,89 +212,101 @@ - Whether or not the + Whether or not the should be used - Whether or not the + Whether or not the should be used + + + + + Property + + 2.24.0.0 + - GLib.Property("width_set") + GLib.Property("pixbuf") - - - - Property - System.Double + Gdk.Pixbuf - The Y coordinate of the position to place the pixbuf - The Y coordinate of the position to place the pixbuf + The pixbuf image to draw. + The pixbuf image + + + + + Property + + 2.24.0.0 + - GLib.Property("y") + GLib.Property("width") - - - - Property System.Double - The X coordinate of the position to place the pixbuf - the X coordinate of the position to place the pixbuf + Pixbuf width. + The width of the pixbuf + + + + + Property + + 2.24.0.0 + - GLib.Property("x") + GLib.Property("width_in_pixels") - - - - Property System.Boolean - - The unit used by the property. - - - The unit used by the property. - + The unit used by the property + The unit used by the property + + + + + Property + + 2.24.0.0 + - GLib.Property("height_in_pixels") + GLib.Property("width_set") - - - - Property System.Boolean @@ -254,45 +314,53 @@ - Whether or not the + Whether or not the should be used - Whether or not the + Whether or not the should be used + + + + + Property + + 2.24.0.0 + - GLib.Property("height_set") + GLib.Property("x") - - - - Property - System.Boolean + System.Double - The unit used by the property - The unit used by the property + 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") - - - - Property System.Boolean @@ -304,51 +372,53 @@ + + + + + Property + + 2.24.0.0 + - GLib.Property("y_in_pixels") + GLib.Property("y") - - - - Property - GLib.GType + System.Double - - - 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. + 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 + - System.Obsolete + GLib.Property("y_in_pixels") - - - - Constructor - - + + System.Boolean + + + - To be added - To be added + The unit used by the property + The unit used by the property + + diff --git a/doc/en/Gnome/CanvasPoints.xml b/doc/en/Gnome/CanvasPoints.xml index f0667ef79..019038391 100644 --- a/doc/en/Gnome/CanvasPoints.xml +++ b/doc/en/Gnome/CanvasPoints.xml @@ -1,83 +1,38 @@ + 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. - - A structure to manage an array of points (X and Y coordinates). - To be added - GLib.Opaque + + A structure to manage an array of points (X and Y coordinates). + To be added + - - - Method - - Gnome.CanvasPoints - - - - To be added - To be added: an object of type 'Gnome.CanvasPoints' - To be added - - - - - Method - - System.Void - - - - To be added - To be added - - - - - Constructor - - - - - - To be added - a - To be added - - - - - Constructor - - - - - - To be added - a - To be added - - + Constructor + + 2.24.0.0 + - Creates canvas points from x and y coordinates stored in array. 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. @@ -120,9 +75,103 @@ namespace GnomeSamples { + + + + 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 @@ -133,5 +182,46 @@ namespace GnomeSamples { 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. + + diff --git a/doc/en/Gnome/CanvasPolygon.xml b/doc/en/Gnome/CanvasPolygon.xml index 4d7a07d25..738465ecf 100644 --- a/doc/en/Gnome/CanvasPolygon.xml +++ b/doc/en/Gnome/CanvasPolygon.xml @@ -1,12 +1,19 @@ + 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 @@ -15,47 +22,112 @@ - - Gnome.CanvasShape - - - - + + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Creates a new polygon 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 @@ -69,15 +141,14 @@ - - - GLib.Property("points") - - + Method + + 2.24.0.0 + System.Double @@ -88,58 +159,17 @@ - Computes the distance between a point and a polygon. 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. - - - 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 - - diff --git a/doc/en/Gnome/CanvasRE.xml b/doc/en/Gnome/CanvasRE.xml index 7be2a6cb4..ca688232c 100644 --- a/doc/en/Gnome/CanvasRE.xml +++ b/doc/en/Gnome/CanvasRE.xml @@ -1,12 +1,19 @@ + 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 @@ -16,50 +23,110 @@ - - Gnome.CanvasShape - - - + + + + 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 + - Internal constructor 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 + - System.Double + GLib.GType - - + - Rightmost coordinate of rectangle or ellipse. - Rightmost coordinate of rectangle or ellipse. - - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.24.0.0 + - GLib.Property("x2") + GLib.Property("x1") - - - - Property System.Double @@ -71,35 +138,43 @@ + + + + + Property + + 2.24.0.0 + - GLib.Property("x1") + GLib.Property("x2") - - - - Property System.Double - Bottommost coordinate of rectangle or ellipse. - Bottommost coordinate of rectangle or ellipse. + Rightmost coordinate of rectangle or ellipse. + Rightmost coordinate of rectangle or ellipse. + + + + + Property + + 2.24.0.0 + - GLib.Property("y2") + GLib.Property("y1") - - - - Property System.Double @@ -111,66 +186,29 @@ - - - GLib.Property("y1") - - - - + + + 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. - + + 2.24.0.0 + - System.Obsolete + GLib.Property("y2") - - - - Constructor - + + System.Double + - - - To be added - a - a - To be added - - - - - Constructor - - - - To be added - To be added + Bottommost coordinate of rectangle or ellipse. + Bottommost coordinate of rectangle or ellipse. + + diff --git a/doc/en/Gnome/CanvasRect.xml b/doc/en/Gnome/CanvasRect.xml index c4a9ede12..ad1e76db9 100644 --- a/doc/en/Gnome/CanvasRect.xml +++ b/doc/en/Gnome/CanvasRect.xml @@ -1,12 +1,19 @@ + 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 @@ -19,83 +26,98 @@ - - Gnome.CanvasRE - - - - + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Creates a new rectangle The that this item belongs to. + Creates a new rectangle - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - + + Constructor + + 2.24.0.0 + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - System.Obsolete - - - - - Constructor - + + + + Property + + 2.24.0.0 + + + GLib.GType + - To be added - To be added + GType Property. + a + Returns the native value for . diff --git a/doc/en/Gnome/CanvasRichText.xml b/doc/en/Gnome/CanvasRichText.xml index 8961d9f2a..3a3d0ef7f 100644 --- a/doc/en/Gnome/CanvasRichText.xml +++ b/doc/en/Gnome/CanvasRichText.xml @@ -1,93 +1,126 @@ + 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. - - To be added - To be added - Gnome.CanvasItem + + To be added + To be added + - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - Paste the contents of the clipboard into the text buffer at the current cursor location. + To be added To be added - - - Method - - System.Void - - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + + + + - 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. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - - + + + + Constructor + + 2.24.0.0 + + + + + - 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. - + To be added: an object of type 'Gnome.CanvasGroup' + Add a new RichTextItem to the given . + To be added + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Property + + 2.24.0.0 + + + + GLib.Property("anchor") + + + + Gtk.AnchorType + - - Add a new RichTextItem to the given . - To be added: an object of type 'Gnome.CanvasGroup' + Anchor point for text. + To be added: an object of type 'Gtk.AnchorType' To be added - + + Property + + 2.24.0.0 + Gtk.TextBuffer @@ -99,313 +132,405 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - - + - Whether the cursor is visible or not. - To be added: an object of type 'bool' - To be added + 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_visible") + GLib.Property("cursor_blink") - - - - Property System.Boolean - Whether the item is visible or not. + Whether the cursor blinks or not. To be added: an object of type 'bool' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("visible") + GLib.Property("cursor_visible") - - - - Property System.Boolean - Whether the box height should grow if the text does not fit. + 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("grow_height") + GLib.Property("direction") - - - - Property - System.Double + Gtk.DirectionType - The height of the text box. - To be added: an object of type 'double' + The direction for the text. + To be added: an object of type 'Gtk.DirectionType' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("height") + GLib.Property("editable") - - - - Property - Gtk.WrapMode + System.Boolean - How the text in the widget should wrap. - To be added: an object of type 'Gtk.WrapMode' + Whether the text is editable or not. + To be added: an object of type 'bool' To be added - - - GLib.Property("wrap_mode") - - - - - Property + + + + Method + + 2.24.0.0 + - Gtk.AnchorType + Gtk.TextIter + + - Anchor point for text. - To be added: an object of type 'Gtk.AnchorType' + a + a + To be added + a To be added - - - GLib.Property("anchor") - - - - - Property + + + + Method + + 2.24.0.0 + - System.Int32 + Gdk.Rectangle + - The number of pixels in the left margin. - To be added: an object of type 'int' + a + To be added + a To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("left_margin") + GLib.Property("grow_height") - - - - Property - System.Double + System.Boolean - The width of the text box. - To be added: an object of type 'double' + Whether the box height should grow if the text does not fit. + To be added: an object of type 'bool' To be added - - - GLib.Property("width") - - - - + + + Property + + 2.24.0.0 + - System.String + GLib.GType - - + - The text to be displayed. - To be added: an object of type 'string' - To be added + GType Property. + a + Returns the native value for . + + + + + Property + + 2.24.0.0 + - GLib.Property("text") + GLib.Property("height") - - - - Property - Gtk.DirectionType + System.Double - The direction for the text. - To be added: an object of type 'Gtk.DirectionType' + The height of the text box. + To be added: an object of type 'double' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("direction") + GLib.Property("indent") - - - - Property System.Int32 - The number of pixels above each line. + The number of pixels to indent. To be added: an object of type 'int' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("pixels_above_lines") + GLib.Property("justification") - - - - Property - System.Double + Gtk.Justification - The Y position. - To be added: an object of type 'double' + The justification for the text. + To be added: an object of type 'Gtk.Justification' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("y") + GLib.Property("left_margin") - - - - Property - System.Double + System.Int32 - The X position. - To be added: an object of type 'double' + 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("x") + GLib.Property("pixels_above_lines") - - - - Property - Gtk.Justification + System.Int32 - The justification for the text. - To be added: an object of type 'Gtk.Justification' + 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("justification") + GLib.Property("pixels_below_lines") - - - - Property System.Int32 - The number of pixels to indent. + 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("indent") + GLib.Property("pixels_inside_wrap") - - - - Property - System.Boolean + System.Int32 - Whether the text is editable or not. - To be added: an object of type 'bool' + 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("editable") + GLib.Property("right_margin") - - - - Property System.Int32 @@ -416,141 +541,142 @@ To be added: an object of type 'int' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("right_margin") + GLib.Property("text") - - - - Property - System.Boolean + System.String - Whether the cursor blinks or not. - To be added: an object of type 'bool' + The text to be displayed. + To be added: an object of type 'string' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("cursor_blink") + GLib.Property("visible") - - - - Property - System.Int32 + System.Boolean - The number of pixels below each line. - To be added: an object of type 'int' + 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("pixels_below_lines") + GLib.Property("width") - - - - Property - System.Int32 + System.Double - The number of pixels inside the wrap. - To be added: an object of type 'int' + The width of the text box. + To be added: an object of type 'double' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("pixels_inside_wrap") + GLib.Property("wrap_mode") - - - - Property - GLib.GType + Gtk.WrapMode - - - 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. + 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 + - System.Obsolete + GLib.Property("x") - - - - Method - Gdk.Rectangle + System.Double - - To be added - a - a + The X position. + To be added: an object of type 'double' To be added - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("y") + + - Gtk.TextIter + System.Double - - - To be added - a - a - a - To be added - - - - - Constructor - - - - To be added + The Y position. + To be added: an object of type 'double' To be added diff --git a/doc/en/Gnome/CanvasShape.xml b/doc/en/Gnome/CanvasShape.xml index 0f4211240..3f04a9ec9 100644 --- a/doc/en/Gnome/CanvasShape.xml +++ b/doc/en/Gnome/CanvasShape.xml @@ -1,12 +1,19 @@ + 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 @@ -19,131 +26,189 @@ - - Gnome.CanvasItem - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property - - Gnome.CanvasPathDef - + + + + Constructor + + 2.24.0.0 + + + + - 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. - - + a + a + To be added + To be added - - + + + Property + + 2.24.0.0 + + + + GLib.Property("cap_style") + + - Gdk.Drawable + Gdk.CapStyle - Stipple pattern for fill. - Stipple pattern + Cap (end point) style for the Bezier path. + Cap style used by the Bezier path + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_stipple") + GLib.Property("dash") - - - - Property - System.String + Art.VpathDash - - + - X color specification for outline color, or pointer for no color (transparent). - X color specification - - + To be added + a + To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("outline_color") + GLib.Property("fill_color") - - - - Property - Gdk.CapStyle + System.String - Cap (end point) style for the Bezier path. - Cap style used by the Bezier path + + X color specification for fill color, or pointer for no color (transparent). + + X color specification + + + + + Property + + 2.24.0.0 + - GLib.Property("cap_style") + GLib.Property("fill_color_gdk") - - - - Property - Gdk.JoinStyle + Gdk.Color - Vertex join style for the Bezier path. - Verty join style used by the Bezier path + Allocated for fill. + the to fill + + + + + Property + + 2.24.0.0 + - GLib.Property("join_style") + GLib.Property("fill_color_rgba") - - - - Property System.UInt32 @@ -155,135 +220,180 @@ + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_color_rgba") + GLib.Property("fill_stipple") - - - - Property - System.Double + Gdk.Drawable - Minimum angle between segments, where miter join rule is applied. - Minimum angle between segments, where miter join rule is applied. + 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("miterlimit") + GLib.Property("join_style") - - - - Property - Gdk.Color + Gdk.JoinStyle - Allocated for fill. - the to fill + Vertex join style for the Bezier path. + Verty join style used by the Bezier path + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_color_gdk") + GLib.Property("miterlimit") - - - - Property 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 + 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("width_units") + GLib.Property("outline_color") - - - - Property - System.UInt32 + System.String - Outline color with an alpha component (in the format 0xRRGGBBAA). - outline color + X color specification for outline color, or pointer for no color (transparent). + X color specification + + + + + Property + + 2.24.0.0 + - GLib.Property("outline_color_rgba") + GLib.Property("outline_color_gdk") - - - - Property - System.UInt32 + Gdk.Color - Width of the outline in pixels. The outline will not be scaled when the canvas zoom factor is changed. - width of the outline + Allocated for outline. + the color of the outline + + + + + Property + + 2.24.0.0 + - GLib.Property("width_pixels") + GLib.Property("outline_color_rgba") - - - - Property System.UInt32 - Winding rule for the Bezier path - winding rule used by the Bezier path + Outline color with an alpha component (in the format 0xRRGGBBAA). + outline color + + + + + Property + + 2.24.0.0 + - GLib.Property("wind") + GLib.Property("outline_stipple") - - - - Property Gdk.Drawable @@ -295,126 +405,102 @@ - - - GLib.Property("outline_stipple") - - - - + + + Property + + 2.24.0.0 + - System.String + Gnome.CanvasPathDef - - X color specification for fill color, or pointer for no color (transparent). - - X color specification + 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("fill_color") + GLib.Property("width_pixels") - - - - Property - Gdk.Color + System.UInt32 - Allocated for outline. - the color of the outline + Width of the outline in pixels. The outline will not be scaled when the canvas zoom factor is changed. + width of the outline - - - GLib.Property("outline_color_gdk") - - - - + + + Property - - Art.VpathDash - - - - To be added - a - To be added - + + 2.24.0.0 + - GLib.Property("dash") + GLib.Property("width_units") - - - - Property - GLib.GType + System.Double - - - 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. + 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 + - System.Obsolete + GLib.Property("wind") - - - - Constructor - + + System.UInt32 + - - - To be added - a - a - To be added - - - - - Constructor - - - - To be added - To be added + Winding rule for the Bezier path + winding rule used by the Bezier path + + diff --git a/doc/en/Gnome/CanvasShapePriv.xml b/doc/en/Gnome/CanvasShapePriv.xml index 8c0194cec..8838a5745 100644 --- a/doc/en/Gnome/CanvasShapePriv.xml +++ b/doc/en/Gnome/CanvasShapePriv.xml @@ -1,32 +1,38 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gnome/CanvasText.xml b/doc/en/Gnome/CanvasText.xml index 1386566e8..d64e1c2bf 100644 --- a/doc/en/Gnome/CanvasText.xml +++ b/doc/en/Gnome/CanvasText.xml @@ -1,12 +1,19 @@ + 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. @@ -76,271 +83,298 @@ class CanvasTest - - Gnome.CanvasItem - - - - + + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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 + To be added To be added - - - Property - - System.String - + + + + Constructor + + 2.24.0.0 + + + - Pango marked up text to render. - an object of type - To be added + 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("markup") + GLib.Property("anchor") - - - - Property - System.Boolean + Gtk.AnchorType - Whether to strike through the text. - an object of type + Anchor position for the text. + an object of type To be added - - - GLib.Property("strikethrough") - - - - + + + Property - - 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. - + + 2.24.0.0 + - GLib.Property("rise") + GLib.Property("attributes") - - - - Property - System.String + Pango.AttrList - The text to display. - an object of type + Reference to a Pango attribute list. + an object of type To be added - - - GLib.Property("text") - - - - + + + Property - - System.String - - - - - Name of the font family. - an object of type - e.g. Sans, Helvetica, Times, Monospace - + + 2.24.0.0 + - GLib.Property("family") + GLib.Property("clip") - - - - Property - System.Double + System.Boolean - Y coordinate of anchor point. - an object of type + Use clipping rectangle? + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("y") + GLib.Property("clip_height") - - - - Property System.Double - X coordinate of anchor point. + Height of clip rectangle. an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("x") + GLib.Property("clip_width") - - - - Property System.Double - Height of clip rectangle. + Width of clip rectangle. an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("clip_height") + GLib.Property("family") - - - - Property - Pango.Stretch + System.String - Pango stretch of font to use. - an object of type - To be added + Name of the font family. + an object of type + e.g. Sans, Helvetica, Times, Monospace + + + + + Property + + 2.24.0.0 + - GLib.Property("stretch") + GLib.Property("fill_color") - - - - Property - Gtk.Justification + System.String - Justification for multiline text. - an object of type + X color specification for text. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("justification") + GLib.Property("fill_color_gdk") - - - - Property - System.Double + Gdk.Color - Used to query the height of the rendered text. - an object of type + An allocated Gdk.Color specification for text. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("text_height") + GLib.Property("fill_color_rgba") - - - - Property - System.Double + System.UInt32 - Vertical offset distance from anchor position. - an object of type 'double' - To be added + 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("y_offset") + GLib.Property("fill_stipple") - - - - Property Gdk.Drawable @@ -351,129 +385,151 @@ class CanvasTest an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_stipple") + GLib.Property("font") - - - - Property - Gtk.AnchorType + System.String - Anchor position for the text. - an object of type - To be added + 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("anchor") + GLib.Property("font_desc") - - - - Property - System.Double + Pango.FontDescription - Size (in points) of font. - an object of type + Font description as a Pango.FontDescription class. + an object of type To be added - - - GLib.Property("size_points") - - - - + + + Property + + 2.24.0.0 + - System.Int32 + GLib.GType - - + - Pango weight of font to use. - an object of type - To be added + GType Property. + a + Returns the native value for . + + + + + Property + + 2.24.0.0 + - GLib.Property("weight") + GLib.Property("justification") - - - - Property - System.Boolean + Gtk.Justification - Use clipping rectangle? - an object of type + Justification for multiline text. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("clip") + GLib.Property("markup") - - - - Property - Pango.AttrList + System.String - Reference to a Pango attribute list. - an object of type + Pango marked up text to render. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("attributes") + GLib.Property("rise") - - - - Property - Pango.Underline + System.Int32 - Pango underline style for text. - an object of type - To be added + 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("underline") + GLib.Property("scale") - - - - Property System.Double @@ -484,72 +540,111 @@ class CanvasTest an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("scale") + GLib.Property("size") - - - - Property - System.UInt32 + System.Int32 - 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) + Size (in pixels) of font. + an object of type + To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_color_rgba") + GLib.Property("size_points") - - - - Property - System.Int32 + System.Double - Size (in pixels) of font. - an object of type + Size (in points) of font. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("size") + GLib.Property("stretch") - - - - Property - System.Double + Pango.Stretch - Width of clip rectangle. - an object of type + Pango stretch of font to use. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("clip_width") + 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 @@ -560,183 +655,234 @@ class CanvasTest an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("style") + GLib.Property("text") - - - - Property - Pango.Variant + System.String - Pango variant of font to use. - an object of type + The text to display. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("variant") + GLib.Property("text_height") - - - - Property - Gdk.Color + System.Double - An allocated Gdk.Color specification for text. - an object of type + Used to query the height of the rendered text. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_color_gdk") + GLib.Property("text_width") - - - - Property - Pango.FontDescription + System.Double - Font description as a Pango.FontDescription class. - an object of type + Used to query the width of the rendered text. + an object of type 'double' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("font_desc") + GLib.Property("underline") - - - - Property - System.String + Pango.Underline - Font description as a string. - an object of type - See for a description of the format of the string representation. + Pango underline style for text. + an object of type + To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("font") + GLib.Property("variant") - - - - Property - System.Double + Pango.Variant - Used to query the width of the rendered text. - an object of type 'double' + Pango variant of font to use. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("text_width") + 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 - Horizontal offset distance from anchor position. + X coordinate of anchor point. an object of type To be added + + + + + Property + + 2.24.0.0 + GLib.Property("x_offset") - - - - Property - System.String + System.Double - X color specification for text. - an object of type + Horizontal offset distance from anchor position. + an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("fill_color") + GLib.Property("y") - - - - Property - GLib.GType + System.Double - - - 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. + Y coordinate of anchor point. + an object of type + To be added + + + + + Property + + 2.24.0.0 + - System.Obsolete + GLib.Property("y_offset") - - - - Constructor - - + + System.Double + + + - To be added + Vertical offset distance from anchor position. + an object of type 'double' To be added diff --git a/doc/en/Gnome/CanvasWidget.xml b/doc/en/Gnome/CanvasWidget.xml index 597cf9511..522a5590a 100644 --- a/doc/en/Gnome/CanvasWidget.xml +++ b/doc/en/Gnome/CanvasWidget.xml @@ -1,12 +1,19 @@ + 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 @@ -16,171 +23,236 @@ - - Gnome.CanvasItem - - - - + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Creates a new Widget container The that this item belongs to. + Creates a new Widget container - - - Property - - System.Double - + + + + Constructor + + 2.24.0.0 + + + - - Width of widget (units specified by property). - - the width of the widget + 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("width") + GLib.Property("anchor") - - - - Property - System.Double + Gtk.AnchorType - - Height of widget (units specified by property). - - the height of the widget + 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") - - - - Property - Gtk.AnchorType + System.Double - Anchor position for widget. - anchor position for the widget + + Height of widget (units specified by property). + + the height of the widget + + + + + Property + + 2.24.0.0 + - GLib.Property("anchor") + GLib.Property("size_pixels") - - - - Property - Gtk.Widget + System.Boolean - The embedded widget - the embedded widget + 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") - - - - Property - System.Boolean + Gtk.Widget - Whether the widget size is specified in pixels or canvas units. - whether the widget size is specified in pixels or canvas units. + The embedded widget + the embedded widget + + + + + Property + + 2.24.0.0 + - GLib.Property("size_pixels") + GLib.Property("width") - - - - Property System.Double - Y coordinate of anchor point. - Y coordinate of anchor point. + + Width of widget (units specified by property). + + the width of the widget + + + + + Property + + 2.24.0.0 + - GLib.Property("y") + GLib.Property("x") - - - - Property System.Double @@ -192,51 +264,29 @@ + + + + + Property + + 2.24.0.0 + - GLib.Property("x") + GLib.Property("y") - - - - Property - GLib.GType + System.Double - - - 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 + Y coordinate of anchor point. + Y coordinate of anchor point. + + diff --git a/doc/en/Gnome/Client.xml b/doc/en/Gnome/Client.xml index 760a4fd49..52e3eb1d9 100644 --- a/doc/en/Gnome/Client.xml +++ b/doc/en/Gnome/Client.xml @@ -1,124 +1,102 @@ + 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. - - To be added - To be added - Gtk.Object + + To be added + To be added + - - - Method - - Gnome.ModuleInfo - - - - To be added - To be added: an object of type 'Gnome.ModuleInfo' - To be added - - - - - Method - - Gnome.Client - - - - To be added - To be added: an object of type 'Gnome.Client' - To be added - - - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + To be added To be added - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - - - - + - To be added - 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 + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - - - + - To be added - 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 + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method + + + + Property + + 2.24.0.0 + - System.Void + System.String - - - - To be added - To be added: an object of type 'Gnome.DialogType' - To be added: an object of type 'Gnome.InteractFunction' + To be added: an object of type 'string' To be added - - + + + Method + + 2.24.0.0 + System.Void @@ -128,11 +106,20 @@ To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("connect") + + - System.Void + Gnome.ConnectedHandler @@ -140,121 +127,127 @@ To be added - - - Method + + + + Property + + 2.24.0.0 + - System.Void + System.String - To be added - To be added: an object of type 'Gtk.Dialog' + To be added: an object of type 'string' To be added - - - Method + + + + Property + + 2.24.0.0 + - System.Void + System.String - To be added + To be added: an object of type 'string' To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("die") + + - System.Void + System.EventHandler - - - - + To be added - To be added: an object of type 'string' - To be added: an object of type 'string' To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - - - - - To be added - To be added: an object of type 'Gtk.Dialog' - To be added - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - To be added To be added + - - - Property + + + + Method + + 2.24.0.0 + - System.UInt32 + System.Void - - + To be added - To be added: an object of type 'uint' To be added - - - Property + + + + Event + + 2.24.0.0 + + + + GLib.Signal("disconnect") + + - Gnome.RestartStyle + System.EventHandler - - + To be added - The condition upon which to restart or not the program. To be added - + + Property + + 2.24.0.0 + Gnome.ClientFlags @@ -264,49 +257,64 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Void - - + 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 + GLib.GType - - + - To be added - To be added: an object of type 'string' - To be added + GType Property. + a + Returns the native value for . - + + Property + + 2.24.0.0 + System.String @@ -318,294 +326,455 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + - System.String + Gnome.ModuleInfo + To be added - To be added: an object of type 'string' + To be added: an object of type 'Gnome.ModuleInfo' To be added - - - Property + + + + Method + + 2.24.0.0 + - System.String + Gnome.Client - - + To be added - To be added: an object of type 'string' + To be added: an object of type 'Gnome.Client' To be added - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideConnected", Type=typeof(Gnome.Client)) + + - System.String + System.Void + - To be added - To be added: an object of type 'string' - To be added + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDie", Type=typeof(Gnome.Client)) + + - System.String + System.Void + - To be added - To be added: an object of type 'string' - To be added + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Event + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisconnected", Type=typeof(Gnome.Client)) + + - System.EventHandler + 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.24.0.0 + - GLib.Signal("shutdown_cancelled") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSaveComplete", Type=typeof(Gnome.Client)) - - - - Event - System.EventHandler + 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.24.0.0 + - GLib.Signal("die") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSaveYourself", Type=typeof(Gnome.Client)) - - - - Event - Gnome.SaveYourselfHandler + System.Boolean - + + + + + + + - To be added - To be added + 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.Signal("save_yourself") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideShutdownCancelled", Type=typeof(Gnome.Client)) - - - - Event - System.EventHandler + 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 - - - GLib.Signal("disconnect") - - - - - Event + + + + Property + + 2.24.0.0 + - System.EventHandler + System.UInt32 - + + To be added + To be added: an object of type 'uint' To be added - - - GLib.Signal("save_complete") - - - - - Event + + + + Property + + 2.24.0.0 + - Gnome.ConnectedHandler + System.String - + + To be added + To be added: an object of type 'string' To be added - - - GLib.Signal("connect") - - - - - Property + + + + Method + + 2.24.0.0 + - GLib.GType + System.Void - + + + + - GType Property. - a - Returns the native value for . + 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 - + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - + - Default handler for the event. - a - a - a - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - - - Method + + + + Property + + 2.24.0.0 + - System.Void + Gnome.RestartStyle - + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + To be added: an object of type 'Gtk.Dialog' + To be added + To be added + + + + + Event + + 2.24.0.0 + - System.Obsolete + GLib.Signal("save_yourself") - - - - Method - System.Void + Gnome.SaveYourselfHandler To be added To be added - - - + + + Method + + 2.24.0.0 + System.Void @@ -622,7 +791,11 @@ + Method + + 2.24.0.0 + System.Void @@ -637,26 +810,34 @@ 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: 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 @@ -673,7 +854,11 @@ + Method + + 2.24.0.0 + System.Void @@ -688,24 +873,65 @@ 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. 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 + + - \ No newline at end of file + diff --git a/doc/en/Gnome/ClientFlags.xml b/doc/en/Gnome/ClientFlags.xml index 2ca99a38e..a9dd6fd07 100644 --- a/doc/en/Gnome/ClientFlags.xml +++ b/doc/en/Gnome/ClientFlags.xml @@ -1,16 +1,14 @@ + 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. - - Flags indicating the status of a client (as seen by the session manager). - Used as return values by . - System.Enum @@ -22,10 +20,18 @@ 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 @@ -38,7 +44,11 @@ + Field + + 2.24.0.0 + Gnome.ClientFlags @@ -54,7 +64,11 @@ + Field + + 2.24.0.0 + Gnome.ClientFlags diff --git a/doc/en/Gnome/ClientState.xml b/doc/en/Gnome/ClientState.xml index 3779d11ba..5fd5aed1e 100644 --- a/doc/en/Gnome/ClientState.xml +++ b/doc/en/Gnome/ClientState.xml @@ -1,16 +1,14 @@ + 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. - - The state which the is in - To be added - System.Enum @@ -19,94 +17,126 @@ 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 idle + The client is in state disconnected - - + + + Field + + 2.24.0.0 + Gnome.ClientState - The client is in state saving phase 1 + The client is in state frozen - - + + + Field + + 2.24.0.0 + Gnome.ClientState - The client is in state waiting for phase 2 + The client is in state idle - - + + + Field + + 2.24.0.0 + Gnome.ClientState - The client is in state saving phase 2 + The client is in state registering - - + + + Field + + 2.24.0.0 + Gnome.ClientState - The client is in state frozen + The client is in state saving phase 1 - - + + + Field + + 2.24.0.0 + Gnome.ClientState - The client is in state disconnected + The client is in state saving phase 2 - - + + + Field + + 2.24.0.0 + Gnome.ClientState - The client is in state registering + The client is in state waiting for phase 2 diff --git a/doc/en/Gnome/ColorPicker.xml b/doc/en/Gnome/ColorPicker.xml index 436962c32..3bb4c101a 100644 --- a/doc/en/Gnome/ColorPicker.xml +++ b/doc/en/Gnome/ColorPicker.xml @@ -1,16 +1,14 @@ + 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. - - 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. - Gtk.Button @@ -21,117 +19,78 @@ 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. + - - - Method - - System.Void - - - - - - - - - Set the color in the widget. - The red value to set. - The green value to set. - The blue value to set. - The alpha value to set. - To be added - - - - - Method - - System.Void - - - - - - - + + + + Constructor + + 2.24.0.0 + + + - Set the color in the widget. - The red value to set. - The green value to set. - The blue value to set. - The alpha value to set. + Create a new ColorPicker widget. To be added - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - - - + - Set the color in the widget. - The red value to set. - The green value to set. - The blue value to set. - The alpha value to set. - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - - - Create a new ColorPicker widget. - To be added - - - - + + + Property - - System.UInt32 - - - - - The green value for the color in the widget. - The current value of the channel. - To be added - + + 2.24.0.0 + - GLib.Property("green") + GLib.Property("alpha") - - - - Property System.UInt32 @@ -142,53 +101,19 @@ The current value of the channel. To be added - - - GLib.Property("alpha") - - - - + + + Property - - 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 - + + 2.24.0.0 + - GLib.Property("title") - - - - - - Property - - System.Boolean - - - - - Whether the sample is dithered or simply a solid color. - Current dither settings for the widget. - To be added - - - - GLib.Property("dither") + GLib.Property("blue") - - - - Property System.UInt32 @@ -199,112 +124,108 @@ The current value of the channel. To be added + + + + + Event + + 2.24.0.0 + - GLib.Property("blue") + GLib.Signal("color_set") - - - - Property - System.Boolean + Gnome.ColorSetHandler - - + - Enable/Disable support for an alpha channel for the color. - Curren rule for the use of the alpha channel. + Emitted when a color is selected in the color dialog. To be added - - - GLib.Property("use_alpha") - - - - + + + Property - - System.UInt32 - - - - - The red value for the color in the widget. - The current value of the channel. - To be added - + + 2.24.0.0 + - GLib.Property("red") + GLib.Property("dither") - - - - Event - Gnome.ColorSetHandler + System.Boolean - + + - Emitted when a color is selected in the color dialog. + Whether the sample is dithered or simply a solid color. + Current dither settings for the widget. To be added - - - GLib.Signal("color_set") - - - - + + + Method + + 2.24.0.0 + System.Void - - - - + + + + - Get the UInt16s for the current color in the widget. 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 - - - - + + + + - Get the doubles for the current color in the widget. 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 @@ -315,17 +236,44 @@ - Get the bytes for the current color in the widget. 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 @@ -338,7 +286,16 @@ + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideColorSet", Type=typeof(Gnome.ColorPicker)) + + System.Void @@ -349,31 +306,157 @@ - Default handler for the event. a a a a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Property + + 2.24.0.0 + + + + GLib.Property("red") + + + + System.UInt32 + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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 + diff --git a/doc/en/Gnome/ColorSetArgs.xml b/doc/en/Gnome/ColorSetArgs.xml index 9fafb61a2..e933cf7b3 100644 --- a/doc/en/Gnome/ColorSetArgs.xml +++ b/doc/en/Gnome/ColorSetArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + System.UInt32 @@ -41,8 +51,12 @@ - + + Property + + 2.24.0.0 + System.UInt32 @@ -53,8 +67,12 @@ - + + Property + + 2.24.0.0 + System.UInt32 @@ -65,8 +83,12 @@ - + + Property + + 2.24.0.0 + System.UInt32 diff --git a/doc/en/Gnome/ColorSetHandler.xml b/doc/en/Gnome/ColorSetHandler.xml index 9e0d0a95c..ccce192a0 100644 --- a/doc/en/Gnome/ColorSetHandler.xml +++ b/doc/en/Gnome/ColorSetHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/Config.xml b/doc/en/Gnome/Config.xml index 694861519..686fef04c 100644 --- a/doc/en/Gnome/Config.xml +++ b/doc/en/Gnome/Config.xml @@ -1,129 +1,175 @@ + 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. - - 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. - 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. + - - - Method - - System.Void - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.IntPtr + System.String - - - + + + a + a To be added - a - a - a - a + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - - - To be added a - a - a a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.IntPtr + System.Void - To be added a a - a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - - To be added a - a a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - To be added - To be added + 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 @@ -132,385 +178,588 @@ - To be added a a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.String + System.Boolean - - + + + + a + a + a To be added - a - a - a + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + System.Double - + - To be added a - a + a a + To be added + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + System.Int32 + - To be added a + a a - a + To be added + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + System.String + - Flushes all the configuration data to disk, for a given file. - The path of the target file. + The path to the required item. + If the default value for the item is returned its set to a otherwise its a . a - Returns if its able to write to disk, otherwise its . - Nothing is saved on disk till this method gets invoked, or Sync(). + 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.Void + System.String + - To be added a + a a + To be added + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - + + + - To be added a - a + a + a + a a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + System.Boolean - + + + + - Clears any cached information, including any information that has not been written to file. - All non saved configuration data is lost. + a + a + To be added + a + To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + System.IntPtr - To be added a a + To be added + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + System.IntPtr - - To be added a - a a + To be added + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + System.IntPtr - - - + + + + a + a + a To be added - a - a - a + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Void + System.Int32 - - + + + a + a To be added - a - a + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + System.Void - 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_. + To be added + To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.IntPtr + System.Void - - To be added a - a - a - To be added - - - - - Constructor - - - To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + System.Void - + - To be added a - a + a a - a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Int32 + System.Void - + - To be added a - a + a a - a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.String + System.Void - + - To be added a - a + a a - a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - - - + - To be added a - a - a - a + a a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.String + System.Void - + - Gets the value associated with the path as a , if its not present, the default value will be used. - The path to the required item. - If the default value for the item is returned its set to a otherwise its a . + a + a a - Returns the value in the configuration path or the default value if its not present, as a . + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Double + System.Void - + + - To be added a - a + a + a a - a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Int32 + 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 - - + + - To be added - a - a - a - To be added + 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(). diff --git a/doc/en/Gnome/ConnectedArgs.xml b/doc/en/Gnome/ConnectedArgs.xml index bd8b6adb4..73c15f0b5 100644 --- a/doc/en/Gnome/ConnectedArgs.xml +++ b/doc/en/Gnome/ConnectedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + System.Boolean diff --git a/doc/en/Gnome/ConnectedHandler.xml b/doc/en/Gnome/ConnectedHandler.xml index ccb77767b..805087f0f 100644 --- a/doc/en/Gnome/ConnectedHandler.xml +++ b/doc/en/Gnome/ConnectedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/ContextMenuItemCallback.xml b/doc/en/Gnome/ContextMenuItemCallback.xml index 059060097..cb88068dc 100644 --- a/doc/en/Gnome/ContextMenuItemCallback.xml +++ b/doc/en/Gnome/ContextMenuItemCallback.xml @@ -1,22 +1,24 @@ + 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. - - To be added - To be added - - System.Delegate - + System.Void - + + To be added + To be added + + + diff --git a/doc/en/Gnome/DateEdit.xml b/doc/en/Gnome/DateEdit.xml index 641e104c8..db6420194 100644 --- a/doc/en/Gnome/DateEdit.xml +++ b/doc/en/Gnome/DateEdit.xml @@ -1,158 +1,211 @@ + 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. - - To be added - To be added - Gtk.HBox + + To be added + To be added + - - - Method - - System.Void - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - To be added: an object of type 'Gnome.DateEditFlags' To be added - - - Method - - System.Void - + + + + 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: an object of type 'int' - To be added: an object of type 'int' To be added + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property - - System.Int32 - + + + + Constructor + + 2.24.0.0 + + + + + + + a + a To be added - To be added: an object of type 'int' To be added - - - Property - - System.Int32 - + + + + Constructor + + 2.24.0.0 + + + + + a + a To be added - To be added: an object of type 'int' To be added - - - GLib.Property("lower_hour") - - - - - Property - - Gnome.DateEditFlags - + + + + Constructor + + 2.24.0.0 + + + + + + a + a + a To be added - To be added: an object of type 'Gnome.DateEditFlags' To be added - - - GLib.Property("dateedit_flags") - - - - - Property + + + + Method + + 2.24.0.0 + - System.Int32 + System.Void + + + a + a To be added - To be added: an object of type 'int' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("upper_hour") + System.Obsolete - - - - Event - System.EventHandler + System.DateTime To be added + a To be added + - - - GLib.Signal("time_changed") - - + Event + + 2.24.0.0 + + + + GLib.Signal("date_changed") + + System.EventHandler @@ -161,15 +214,75 @@ To be added To be added + + + + + Property + + 2.24.0.0 + - GLib.Signal("date_changed") + 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 @@ -180,28 +293,42 @@ a To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("initial_time") + GLib.Property("lower_hour") - - - - Property - GLib.GType + System.Int32 - + + - GType Property. - a - Returns the native value for . + 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 @@ -213,157 +340,130 @@ + 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. - + + 2.24.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTimeChanged", Type=typeof(Gnome.DateEdit)) - - - - Property - System.DateTime + System.Void - To be added - a - To be added + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - GLib.Property("time") - - - - + + + Method + + 2.24.0.0 + System.Void - + To be added: an object of type 'Gnome.DateEditFlags' To be added - a - a To be added - - - Constructor - - - - - - - - To be added - a - a - a - To be added - - - - - Constructor - + + + + 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 - a - a To be added - - - Constructor - + + + + Property + + 2.24.0.0 + + + + GLib.Property("time") + + + + System.DateTime + To be added + a To be added - - - Constructor - - - - - - To be added - a - To be added - - - - - Constructor - - - - - + + + + Event + + 2.24.0.0 + + + + GLib.Signal("time_changed") + + + + System.EventHandler + + To be added - a - a To be added - - + + + Property + + 2.24.0.0 + + + + GLib.Property("upper_hour") + + - System.DateTime + System.Int32 - + + To be added - a + To be added: an object of type 'int' To be added - - - - System.Obsolete - - diff --git a/doc/en/Gnome/DateEditFlags.xml b/doc/en/Gnome/DateEditFlags.xml index d89534f4d..07e694a5f 100644 --- a/doc/en/Gnome/DateEditFlags.xml +++ b/doc/en/Gnome/DateEditFlags.xml @@ -1,16 +1,14 @@ + 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. - - Flags specifying how behaves - To be added. - System.Enum @@ -22,10 +20,32 @@ 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 @@ -38,7 +58,11 @@ + Field + + 2.24.0.0 + Gnome.DateEditFlags @@ -51,7 +75,11 @@ + Field + + 2.24.0.0 + Gnome.DateEditFlags diff --git a/doc/en/Gnome/DialogType.xml b/doc/en/Gnome/DialogType.xml index 2a5fdb106..151c6bee0 100644 --- a/doc/en/Gnome/DialogType.xml +++ b/doc/en/Gnome/DialogType.xml @@ -1,16 +1,14 @@ + 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. - - The dialogs used by the session manager to handle user interactions. - To be added. - System.Enum @@ -19,10 +17,18 @@ 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 @@ -35,7 +41,11 @@ + Field + + 2.24.0.0 + Gnome.DialogType diff --git a/doc/en/Gnome/DrawBackgroundArgs.xml b/doc/en/Gnome/DrawBackgroundArgs.xml index 0e71166cd..24df1f6da 100644 --- a/doc/en/Gnome/DrawBackgroundArgs.xml +++ b/doc/en/Gnome/DrawBackgroundArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -28,21 +34,29 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.24.0.0 + - System.Int32 + Gdk.Drawable To be added - To be added: an object of type 'int' + To be added: an object of type 'Gdk.Drawable' To be added - - + + + Property + + 2.24.0.0 + System.Int32 @@ -52,9 +66,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.Int32 @@ -65,8 +83,12 @@ - + + Property + + 2.24.0.0 + System.Int32 @@ -76,15 +98,19 @@ To be added - - + + + Property + + 2.24.0.0 + - Gdk.Drawable + System.Int32 To be added - To be added: an object of type 'Gdk.Drawable' + To be added: an object of type 'int' To be added diff --git a/doc/en/Gnome/DrawBackgroundHandler.xml b/doc/en/Gnome/DrawBackgroundHandler.xml index 6728f1d84..82cef2650 100644 --- a/doc/en/Gnome/DrawBackgroundHandler.xml +++ b/doc/en/Gnome/DrawBackgroundHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/Druid.xml b/doc/en/Gnome/Druid.xml index 10b3eaf4e..221073d93 100644 --- a/doc/en/Gnome/Druid.xml +++ b/doc/en/Gnome/Druid.xml @@ -1,12 +1,24 @@ + 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. @@ -18,189 +30,198 @@ The widget which ultimately holds all of the druid's pages and information. This - - Gtk.Container - - - - - - Method - - System.Void - + + + + 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 + + + - + - - This will prepend a into the internal list of pages that the druid has. - - The page to be inserted. - Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - + - This will insert a page after back_page into the list of internal pages that the druid has. - The prior to the page to be inserted. - The to insert. + Pointer to the C object. + Internal constructor - 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. + This is an internal constructor, and should not be used by user code. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - - - + + - Sets the sensitivity of druid's control-buttons. - 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. - If the variables are true, then the buttons will be clickable. This function is used primarily by the actual GnomeDruidPage widgets. + a + a + To be added + To be added - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - + + + - This will append a onto the end of the internal list. - The to be appended. - - Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. - + a + a + a + To be added + To be added - + + Constructor + + 2.24.0.0 + - + + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + a + a + To be added + To be added - + + 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. - - - - - Property - - Gnome.DruidPage - + + + + - This will make the currently showing page in the druid. - an object of type - - must already be in the druid. + a + a + a + a + To be added + To be added - - - Property + + + + Method + + 2.24.0.0 + - System.Boolean + System.Void + - - This will make the given the currently showing page in the druid. - - an object of type + The to be appended. + This will append a onto the end of the internal list. - The page must already be in the druid. + Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. - - - GLib.Property("show_finish") - - - - + + + Property + + 2.24.0.0 + - System.Boolean + Gtk.Button - - + - 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". + The druid's "Back" button. + a + + + - - - GLib.Property("show_help") - - - - + + + Event - - 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. - + + 2.24.0.0 + - GLib.Signal("help") + GLib.Signal("cancel") - - - - Event System.EventHandler @@ -210,173 +231,157 @@ The widget which ultimately holds all of the druid's pages and information. This - - - GLib.Signal("cancel") - - - - + + + Property + + 2.24.0.0 + - GLib.GType + Gtk.Button - GType Property. - a - Returns the native value for . + The druid's "Cancel" button. + a + + + - - + + + Method + + 2.24.0.0 + - System.Void + Gtk.Widget - + + + + + - 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 + 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 + - System.Void + Gtk.Button - Run when the user requests help from the druid's interface. - Override this method to offer some help to the user when requested. + The druid's "Finish" button. + a + + + - - - Constructor - - - - + + + + Property + + 2.24.0.0 + + + GLib.GType + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + GType Property. + a + Returns the native value for . + + + + + Event + + 2.24.0.0 + - System.Obsolete + GLib.Signal("help") - - - - Method - Gtk.Widget + System.EventHandler - - - - - - - Creates a new toplevel window with the title of (which can be ) and a parent of (which also can be ). - a - a - a - 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. - - - - - Constructor - - - - - - - - To be added - a - a - a - To be added - - - - - Constructor - - - - - - - To be added - a - a - To be added - - - - - Constructor - - - - - - - - To be added - a - a - a - To be added - - - - - Constructor - - - - - - - + - To be added - a - a - a - a - To be added + 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 "Finish" 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 @@ -389,55 +394,162 @@ The widget which ultimately holds all of the druid's pages and information. This - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancel", Type=typeof(Gnome.Druid)) + + - Gtk.Button + System.Void - The druid's "Help" button. - a - - - + Run when the druid is canceled. + Override this method if you want to add non-standard behaviour to occur when the druid is canceled - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideHelp", Type=typeof(Gnome.Druid)) + + - Gtk.Button + System.Void - The druid's "Back" button. - a + 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") + + - Gtk.Button + System.Boolean - + + - The druid's "Cancel" button. - a + + 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". - - - System.Obsolete - - diff --git a/doc/en/Gnome/DruidPage.xml b/doc/en/Gnome/DruidPage.xml index e3a8b0a46..49e9cc4fb 100644 --- a/doc/en/Gnome/DruidPage.xml +++ b/doc/en/Gnome/DruidPage.xml @@ -1,75 +1,92 @@ + 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. - - 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). - 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). + - - - Method - - System.Void - - - - Emit the event. - To be added - - - - - Method - - System.Boolean - + + + + Constructor + + 2.24.0.0 + + - 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. + Creates a new . + + - - - Method - - System.Boolean - - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + + + + - 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. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - - + + + + Constructor + + 2.24.0.0 + + + + + - 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. + 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 @@ -80,35 +97,57 @@ It is called by exclusively. It is expected that non-linear Druids will override this signal and return if it handles changing pages. - - - Constructor - - - - + + + + Event + + 2.24.0.0 + + + + GLib.Signal("back") + + + + Gnome.BackClickedHandler + + - Internal constructor - Pointer to the C object. + Emitted when the "Back" button of the page is clicked. - This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Boolean + - Creates a new . - - + 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 @@ -118,33 +157,35 @@ - - - GLib.Signal("cancel") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.BackClickedHandler + System.Void - Emitted when the "Back" button of the page is clicked. - - + Emit the event. + To be added - - - GLib.Signal("back") - - + Event + + 2.24.0.0 + + + + GLib.Signal("finish") + + Gnome.FinishClickedHandler @@ -154,79 +195,100 @@ - - - GLib.Signal("finish") - - - - - Event + + + + Property + + 2.24.0.0 + - Gnome.NextClickedHandler + GLib.GType - Emitted when the "Next" button of the page is clicked. - - + GType Property. + a + Returns the native value for . - - - GLib.Signal("next") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.PreparedHandler + System.Boolean - Emitted immediately prior to a druid page being shown. - - + 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("prepare") + GLib.Signal("next") - - - - Property - GLib.GType + Gnome.NextClickedHandler - GType Property. - a - Returns the native value for . + Emitted when the "Next" button of the page is clicked. + + - - + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideBackClicked", Type=typeof(Gnome.DruidPage)) + + - System.Void + System.Boolean - Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -234,15 +296,24 @@ - Default handler for the event. a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideFinishClicked", Type=typeof(Gnome.DruidPage)) + + System.Void @@ -250,14 +321,23 @@ - Default handler for the event. 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 @@ -265,50 +345,73 @@ - Default handler for the event. a + Default handler for the event. a - Override this method in a subclass to provide 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="OverridePrepared", Type=typeof(Gnome.DruidPage)) + + - System.Boolean + System.Void - Default handler for the event. a - a - Override this method in a subclass to provide a default handler for the event. + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - + + + + Method + + 2.24.0.0 + + + System.Void + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + GLib.Signal("prepare") + + Gnome.PreparedHandler + + + + Emitted immediately prior to a druid page being shown. + + + - - - System.Obsolete - - diff --git a/doc/en/Gnome/DruidPageEdge.xml b/doc/en/Gnome/DruidPageEdge.xml index 70731748f..1934c3156 100644 --- a/doc/en/Gnome/DruidPageEdge.xml +++ b/doc/en/Gnome/DruidPageEdge.xml @@ -1,12 +1,24 @@ + 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. @@ -14,72 +26,87 @@ 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 . - - Gnome.DruidPage - - - - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - - - - - - + - Constructs a new widget. - 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 - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.24.0.0 + - + - Internal constructor - Pointer to the C object. + Position in druid. + Creates a new widget. - This is an internal constructor, and should not be used by user code. - + + Constructor + + 2.24.0.0 + - + - Creates a new widget. - Position in druid. + 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 + @@ -91,7 +118,6 @@ - Creates a new widget with the values given. Position in druid. Use an antialiased canvas. The title. @@ -99,12 +125,17 @@ 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 @@ -118,57 +149,81 @@ - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Void + + + + + + + - The page title. - The page title. + 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 + - Gdk.Color + GLib.GType - - + - The background color of the main text area. - The color. - - - + GType Property. + a + Returns the native value for . - - + + + Property + + 2.24.0.0 + - Gdk.Color + Gdk.Pixbuf - The color of the text in the body of the page. - The color. - - + 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 @@ -182,143 +237,162 @@ - - + + + Property + + 2.24.0.0 + - Gdk.Pixbuf + System.UInt32 - - + - 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. + The position of the page within the druid. + a + + - - + + + Property + + 2.24.0.0 + - Gdk.Pixbuf + System.String - 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. + The current text of the page. + The text. + + - - + + + Property + + 2.24.0.0 + Gdk.Color - The color of the title text. + The background color of the main text area. The color. - - + + + Property + + 2.24.0.0 + - Gdk.Pixbuf + Gdk.Color - The logo to display in the top right corner. - the logo, as a - If set to , then no logo will be displayed. + The color of the text in the body of the page. + The color. + + - - + + + Property + + 2.24.0.0 + System.String - The current text of the page. - The text. + The page title. + The page title. - - + + + Property + + 2.24.0.0 + - GLib.GType + Gdk.Color - - - 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. + The color of the title text. + The color. + + + - - - System.Obsolete - - - - - Constructor - - + + + + Property + + 2.24.0.0 + + + Gdk.Pixbuf + + + - To be added - To be added + 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 + - System.UInt32 + Gdk.Pixbuf - + + - The position of the page within the druid. - a - - + 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. - - - System.Obsolete - - diff --git a/doc/en/Gnome/DruidPageStandard.xml b/doc/en/Gnome/DruidPageStandard.xml index 998531691..33c738695 100644 --- a/doc/en/Gnome/DruidPageStandard.xml +++ b/doc/en/Gnome/DruidPageStandard.xml @@ -1,12 +1,24 @@ + 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. @@ -14,63 +26,70 @@ 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). - - Gnome.DruidPage - - - - - - Method - - System.Void - - - - - - + + + + Constructor + + 2.24.0.0 + + + - Add a to a 's VBox. - The text to place above the item. - The to be included. - The text to be placed below the item in a smaller font. + Construct a new . - 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. - + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.24.0.0 + - + + + - Construct a new . + 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 + @@ -78,73 +97,96 @@ - Constructs a new and allows the caller to fill in some of the values at the same time. 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. - - - Property + + + + Method + + 2.24.0.0 + - Gdk.Color + System.Void + + + - The color of the main contents section background. - an object of type + 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 - Sets the color of the main contents section's background. - an object of type + The color of the page border. + The color. + + + + + + Property + + 2.24.0.0 + - GLib.Property("title_foreground_gdk") + GLib.Property("background_gdk") - - - - Property Gdk.Color - The background of the logo. + The background color of the top section of the druid page. an object of type + + + + + Property + + 2.24.0.0 + - GLib.Property("logo_background_gdk") + GLib.Property("background_set") - - - - Property System.Boolean @@ -155,49 +197,116 @@ an object of type To be added - - - GLib.Property("title_foreground_set") - - - - + + + Property + + 2.24.0.0 + - Gdk.Pixbuf + Gdk.Color - Sets a as the logo in the top right corner. + The color of the main contents section background. an object of type - If , then no logo will be displayed. + + + + + + + + Property + + 2.24.0.0 + - GLib.Property("logo") + 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") + + - Gdk.Color + 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 - The color of the title text. + Sets a as the logo in the top right corner. an object of type - To be added. - + If , then no logo will be displayed. - + + Property + + 2.24.0.0 + Gdk.Color @@ -211,103 +320,132 @@ - - + + + Property + + 2.24.0.0 + + + + GLib.Property("logo_background_gdk") + + Gdk.Color - The color of the page border. - The color. + The background of the logo. + an object of type - - - + + + Property + + 2.24.0.0 + + + + GLib.Property("logo_background_set") + + - System.String + System.Boolean - The page title. - The page title. - - + 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") - - - - Property - Gdk.Color + System.String - The background color of the top section of the druid page. - an object of type + The page title. + The page title. - - - GLib.Property("background_gdk") - - - - + + + Property + + 2.24.0.0 + - Gdk.Pixbuf + Gdk.Color - Sets a as the watermark on the top strip on the druid. - an object of type - If , it is reset to the normal color. + The color of the title text. + an object of type + To be added. + + + + + + Property + + 2.24.0.0 + - GLib.Property("top_watermark") + GLib.Property("title_foreground_gdk") - - - - Property - System.Boolean + Gdk.Color - 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. + Sets the color of the main contents section's background. + an object of type + + + + + + + Property + + 2.24.0.0 + - GLib.Property("logo_background_set") + GLib.Property("title_foreground_set") - - - - Property System.Boolean @@ -318,46 +456,37 @@ an object of type To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("background_set") + GLib.Property("top_watermark") - - - - Property - GLib.GType + Gdk.Pixbuf - - - 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. + Sets a as the watermark on the top strip on the druid. + an object of type + If , it is reset to the normal color. - - - System.Obsolete - - - + + Property + + 2.24.0.0 + Gtk.VBox @@ -370,44 +499,5 @@ - - - Property - - - GLib.Property("contents_background_set") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Property - - - GLib.Property("contents_background_gdk") - - - - Gdk.Color - - - To be added. - To be added. - To be added. - - - - - System.Obsolete - - diff --git a/doc/en/Gnome/EdgePosition.xml b/doc/en/Gnome/EdgePosition.xml index 0c1eabad5..14a4ff0d3 100644 --- a/doc/en/Gnome/EdgePosition.xml +++ b/doc/en/Gnome/EdgePosition.xml @@ -1,16 +1,14 @@ + 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. - - 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. - System.Enum @@ -19,36 +17,55 @@ 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 beginning of the druid. + The current page is at the end of the druid. - - + + + Field + + 2.24.0.0 + Gnome.EdgePosition - The current page is at the end of the druid. + + 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 @@ -59,18 +76,19 @@ - - + + + 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. - + The current page is at the beginning of the druid. diff --git a/doc/en/Gnome/Entry.xml b/doc/en/Gnome/Entry.xml index ba923a171..db59d67f6 100644 --- a/doc/en/Gnome/Entry.xml +++ b/doc/en/Gnome/Entry.xml @@ -1,17 +1,14 @@ + 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. - - A single-line text entry widget. - - - Gtk.Combo @@ -25,121 +22,159 @@ System.Obsolete + + A single-line text entry widget. + + + - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - + - Select the text between and . - an object of type - an object of type - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.String - + + + + Constructor + + 2.24.0.0 + + - - + - Gets the text between and . - an object of type - an object of type - an object of type + Pointer to the C object. + Internal constructor + This is an internal constructor, and should not be used by user code. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - + - Delete the text between and . - an object of type - an object of type + an object of type + Creates a new instance. - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("activate") + + - System.Void + System.EventHandler - To be added - To be added + Emitted when the is activated. + This usually occurs when the user presses the "enter" or "return" key. - - + + + Method + + 2.24.0.0 + System.Void - + + + + - Delete the text contained in the selection. - - + 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. - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("changed") + + - System.Boolean + System.EventHandler - - - - + - Determines the position of the beggining and end of a selection. - an object of type - an object of type - an object of type + Emitted when the text is changed. - - + + + Method + + 2.24.0.0 + System.Void - To be added - To be added + Clears the history. + + - - + + + Method + + 2.24.0.0 + System.Void @@ -149,147 +184,158 @@ To be added - - + + + Method + + 2.24.0.0 + System.Void - - - - + - Adds a history item of the given text to the head of the history list. - an object of type - an object of type - 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. + To be added + To be added - - + + + Method + + 2.24.0.0 + System.Void - Clears the history. + Delete the text contained in the selection. - - + + + Method + + 2.24.0.0 + System.Void - - - - - Adds a history item of the given text to the tail of the history list. - an object of type - an object of type - 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. - - - - - Constructor - - - + + - Internal constructor - Pointer to the C object. + an object of type + an object of type + Delete the text between and . - This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.String + - + + - Creates a new instance. - an object of type + an object of type + an object of type + Gets the text between and . + an object of type - - - Property + + + + Method + + 2.24.0.0 + System.Boolean + + - Whether the is editable by the user. - an object of type + 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") + + - System.Int32 + Gtk.Entry - - - The position of the cursor in the entry. - an object of type + The internal of the . + an object of type - - + + + Property + + 2.24.0.0 + - System.UInt32 + GLib.GType - - + - 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 . + GType Property. + a + Returns the native value for . - - + + + Property - - Gtk.Entry - - - The internal of the . - an object of type - - - + + 2.24.0.0 + - GLib.Property("gtk_entry") + GLib.Property("history_id") - - - - Property System.String @@ -301,50 +347,14 @@ - - - GLib.Property("history_id") - - - - - - Event - - System.EventHandler - - - - Emitted when the text is changed. - - - - - - GLib.Signal("changed") - - - - - - Event - - System.EventHandler - - - - Emitted when the is activated. - This usually occurs when the user presses the "enter" or "return" key. - - - - GLib.Signal("activate") - - + Method + + 2.24.0.0 + System.Void @@ -353,28 +363,61 @@ - To be added an object of type an object of type + To be added To be added - - + + + Property + + 2.24.0.0 + - GLib.GType + System.Boolean - + + - GType Property. - a - Returns the native value for . + 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 @@ -386,7 +429,16 @@ + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gnome.Entry)) + + System.Void @@ -398,7 +450,16 @@ + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Gnome.Entry)) + + System.Void @@ -407,15 +468,24 @@ - Default handler for the event. 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 @@ -424,34 +494,103 @@ - Default handler for the event. a a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + + + + To be added + To be added + + + + + + Property + + 2.24.0.0 + + + System.Int32 + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 . + + - - - System.Obsolete - - + Event + + 2.24.0.0 + + + + GLib.Signal("delete_text") + + Gtk.TextDeletedHandler @@ -460,15 +599,19 @@ Emitted when text is deleted from the entry. - - - GLib.Signal("delete_text") - - + Event + + 2.24.0.0 + + + + GLib.Signal("insert_text") + + Gtk.TextInsertedHandler @@ -477,11 +620,6 @@ Emitted when text is inserted into the entry. - - - GLib.Signal("insert_text") - - diff --git a/doc/en/Gnome/FileDomain.xml b/doc/en/Gnome/FileDomain.xml index cd14d0dc2..935f01361 100644 --- a/doc/en/Gnome/FileDomain.xml +++ b/doc/en/Gnome/FileDomain.xml @@ -1,12 +1,22 @@ + 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. @@ -18,180 +28,224 @@ App* types, which specify locations relative to AppDatadir. - - System.Enum - - - - GLib.GType(typeof(Gnome.FileDomainGType)) - - - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - An unknown file domain (should never be used). + Application specific config files. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Libraries in the main GNOME installation. + Application specific data files. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Data files in the main GNOME installation. + Application specific help files. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Sound files in the main GNOME installation. + Application specific libraries. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Pixmap files in the main GNOME installation. + Application specific pixmap files. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Config files in the main GNOME installation. + Application specific sound files. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Help files in the main GNOME installation. + Config files in the main GNOME installation. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Application specific libraries. + Data files in the main GNOME installation. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Application specific data files. + Help files in the main GNOME installation. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Application specific sound files. + Libraries in the main GNOME installation. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Application specific pixmap files. + Pixmap files in the main GNOME installation. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Application specific config files. + Sound files in the main GNOME installation. - - + + + Field + + 2.24.0.0 + Gnome.FileDomain - Application specific help files. + An unknown file domain (should never be used). diff --git a/doc/en/Gnome/FileEntry.xml b/doc/en/Gnome/FileEntry.xml index 3b0b7439b..b812ab6ed 100644 --- a/doc/en/Gnome/FileEntry.xml +++ b/doc/en/Gnome/FileEntry.xml @@ -1,16 +1,14 @@ + 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. - - A widget for selecting a file or directory. - A contains a and a browse dialog. - Gtk.VBox @@ -19,136 +17,174 @@ Gtk.Editable + + + System.Obsolete + + + + A widget for selecting a file or directory. + A contains a and a browse dialog. + - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - + - Select the text of the between and . - an object of type - an object of type - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.String - + + + + Constructor + + 2.24.0.0 + + - - + - Gets the text of the between and . - an object of type - an object of type - an object of type + Pointer to the C object. + Internal constructor + This is an internal constructor, and should not be used by user code. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - + + - Deletes the text of the between and . - an object of type - an object of type + an object of type + an object of type + Creates a new . - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("activate") + + - System.Void + System.EventHandler - To be added + Emitted when the is activated. - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("browse_clicked") + + - System.Void + System.EventHandler - To be added + Emitted when the browse button is clicked. - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("browse_dialog_title") + + - System.Boolean + System.String - - - To be added - an object of type - an object of type - an object of type - - - - - - - Method - - System.Void - - - - To be added + Title of the browse dialog. + an object of type - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("changed") + + - System.Void + System.EventHandler - To be added + Emitted when the text is changed into the . + Method + + 2.24.0.0 + System.Void @@ -157,166 +193,186 @@ - Construct a . an object of type an object of type + Construct a . - - + + + Method + + 2.24.0.0 + - System.String + System.Void - - - - - Gets the full absolute path of the file from the entry. - an object of type - 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. - - - - - Constructor - - - - + - Internal constructor - Pointer to the C object. + To be added - This is an internal constructor, and should not be used by user code. - - - Constructor - - - - - + + + + Method + + 2.24.0.0 + + + System.Void + + - Creates a new . - an object of type - an object of type + To be added - - + + + Property + + 2.24.0.0 + + + + GLib.Property("default_path") + + - System.Boolean + System.String - Whether the should be editable by the user. - an object of type - + 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. - - - Property + + + + Method + + 2.24.0.0 + - System.Int32 + System.Void - - + - The cursor position in the . - an object of type + To be added - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Void + + - 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. + an object of type + an object of type + Deletes the text of the between and . + - - + + + Property + + 2.24.0.0 + - Gtk.Entry + System.Boolean - The associated . - an object of type - - + To be added + a + To be added + + + + + + Property + + 2.24.0.0 + - GLib.Property("gtk_entry") + GLib.Property("directory_entry") - - - - Property System.Boolean - Whether the browse dialog is modal. + 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("modal") + GLib.Property("filechooser_action") - - - - Property - System.String + Gtk.FileChooserAction - - + - 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. - + To be added + a + To be added + + + + + + Property + + 2.24.0.0 + - GLib.Property("default_path") + GLib.Property("filename") - - - - Property System.String @@ -328,75 +384,85 @@ - - - GLib.Property("filename") - - - - - Property + + + + Method + + 2.24.0.0 + System.String + + - Title of the browse dialog. - an object of type + an object of type + an object of type + Gets the text of the between and . + an object of type - - - GLib.Property("browse_dialog_title") - - - - - Property + + + + Method + + 2.24.0.0 + - System.Boolean + System.String + - 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. - - - - - GLib.Property("directory_entry") - - + 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. + - - - Property + + + + Method + + 2.24.0.0 + - System.String + System.Boolean + + - The ID for the associated history. - an object of type + an object of type + an object of type + To be added + an object of type + + + + + Property + + 2.24.0.0 + - GLib.Property("history_id") + GLib.Property("gnome_entry") - - - - Property Gnome.Entry @@ -406,69 +472,77 @@ + + + + + Property + + 2.24.0.0 + - GLib.Property("gnome_entry") + GLib.Property("gtk_entry") - - - - Event - System.EventHandler + Gtk.Entry - - Emitted when the text is changed into the . + The associated . + an object of type - - - GLib.Signal("changed") - - - - - Event + + + + Property + + 2.24.0.0 + - System.EventHandler + GLib.GType - Emitted when the browse button is clicked. - - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.24.0.0 + - GLib.Signal("browse_clicked") + GLib.Property("history_id") - - - - Event - System.EventHandler + System.String - + + - Emitted when the is activated. + The ID for the associated history. + an object of type - - - GLib.Signal("activate") - - + Method + + 2.24.0.0 + System.Void @@ -477,29 +551,68 @@ - Inserts into the at . an object of type an object of type + Inserts into the at . - - + + + Property + + 2.24.0.0 + - GLib.GType + System.Boolean - + + - GType Property. - a - Returns the native value for . + 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 @@ -511,7 +624,16 @@ + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideBrowseClicked", Type=typeof(Gnome.FileEntry)) + + System.Void @@ -523,7 +645,16 @@ + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gnome.FileEntry)) + + System.Void @@ -535,7 +666,16 @@ + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Gnome.FileEntry)) + + System.Void @@ -544,15 +684,24 @@ - Default handler for the event. 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 @@ -561,109 +710,148 @@ - Default handler for the event. a a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + + + + To be added + + + + + + + + Property + + 2.24.0.0 + + + System.Int32 + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + The cursor position in the . + an object of type + + - - - System.Obsolete - - - - - Event + + + + Method + + 2.24.0.0 + - Gtk.TextDeletedHandler + System.Void - + + + + - Emitted when text is deleted into the . - + an object of type + an object of type + Select the text of the between and . + + + + + + + Event + + 2.24.0.0 + GLib.Signal("delete_text") - - - - Event - Gtk.TextInsertedHandler + Gtk.TextDeletedHandler - Emitted when text is inserted into the . + Emitted when text is deleted into the . + + + + + Event + + 2.24.0.0 + GLib.Signal("insert_text") - - - - Property - System.Boolean + Gtk.TextInsertedHandler - To be added - a - To be added - + Emitted when text is inserted into the . + - - - GLib.Property("use_filechooser") - - - - + + + Property + + 2.24.0.0 + - Gtk.FileChooserAction + System.String - + + - To be added - a - To be added - + 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("filechooser_action") + GLib.Property("use_filechooser") - - - - Property System.Boolean + To be added a @@ -672,9 +860,4 @@ - - - System.Obsolete - - diff --git a/doc/en/Gnome/FinishClickedArgs.xml b/doc/en/Gnome/FinishClickedArgs.xml index 2cd4fde5d..0796ec470 100644 --- a/doc/en/Gnome/FinishClickedArgs.xml +++ b/doc/en/Gnome/FinishClickedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gtk.Widget diff --git a/doc/en/Gnome/FinishClickedHandler.xml b/doc/en/Gnome/FinishClickedHandler.xml index 1d8cf4113..eedc87745 100644 --- a/doc/en/Gnome/FinishClickedHandler.xml +++ b/doc/en/Gnome/FinishClickedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/FontPicker.xml b/doc/en/Gnome/FontPicker.xml index b9b3f869c..7abed6b85 100644 --- a/doc/en/Gnome/FontPicker.xml +++ b/doc/en/Gnome/FontPicker.xml @@ -1,16 +1,14 @@ + 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. - - To be added - To be added - Gtk.Button @@ -21,42 +19,73 @@ System.Obsolete + + To be added + To be added + - - - Method - - System.Void - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - To be added: an object of type 'Gtk.Widget' To be added - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - + - To be added - To be added: an object of type 'bool' - To be added: an object of type 'int' - To be added + 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 @@ -64,71 +93,65 @@ - To be added To be added: an object of type 'bool' + To be added To be added - - + + + Method + + 2.24.0.0 + - Gtk.Widget + System.Void - - - To be added - To be added: an object of type 'Gtk.Widget' - To be added - - - - - Constructor - - + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - + 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.Boolean + System.IntPtr - - To be added - To be added: an object of type 'bool' + To be added: an object of type 'IntPtr' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("show-size") + GLib.Property("font_name") - - - - Property System.String @@ -139,91 +162,127 @@ To be added: an object of type 'string' To be added + + + + + Event + + 2.24.0.0 + - GLib.Property("title") + GLib.Signal("font_set") - - - - Property - System.Boolean + Gnome.FontSetHandler - - + 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 + - GLib.Property("use-font-in-label") + GLib.Property("label-font-size") - - - - Property - Gnome.FontPickerMode + System.Int32 To be added - To be added: an object of type 'Gnome.FontPickerMode' + To be added: an object of type 'int' To be added + + + + + Property + + 2.24.0.0 + GLib.Property("mode") - - - - Property - System.String + Gnome.FontPickerMode To be added - To be added: an object of type 'string' + To be added: an object of type 'Gnome.FontPickerMode' To be added + + + + + Method + + 2.24.0.0 + - GLib.Property("font_name") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideFontSet", Type=typeof(Gnome.FontPicker)) - - - - Property - System.Int32 + System.Void + - To be added - To be added: an object of type 'int' - To be added + 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("label-font-size") + GLib.Property("preview_text") - - - - Property System.String @@ -234,105 +293,129 @@ To be added: an object of type 'string' To be added - - - GLib.Property("preview_text") - - - - - Property + + + + Method + + 2.24.0.0 + - System.IntPtr + System.Boolean + + + + a To be added - To be added: an object of type 'IntPtr' + a To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("font") + GLib.Property("show-size") - - - - Event - Gnome.FontSetHandler + System.Boolean - + + To be added + To be added: an object of type 'bool' To be added + + + + + Property + + 2.24.0.0 + - GLib.Signal("font_set") + GLib.Property("title") - - - - Property - GLib.GType + System.String - + + - GType Property. - a - Returns the native value for . + To be added + To be added: an object of type 'string' + To be added - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("use-font-in-label") + + - System.Void + System.Boolean - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added + To be added: an object of type 'bool' + To be added - - - Constructor - - - - + + + + Method + + 2.24.0.0 + + + Gtk.Widget + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + To be added + To be added: an object of type 'Gtk.Widget' + To be added - - - System.Obsolete - - - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - + + To be added: an object of type 'Gtk.Widget' To be added - a - a To be added diff --git a/doc/en/Gnome/FontPickerMode.xml b/doc/en/Gnome/FontPickerMode.xml index 21757d29c..807164a50 100644 --- a/doc/en/Gnome/FontPickerMode.xml +++ b/doc/en/Gnome/FontPickerMode.xml @@ -1,17 +1,14 @@ + 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. - - - button mode (or what to show). - To be added. - System.Enum @@ -20,10 +17,19 @@ GLib.GType(typeof(Gnome.FontPickerModeGType)) + + + button mode (or what to show). + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.FontPickerMode @@ -34,9 +40,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.FontPickerMode @@ -47,9 +57,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.FontPickerMode @@ -60,9 +74,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.FontPickerMode diff --git a/doc/en/Gnome/FontSetArgs.xml b/doc/en/Gnome/FontSetArgs.xml index f2c79ea8d..8d77d5fee 100644 --- a/doc/en/Gnome/FontSetArgs.xml +++ b/doc/en/Gnome/FontSetArgs.xml @@ -1,12 +1,18 @@ + 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. @@ -27,14 +33,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -54,6 +60,23 @@ a To be added + + + + + + Property + + 2.24.0.0 + + + System.String + + + To be added. + To be added. + To be added. + diff --git a/doc/en/Gnome/FontSetHandler.xml b/doc/en/Gnome/FontSetHandler.xml index 2f5d47f28..d629927b5 100644 --- a/doc/en/Gnome/FontSetHandler.xml +++ b/doc/en/Gnome/FontSetHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -29,15 +41,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/Gconf.xml b/doc/en/Gnome/Gconf.xml index a07d75761..d7a4da45e 100644 --- a/doc/en/Gnome/Gconf.xml +++ b/doc/en/Gnome/Gconf.xml @@ -1,24 +1,44 @@ + 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. - - To be added - To access GConf keys the class should be used. - 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 @@ -27,16 +47,20 @@ - To be added a a + To be added a To be added + Method + + 2.24.0.0 + System.String @@ -44,19 +68,9 @@ - To be added a - a - To be added - - - - - Constructor - - - To be added + a To be added diff --git a/doc/en/Gnome/GdkHelper.xml b/doc/en/Gnome/GdkHelper.xml index a19dcf9d6..294574f5a 100644 --- a/doc/en/Gnome/GdkHelper.xml +++ b/doc/en/Gnome/GdkHelper.xml @@ -1,85 +1,88 @@ + 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. - - To be added - To be added - System.Object + + To be added + To be added + - - - Method - - Gnome.GdkPixbufAsyncHandle - - - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - a - a - a - a To be added - - + + + Method + + 2.24.0.0 + - System.Void + Gdk.Pixbuf - + + a To be added - a + a To be added - - + + + Method + + 2.24.0.0 + - Gdk.Pixbuf + Gnome.GdkPixbufAsyncHandle + + - To be added a - a - To be added - - - - - Constructor - - - + a + a To be added + a To be added + Method + + 2.24.0.0 + Gdk.Pixbuf @@ -100,5 +103,24 @@ + + + + Method + + 2.24.0.0 + + + System.Void + + + + + + a + To be added + To be added + + diff --git a/doc/en/Gnome/GdkPixbufAsyncHandle.xml b/doc/en/Gnome/GdkPixbufAsyncHandle.xml index cabed515a..87b70d4ce 100644 --- a/doc/en/Gnome/GdkPixbufAsyncHandle.xml +++ b/doc/en/Gnome/GdkPixbufAsyncHandle.xml @@ -1,32 +1,38 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gnome/GdkPixbufDoneCallback.xml b/doc/en/Gnome/GdkPixbufDoneCallback.xml index ccc4320e0..4db38af81 100644 --- a/doc/en/Gnome/GdkPixbufDoneCallback.xml +++ b/doc/en/Gnome/GdkPixbufDoneCallback.xml @@ -1,23 +1,25 @@ + 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. - - To be added. - To be added - To be added - System.Delegate - System.Void + + To be added. + To be added + To be added + + diff --git a/doc/en/Gnome/GdkPixbufLoadCallback.xml b/doc/en/Gnome/GdkPixbufLoadCallback.xml index 3f7eb796b..7c3a6d284 100644 --- a/doc/en/Gnome/GdkPixbufLoadCallback.xml +++ b/doc/en/Gnome/GdkPixbufLoadCallback.xml @@ -1,21 +1,15 @@ + 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. - - To be added. - To be added. - To be added. - To be added - To be added - System.Delegate - @@ -24,4 +18,12 @@ System.Void + + To be added. + To be added. + To be added. + To be added + To be added + + diff --git a/doc/en/Gnome/Global.xml b/doc/en/Gnome/Global.xml index 30a4568f0..c5b629cb2 100644 --- a/doc/en/Gnome/Global.xml +++ b/doc/en/Gnome/Global.xml @@ -1,24 +1,44 @@ + 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. - - Global API elements for - - System.Object + + Global API elements for + + + + + + Constructor + + 2.24.0.0 + + + + + Default constructor + + + + Method + + 2.24.0.0 + System.Void @@ -30,7 +50,11 @@ + Method + + 2.24.0.0 + System.Void @@ -40,61 +64,67 @@ To be added - - + + + Method + + 2.24.0.0 + - Gnome.Client + System.Void - + + + + + a + a To be added - a To be added - - + + + Method + + 2.24.0.0 + - System.Void + Gnome.Client To be added + a To be added - - + + + Method + + 2.24.0.0 + System.Void - - - - + To be added - a - a To be added - - - Constructor - - - - Default constructor - - - + Method + + 2.24.0.0 + System.Boolean @@ -103,9 +133,9 @@ - To be added a a + To be added a To be added diff --git a/doc/en/Gnome/GtkHelper.xml b/doc/en/Gnome/GtkHelper.xml index 469a870bf..1f5bb3176 100644 --- a/doc/en/Gnome/GtkHelper.xml +++ b/doc/en/Gnome/GtkHelper.xml @@ -1,24 +1,44 @@ + 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. - - To be added - To be added - 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 @@ -31,7 +51,16 @@ + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void @@ -41,19 +70,9 @@ - To be added a a a - To be added - - - - - Constructor - - - To be added To be added diff --git a/doc/en/Gnome/HRef.xml b/doc/en/Gnome/HRef.xml index 846cc3163..22a076a3b 100644 --- a/doc/en/Gnome/HRef.xml +++ b/doc/en/Gnome/HRef.xml @@ -1,32 +1,65 @@ + 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. - - To be added - To be added - 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -34,41 +67,52 @@ + Constructor + + 2.24.0.0 + - To be added 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.String + GLib.GType - - + - To be added - To be added: an object of type 'string' - To be added + GType Property. + a + Returns the native value for . + + + + + Property + + 2.24.0.0 + GLib.Property("text") - - - - Property System.String @@ -79,47 +123,29 @@ To be added: an object of type 'string' To be added + + + + + Property + + 2.24.0.0 + GLib.Property("url") - - - - Property - GLib.GType + System.String - - - 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. + To be added + To be added: an object of type 'string' + To be added - - - System.Obsolete - - - - - System.Obsolete - - diff --git a/doc/en/Gnome/Help.xml b/doc/en/Gnome/Help.xml index deeb6b754..6c764d840 100644 --- a/doc/en/Gnome/Help.xml +++ b/doc/en/Gnome/Help.xml @@ -1,24 +1,30 @@ + 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. - - 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. - 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 + @@ -28,7 +34,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -40,12 +50,12 @@ - To be added a a a a a + To be added a To be added @@ -53,7 +63,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -63,10 +77,10 @@ - To be added a a a + To be added a To be added @@ -74,7 +88,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -83,9 +101,9 @@ - To be added a a + To be added a To be added @@ -93,7 +111,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -105,12 +127,12 @@ - To be added a a a a a + To be added a To be added diff --git a/doc/en/Gnome/HelpError.xml b/doc/en/Gnome/HelpError.xml index c783b44a7..36a070d04 100644 --- a/doc/en/Gnome/HelpError.xml +++ b/doc/en/Gnome/HelpError.xml @@ -1,16 +1,14 @@ + 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. - - The different error codes which can be thrown by . - To be added. - System.Enum @@ -19,10 +17,18 @@ GLib.GType(typeof(Gnome.HelpErrorGType)) + + The different error codes which can be thrown by . + To be added. + + Field + + 2.24.0.0 + Gnome.HelpError @@ -35,7 +41,11 @@ + Field + + 2.24.0.0 + Gnome.HelpError diff --git a/doc/en/Gnome/Icon.xml b/doc/en/Gnome/Icon.xml index 2047d8653..eff1331d9 100644 --- a/doc/en/Gnome/Icon.xml +++ b/doc/en/Gnome/Icon.xml @@ -1,24 +1,30 @@ + 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. - - To be added - To be added - System.Object + + To be added + To be added + + Constructor + + 2.24.0.0 + @@ -26,36 +32,13 @@ To be added - - - Method - - System.String - - - - - - - - - - - To be added - a - a - a - a - a - a - a - To be added - - - + Method + + 2.24.0.0 + System.String @@ -87,5 +70,36 @@ + + + + Method + + 2.24.0.0 + + + System.String + + + + + + + + + + + a + a + a + a + a + a + To be added + a + To be added + + + diff --git a/doc/en/Gnome/IconData.xml b/doc/en/Gnome/IconData.xml index 148e23d68..a6eee083d 100644 --- a/doc/en/Gnome/IconData.xml +++ b/doc/en/Gnome/IconData.xml @@ -1,39 +1,49 @@ + 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. - - To be added - To be added - System.ValueType + + To be added + To be added + - - - Field + + + + Property + + 2.24.0.0 + - Gnome.IconData + Gnome.IconDataPoint - - + To be added + a To be added - - + + + Field + + 2.24.0.0 + - System.Boolean + System.String @@ -42,37 +52,58 @@ To be added - - - Field + + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Int32 + Gnome.IconData - - + To be added + a To be added - - - Field + + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Int32 + System.Void - - + To be added To be added - - + + + Field + + 2.24.0.0 + - System.Int32 + System.Boolean @@ -81,9 +112,13 @@ To be added - - + + + Field + + 2.24.0.0 + System.Int32 @@ -94,24 +129,35 @@ To be added - - - Field + + + + Method + + 2.24.0.0 + - System.Int32 + Gnome.IconData + + a To be added + a To be added - - + + + Field + + 2.24.0.0 + - System.String + System.Int32 @@ -120,57 +166,71 @@ To be added - - - Method + + + + Field + + 2.24.0.0 + - Gnome.IconData + System.Int32 - To be added - a - a To be added - - - Method + + + + Field + + 2.24.0.0 + - System.Void + System.Int32 - + + To be added To be added - - - Method + + + + Field + + 2.24.0.0 + - Gnome.IconData + System.Int32 - + + To be added - a To be added - - - Property + + + + Field + + 2.24.0.0 + - Gnome.IconDataPoint + Gnome.IconData - + + To be added - a To be added diff --git a/doc/en/Gnome/IconDataPoint.xml b/doc/en/Gnome/IconDataPoint.xml index 5a1b9c19f..260c50cde 100644 --- a/doc/en/Gnome/IconDataPoint.xml +++ b/doc/en/Gnome/IconDataPoint.xml @@ -1,37 +1,30 @@ + 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. - - To be added - To be added - System.ValueType + + To be added + To be added + - - - Field - - Gnome.IconDataPoint - - - - - To be added - To be added - - + Method + + 2.24.0.0 + Gnome.IconDataPoint @@ -39,15 +32,19 @@ - To be added a + To be added a To be added + Field + + 2.24.0.0 + System.Int32 @@ -60,7 +57,11 @@ + Field + + 2.24.0.0 + System.Int32 @@ -71,5 +72,22 @@ To be added + + + + Field + + 2.24.0.0 + + + Gnome.IconDataPoint + + + + + To be added + To be added + + diff --git a/doc/en/Gnome/IconEntry.xml b/doc/en/Gnome/IconEntry.xml index f2972a2cf..2b15ace49 100644 --- a/doc/en/Gnome/IconEntry.xml +++ b/doc/en/Gnome/IconEntry.xml @@ -1,88 +1,60 @@ + 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. - - To be added - To be added - Gtk.VBox + + To be added + To be added + - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - + - To be added - To be added: an object of type 'string' - To be added: an object of type 'string' - To be added - - - - - Method - - Gtk.Widget - - - - To be added - To be added: an object of type 'Gtk.Widget' - To be added - - - - - Method - - Gtk.Widget - - - - To be added - To be added: an object of type 'Gtk.Widget' - To be added - - - - - Method - - Gtk.Widget - - - - To be added - To be added: an object of type 'Gtk.Widget' - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -90,36 +62,56 @@ + Constructor + + 2.24.0.0 + - Creates a new icon entry control. 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 - - - Property + + + + Event + + 2.24.0.0 + + + + GLib.Signal("browse") + + - System.String + System.EventHandler - - + To be added - To be added: an object of type 'string' To be added - - + + + Property + + 2.24.0.0 + + + + GLib.Property("browse_dialog_title") + + System.String @@ -130,123 +122,130 @@ To be added: an object of type 'string' To be added + + + + + Event + + 2.24.0.0 + - GLib.Property("pixmap_subdir") + GLib.Signal("changed") - - - - Property - System.String + System.EventHandler - - + To be added - To be added: an object of type 'string' To be added - - - GLib.Property("browse_dialog_title") - - - - - Property + + + + Method + + 2.24.0.0 + - Gtk.Dialog + System.Void + + + + + 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 'Gtk.Dialog' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("pick_dialog") + GLib.Property("filename") - - - - Property System.String - Unique identifier for the icon entry. This will be used to save the history list. + To be added To be added: an object of type 'string' To be added - - - GLib.Property("history_id") - - - - - Property + + + + Method + + 2.24.0.0 + - System.String + Gtk.Widget - - + To be added - To be added: an object of type 'string' + To be added: an object of type 'Gtk.Widget' To be added - - - GLib.Property("filename") - - - - - Event + + + + Method + + 2.24.0.0 + - System.EventHandler + Gtk.Widget To be added + To be added: an object of type 'Gtk.Widget' To be added - - - GLib.Signal("browse") - - - - - Event + + + + Method + + 2.24.0.0 + - System.EventHandler + Gtk.Widget To be added + To be added: an object of type 'Gtk.Widget' To be added - - - GLib.Signal("changed") - - - + + Property + + 2.24.0.0 + GLib.GType @@ -257,21 +256,76 @@ Returns the native value for . - - - Method + + + + Property + + 2.24.0.0 + + + + GLib.Property("history_id") + + - System.Void + System.String - + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -281,40 +335,78 @@ Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gnome.IconEntry)) + + + + System.Void + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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.Obsolete + 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.UInt32 + System.String + + To be added - a + To be added: an object of type 'string' To be added - + Method + + 2.24.0.0 + System.Boolean @@ -322,8 +414,8 @@ - To be added a + To be added a To be added diff --git a/doc/en/Gnome/IconFocusedArgs.xml b/doc/en/Gnome/IconFocusedArgs.xml index 19c7d3a46..8c40e501b 100644 --- a/doc/en/Gnome/IconFocusedArgs.xml +++ b/doc/en/Gnome/IconFocusedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + System.Int32 diff --git a/doc/en/Gnome/IconFocusedHandler.xml b/doc/en/Gnome/IconFocusedHandler.xml index 3ebb1e99e..6f949fe30 100644 --- a/doc/en/Gnome/IconFocusedHandler.xml +++ b/doc/en/Gnome/IconFocusedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/IconList.xml b/doc/en/Gnome/IconList.xml index dc920f477..7ef846e70 100644 --- a/doc/en/Gnome/IconList.xml +++ b/doc/en/Gnome/IconList.xml @@ -1,73 +1,158 @@ + 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. - - To be added - To be added - Gnome.Canvas + + + System.Obsolete + + + + To be added + To be added + - - - Method - - System.Int32 - + + + + 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: 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: 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: an object of type 'string' To be added - To be added: an object of type 'IntPtr' To be added: an object of type 'int' To be added - - + + + Method + + 2.24.0.0 + - System.Void + 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 @@ -77,377 +162,453 @@ To be added - - - Method + + + + Property + + 2.24.0.0 + System.Int32 - To be added - To be added: an object of type 'string' - To be added: an object of type 'int' + To be added: an object of type 'int' To be added - - + + + Method + + 2.24.0.0 + - Gnome.IconTextItem + 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: an object of type 'int' - To be added: an object of type 'Gnome.IconTextItem' To be added - - + + + Method + + 2.24.0.0 + - System.Void + System.Int32 - - - + + To be added: an object of type 'IntPtr' To be added - 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: 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: an object of type 'int' 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: an object of type 'int' To be added - - + + + Method + + 2.24.0.0 + System.Void - - - - + To be added - To be added: an object of type 'int' - To be added: an object of type 'double' To be added - - + + + Method + + 2.24.0.0 + - System.String + 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: an object of type 'string' + To be added: an object of type 'int' To be added - - + + + Method + + 2.24.0.0 + - System.Void + System.IntPtr - To be added 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.Void + System.String - To be added 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 + - System.Void + Gnome.CanvasPixbuf - - To be added To be added: an object of type 'int' - To be added: an object of type 'IntPtr' + To be added + To be added: an object of type 'Gnome.CanvasPixbuf' To be added - - + + + Method + + 2.24.0.0 + - System.IntPtr + Gnome.IconTextItem - + + To be added: an object of type 'int' To be added - To be added: an object of type 'int' - To be added: an object of type 'IntPtr' + To be added: an object of type 'Gnome.IconTextItem' To be added - - - Method + + + + Property + + 2.24.0.0 + - System.Void + GLib.GType - To be added - To be added + GType Property. + a + Returns the native value for . - - - Method + + + + Property + + 2.24.0.0 + - System.Void + System.Int32 - - - To be added - 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 'int' To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("focus_icon") + + - System.Int32 + Gnome.IconFocusedHandler - - - - + To be added - To be added: an object of type 'string' - To be added: an object of type 'string' - To be added: an object of type 'int' To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("select_icon") + + - Gnome.CanvasPixbuf + Gnome.IconSelectedHandler - - - + To be added - To be added: an object of type 'int' - To be added: an object of type 'Gnome.CanvasPixbuf' To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("unselect_icon") + + - System.Int32 + Gnome.IconUnselectedHandler 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 + + + + + Method + + 2.24.0.0 + System.Void - - To be added 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 - - + + + Method + + 2.24.0.0 + System.Void + + + - To be added To be added: an object of type 'int' - To be added - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - - - - + 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 'uint' - To be added: an object of type 'Gtk.Adjustment' - 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 + + + + Event + + 2.24.0.0 + + + + GLib.Signal("move_cursor") + + - System.String + Gnome.MoveCursorHandler - - + To be added - To be added: an object of type 'string' To be added - - - Property + + + + Method + + 2.24.0.0 + - System.Int32 + System.Void + + + To be added: an object of type 'int' + To be added: an object of type 'double' To be added - To be added: an object of type 'int' To be added - + + Property + + 2.24.0.0 + System.UInt32 @@ -457,342 +618,413 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconFocused", Type=typeof(Gnome.IconList)) + + - System.Int32 + System.Void + - To be added - To be added: an object of type 'int' - To be added + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconSelected", Type=typeof(Gnome.IconList)) + + - System.Int32 + System.Void + + - To be added - To be added: an object of type 'int' - To be added + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconUnselected", Type=typeof(Gnome.IconList)) + + - Gtk.SelectionMode + System.Void + + - To be added - To be added: an object of type 'Gtk.SelectionMode' - To be added + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gnome.IconList)) + + - System.Int32 + System.Void + + - To be added - To be added: an object of type 'int' - To be added + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.24.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextChanged", Type=typeof(Gnome.IconList)) + + - System.Int32 + System.Boolean + + + + - To be added - To be added: an object of type 'int' - To be added + a + a + Default handler for the event. + a + Override this method in a subclass to provide a default handler for the event. - - - Event - - Gnome.TextChangedHandler - - - - To be added - To be added - + + + + Method + + 2.24.0.0 + - GLib.Signal("text_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleCursorSelection", Type=typeof(Gnome.IconList)) - - - - Event - System.EventHandler + 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. - - - GLib.Signal("toggle_cursor_selection") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.MoveCursorHandler + System.Void - + + + + To be added: an object of type 'int' To be added To be added - - - GLib.Signal("move_cursor") - - - - - Event + + + + Property + + 2.24.0.0 + - Gnome.IconSelectedHandler + System.Int32 - + + To be added + To be added: an object of type 'int' To be added - - - GLib.Signal("select_icon") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.IconFocusedHandler + System.Void - To be added - To be added + To be added. + To be added. - - - GLib.Signal("focus_icon") - - - - - Event + + + + Method + + 2.24.0.0 + - Gnome.IconUnselectedHandler + System.Void - + + + + To be added: an object of type 'int' To be added To be added - - - GLib.Signal("unselect_icon") - - - - + + + Property + + 2.24.0.0 + - GLib.GType + System.Int32[] - GType Property. - a - Returns the native value for . + To be added + a + To be added - - - Method + + + + Property + + 2.24.0.0 + - System.Void + Gtk.SelectionMode - - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + To be added + To be added: an object of type 'Gtk.SelectionMode' + To be added - - - Method + + + + Property + + 2.24.0.0 + - System.Void + System.String - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added + To be added: an object of type 'string' + To be added - - + + + Method + + 2.24.0.0 + System.Void - - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + To be added: an object of type 'int' + To be added: an object of type 'IntPtr' + To be added + To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("text_changed") + + - System.Void + Gnome.TextChangedHandler - - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - - Method + + + + Property + + 2.24.0.0 + - System.Void + System.Int32 - + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added: an object of type 'int' + To be added - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - - - - + - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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. - + + + + Event + + 2.24.0.0 + - System.Obsolete + GLib.Signal("toggle_cursor_selection") - - - - Property - System.Int32[] + System.EventHandler To be added - a To be added - - - Constructor - + + + + 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. - To be added. + To be added: an object of type 'int' + To be added + To be added - - - System.Obsolete - - diff --git a/doc/en/Gnome/IconListMode.xml b/doc/en/Gnome/IconListMode.xml index b99a8c8c6..780e1bc4b 100644 --- a/doc/en/Gnome/IconListMode.xml +++ b/doc/en/Gnome/IconListMode.xml @@ -1,16 +1,14 @@ + 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. - - How icons should be displayed - To be added. - System.Enum @@ -19,10 +17,18 @@ GLib.GType(typeof(Gnome.IconListModeGType)) + + How icons should be displayed + To be added. + + Field + + 2.24.0.0 + Gnome.IconListMode @@ -35,7 +41,11 @@ + Field + + 2.24.0.0 + Gnome.IconListMode @@ -48,7 +58,11 @@ + Field + + 2.24.0.0 + Gnome.IconListMode diff --git a/doc/en/Gnome/IconLookupFlags.xml b/doc/en/Gnome/IconLookupFlags.xml index 7f455a27b..b5dec0975 100644 --- a/doc/en/Gnome/IconLookupFlags.xml +++ b/doc/en/Gnome/IconLookupFlags.xml @@ -1,16 +1,14 @@ + 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. - - To be added - To be added - System.Enum @@ -22,10 +20,18 @@ System.Flags + + To be added + To be added + - - + + + Field + + 2.24.0.0 + Gnome.IconLookupFlags @@ -33,13 +39,17 @@ To be added - - + To be added + + Field + + 2.24.0.0 + Gnome.IconLookupFlags @@ -51,9 +61,13 @@ - - + + + Field + + 2.24.0.0 + Gnome.IconLookupFlags @@ -65,9 +79,13 @@ - - + + + Field + + 2.24.0.0 + Gnome.IconLookupFlags @@ -75,8 +93,8 @@ To be added - To be added - + + diff --git a/doc/en/Gnome/IconLookupResultFlags.xml b/doc/en/Gnome/IconLookupResultFlags.xml index 4438e1bf6..60dd6912f 100644 --- a/doc/en/Gnome/IconLookupResultFlags.xml +++ b/doc/en/Gnome/IconLookupResultFlags.xml @@ -1,16 +1,14 @@ + 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. - - To be added - To be added - System.Enum @@ -22,10 +20,18 @@ System.Flags + + To be added + To be added + + Field + + 2.24.0.0 + Gnome.IconLookupResultFlags @@ -39,7 +45,11 @@ + Field + + 2.24.0.0 + Gnome.IconLookupResultFlags diff --git a/doc/en/Gnome/IconSelectedArgs.xml b/doc/en/Gnome/IconSelectedArgs.xml index d5ef5f6f8..f195ff5f1 100644 --- a/doc/en/Gnome/IconSelectedArgs.xml +++ b/doc/en/Gnome/IconSelectedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gdk.Event @@ -41,8 +51,12 @@ - + + Property + + 2.24.0.0 + System.Int32 diff --git a/doc/en/Gnome/IconSelectedHandler.xml b/doc/en/Gnome/IconSelectedHandler.xml index 3ece7705f..0a8fa657c 100644 --- a/doc/en/Gnome/IconSelectedHandler.xml +++ b/doc/en/Gnome/IconSelectedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/IconSelection.xml b/doc/en/Gnome/IconSelection.xml index 62ed73229..8676cc3d6 100644 --- a/doc/en/Gnome/IconSelection.xml +++ b/doc/en/Gnome/IconSelection.xml @@ -1,55 +1,86 @@ + 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. - - An icon listing/chooser display. - To be added - Gtk.VBox + + An icon listing/chooser display. + To be added + - - - Method - - System.Void - + + + + 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 + + + - + - 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. - Set to 'true' to clear even the icons that were not shown yet. - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - + - Selects the icon filename. This icon must have already been added and shown. - icon filename - see also ShowIcons + 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 @@ -59,21 +90,13 @@ It doesn't show the icons in the selection until you do ShowIcons. - - - Method - - 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 @@ -81,79 +104,73 @@ - Adds the icons from the directory dir to the selection widget. 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. - - - Method + + + + Property + + 2.24.0.0 + - System.String + Gtk.Widget - - - - Gets the currently selected icon name. - To be added: an object of type 'bool' - 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. + 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 - - - 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 - - - - - Constructor - - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Creates a new icon selection widget, it uses GnomeIconList for the listing of icons. + 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 - - - Property + + + + Method + + 2.24.0.0 + - Gtk.Widget + System.String + + + - 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 + 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 @@ -164,8 +181,12 @@ - + + Property + + 2.24.0.0 + GLib.GType @@ -176,23 +197,56 @@ Returns the native value for . - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 - - - System.Obsolete - - diff --git a/doc/en/Gnome/IconTextItem.xml b/doc/en/Gnome/IconTextItem.xml index 80e797e41..ddc6a56be 100644 --- a/doc/en/Gnome/IconTextItem.xml +++ b/doc/en/Gnome/IconTextItem.xml @@ -1,154 +1,139 @@ + 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. - - To be added - To be added - Gnome.CanvasItem + + + System.Obsolete + + + + To be added + To be added + - - - Method - - System.Void - - - - - - - - - - - - To be added - 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 - - - - - Method - - System.Void - - - - - - To be added - To be added: an object of type 'bool' - To be added - - - - - Method - - System.Void - - - - + + + + Constructor + + 2.24.0.0 + + + To be added - To be added: an object of type 'bool' To be added - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - + - To be added - To be added: an object of type 'bool' - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + - - + - To be added - To be added: an object of type 'int' - To be added: an object of type 'int' - To be added - - - - - Method - - System.Void - - - + To be added: an object of type 'Gnome.CanvasGroup' To be added To be added + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + 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: an object of type 'Gnome.CanvasGroup' To be added - + + Property + + 2.24.0.0 + Gtk.Editable @@ -158,72 +143,96 @@ To be added - - - Property + + + + Event + + 2.24.0.0 + + + + GLib.Signal("editing_started") + + - System.String + System.EventHandler + To be added - To be added: an object of type 'string' To be added - - + + + Event + + 2.24.0.0 + + + + GLib.Signal("editing_stopped") + + - Gnome.TextChangedHandler + System.EventHandler To be added To be added - - - GLib.Signal("text_changed") - - - - - Event + + + + Method + + 2.24.0.0 + - System.EventHandler + System.Void - + + + + To be added: an object of type 'bool' To be added To be added - - - GLib.Signal("selection_stopped") - - - - - Event + + + + Property + + 2.24.0.0 + - System.EventHandler + GLib.GType - To be added - To be added + GType Property. + a + Returns the native value for . + + + + + Event + + 2.24.0.0 + GLib.Signal("height_changed") - - - - Event System.EventHandler @@ -232,103 +241,146 @@ To be added To be added + + + + + Method + + 2.24.0.0 + - GLib.Signal("editing_stopped") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingStarted", Type=typeof(Gnome.IconTextItem)) - - - - Event - System.EventHandler + 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.24.0.0 + - GLib.Signal("width_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingStopped", Type=typeof(Gnome.IconTextItem)) - - - - Event - System.EventHandler + 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.24.0.0 + - GLib.Signal("selection_started") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideHeightChanged", Type=typeof(Gnome.IconTextItem)) - - - - Event - System.EventHandler + 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.24.0.0 + - GLib.Signal("editing_started") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionStarted", Type=typeof(Gnome.IconTextItem)) - - - - Property - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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. + 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.Void + System.Boolean - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -338,77 +390,175 @@ 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 + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - - Method + + + + Event + + 2.24.0.0 + + + + GLib.Signal("selection_stopped") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - + + + Method + + 2.24.0.0 + System.Void - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + GLib.Signal("text_changed") + + Gnome.TextChangedHandler + + + + To be added + To be added + - - - Constructor - + + + + Event + + 2.24.0.0 + + + + GLib.Signal("width_changed") + + + + System.EventHandler + To be added @@ -416,9 +566,4 @@ - - - System.Obsolete - - diff --git a/doc/en/Gnome/IconTheme.xml b/doc/en/Gnome/IconTheme.xml index 29d67dfd5..f593b4699 100644 --- a/doc/en/Gnome/IconTheme.xml +++ b/doc/en/Gnome/IconTheme.xml @@ -1,48 +1,79 @@ + 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. - - To be added - To be added - Gtk.IconTheme + + To be added + To be added + - + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + - + - Internal constructor - a - This is not typically used by C# code. + 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 - To be added + a + Internal constructor + This is not typically used by C# code. - + + Property + + 2.24.0.0 + System.Boolean @@ -53,9 +84,29 @@ To be added + + + + Method + + 2.24.0.0 + + + System.Void + + + + To be added. + To be added. + + - + + Property + + 2.24.0.0 + GLib.GType @@ -66,22 +117,13 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - - + Method + + 2.24.0.0 + System.String @@ -92,11 +134,11 @@ - To be added a a a a + To be added a To be added diff --git a/doc/en/Gnome/IconUnselectedArgs.xml b/doc/en/Gnome/IconUnselectedArgs.xml index ed59f7cd2..5f56fb84a 100644 --- a/doc/en/Gnome/IconUnselectedArgs.xml +++ b/doc/en/Gnome/IconUnselectedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gdk.Event @@ -41,8 +51,12 @@ - + + Property + + 2.24.0.0 + System.Int32 diff --git a/doc/en/Gnome/IconUnselectedHandler.xml b/doc/en/Gnome/IconUnselectedHandler.xml index 21891ef8b..405a491b9 100644 --- a/doc/en/Gnome/IconUnselectedHandler.xml +++ b/doc/en/Gnome/IconUnselectedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/InteractFunction.xml b/doc/en/Gnome/InteractFunction.xml index 5adc99ba6..a528b0944 100644 --- a/doc/en/Gnome/InteractFunction.xml +++ b/doc/en/Gnome/InteractFunction.xml @@ -1,18 +1,31 @@ + 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). - The instance doing the interaction. - A unique key. - The that should be used to do the interaction. All other s are blocked from interacting with the user until the @@ -24,16 +37,5 @@ - - System.Delegate - - - - - - - - System.Void - diff --git a/doc/en/Gnome/InteractStyle.xml b/doc/en/Gnome/InteractStyle.xml index 7ee92d328..174bf3c03 100644 --- a/doc/en/Gnome/InteractStyle.xml +++ b/doc/en/Gnome/InteractStyle.xml @@ -1,16 +1,14 @@ + 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. - - Indicates how a "SaveYourself" command should interact with the user. - To be added. - System.Enum @@ -19,23 +17,35 @@ 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 should never interact with the user. + The client can interact with the user for any reason. + Field + + 2.24.0.0 + Gnome.InteractStyle @@ -46,15 +56,19 @@ - - + + + Field + + 2.24.0.0 + Gnome.InteractStyle - The client can interact with the user for any reason. + The client should never interact with the user. diff --git a/doc/en/Gnome/ModuleInfo.xml b/doc/en/Gnome/ModuleInfo.xml index 7493cdb2a..2a6bbfae9 100644 --- a/doc/en/Gnome/ModuleInfo.xml +++ b/doc/en/Gnome/ModuleInfo.xml @@ -1,37 +1,30 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - + Constructor + + 2.24.0.0 + @@ -41,9 +34,13 @@ To be added. - - + + + Property + + 2.24.0.0 + System.String @@ -53,9 +50,30 @@ 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 @@ -66,8 +84,12 @@ - + + Property + + 2.24.0.0 + System.String diff --git a/doc/en/Gnome/Modules.xml b/doc/en/Gnome/Modules.xml index b5d0da89b..359e12412 100644 --- a/doc/en/Gnome/Modules.xml +++ b/doc/en/Gnome/Modules.xml @@ -1,24 +1,30 @@ + 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. - - To be added - To be added - System.Object + + To be added + To be added + + Constructor + + 2.24.0.0 + @@ -26,9 +32,13 @@ To be added - - + + + Property + + 2.24.0.0 + Gnome.ModuleInfo @@ -38,9 +48,13 @@ To be added - - + + + Property + + 2.24.0.0 + Gnome.ModuleInfo diff --git a/doc/en/Gnome/MoveCursorArgs.xml b/doc/en/Gnome/MoveCursorArgs.xml index a431c5dc9..c14f6c290 100644 --- a/doc/en/Gnome/MoveCursorArgs.xml +++ b/doc/en/Gnome/MoveCursorArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + System.Boolean @@ -41,8 +51,12 @@ - + + Property + + 2.24.0.0 + Gtk.DirectionType diff --git a/doc/en/Gnome/MoveCursorHandler.xml b/doc/en/Gnome/MoveCursorHandler.xml index 1f62a032d..33b37bf2d 100644 --- a/doc/en/Gnome/MoveCursorHandler.xml +++ b/doc/en/Gnome/MoveCursorHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/NextClickedArgs.xml b/doc/en/Gnome/NextClickedArgs.xml index 40660b2bc..acca70572 100644 --- a/doc/en/Gnome/NextClickedArgs.xml +++ b/doc/en/Gnome/NextClickedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gtk.Widget diff --git a/doc/en/Gnome/NextClickedHandler.xml b/doc/en/Gnome/NextClickedHandler.xml index 9662f14c6..bdace3e59 100644 --- a/doc/en/Gnome/NextClickedHandler.xml +++ b/doc/en/Gnome/NextClickedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/PasswordDialog.xml b/doc/en/Gnome/PasswordDialog.xml index b3cf10274..7b0a45901 100644 --- a/doc/en/Gnome/PasswordDialog.xml +++ b/doc/en/Gnome/PasswordDialog.xml @@ -1,17 +1,27 @@ + 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 @@ -28,7 +38,11 @@ + Constructor + + 2.24.0.0 + @@ -40,7 +54,11 @@ + Constructor + + 2.24.0.0 + @@ -58,9 +76,13 @@ To be added. - - + + + Method + + 2.24.0.0 + System.Boolean @@ -71,21 +93,40 @@ To be added. - - + + + Property + + 2.24.0.0 + + + + GLib.Property("anonymous") + + - Gnome.PasswordDialogRemember + System.Boolean To be added. To be added. To be added. + - - + + + Property + + 2.24.0.0 + + + + GLib.Property("domain") + + System.String @@ -94,32 +135,35 @@ To be added. To be added. - - - GLib.Property("password") - - - - + + + Property + + 2.24.0.0 + - System.String + GLib.GType To be added. To be added. To be added. + + + + + Property + + 2.24.0.0 + - GLib.Property("username") + GLib.Property("message") - - - - Property System.String @@ -127,67 +171,103 @@ To be added. To be added. To be added. + + + + + + Property + + 2.24.0.0 + - GLib.Property("domain") + GLib.Property("message-markup") - - - - Property - System.Boolean + System.String To be added. To be added. To be added. + + + + + + Property + + 2.24.0.0 + - GLib.Property("show-username") + GLib.Property("new-password") - - - - Property - System.Boolean + System.String To be added. To be added. To be added. + + + + + + Property + + 2.24.0.0 + - GLib.Property("show-domain") + GLib.Property("password") + + System.String + + + To be added. + To be added. + To be added. + - - + + + Property + + 2.24.0.0 + - System.Boolean + Gnome.PasswordDialogQualityFunc To be added. To be added. To be added. + + + + + + Property + + 2.24.0.0 + - GLib.Property("show-password") + GLib.Property("readonly-domain") - - - - Property System.Boolean @@ -196,15 +276,19 @@ To be added. To be added. + + + + + Property + + 2.24.0.0 + GLib.Property("readonly-username") - - - - Property System.Boolean @@ -213,44 +297,52 @@ To be added. To be added. - - - GLib.Property("show-remember") - - - - + + + Property + + 2.24.0.0 + - System.Boolean + Gnome.PasswordDialogRemember To be added. To be added. To be added. + + + + + Property + + 2.24.0.0 + - GLib.Property("readonly-domain") + GLib.Property("remember-mode") - - - - Property - GLib.GType + Gnome.PasswordDialogRemember To be added. To be added. To be added. + - - + + + Method + + 2.24.0.0 + System.Boolean @@ -261,9 +353,18 @@ To be added. - - + + + Property + + 2.24.0.0 + + + + GLib.Property("show-domain") + + System.Boolean @@ -272,18 +373,17 @@ To be added. To be added. - - - GLib.Property("show-userpass-buttons") - - - - + + + Property + + 2.24.0.0 + - GLib.Property("anonymous") + GLib.Property("show-new-password") @@ -296,16 +396,20 @@ - - + + + Property + + 2.24.0.0 + - GLib.Property("message") + GLib.Property("show-new-password-quality") - System.String + System.Boolean To be added. @@ -314,79 +418,79 @@ - - + + + Property + + 2.24.0.0 + - GLib.Property("message-markup") + GLib.Property("show-password") - System.String + System.Boolean To be added. To be added. To be added. - - - + + + Property + + 2.24.0.0 + - GLib.Property("new-password") + GLib.Property("show-remember") - System.String - - - To be added. - To be added. - To be added. - - - - - - Property - - Gnome.PasswordDialogQualityFunc + System.Boolean To be added. To be added. To be added. - - - + + + Property + + 2.24.0.0 + - GLib.Property("remember-mode") + GLib.Property("show-username") - Gnome.PasswordDialogRemember + System.Boolean To be added. To be added. To be added. - - - + + + Property + + 2.24.0.0 + - GLib.Property("show-new-password") + GLib.Property("show-userpass-buttons") @@ -396,30 +500,28 @@ To be added. To be added. To be added. - - - + + + Property + + 2.24.0.0 + - GLib.Property("show-new-password-quality") + GLib.Property("username") - System.Boolean + System.String To be added. To be added. To be added. - - - To be added. - To be added. - diff --git a/doc/en/Gnome/PasswordDialogDetails.xml b/doc/en/Gnome/PasswordDialogDetails.xml index 48d4951cd..88c9360d3 100644 --- a/doc/en/Gnome/PasswordDialogDetails.xml +++ b/doc/en/Gnome/PasswordDialogDetails.xml @@ -1,17 +1,27 @@ + gnome-sharp 2.20.0.0 + 2.24.0.0 GLib.Opaque + + To be added. + To be added. + + Constructor + + 2.24.0.0 + @@ -22,8 +32,4 @@ - - To be added. - To be added. - diff --git a/doc/en/Gnome/PasswordDialogQualityFunc.xml b/doc/en/Gnome/PasswordDialogQualityFunc.xml index 38a24e74d..a0f48df9b 100644 --- a/doc/en/Gnome/PasswordDialogQualityFunc.xml +++ b/doc/en/Gnome/PasswordDialogQualityFunc.xml @@ -1,8 +1,10 @@ + gnome-sharp 2.20.0.0 + 2.24.0.0 System.Delegate diff --git a/doc/en/Gnome/PasswordDialogRemember.xml b/doc/en/Gnome/PasswordDialogRemember.xml index 582ba24ce..a7f5c628f 100644 --- a/doc/en/Gnome/PasswordDialogRemember.xml +++ b/doc/en/Gnome/PasswordDialogRemember.xml @@ -1,16 +1,13 @@ + 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. - - To be added - To be added - - System.Enum @@ -19,10 +16,19 @@ GLib.GType(typeof(Gnome.PasswordDialogRememberGType)) + + To be added + To be added + + - - + + + Field + + 2.24.0.0 + Gnome.PasswordDialogRemember @@ -33,9 +39,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.PasswordDialogRemember @@ -46,9 +56,13 @@ To be added - - + + + Field + + 2.24.0.0 + Gnome.PasswordDialogRemember diff --git a/doc/en/Gnome/PixmapEntry.xml b/doc/en/Gnome/PixmapEntry.xml index e50cb5d79..c1c010b26 100644 --- a/doc/en/Gnome/PixmapEntry.xml +++ b/doc/en/Gnome/PixmapEntry.xml @@ -1,94 +1,65 @@ + 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. - - To be added - To be added - Gnome.FileEntry + + + System.Obsolete + + + + To be added + To be added + - - - Method - - System.Void - - - - - - - - To be added - 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 - - - - - Method - - Gtk.Widget - - - - To be added - To be added: an object of type 'Gtk.Widget' - To be added - - - - - Method - - Gtk.Widget - - - - To be added - To be added: an object of type 'Gtk.Widget' - To be added - - - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - + - To be added - To be added: an object of type 'int' - To be added: an object of type 'int' - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -96,7 +67,11 @@ + Constructor + + 2.24.0.0 + @@ -104,16 +79,48 @@ + 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 @@ -125,9 +132,30 @@ 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 @@ -139,9 +167,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.Boolean @@ -152,47 +184,61 @@ To be added: an object of type 'bool' To be added - - - GLib.Property("do_preview") - - - - - Property + + + + Method + + 2.24.0.0 + - GLib.GType + Gtk.Widget - GType Property. - a - Returns the native value for . + To be added + To be added: an object of type 'Gtk.Widget' + To be added - - - Constructor - + + + + 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 + - + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + To be added: an object of type 'int' + To be added: an object of type 'int' + To be added + To be added - - - System.Obsolete - - - - - System.Obsolete - - diff --git a/doc/en/Gnome/Popup.xml b/doc/en/Gnome/Popup.xml index 503886f0a..22e89866d 100644 --- a/doc/en/Gnome/Popup.xml +++ b/doc/en/Gnome/Popup.xml @@ -1,12 +1,18 @@ + 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. @@ -66,30 +72,93 @@ class PopupSample - - System.Object - - - - + + + + Constructor + + 2.24.0.0 + + + + + Creates a new instance. + The default constructor for . + + + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - Gtk.Widget + System.Void + - Creates a popup menu out of the specified array. + a a - 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. + 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 @@ -116,7 +185,16 @@ class PopupSample + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void @@ -139,85 +217,18 @@ class PopupSample - - - Method - - Gtk.Widget - - - - - - - Creates a popup menu out of the specified array. - a - a - a - Use to pop the menu up, or attach it to a window with . - - - - - Method - - Gtk.AccelGroup - - - - - - This function is used to retrieve the accelgroup that was created by . - a - a - If you want to specify the accelgroup that the popup menu accelerators use, then use . - - - - - Method - - System.Void - - - - - - - Appends the menu items in to the menu. - a - a - - - - - - - Method - - System.Void - - - - - - - - Attaches the specified menu to the specified . - a - a - a - - 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.Int32 @@ -239,19 +250,18 @@ class PopupSample Same as , but modal. - - - Constructor - - - - Creates a new instance. - The default constructor for . - - + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Int32 @@ -275,5 +285,82 @@ class PopupSample + + + + 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 . + + diff --git a/doc/en/Gnome/PreferencesType.xml b/doc/en/Gnome/PreferencesType.xml index 2ea494b16..8d4cc7c1d 100644 --- a/doc/en/Gnome/PreferencesType.xml +++ b/doc/en/Gnome/PreferencesType.xml @@ -1,16 +1,14 @@ + 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. - - Flags if something should be done. - To be added. - System.Enum @@ -19,42 +17,58 @@ GLib.GType(typeof(Gnome.PreferencesTypeGType)) + + Flags if something should be done. + To be added. + - - + + + Field + + 2.24.0.0 + Gnome.PreferencesType - Never do something. + Do something always. - - + + + Field + + 2.24.0.0 + Gnome.PreferencesType - Do something only when the user wants it to be done. + Never do something. - - + + + Field + + 2.24.0.0 + Gnome.PreferencesType - Do something always. + Do something only when the user wants it to be done. diff --git a/doc/en/Gnome/PreparedArgs.xml b/doc/en/Gnome/PreparedArgs.xml index c783859a0..fca989c02 100644 --- a/doc/en/Gnome/PreparedArgs.xml +++ b/doc/en/Gnome/PreparedArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gtk.Widget diff --git a/doc/en/Gnome/PreparedHandler.xml b/doc/en/Gnome/PreparedHandler.xml index ef5c584d9..92b84335d 100644 --- a/doc/en/Gnome/PreparedHandler.xml +++ b/doc/en/Gnome/PreparedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/Program.xml b/doc/en/Gnome/Program.xml index 97dc13b45..e811bc6f4 100644 --- a/doc/en/Gnome/Program.xml +++ b/doc/en/Gnome/Program.xml @@ -1,221 +1,144 @@ + 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. - - To be added - To be added - GLib.Object + + To be added + To be added + - - - Method - - Gnome.Program - - - - To be added - To be added: an object of type 'Gnome.Program' - To be added - - - - - Method - - System.Boolean - - - - - - To be added - To be added: an object of type 'Gnome.ModuleInfo' - To be added: an object of type 'bool' - To be added - - - - - Method - - System.Void - - - - - - To be added - To be added: an object of type 'Gnome.ModuleInfo' - To be added - - - - - Method - - Gnome.ModuleInfo - - - - - - To be added - To be added: an object of type 'string' - To be added: an object of type 'Gnome.ModuleInfo' - To be added - - - - - Method - - System.Void - - - - To be added - To be added - - - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + To be added To be added - - - Method - - System.String - + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - - - + - To be added - 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: an object of type 'string' - To be added - - - - - Method - - System.Void - - - - To be added - To be added - - - - - Method - - System.Void - - - - To be added - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property - - System.IntPtr - + + + + Constructor + + 2.24.0.0 + + + + + + + + + + System.ParamArray + + + + - To be added - To be added: an object of type 'IntPtr' - To be added + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("popt-context") - - - - + + + Property - - System.String - - - To be added - To be added: an object of type 'string' - To be added - + + 2.24.0.0 + - GLib.Property("gnome-prefix") + GLib.Property("app-datadir") - - - - Property 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") + GLib.Property("app-id") - - - - Property System.String @@ -224,85 +147,109 @@ To be added: an object of type 'string' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("human-readable-name") + GLib.Property("app-libdir") - - - - Property 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") + GLib.Property("app-prefix") - - - - Property 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") + GLib.Property("app-sysconfdir") - - - - Property 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") + GLib.Property("app-version") - - - - Property 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") + GLib.Property("create-directories") - - - - Property System.Boolean @@ -311,15 +258,19 @@ To be added: an object of type 'bool' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("create-directories") + GLib.Property("enable-sound") - - - - Property System.Boolean @@ -328,34 +279,57 @@ To be added: an object of type 'bool' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("enable-sound") + GLib.Property("espeaker") - - - - Property 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("app-datadir") + GLib.Property("gnome-datadir") - - - - Property System.String @@ -364,53 +338,61 @@ To be added: an object of type 'string' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("espeaker") + GLib.Property("gnome-libdir") - - - - Property 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") + GLib.Property("gnome-path") - - - - Property 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") + GLib.Property("gnome-prefix") - - - - Property System.String @@ -419,15 +401,19 @@ To be added: an object of type 'string' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("gnome-datadir") + GLib.Property("gnome-sysconfdir") - - - - Property System.String @@ -436,15 +422,36 @@ To be added: an object of type 'string' To be added + + + + + Property + + 2.24.0.0 + - GLib.Property("gnome-path") + GLib.Property("goption-context") + + System.IntPtr + + + To be added. + To be added. + To be added. + + - + + Property + + 2.24.0.0 + GLib.GType @@ -455,9 +462,34 @@ 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 @@ -472,7 +504,6 @@ - To be added a a a @@ -481,80 +512,189 @@ a a a + To be added a To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.String + - + + + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 - - - - Constructor - + + System.Void + To be added To be added - - - Constructor - - - - - - - - - System.ParamArray - - - - + + + + Property + + 2.24.0.0 + + + + GLib.Property("popt-context") + + + + System.IntPtr + - 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: an object of type 'IntPtr' + To be added - - - Property + + + + Method + + 2.24.0.0 + - GLib.Property("goption-context") + System.Obsolete - System.IntPtr + 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 + + + + + + Method + + 2.24.0.0 + + + System.Void + + + + To be added + To be added diff --git a/doc/en/Gnome/RenderBackgroundArgs.xml b/doc/en/Gnome/RenderBackgroundArgs.xml index 7a25496ec..80dfce9f7 100644 --- a/doc/en/Gnome/RenderBackgroundArgs.xml +++ b/doc/en/Gnome/RenderBackgroundArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + Gnome.CanvasBuf diff --git a/doc/en/Gnome/RenderBackgroundHandler.xml b/doc/en/Gnome/RenderBackgroundHandler.xml index 18b4d01a9..dd4c7a860 100644 --- a/doc/en/Gnome/RenderBackgroundHandler.xml +++ b/doc/en/Gnome/RenderBackgroundHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/ReplyCallback.xml b/doc/en/Gnome/ReplyCallback.xml index f0fb7fdd2..10035bffe 100644 --- a/doc/en/Gnome/ReplyCallback.xml +++ b/doc/en/Gnome/ReplyCallback.xml @@ -1,23 +1,25 @@ + 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. - - To be added. - To be added - To be added - System.Delegate - System.Void + + To be added. + To be added + To be added + + diff --git a/doc/en/Gnome/RestartStyle.xml b/doc/en/Gnome/RestartStyle.xml index 5597fb9a0..4a3f95322 100644 --- a/doc/en/Gnome/RestartStyle.xml +++ b/doc/en/Gnome/RestartStyle.xml @@ -1,16 +1,14 @@ + 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. - - The various ways in which the session manager can restart a client. - Set by calling . - System.Enum @@ -19,36 +17,52 @@ 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 if the client was running when the previous session exited. + Restart even if the client was exited before the user logged out of the previous session. - - + + + Field + + 2.24.0.0 + Gnome.RestartStyle - Restart even if the client was exited before the user logged out of the previous session. + Restart if the client was running when the previous session exited. + Field + + 2.24.0.0 + Gnome.RestartStyle @@ -61,7 +75,11 @@ + Field + + 2.24.0.0 + Gnome.RestartStyle diff --git a/doc/en/Gnome/SaveStyle.xml b/doc/en/Gnome/SaveStyle.xml index debabe06a..701431055 100644 --- a/doc/en/Gnome/SaveStyle.xml +++ b/doc/en/Gnome/SaveStyle.xml @@ -1,16 +1,14 @@ + 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. - - Which pieces of data a client should save when receiving a "SaveYourself" call from the session manager. - To be added. - System.Enum @@ -19,42 +17,58 @@ 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 data (to somewhere persistent) that affects and is visible to all users of this application. + Save both global and local data. - - + + + Field + + 2.24.0.0 + Gnome.SaveStyle - Save data that only applies to this instance of the application. + Save data (to somewhere persistent) that affects and is visible to all users of this application. - - + + + Field + + 2.24.0.0 + Gnome.SaveStyle - Save both global and local data. + Save data that only applies to this instance of the application. diff --git a/doc/en/Gnome/SaveYourselfArgs.xml b/doc/en/Gnome/SaveYourselfArgs.xml index 3dbbf2e40..cdf3daace 100644 --- a/doc/en/Gnome/SaveYourselfArgs.xml +++ b/doc/en/Gnome/SaveYourselfArgs.xml @@ -1,26 +1,32 @@ + 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. - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + @@ -29,8 +35,12 @@ - + + Property + + 2.24.0.0 + System.Boolean @@ -41,8 +51,12 @@ - + + Property + + 2.24.0.0 + Gnome.InteractStyle @@ -52,21 +66,29 @@ To be added - - + + + Property + + 2.24.0.0 + - System.Boolean + System.Int32 To be added - To be added: an object of type 'bool' + To be added: an object of type 'int' To be added - + + Property + + 2.24.0.0 + Gnome.SaveStyle @@ -76,15 +98,19 @@ To be added - - + + + Property + + 2.24.0.0 + - System.Int32 + System.Boolean To be added - To be added: an object of type 'int' + To be added: an object of type 'bool' To be added diff --git a/doc/en/Gnome/SaveYourselfHandler.xml b/doc/en/Gnome/SaveYourselfHandler.xml index e78805213..47e0f3161 100644 --- a/doc/en/Gnome/SaveYourselfHandler.xml +++ b/doc/en/Gnome/SaveYourselfHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -15,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/Score.xml b/doc/en/Gnome/Score.xml index 156955d40..7b6313f05 100644 --- a/doc/en/Gnome/Score.xml +++ b/doc/en/Gnome/Score.xml @@ -1,40 +1,30 @@ + 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. - - To be added - To be added - System.Object + + To be added + To be added + - - - Method - - System.Int32 - - - - - - To be added - a - a - To be added - - + Constructor + + 2.24.0.0 + @@ -44,7 +34,16 @@ + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Int32 @@ -56,12 +55,37 @@ - To be added 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 diff --git a/doc/en/Gnome/Scores.xml b/doc/en/Gnome/Scores.xml index 82149c134..353ade56f 100644 --- a/doc/en/Gnome/Scores.xml +++ b/doc/en/Gnome/Scores.xml @@ -1,64 +1,116 @@ + 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. - - To be added - To be added - Gtk.Dialog + + + System.Obsolete + + + + To be added + To be added + - - - Method - - Gtk.Widget - + + + + Constructor + + 2.24.0.0 + + + + + To be added + To be added + + + + + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + + - - - - + - - Does all the work of displaying the best scores. It calls to retrieve the info, creates the window, and shows it. - - 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' - To be added: an object of type 'Gtk.Widget' - To be added + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.24.0.0 + - Internal constructor 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 @@ -70,21 +122,39 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + - Gdk.Color + System.Single + + + + + + + a + a + a + a To be added - a + a To be added - + + Property + + 2.24.0.0 + System.Int32 @@ -94,9 +164,74 @@ 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 @@ -107,8 +242,12 @@ - + + Property + + 2.24.0.0 + System.String @@ -119,8 +258,12 @@ - + + Property + + 2.24.0.0 + Gtk.Widget @@ -132,7 +275,11 @@ + Method + + 2.24.0.0 + System.Void @@ -141,15 +288,19 @@ - To be added a a + To be added To be added + Method + + 2.24.0.0 + System.Void @@ -159,101 +310,12 @@ - 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.Single - - - - - - - - - To be added - a - a - a - a - a - To be added - - - - - Constructor - - - - - - - - - - To be added - a - a - a - a - a - To be added - - - - - Constructor - - - To be added To be added - - - System.Obsolete - - diff --git a/doc/en/Gnome/Sound.xml b/doc/en/Gnome/Sound.xml index 557413161..6f63bee55 100644 --- a/doc/en/Gnome/Sound.xml +++ b/doc/en/Gnome/Sound.xml @@ -1,27 +1,31 @@ + 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. - - To be added - To be added - System.Object + + To be added + To be added + - - - Method - - System.Void - + + + + Constructor + + 2.24.0.0 + + To be added @@ -30,7 +34,11 @@ + Method + + 2.24.0.0 + System.Int32 @@ -41,39 +49,51 @@ To be added - - + + + Method + + 2.24.0.0 + System.Void - + + a To be added - a To be added - - + + + Method + + 2.24.0.0 + System.Void - + + a To be added - a To be added + Method + + 2.24.0.0 + System.Int32 @@ -82,17 +102,23 @@ - To be added a a + To be added a To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.Void + To be added diff --git a/doc/en/Gnome/Stock.xml b/doc/en/Gnome/Stock.xml index 27fdac1ab..7a4fb9228 100644 --- a/doc/en/Gnome/Stock.xml +++ b/doc/en/Gnome/Stock.xml @@ -1,24 +1,30 @@ + 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. - - Prebuilt menu/toolbar items and corresponding icons to extend . - To be added - System.Object + + Prebuilt menu/toolbar items and corresponding icons to extend . + To be added + + Constructor + + 2.24.0.0 + @@ -26,9 +32,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -38,9 +48,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -50,21 +64,31 @@ To be added - - + + + Property + + 2.24.0.0 + System.String + To be added - To be added: an object of type 'string' + a To be added + - - + + + Property + + 2.24.0.0 + System.String @@ -74,9 +98,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -86,9 +114,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -98,9 +130,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -110,9 +146,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -122,9 +162,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -134,9 +178,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -146,9 +194,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -158,9 +210,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -170,9 +226,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -182,9 +242,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -194,9 +258,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -206,9 +274,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -218,9 +290,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -230,9 +306,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -242,9 +322,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -254,9 +338,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -266,9 +354,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -278,9 +370,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -290,9 +386,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -302,9 +402,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -314,9 +418,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -326,9 +434,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -338,9 +450,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -350,9 +466,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -362,9 +482,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -374,9 +498,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -386,9 +514,13 @@ To be added - - + + + Property + + 2.24.0.0 + System.String @@ -398,18 +530,20 @@ To be added - - + + + Property + + 2.24.0.0 + System.String - To be added - a + To be added: an object of type 'string' To be added - diff --git a/doc/en/Gnome/StringCallback.xml b/doc/en/Gnome/StringCallback.xml index 207c822a1..99ebc848b 100644 --- a/doc/en/Gnome/StringCallback.xml +++ b/doc/en/Gnome/StringCallback.xml @@ -1,23 +1,25 @@ + 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. - - To be added. - To be added - To be added - System.Delegate - System.Void + + To be added. + To be added + To be added + + diff --git a/doc/en/Gnome/TextChangedArgs.xml b/doc/en/Gnome/TextChangedArgs.xml index af7093cf9..95b21203b 100644 --- a/doc/en/Gnome/TextChangedArgs.xml +++ b/doc/en/Gnome/TextChangedArgs.xml @@ -1,12 +1,18 @@ + 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. @@ -27,14 +33,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.24.0.0 + diff --git a/doc/en/Gnome/TextChangedHandler.xml b/doc/en/Gnome/TextChangedHandler.xml index 51947c120..a81eedfb5 100644 --- a/doc/en/Gnome/TextChangedHandler.xml +++ b/doc/en/Gnome/TextChangedHandler.xml @@ -1,10 +1,22 @@ + 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. @@ -29,15 +41,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gnome/ThemeFile.xml b/doc/en/Gnome/ThemeFile.xml index ed7d59c9d..ed88d3848 100644 --- a/doc/en/Gnome/ThemeFile.xml +++ b/doc/en/Gnome/ThemeFile.xml @@ -1,80 +1,86 @@ + 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. - - To be added - To be added - GLib.Opaque + + To be added + To be added + - - - Method - - System.Int32 - - + + + + Constructor + + 2.24.0.0 + + + + + + a To be added - a To be added - - - Method - - System.Boolean - + + + + Constructor + + 2.24.0.0 + + - - - + + a To be added - a - a - a - a To be added - - + + + Method + + 2.24.0.0 + - System.Boolean + System.Void - - - - - - + - To be added - a - a - a - a - a - To be added + To be added. + To be added. + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void @@ -84,36 +90,49 @@ - To be added a a a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + - System.Boolean + System.Void - - - + + a To be added - a - a - a - a To be added + Method + + 2.24.0.0 + + + + System.Obsolete("Gnome.ThemeFile is now freed automatically") + + System.Void @@ -123,66 +142,186 @@ 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 + a To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + + System.Obsolete + + + + System.Boolean + - + + + + a + a + a To be added - a + a To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + + System.Obsolete + + + + System.Boolean + - + + + + + a + a + a + a To be added - a + a To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Boolean - + - To be added a 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. + + diff --git a/doc/en/Gnome/ThemeFileLineFunc.xml b/doc/en/Gnome/ThemeFileLineFunc.xml index b6662007f..f96e4cb84 100644 --- a/doc/en/Gnome/ThemeFileLineFunc.xml +++ b/doc/en/Gnome/ThemeFileLineFunc.xml @@ -1,31 +1,33 @@ + 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. - - To be added. - To be added. - To be added. - To be added. - To be added - To be added - System.Delegate - - - System.Void - + + System.Void + + + To be added. + To be added. + To be added. + To be added. + To be added + To be added + + diff --git a/doc/en/Gnome/ThemeFileParseError.xml b/doc/en/Gnome/ThemeFileParseError.xml index 711fb0be0..7d5cb305f 100644 --- a/doc/en/Gnome/ThemeFileParseError.xml +++ b/doc/en/Gnome/ThemeFileParseError.xml @@ -1,23 +1,29 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.ThemeFileParseError @@ -31,7 +37,11 @@ + Field + + 2.24.0.0 + Gnome.ThemeFileParseError @@ -43,9 +53,13 @@ - - + + + Field + + 2.24.0.0 + Gnome.ThemeFileParseError diff --git a/doc/en/Gnome/ThemeFileSectionFunc.xml b/doc/en/Gnome/ThemeFileSectionFunc.xml index 876a60c9a..41a30805f 100644 --- a/doc/en/Gnome/ThemeFileSectionFunc.xml +++ b/doc/en/Gnome/ThemeFileSectionFunc.xml @@ -1,27 +1,29 @@ + 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. - - To be added. - To be added. - To be added - To be added - System.Delegate - - - System.Void - + + System.Void + + + To be added. + To be added. + To be added + To be added + + diff --git a/doc/en/Gnome/Thumbnail.xml b/doc/en/Gnome/Thumbnail.xml index 8f271ac2f..9ab73e2a9 100644 --- a/doc/en/Gnome/Thumbnail.xml +++ b/doc/en/Gnome/Thumbnail.xml @@ -1,24 +1,44 @@ + 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. - - To be added - To be added - 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 @@ -27,16 +47,44 @@ + 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 @@ -44,15 +92,19 @@ - To be added a + To be added a To be added + Method + + 2.24.0.0 + System.String @@ -61,16 +113,20 @@ - To be added a a + To be added a To be added + Method + + 2.24.0.0 + Gdk.Pixbuf @@ -80,41 +136,11 @@ - To be added a a a - a - To be added - - - - - Constructor - - - To be added - To be added - - - - - Method - - System.Boolean - - - - - - - - To be added - a - a - a - a + a To be added diff --git a/doc/en/Gnome/ThumbnailFactory.xml b/doc/en/Gnome/ThumbnailFactory.xml index 32451a935..b194898ba 100644 --- a/doc/en/Gnome/ThumbnailFactory.xml +++ b/doc/en/Gnome/ThumbnailFactory.xml @@ -1,174 +1,193 @@ + 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. - - To be added - To be added - GLib.Object + + To be added + To be added + - - - Method - - Gdk.Pixbuf - - - - - - - To be added - a - a - a - To be added - - - + + Constructor + + 2.24.0.0 + + + + System.Obsolete + + - + - Internal constructor - a - This is not typically used by C# code. + 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 a + To be added To be added - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - + + Constructor + + 2.24.0.0 + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + a + Internal constructor + This is not typically used by C# code. - - - System.Obsolete - - - - + + + Method + + 2.24.0.0 + System.Boolean + - To be added a + a a + To be added a To be added - - + + + Method + + 2.24.0.0 + System.Void - - + - To be added - a a - a + a + To be added To be added - - + + + Method + + 2.24.0.0 + - System.Boolean + Gdk.Pixbuf - - To be added a 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.Void + System.Boolean - To be added a a + To be added + a To be added + Method + + 2.24.0.0 + System.String @@ -177,12 +196,35 @@ - To be added 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 + + diff --git a/doc/en/Gnome/ThumbnailSize.xml b/doc/en/Gnome/ThumbnailSize.xml index 2fb22257e..b55507b63 100644 --- a/doc/en/Gnome/ThumbnailSize.xml +++ b/doc/en/Gnome/ThumbnailSize.xml @@ -1,16 +1,14 @@ + 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. - - To be added - To be added - System.Enum @@ -19,10 +17,18 @@ GLib.GType(typeof(Gnome.ThumbnailSizeGType)) + + To be added + To be added + - - + + + Field + + 2.24.0.0 + Gnome.ThumbnailSize @@ -34,9 +40,13 @@ - - + + + Field + + 2.24.0.0 + Gnome.ThumbnailSize diff --git a/doc/en/Gnome/Trigger.xml b/doc/en/Gnome/Trigger.xml index 30f38658b..a1580e665 100644 --- a/doc/en/Gnome/Trigger.xml +++ b/doc/en/Gnome/Trigger.xml @@ -1,28 +1,51 @@ + 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. - - To be added - To be added - 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 + - Gnome.Trigger + System.String - + + To be added To be added @@ -30,7 +53,11 @@ + Method + + 2.24.0.0 + Gnome.Trigger @@ -38,15 +65,19 @@ - To be added 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 @@ -57,30 +88,21 @@ To be added - - + + + Field + + 2.24.0.0 + - System.String + Gnome.Trigger - - + To be added To be added - - - Property - - Gnome.TriggerActionFunction - - - To be added. - To be added. - To be added. - - diff --git a/doc/en/Gnome/TriggerActionFunction.xml b/doc/en/Gnome/TriggerActionFunction.xml index 98d50dbe6..cd2295f1b 100644 --- a/doc/en/Gnome/TriggerActionFunction.xml +++ b/doc/en/Gnome/TriggerActionFunction.xml @@ -1,27 +1,15 @@ + 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. - - - Can be used as a target for - of instances. - - - 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. - To be added. - System.Delegate - @@ -30,4 +18,18 @@ 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. + + diff --git a/doc/en/Gnome/TriggerList.xml b/doc/en/Gnome/TriggerList.xml index 35fe470f6..af3924960 100644 --- a/doc/en/Gnome/TriggerList.xml +++ b/doc/en/Gnome/TriggerList.xml @@ -1,36 +1,46 @@ + 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. - - To be added - To be added - System.ValueType + + To be added + To be added + - - - Field + + + + Property + + 2.24.0.0 + - Gnome.TriggerList + Gnome.Trigger - To be added + To be added: an object of type 'Gnome.Trigger' To be added + Method + + 2.24.0.0 + Gnome.TriggerList @@ -38,41 +48,55 @@ - To be added To be added: an object of type 'IntPtr' + To be added To be added: an object of type 'Gnome.TriggerList' To be added - - - Property + + + + Field + + 2.24.0.0 + - Gnome.Trigger + System.String + + To be added - To be added: an object of type 'Gnome.Trigger' To be added - - - Property + + + + Field + + 2.24.0.0 + - Gnome.TriggerList + System.Int32 + + To be added - To be added: an object of type 'Gnome.TriggerList' To be added - - + + + Field + + 2.24.0.0 + - System.String + System.Int32 @@ -81,27 +105,33 @@ To be added - - - Field + + + + Property + + 2.24.0.0 + - System.Int32 + Gnome.TriggerList - - To be added + To be added: an object of type 'Gnome.TriggerList' To be added - - + + + Field + + 2.24.0.0 + - System.Int32 + Gnome.TriggerList - - + To be added To be added diff --git a/doc/en/Gnome/TriggerType.xml b/doc/en/Gnome/TriggerType.xml index ff7caef9a..81b63776c 100644 --- a/doc/en/Gnome/TriggerType.xml +++ b/doc/en/Gnome/TriggerType.xml @@ -1,16 +1,14 @@ + 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. - - These are the different types of triggers that can be activated by an application. - To be added. - System.Enum @@ -19,23 +17,35 @@ 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 - A null trigger type. Should never be used. + The trigger causes a command to be executed. + Field + + 2.24.0.0 + Gnome.TriggerType @@ -46,28 +56,36 @@ - - + + + Field + + 2.24.0.0 + Gnome.TriggerType - The trigger causes a command to be executed. + The trigger causes a sound to be played. - - + + + Field + + 2.24.0.0 + Gnome.TriggerType - The trigger causes a sound to be played. + A null trigger type. Should never be used. diff --git a/doc/en/Gnome/Triggers.xml b/doc/en/Gnome/Triggers.xml index 62e0c52e1..c33579e19 100644 --- a/doc/en/Gnome/Triggers.xml +++ b/doc/en/Gnome/Triggers.xml @@ -1,24 +1,44 @@ + 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. - - To be added - To be added - 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 @@ -27,15 +47,19 @@ - To be added a a + To be added To be added + Method + + 2.24.0.0 + System.Void @@ -45,19 +69,9 @@ - To be added a a a - To be added - - - - - Constructor - - - To be added To be added diff --git a/doc/en/Gnome/UIBuilderData.xml b/doc/en/Gnome/UIBuilderData.xml index 8698b1728..884f6a85f 100644 --- a/doc/en/Gnome/UIBuilderData.xml +++ b/doc/en/Gnome/UIBuilderData.xml @@ -1,52 +1,62 @@ + 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. - - To be added - To be added - System.ValueType + + To be added + To be added + - - - Field + + + + Property + + 2.24.0.0 + - Gnome.UIBuilderData + Gnome.UISignalConnectFunc - - To be added - To be added + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.24.0.0 + - Gnome.UIBuilderData + Gtk.DestroyNotify - - - - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gnome.UIBuilderData' - To be added + To be added. + To be added. + To be added. + Field + + 2.24.0.0 + System.Boolean @@ -57,21 +67,33 @@ To be added - - - Property + + + + Method + + 2.24.0.0 + - Gnome.UISignalConnectFunc + Gnome.UIBuilderData + + + - To be added. - To be added. - To be added. + 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 @@ -81,16 +103,20 @@ To be added. - - - Property + + + + Field + + 2.24.0.0 + - Gtk.DestroyNotify + Gnome.UIBuilderData + - To be added. - To be added. - To be added. + To be added + To be added diff --git a/doc/en/Gnome/UIInfo.xml b/doc/en/Gnome/UIInfo.xml index 0a95df289..ee7b54a62 100644 --- a/doc/en/Gnome/UIInfo.xml +++ b/doc/en/Gnome/UIInfo.xml @@ -1,84 +1,81 @@ + 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. - - To be added - To be added - System.ValueType + + To be added + To be added + - - + + + Field + + 2.24.0.0 + - Gnome.UIInfo - - - - To be added - To be added - - - - - Method - - Gnome.UIInfo + System.UInt32 - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gnome.UIInfo' To be added - - - Property + + + + Field + + 2.24.0.0 + - Gtk.Widget + Gdk.ModifierType To be added - To be added: an object of type 'Gtk.Widget' To be added - - - System.Obsolete("Replaced by Widget property.") - - - - + + + Field + + 2.24.0.0 + - Gnome.UIInfoType + System.String - To be added + Tooltip text displayed for the UI element. To be added + Field + + 2.24.0.0 + System.String @@ -89,22 +86,33 @@ To be added - - - Field + + + + Method + + 2.24.0.0 + - System.String + Gnome.UIInfo + - Tooltip text displayed for the UI element. + 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 @@ -115,11 +123,15 @@ To be added - - + + + Field + + 2.24.0.0 + - System.UInt32 + Gnome.UIInfoType @@ -128,22 +140,36 @@ To be added - - - Field + + + + Property + + 2.24.0.0 + + + + System.Obsolete("Replaced by Widget property.") + + - Gdk.ModifierType + Gtk.Widget To be added + To be added: an object of type 'Gtk.Widget' To be added - + + Property + + 2.24.0.0 + Gtk.Widget @@ -153,5 +179,21 @@ To be added. + + + + Field + + 2.24.0.0 + + + Gnome.UIInfo + + + + To be added + To be added + + diff --git a/doc/en/Gnome/UIInfoConfigurableTypes.xml b/doc/en/Gnome/UIInfoConfigurableTypes.xml index a240610f0..8534c90ea 100644 --- a/doc/en/Gnome/UIInfoConfigurableTypes.xml +++ b/doc/en/Gnome/UIInfoConfigurableTypes.xml @@ -1,12 +1,17 @@ + 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. @@ -15,422 +20,547 @@ possible unless the application specifically implements it (moral: use standard menu items). - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "New" menu. + The "About..." menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Open" menu. + The "Clear" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Save" menu. + The "Close" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Save As..." menu + The "Close window" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Revert" menu. + The "Copy" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Print" menu. + The "Cut" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Print setup..." menu. + The "End game" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Close" menu. + The "Find..." menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Quit" menu. + The "FindAgain" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Cut" menu. + The "Hint" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Copy" menu. + The "New" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Paste" menu. + The "New game" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Clear" menu. + The "New window" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Undo" menu. + The "Open" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Redo" menu. + The "Paste" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Find..." menu. + The "Pause game" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "FindAgain" menu. + The "Preferences..." menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Replace..." menu. + The "Print" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Properties..." menu. + The "Print setup..." menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Preferences..." menu. + The "Properties..." menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "About..." menu. + The "Quit" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Select all" menu. + The "Redo" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "New window" menu. + The "Redo move" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Close window" menu. + The "Replace..." menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "New game" menu. + The "Restart game" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Pause game" menu. + The "Revert" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Restart game" menu. + The "Save" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Undo move" menu. + The "Save As..." menu - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Redo move" menu. + The "Scores..." menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Hint" menu. + The "Select all" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "Scores..." menu. + The "Undo" menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoConfigurableTypes - The "End game" menu. + The "Undo move" menu. diff --git a/doc/en/Gnome/UIInfoType.xml b/doc/en/Gnome/UIInfoType.xml index cf589efef..75f43d979 100644 --- a/doc/en/Gnome/UIInfoType.xml +++ b/doc/en/Gnome/UIInfoType.xml @@ -1,12 +1,17 @@ + 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. @@ -16,130 +21,170 @@ supplied by the above methods. - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - No more items, use it at the end of an array. + Specifies the builder data for the following entries, see code for further info. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - Normal item, or radio item if it is inside a radioitems group. + No more items, use it at the end of an array. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - Toggle (check box) item. + Create a list of help topics, used in the Help menu. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - Radio item group. + + Almost like Subtree, but inserts items into the current menu + or whatever, instead of making a submenu. + - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - Item that defines a subtree/submenu. + Normal item, or radio item if it is inside a radioitems group. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - Separator line (menus) or blank space (toolbars). + A configurable menu item. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - Create a list of help topics, used in the Help menu. + Radio item group. - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - Specifies the builder data for the following entries, see code for further info. + Separator line (menus) or blank space (toolbars). - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - A configurable menu item. + Item that defines a subtree/submenu. + Field + + 2.24.0.0 + Gnome.UIInfoType @@ -153,18 +198,19 @@ - - + + + Field + + 2.24.0.0 + Gnome.UIInfoType - - Almost like Subtree, but inserts items into the current menu - or whatever, instead of making a submenu. - + Toggle (check box) item. diff --git a/doc/en/Gnome/UIPixmapType.xml b/doc/en/Gnome/UIPixmapType.xml index 638ed9265..dc3723d76 100644 --- a/doc/en/Gnome/UIPixmapType.xml +++ b/doc/en/Gnome/UIPixmapType.xml @@ -1,68 +1,86 @@ + 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. - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.UIPixmapType - No pixmap specified. + Use a pixmap from inline xpm data. - - + + + Field + + 2.24.0.0 + Gnome.UIPixmapType - Use a stock pixmap . + Use a pixmap from the specified filename. - - + + + Field + + 2.24.0.0 + Gnome.UIPixmapType - Use a pixmap from inline xpm data. + No pixmap specified. - - + + + Field + + 2.24.0.0 + Gnome.UIPixmapType - Use a pixmap from the specified filename. + Use a stock pixmap . diff --git a/doc/en/Gnome/UISignalConnectFunc.xml b/doc/en/Gnome/UISignalConnectFunc.xml index 76cffcf66..67de1d331 100644 --- a/doc/en/Gnome/UISignalConnectFunc.xml +++ b/doc/en/Gnome/UISignalConnectFunc.xml @@ -1,15 +1,28 @@ + 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 + - Are called as a result of signals being emitted from a menu or tool bar item 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 @@ -17,16 +30,5 @@ - - System.Delegate - - - - - - - - System.Void - diff --git a/doc/en/Gnome/URLError.xml b/doc/en/Gnome/URLError.xml index 0905b1e16..757e05b5a 100644 --- a/doc/en/Gnome/URLError.xml +++ b/doc/en/Gnome/URLError.xml @@ -1,36 +1,44 @@ + 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 - - System.Enum - - - + + + Field + + 2.24.0.0 + Gnome.URLError - - The parsing of the handler failed. - - + To be added. + + Field + + 2.24.0.0 + Gnome.URLError @@ -42,9 +50,13 @@ - - + + + Field + + 2.24.0.0 + Gnome.URLError @@ -56,9 +68,13 @@ - - + + + Field + + 2.24.0.0 + Gnome.URLError @@ -70,23 +86,30 @@ - - + + + Field + + 2.24.0.0 + Gnome.URLError - - + - To be added - To be added - + The parsing of the handler failed. + + - - + + + Field + + 2.24.0.0 + Gnome.URLError @@ -98,15 +121,22 @@ - - + + + Field + + 2.24.0.0 + Gnome.URLError + + - To be added. - + To be added + To be added + diff --git a/doc/en/Gnome/Url.xml b/doc/en/Gnome/Url.xml index 08bc78d16..fe17f42f7 100644 --- a/doc/en/Gnome/Url.xml +++ b/doc/en/Gnome/Url.xml @@ -1,24 +1,44 @@ + 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. - - To be added - To be added - 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 @@ -31,7 +51,11 @@ + Method + + 2.24.0.0 + System.Boolean @@ -39,25 +63,19 @@ - To be added a - a - To be added - - - - - Constructor - - - To be added + a To be added + Method + + 2.24.0.0 + System.Boolean @@ -66,9 +84,9 @@ - To be added a a + To be added a To be added diff --git a/doc/en/Gnome/User.xml b/doc/en/Gnome/User.xml index ff6c605b1..f519a9e48 100644 --- a/doc/en/Gnome/User.xml +++ b/doc/en/Gnome/User.xml @@ -1,37 +1,44 @@ + 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. - - To be added - To be added - System.Object + + To be added + To be added + - - - Method - - System.String - + + + + Constructor + + 2.24.0.0 + + To be added - a To be added + Method + + 2.24.0.0 + System.String @@ -44,7 +51,11 @@ + Method + + 2.24.0.0 + System.String @@ -55,13 +66,20 @@ To be added - - - Constructor - + + + + Method + + 2.24.0.0 + + + System.String + To be added + a To be added diff --git a/doc/en/Gnome/Window.xml b/doc/en/Gnome/Window.xml index 4c8f5d40a..a419dc530 100644 --- a/doc/en/Gnome/Window.xml +++ b/doc/en/Gnome/Window.xml @@ -1,63 +1,94 @@ + 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. - - 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. - 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 - - - - - - + - Set the title of a toplevel window. - a - a - a - a - - 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). - + To be added + To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - + + a To be added - a To be added + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void @@ -65,41 +96,73 @@ - To be added 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 + - To be added + a a + To be added To be added + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void @@ -108,37 +171,43 @@ - To be added a a + To be added To be added - - + + + Method + + 2.24.0.0 + + + + System.Obsolete + + System.Void - - + + + + - To be added - a - a - To be added - - - - - Constructor - - - - To be added - To be added + 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). + diff --git a/doc/en/Gtk.DotNet/Graphics.xml b/doc/en/Gtk.DotNet/Graphics.xml index e08c4e8a5..a0f27d4b0 100644 --- a/doc/en/Gtk.DotNet/Graphics.xml +++ b/doc/en/Gtk.DotNet/Graphics.xml @@ -1,8 +1,10 @@ + 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. @@ -16,7 +18,11 @@ + Method + + 2.12.0.0 + System.Drawing.Graphics @@ -61,7 +67,11 @@ class PrettyGraphic : DrawingArea { + Method + + 2.12.0.0 + System.Drawing.Graphics diff --git a/doc/en/Gtk/AboutDialog.xml b/doc/en/Gtk/AboutDialog.xml index 13e7771d5..1b86fecd2 100644 --- a/doc/en/Gtk/AboutDialog.xml +++ b/doc/en/Gtk/AboutDialog.xml @@ -1,13 +1,19 @@ + 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. + 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. @@ -89,108 +95,139 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."; - - Gtk.Dialog - - - + + + + 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 + + - Constructs and initializes a new instance of for a specified native GLib type. 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. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Constructs and initializes a new instance of using an existing unmanaged object as its base. 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 - - - - 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. - - - - + + + Property + + 2.12.0.0 + + + + GLib.Property("artists") + + - GLib.GType + System.String[] - - 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. + 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 + 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. + 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("license") + GLib.Property("comments") - - - - Property 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. + 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("program-name") - - - System.Obsolete("Use ProgramName instead") + GLib.Property("copyright") - - - - Property System.String @@ -202,85 +239,79 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."; 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("copyright") + GLib.Property("documenters") - - - - Property - System.String + 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. + 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. - - - GLib.Property("translator-credits") - - - - + + + Property + + 2.12.0.0 + - System.String + GLib.GType - 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. - - - + 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("logo-icon-name") + GLib.Property("license") - - - - Property 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. + 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("website-label") + GLib.Property("logo") - - - - Property Gdk.Pixbuf @@ -295,78 +326,99 @@ If set, this property overrides the proper If this is not set, it defaults to . + + + + + Property + + 2.12.0.0 + - GLib.Property("logo") + GLib.Property("logo-icon-name") - - - - Property System.String - Gets and sets the URL of the program's website. - A containing the URL of the program's website. + 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. - 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. - + +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("website") + GLib.Property("program-name") + + + System.Obsolete("Use ProgramName instead") - - - - Property 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. - + 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("comments") + GLib.Property("program-name") - - - - Property 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. + Program Name property. + The name of the program. + + - - - GLib.Property("version") - - + Method + + 2.12.0.0 + Gtk.AboutDialogActivateLinkFunc @@ -374,8 +426,8 @@ If set, this property overrides the proper - Installs a global function to be called whenever the user activates an email link in an about dialog. 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. @@ -386,7 +438,11 @@ If set, this property overrides the proper + Method + + 2.12.0.0 + Gtk.AboutDialogActivateLinkFunc @@ -394,8 +450,8 @@ If set, this property overrides the proper - Installs a global function to be called whenever the user activates a URL link in an about dialog. 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. @@ -408,92 +464,121 @@ If set, this property overrides the proper - - + + + Property + + 2.12.0.0 + - GLib.Property("documenters") + GLib.Property("translator-credits") - System.String[] + 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. + 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("authors") + GLib.Property("version") - System.String[] + 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. + 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("artists") + GLib.Property("website") - System.String[] + 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. + 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("wrap-license") + GLib.Property("website-label") - System.Boolean + System.String + - 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. - + 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("program-name") + GLib.Property("wrap-license") - System.String + System.Boolean - Program Name property. - The name of the program. - - + 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. + - \ No newline at end of file + diff --git a/doc/en/Gtk/AboutDialogActivateLinkFunc.xml b/doc/en/Gtk/AboutDialogActivateLinkFunc.xml index 52a943111..4eef21b39 100644 --- a/doc/en/Gtk/AboutDialogActivateLinkFunc.xml +++ b/doc/en/Gtk/AboutDialogActivateLinkFunc.xml @@ -1,11 +1,22 @@ + 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. @@ -23,15 +34,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/Accel.xml b/doc/en/Gtk/Accel.xml index 3680a3c6c..0465731b9 100644 --- a/doc/en/Gtk/Accel.xml +++ b/doc/en/Gtk/Accel.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + System.Object + + Accel Class @@ -14,56 +19,28 @@ - - System.Object - - - - - Method - - System.Void - - - - - - - Loops over the entries in the accelerator. - 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 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 - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Parses through a file previously saved with for accelerator specifications, and propagates them accordingly. - A file containing accelerator specifications. + + Method + + 2.12.0.0 + System.Boolean @@ -73,10 +50,10 @@ - Finds the first accelerator in any . 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. @@ -87,119 +64,185 @@ - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.AccelGroup[] - - - - + - Changes the and currently associated with . - A valid accelerator path. - An new accelerator key. - A new accelerator modifier. - A returns if other accelerators may be deleted upon conflicts. - 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). - - + 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.Boolean + System.Void - + + - Looks up the accelerator entry for and fills in . A valid accelerator path. - An accelerator key to be filled in (optional). - A returns if is known, and otherwise. - + 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 - + - Filedescriptor variant of . - An valid readable file descriptor. - Note that the file descriptor will not be closed by this function. + 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.Void + System.Boolean + - Registers a new accelerator with the global accelerator map. A valid accelerator path. - An accelerator key. - A accelerator modifier. + 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. - 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..". + 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 - + + - Filedescriptor variant of . - An valid writeable file descriptor. - Note that the file descriptor will not be closed by this function. + 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 @@ -208,9 +251,9 @@ - Loops over all the entries in the accelerator map, and executes on each. 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 , @@ -220,31 +263,93 @@ - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Moved to AccelMap class. Use AccelMap.Load instead") + + System.Void - + - Adds a filter to the global list of accel path filters. - A pattern. - - - 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. - - + 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 @@ -252,8 +357,8 @@ - Saves current accelerator specifications. A file to contain accelerator specifications. + Saves current accelerator specifications. Saves current accelerator specifications (accelerator path, key, modifiers to @@ -263,30 +368,28 @@ - - - Constructor - - - - - - - - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Moved to AccelMap class. Use AccelMap.SaveFd instead") + + - Gtk.AccelGroup[] + System.Void - + - Gets a list of all accel groups which are attached to . - An usually a . - An list of all accel groups which are attached to . - + An valid writeable file descriptor. + Filedescriptor variant of . + Note that the file descriptor will not be closed by this function. diff --git a/doc/en/Gtk/AccelActivateArgs.xml b/doc/en/Gtk/AccelActivateArgs.xml index 951bfd079..866780635 100644 --- a/doc/en/Gtk/AccelActivateArgs.xml +++ b/doc/en/Gtk/AccelActivateArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + GLib.Object @@ -43,8 +52,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -59,8 +72,12 @@ - + + Property + + 2.12.0.0 + Gdk.ModifierType diff --git a/doc/en/Gtk/AccelActivateHandler.xml b/doc/en/Gtk/AccelActivateHandler.xml index efcf543bd..333c72934 100644 --- a/doc/en/Gtk/AccelActivateHandler.xml +++ b/doc/en/Gtk/AccelActivateHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -13,15 +24,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/AccelCanActivateArgs.xml b/doc/en/Gtk/AccelCanActivateArgs.xml index 4dda3c3b9..107dea496 100644 --- a/doc/en/Gtk/AccelCanActivateArgs.xml +++ b/doc/en/Gtk/AccelCanActivateArgs.xml @@ -1,24 +1,29 @@ + 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 . - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -27,8 +32,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 diff --git a/doc/en/Gtk/AccelCanActivateHandler.xml b/doc/en/Gtk/AccelCanActivateHandler.xml index 5f99c538a..2a6d59ef7 100644 --- a/doc/en/Gtk/AccelCanActivateHandler.xml +++ b/doc/en/Gtk/AccelCanActivateHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -14,15 +25,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/AccelChangedArgs.xml b/doc/en/Gtk/AccelChangedArgs.xml index dcb166d06..3423fed89 100644 --- a/doc/en/Gtk/AccelChangedArgs.xml +++ b/doc/en/Gtk/AccelChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr @@ -40,27 +49,35 @@ - - + + + Property + + 2.12.0.0 + - Gdk.ModifierType + System.UInt32 - Gets the state of the Shift, Control, Alt, and other modifier keys and mouse buttons. - An object of type + Gets the key value for the accelerator event. + An integer. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.ModifierType - Gets the key value for the accelerator event. - An integer. + Gets the state of the Shift, Control, Alt, and other modifier keys and mouse buttons. + An object of type diff --git a/doc/en/Gtk/AccelChangedHandler.xml b/doc/en/Gtk/AccelChangedHandler.xml index 610b94929..674d747ba 100644 --- a/doc/en/Gtk/AccelChangedHandler.xml +++ b/doc/en/Gtk/AccelChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/AccelClearedArgs.xml b/doc/en/Gtk/AccelClearedArgs.xml index 4fb2b2334..e7adff896 100644 --- a/doc/en/Gtk/AccelClearedArgs.xml +++ b/doc/en/Gtk/AccelClearedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/AccelClearedHandler.xml b/doc/en/Gtk/AccelClearedHandler.xml index 532e5609c..1454864ab 100644 --- a/doc/en/Gtk/AccelClearedHandler.xml +++ b/doc/en/Gtk/AccelClearedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/AccelEditedArgs.xml b/doc/en/Gtk/AccelEditedArgs.xml index 2c3c8b396..6a57bc74f 100644 --- a/doc/en/Gtk/AccelEditedArgs.xml +++ b/doc/en/Gtk/AccelEditedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,31 +9,34 @@ 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 - - System.String - - - Path to the row of the edited cell. - A string containing the path. - - - - + + Property + + 2.12.0.0 + System.UInt32 @@ -43,8 +47,12 @@ - + + Property + + 2.12.0.0 + Gdk.ModifierType @@ -55,8 +63,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -66,12 +78,21 @@ + + + + Property + + 2.12.0.0 + + + System.String + + + Path to the row of the edited cell. + A string containing the path. + + + - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/AccelEditedHandler.xml b/doc/en/Gtk/AccelEditedHandler.xml index 80e04ceca..faa25873c 100644 --- a/doc/en/Gtk/AccelEditedHandler.xml +++ b/doc/en/Gtk/AccelEditedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/AccelFlags.xml b/doc/en/Gtk/AccelFlags.xml index b408a9e00..7266bc0de 100644 --- a/doc/en/Gtk/AccelFlags.xml +++ b/doc/en/Gtk/AccelFlags.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - - System.Enum @@ -26,24 +19,22 @@ 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 - - Gtk.AccelFlags - - - - Determines if will display the accelerator key or not. - - Determines if will display the accelerator key or not. - - - + Field + + 2.12.0.0 + Gtk.AccelFlags @@ -57,7 +48,11 @@ + Field + + 2.12.0.0 + Gtk.AccelFlags @@ -71,5 +66,23 @@ + + + + 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. + + + diff --git a/doc/en/Gtk/AccelGroup.xml b/doc/en/Gtk/AccelGroup.xml index 9bfe73c1f..5fb1a4422 100644 --- a/doc/en/Gtk/AccelGroup.xml +++ b/doc/en/Gtk/AccelGroup.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -29,120 +35,142 @@ - - GLib.Object - - - - - - Method - - Gtk.AccelGroup - + + + + Constructor + + 2.12.0.0 + + + + + Default public constructor. + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Finds the to which closure is connected. - A GClosure () - The to which is connected, or . - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + + - Undoes the last call to on its object. - + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("accel_activate") + + - System.Boolean + Gtk.AccelActivateHandler - - - + - Removes an accelerator previously installed through - . - The closure to remove from this accelerator group. - - if the closure was found and got disconnected - + + + + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("accel_changed") + + - System.Void + Gtk.AccelChangedHandler - - - - + - 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. - Path used for determining key and modifiers. - Closure to be executed upon accelerator activation + - - + + + Method + + 2.12.0.0 + System.Boolean + + - Removes an accelerator previously installed through . - Key value of the accelerator. - Modifier combination of the accelerator. - - if there was an accelerator which could be removed, otherwise. - - - - - - Method - - 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. + a + a + a + a + Activates the accelerator. + a + + + Method + + 2.12.0.0 + System.Void @@ -153,6 +181,10 @@ + 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 @@ -160,58 +192,87 @@ connection. The signature used for the closure is that of . - Key value of the accelerator. - Modifier combination of the accelerator. - A flag mask to configure this accelerator. - Closure to be executed upon accelerator activation. Note that, due to implementation details, a single closure can only be connected to one accelerator group. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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. + - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Boolean + + + + - Default public constructor. + The closure to remove from this accelerator group. + Removes an accelerator previously installed through + . + + if the closure was found and got disconnected - - - Event + + + + Method + + 2.12.0.0 + - Gtk.AccelChangedHandler + 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. - - - GLib.Signal("accel_changed") - - + Method + + 2.12.0.0 + Gtk.AccelKey @@ -219,36 +280,39 @@ - Finds the first entry in an accelerator group for which returns TRUE and returns its . 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.AccelGroupEntry + Gtk.AccelGroup - - - + - Queries an accelerator group for all entries matching and . - Key value of the accelerator. - Modifier combination of the accelerator. - Location to return the number of entries found, or . - An array of elements, or . - - + A GClosure () + Finds the to which closure is connected. + The to which is connected, or . + - + + Property + + 2.12.0.0 + GLib.GType @@ -259,106 +323,125 @@ Returns the native value for . - - + + + Method + + 2.12.0.0 + System.Void - - - - - + - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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. + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelActivate", Type=typeof(Gtk.AccelGroup)) - - - - Method System.Boolean - - - + + - Activates the accelerator. - a 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. - - - Event - - Gtk.AccelActivateHandler - - - - - - - - - + + + + Method + + 2.12.0.0 + - GLib.Signal("accel_activate") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelChanged", Type=typeof(Gtk.AccelGroup)) - - - - Method - System.Boolean + System.Void - + - Default handler for the event. - a a - a - a - Override this method in a subclass to provide a default handler for the event. - + 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. + diff --git a/doc/en/Gtk/AccelGroupActivate.xml b/doc/en/Gtk/AccelGroupActivate.xml index 57dafb822..25646ecb9 100644 --- a/doc/en/Gtk/AccelGroupActivate.xml +++ b/doc/en/Gtk/AccelGroupActivate.xml @@ -1,24 +1,14 @@ + gtk-sharp 2.12.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. - A delegate to activate all the accelerators in a given -. - - To be added. - System.Delegate - @@ -28,4 +18,15 @@ 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. + + + diff --git a/doc/en/Gtk/AccelGroupEntry.xml b/doc/en/Gtk/AccelGroupEntry.xml index 3e002c015..7f031227f 100644 --- a/doc/en/Gtk/AccelGroupEntry.xml +++ b/doc/en/Gtk/AccelGroupEntry.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,30 +8,56 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - One item within a . - - System.ValueType + + One item within a . + + - - + + + Field + + 2.12.0.0 + - Gtk.AccelGroupEntry + System.Int32 - + + - An empty . + 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 @@ -38,38 +65,28 @@ - Internal constructor; do not use. , pointer to the underlying C object. + Internal constructor; do not use. a - - + + + Field + + 2.12.0.0 + - Gtk.AccelKey + Gtk.AccelGroupEntry - - + - The key for this accelerator. + An empty . - - - Field - - 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. - - diff --git a/doc/en/Gtk/AccelGroupFindFunc.xml b/doc/en/Gtk/AccelGroupFindFunc.xml index 59d22dad6..2b0db92ba 100644 --- a/doc/en/Gtk/AccelGroupFindFunc.xml +++ b/doc/en/Gtk/AccelGroupFindFunc.xml @@ -1,22 +1,15 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - A delegate to locate a particular accelerator. - See . - To be added. - System.Delegate - @@ -24,4 +17,12 @@ System.Boolean + + To be added. + To be added. + A delegate to locate a particular accelerator. + To be added. + See . + + diff --git a/doc/en/Gtk/AccelKey.xml b/doc/en/Gtk/AccelKey.xml index 0cb72b49d..419ba959a 100644 --- a/doc/en/Gtk/AccelKey.xml +++ b/doc/en/Gtk/AccelKey.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,46 +8,61 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A class for holding information about a key that gets used as an accelerator. - - System.ValueType + + A class for holding information about a key that gets used as an accelerator. + + - - - Field - - Gtk.AccelKey - - + + + + Constructor + + 2.12.0.0 + + + + + + + - Make a new AccelKey object that has no global object key. + 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. - - - Method + + + + Property + + 2.12.0.0 + - Gtk.AccelKey + Gtk.AccelFlags - - - + - Make a new AccelKey object with the object key specified by . - an - An object of type + The flags for this AccelKey that determine whether will display it. + a + + Field + + 2.12.0.0 + Gdk.ModifierType @@ -57,23 +73,13 @@ - - - Property - - Gtk.AccelFlags - - - - The flags for this AccelKey that determine whether will display it. - a - - - - + Field + + 2.12.0.0 + Gdk.Key @@ -84,20 +90,39 @@ Useful values are enumerated in . - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.AccelKey + - - - + - Public constructor. - 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 + 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. diff --git a/doc/en/Gtk/AccelLabel.xml b/doc/en/Gtk/AccelLabel.xml index 2bb7d967e..aee3f73fd 100644 --- a/doc/en/Gtk/AccelLabel.xml +++ b/doc/en/Gtk/AccelLabel.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -18,40 +24,43 @@ - - Gtk.Label - - - - - - Method - - System.Boolean - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - 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. - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -59,84 +68,104 @@ + Constructor + + 2.12.0.0 + - Creates an accelerator label. The accelerator label. + Creates an accelerator label. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("accel-closure") + + - System.UInt32 + System.IntPtr - Returns the width needed to display the accelerator key(s). - The width needed to display the accelerator key(s) + Sets the closure to be monitored by this accelerator label. + A - 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. + 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") + + - System.IntPtr + Gtk.Widget - Sets the closure to be monitored by this accelerator label. - A + Fetches the widget monitored by this accelerator label. + The object monitored by the accelerator label, or - Sets the closure to be monitored by this accelerator label. The closure must be connected to an accelerator group. See . + Fetches the widget monitored by this accelerator label. - - - GLib.Property("accel-closure") - - - - + + + Property + + 2.12.0.0 + - Gtk.Widget + System.UInt32 - Fetches the widget monitored by this accelerator label. - The object monitored by the accelerator label, or + Returns the width needed to display the accelerator key(s). + The width needed to display the accelerator key(s) - Fetches the widget monitored by this accelerator label. + 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. - - - GLib.Property("accel-widget") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -147,23 +176,27 @@ Used internally. - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + System.Boolean + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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. + + - - - System.Obsolete - - diff --git a/doc/en/Gtk/AccelMap.xml b/doc/en/Gtk/AccelMap.xml index 2e806a9dd..57b4eccc8 100644 --- a/doc/en/Gtk/AccelMap.xml +++ b/doc/en/Gtk/AccelMap.xml @@ -1,101 +1,154 @@ + 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. - - Global accelerator map for an entire application. - This class is a singleton; only one can exist at a time. - - GLib.Object + + Global accelerator map for an entire application. + This class is a singleton; only one can exist at a time. + + - - - Method - - System.Boolean - - - - - + + + + Constructor + + 2.12.0.0 + + + - Looks up the accelerator entry for and fills in . - a , a valid accelerator path - a , the accelerator key to be filled in (optional) - a , if is known, otherwise. + 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 + + - - Locks the given accelerator path. If the accelerator map doesn't yet contain - an entry for , a new one is created. - a + a + a + + Registers a new accelerator with the global accelerator map. + - - 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. - - + 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 - Undoes the last call to - on this . + Adds a filter to the global list of accel path filters. - a , a valid accelerator path - Refer to for information - about accelerator path locking. + + 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 @@ -106,14 +159,14 @@ - - Changes the and currently associated with - . - 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 @@ -123,46 +176,106 @@ - - + + + Method + + 2.12.0.0 + System.Void - + + + a , data to pass to + a , function to execute on each accel map entrey - Parses a file previously saved with - for accelerator specifications, and propagates them accordingly. + Loops over the entries in the accelerator map whose accel path + doesn't match any of the filters added with + + and executes on each. - a - + 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 + + - File descriptor variant of . + 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 , a valid writeable file descriptor + a - - + + + + Property + + 2.12.0.0 + + + GLib.GType + + + + GType Property. + a + Returns the native value for . + + + + + Method + + 2.12.0.0 + System.Void @@ -170,20 +283,22 @@ + a - Saves current accelerator specifications (accelerator path, key - and modifiers) to . - The file is written in a format suitable to be read back in by - . + Parses a file previously saved with + for accelerator specifications, and propagates them accordingly. - a , a file to contain accelerator specifications + Method + + 2.12.0.0 + System.Void @@ -191,230 +306,197 @@ + a , a valid readable file descriptor. File descriptor variant of . - a , a valid readable file descriptor. - - + + + Method + + 2.12.0.0 + System.Void - - - - Registers a new accelerator with the global accelerator map. - a - a - a + + Locks the given accelerator path. If the accelerator map doesn't yet contain + an entry for , a new one is created. + - 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...". - + + 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.Void + System.Boolean - + + - - Adds a filter to the global list of accel path filters. - - a + 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. - - 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 + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + - Gtk.AccelMap + Gtk.MapChangedHandler - - 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 + 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 - - + + + - - Loops over the entries in the accelerator map whose accel path - doesn't match any of the filters added with - - and executes on each. - - a , data to pass to - a , function to execute on each accel map entrey - - See also . - XXX: See http://bugzilla.ximian.com/show_bug.cgi?id=70912. - + 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 - - - - - Loops over all entries in the accelerator map and executes - * on each. - a - a - - See also . - - - - - - 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 - - - - Protected constructor. + 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 + . + - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.MapChangedHandler + System.Void - + + + - Raised when there is a change to the global accelerator map. + a , a valid writeable file descriptor + + File descriptor variant of . + - - - GLib.Signal("changed") - - - - + + + Method + + 2.12.0.0 + System.Void - - - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. + a , a valid accelerator path + + Undoes the last call to + on this . + + + Refer to for information + about accelerator path locking. diff --git a/doc/en/Gtk/AccelMapForeach.xml b/doc/en/Gtk/AccelMapForeach.xml index cc3ab94fb..4058365a4 100644 --- a/doc/en/Gtk/AccelMapForeach.xml +++ b/doc/en/Gtk/AccelMapForeach.xml @@ -1,23 +1,14 @@ + gtk-sharp 2.12.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. - A delegate for running over each entry in an accelerator. - See . - System.Delegate - @@ -28,4 +19,14 @@ 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 . + + diff --git a/doc/en/Gtk/Accelerator.xml b/doc/en/Gtk/Accelerator.xml index 480889b39..ee86cda9c 100644 --- a/doc/en/Gtk/Accelerator.xml +++ b/doc/en/Gtk/Accelerator.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,40 +8,77 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An accelerator. - TODO: explain the relationship between this class and . - 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.Boolean + System.String - - + + - 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 , see for useful values - a - a + 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 @@ -49,45 +87,25 @@ + 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 - a a In Gtk+, the return value must be freed by the caller, but not in Gtk#. - - - Constructor - - - - Basic constructor. - - - - - - Property - - Gdk.ModifierType - - - - - A mask to specify the default modifier key(s). - a - - - + Method + + 2.12.0.0 + System.Void @@ -97,30 +115,37 @@ - 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>". 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.String + System.Boolean - - + + - Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. - A representing the accelerator keyval. - A representing the accelerator modifier mask. - A newly-allocated string representing the accelerator. + 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 - diff --git a/doc/en/Gtk/AcceptPositionArgs.xml b/doc/en/Gtk/AcceptPositionArgs.xml index 80a93e8bf..ebc501175 100644 --- a/doc/en/Gtk/AcceptPositionArgs.xml +++ b/doc/en/Gtk/AcceptPositionArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/AcceptPositionHandler.xml b/doc/en/Gtk/AcceptPositionHandler.xml index 34346784f..39dae695a 100644 --- a/doc/en/Gtk/AcceptPositionHandler.xml +++ b/doc/en/Gtk/AcceptPositionHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Accessible.xml b/doc/en/Gtk/Accessible.xml index cf7bd4449..780df60ce 100644 --- a/doc/en/Gtk/Accessible.xml +++ b/doc/en/Gtk/Accessible.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,46 +8,94 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This class requests instances for the UI components that provide useful information to the user. - - Atk.Object + + This class requests instances for the UI components that provide useful information to the user. + + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - This method specifies the callback function to be called when the corresponding to a is destroyed. - + 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 + - Internal constructor 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 @@ -57,33 +106,5 @@ 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 - - - - Protected constructor. - Chain to this constructor if you have not registered a native value for your subclass. - - diff --git a/doc/en/Gtk/Action.xml b/doc/en/Gtk/Action.xml index a5968ff7a..e6d883d37 100644 --- a/doc/en/Gtk/Action.xml +++ b/doc/en/Gtk/Action.xml @@ -1,11 +1,17 @@ + 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. @@ -24,56 +30,151 @@ Each action can have one or more proxy menu item, toolbar button or other proxy - - GLib.Object - - - - - - Method + + + + 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 + - System.Void + Gtk.AccelGroup - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The in which the accelerator for this action will be installed. + a or + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - + - Disables calls to the function by signals on the given proxy widget. - a - This is used to break notification loops for things like check or radio actions. -This function is intended for use by action implementations. + 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. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("action-group") + + - Gtk.Widget + Gtk.ActionGroup - Creates a menu item widget that proxies for the given action. - a that is a menu item connected to the action. - + The GtkActionGroup this GtkAction is associated with. + a + Can be set to for internal use. + Method + + 2.12.0.0 + System.Void @@ -84,21 +185,73 @@ This function is intended for use by action implementations. 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 - Undoes the effect of one call to . - + 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 @@ -106,15 +259,19 @@ It can also be used to manually activate an action. - Re-enables calls to the function by signals on the given proxy widget. a - This undoes the blocking done by . -This function is intended for use by action implementations. + 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 @@ -122,29 +279,54 @@ This function is intended for use by action implementations. - This function is intended for use by action implementations to create icons displayed in the proxy widgets. 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 + - System.Void + Gtk.Widget - 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. - + 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 @@ -155,25 +337,29 @@ Since multiple proxies may independently trigger the installation of the acceler - - + + + Method + + 2.12.0.0 + System.Void - - - + - Connects a widget to an action object as a proxy. - a - 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. + Undoes the effect of one call to . + + Method + + 2.12.0.0 + System.Void @@ -181,79 +367,18 @@ If the widget is already connected to an action, it is disconnected first. - Disconnects a proxy widget from an action. a + Disconnects a proxy widget from an action. Does not destroy the widget, however. - - - Constructor - - - - - - Internal constructor - a - - - - - System.Obsolete - - - - - - Constructor - - - - - - Internal constructor - a - - - - - - Constructor - - - - - - - - - Creates a new action from the , , , and . - 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 - - - - - - Constructor - - - - - - - Creates a new action from the and . - A unique name for the action - the label displayed in menu items and on buttons - Convenience constructor for passing in for the last two parameters. - - - + + Property + + 2.12.0.0 + GLib.GType @@ -264,65 +389,18 @@ If the widget is already connected to an action, it is disconnected first.Returns the native value for . - - - Property - - System.Boolean - - - - Whether the action is considered important. - a - When , toolitem proxies for this action show text in mode. - -Default value: - - - - GLib.Property("is-important") - - - - - - Property - - System.Boolean - - - - When , toolitem proxies for this action are represented in the toolbar overflow menu. - a - Default value is - - - - GLib.Property("visible-vertical") - - - - - + + + Property - - System.String - - - - The stock icon displayed in widgets representing this action. - a - Default value is - + + 2.12.0.0 + - GLib.Property("stock-id") + GLib.Property("hide-if-empty") - - - - Property System.Boolean @@ -332,87 +410,101 @@ Default value: a Default value: + + + + + Property + + 2.12.0.0 + - GLib.Property("hide-if-empty") + GLib.Property("icon-name") - - - - Property System.String - - A unique name for the action. - a + The name of the icon from the icon theme. + the icon name. + + + + + + Property + + 2.12.0.0 + - GLib.Property("name") + GLib.Property("is-important") - - - - Property - System.String + System.Boolean - A shorter label that may be used on toolbar buttons. - a - Default value is + Whether the action is considered important. + a + When , toolitem proxies for this action show text in mode. + +Default value: - - - GLib.Property("short-label") - - - - + + + Property + + 2.12.0.0 + System.Boolean - Whether the toolbar item is visible when the toolbar is in a horizontal orientation. + Whether the action is effectively sensitive. a - Default value is + + if the action and its associated action group are both sensitive. - - - GLib.Property("visible-horizontal") - - - - + + + Property + + 2.12.0.0 + - Gtk.ActionGroup + System.Boolean - The GtkActionGroup this GtkAction is associated with. - a - Can be set to for internal use. + 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("action-group") + GLib.Property("label") - - - - Property System.String @@ -422,167 +514,244 @@ Default value: a Default value is + + + + + Property + + 2.12.0.0 + - GLib.Property("label") + GLib.Property("name") - - - - Property System.String - A tooltip for this action. + A unique name for the action. a - Default value is + + + + + + Method + + 2.12.0.0 + - GLib.Property("tooltip") + 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 + - System.Boolean + Gtk.Widget[] - Whether the action itself is sensitive. - a + Returns the proxy widgets for an action. + a of proxy widgets. - - -This does not necessarily mean effective sensitivity. See for that. - - + + + + + Property + + 2.12.0.0 + GLib.Property("sensitive") - - - - Property System.Boolean - Whether the action itself is visible. + Whether the action itself is sensitive. a -This does not necessarily mean effective visibility. See for that. +This does not necessarily mean effective sensitivity. See for that. + + + + + Property + + 2.12.0.0 + - GLib.Property("visible") + GLib.Property("short-label") - - - - Property - Gtk.AccelGroup + System.String + - The in which the accelerator for this action will be installed. - a or - + A shorter label that may be used on toolbar buttons. + a + Default value is - - + + + Property + + 2.12.0.0 + + + + GLib.Property("stock-id") + + - System.Boolean + System.String - Whether the action is effectively sensitive. - a - - if the action and its associated action group are both sensitive. + The stock icon displayed in widgets representing this action. + a + Default value is - - + + + Property + + 2.12.0.0 + + + + GLib.Property("tooltip") + + - System.Boolean + System.String - Whether the action is effectively visible. - a - - if the action and its associated action group are both visible. + A tooltip for this action. + a + Default value is - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + - 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. - + 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. - - - Event + + + + Property + + 2.12.0.0 + + + + GLib.Property("visible") + + - System.EventHandler + System.Boolean - Event raised when this action is activated. + Whether the action itself is visible. + a + + +This does not necessarily mean effective visibility. See for that. + + + + + + + Property + + 2.12.0.0 + - GLib.Signal("activate") + GLib.Property("visible-horizontal") - - - - Property - Gtk.Widget[] + System.Boolean - Returns the proxy widgets for an action. - a of proxy widgets. - - + 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 @@ -593,42 +762,27 @@ This does not necessarily mean effective visibility. See . - - - GLib.Property("visible-overflown") - - - - + + + Property + + 2.12.0.0 + - GLib.Property("icon-name") + GLib.Property("visible-vertical") - System.String - - - The name of the icon from the icon theme. - the icon name. - - - - - - - Method - - Gtk.Widget + System.Boolean - To be added. - To be added. - To be added. - + When , toolitem proxies for this action are represented in the toolbar overflow menu. + a + Default value is diff --git a/doc/en/Gtk/ActionActivatedArgs.xml b/doc/en/Gtk/ActionActivatedArgs.xml index 7290d25c3..9e0345e12 100644 --- a/doc/en/Gtk/ActionActivatedArgs.xml +++ b/doc/en/Gtk/ActionActivatedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gtk/ActionActivatedHandler.xml b/doc/en/Gtk/ActionActivatedHandler.xml index 0735fb7c9..565eaca0f 100644 --- a/doc/en/Gtk/ActionActivatedHandler.xml +++ b/doc/en/Gtk/ActionActivatedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/ActionEntry.xml b/doc/en/Gtk/ActionEntry.xml index 9121382bb..c9c9d89e4 100644 --- a/doc/en/Gtk/ActionEntry.xml +++ b/doc/en/Gtk/ActionEntry.xml @@ -1,11 +1,16 @@ + 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 @@ -14,40 +19,118 @@ - - System.ValueType - - - - + + + + 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 - A unique name for the action. + 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 + System.EventHandler - The stock icon displayed in widgets representing this action. + EventHandler to be called when the action is triggered. + Field + + 2.12.0.0 + System.String @@ -58,102 +141,56 @@ - - + + + Field + + 2.12.0.0 + System.String - A tooltip for this action. + A unique name for the action. - - + + + 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. + The stock icon displayed in widgets representing this action. - - + + + Field + + 2.12.0.0 + - System.EventHandler + System.String - EventHandler to be called when the action is triggered. + A tooltip for this action. - - - Constructor - - - - - - - Public constructor. - a , a unique name - a , a stock icon - - - - - - - Constructor - - - - - - - - Public constructor. - a , a unique name - a , a stock icon - a , a handler to run when the action is activated - - - - - - - Constructor - - - - - - - - - - - Public constructor. - 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 - - - - diff --git a/doc/en/Gtk/ActionGroup.xml b/doc/en/Gtk/ActionGroup.xml index 6f225f81e..ce8d84bfe 100644 --- a/doc/en/Gtk/ActionGroup.xml +++ b/doc/en/Gtk/ActionGroup.xml @@ -1,11 +1,17 @@ + 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 @@ -23,218 +29,90 @@ Accelerators are handled by the Gtk accelerator map. All actions are assigned an - - GLib.Object - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Void - - - - - - Removes an action object from the action group. - a - - - - - - Method - - System.Void - - - - - - - Adds an action object to the action group and sets up the accelerator. - a - a . The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock 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 - - Gtk.Action - - - - - - Looks up an action in the action group by name. - a , the name of the action - a , or if no action by that name exists - - - - - - - Method - - System.Void - - - - - - Adds an action object to the action group. - a - 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 . - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Internal constructor a + Internal constructor - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor + Constructor + + 2.12.0.0 + - Creates a new object. 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. - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Property - - 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. - - - - GLib.Property("visible") - - - - - - Property - - 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. - - - - GLib.Property("sensitive") - - - - - - Property - - System.String - - - - Gets the name of the action group. - a - - - - - GLib.Property("name") - - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void + + + - Sets the translation domain and uses dgettext() for translating the label and tooltip of s added by . - a - - + 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 @@ -242,14 +120,18 @@ Therefore you must either set the accel path yourself with - Ease of use function for adding multiple s in a single call using the struct. a + Ease of use function for adding multiple s in a single call using the struct. + Method + + 2.12.0.0 + System.Void @@ -257,14 +139,48 @@ Therefore you must either set the accel path yourself with - Ease of use function for adding multiple s in a single call using the struct. 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 @@ -274,30 +190,100 @@ Therefore you must either set the accel path yourself with - Ease of use function for adding multiple s in a single call using the struct. a a a + Ease of use function for adding multiple s in a single call using the struct. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("connect_proxy") + + - Gtk.Action[] + Gtk.ConnectProxyHandler - Gets a list of the s in the . - a + 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 @@ -305,132 +291,201 @@ Therefore you must either set the accel path yourself with - Returns the with the specified name. a + Returns the with the specified name. a See for more info. - - - Event + + + + Method + + 2.12.0.0 + - Gtk.PreActivateHandler + Gtk.Action[] - 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. + Gets a list of the s in the . + a + + - - - GLib.Signal("pre_activate") - - - - - Event - - 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. - + + + + Property + + 2.12.0.0 + - GLib.Signal("connect_proxy") + GLib.Property("name") - - - - Event - Gtk.DisconnectProxyHandler + System.String - The DisconnectProxy signal is emitted after disconnecting a proxy from an action in the group. + Gets the name of the action group. + a + + + + + Method + + 2.12.0.0 + - GLib.Signal("disconnect_proxy") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideConnectProxy", Type=typeof(Gtk.ActionGroup)) - - - - Event - Gtk.PostActivateHandler + System.Void - + + + + - 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. + 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.Signal("post_activate") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisconnectProxy", Type=typeof(Gtk.ActionGroup)) - - - - Method System.Void + - Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + 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 - - Default handler for the event. a - a - Override this method in a subclass to provide a default handler for the event. + 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 - - Default handler for the event. a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -438,14 +493,40 @@ Therefore you must either set the accel path yourself with - Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -457,7 +538,11 @@ Therefore you must either set the accel path yourself with + Method + + 2.12.0.0 + System.String @@ -465,12 +550,51 @@ Therefore you must either set the accel path yourself with - Translates a string using the specified . 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. + + diff --git a/doc/en/Gtk/ActivateCurrentArgs.xml b/doc/en/Gtk/ActivateCurrentArgs.xml index 93dea6b5e..c5ff800ff 100644 --- a/doc/en/Gtk/ActivateCurrentArgs.xml +++ b/doc/en/Gtk/ActivateCurrentArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/ActivateCurrentHandler.xml b/doc/en/Gtk/ActivateCurrentHandler.xml index 530c06213..55f96e3c9 100644 --- a/doc/en/Gtk/ActivateCurrentHandler.xml +++ b/doc/en/Gtk/ActivateCurrentHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ActivateCursorItemArgs.xml b/doc/en/Gtk/ActivateCursorItemArgs.xml index 4642d3e51..76a4b9577 100644 --- a/doc/en/Gtk/ActivateCursorItemArgs.xml +++ b/doc/en/Gtk/ActivateCursorItemArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/ActivateCursorItemHandler.xml b/doc/en/Gtk/ActivateCursorItemHandler.xml index e88eb701c..2ff89a9f3 100644 --- a/doc/en/Gtk/ActivateCursorItemHandler.xml +++ b/doc/en/Gtk/ActivateCursorItemHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/AddWidgetArgs.xml b/doc/en/Gtk/AddWidgetArgs.xml index 4d9586bfa..258b7bbe6 100644 --- a/doc/en/Gtk/AddWidgetArgs.xml +++ b/doc/en/Gtk/AddWidgetArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/AddWidgetHandler.xml b/doc/en/Gtk/AddWidgetHandler.xml index 2455f071c..01c7efa5b 100644 --- a/doc/en/Gtk/AddWidgetHandler.xml +++ b/doc/en/Gtk/AddWidgetHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/AddedArgs.xml b/doc/en/Gtk/AddedArgs.xml index 3b99c0417..6286bb149 100644 --- a/doc/en/Gtk/AddedArgs.xml +++ b/doc/en/Gtk/AddedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/AddedHandler.xml b/doc/en/Gtk/AddedHandler.xml index 88c4352d2..11e085be2 100644 --- a/doc/en/Gtk/AddedHandler.xml +++ b/doc/en/Gtk/AddedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/AdjustBoundsArgs.xml b/doc/en/Gtk/AdjustBoundsArgs.xml index ccd542266..364efb959 100644 --- a/doc/en/Gtk/AdjustBoundsArgs.xml +++ b/doc/en/Gtk/AdjustBoundsArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Double diff --git a/doc/en/Gtk/AdjustBoundsHandler.xml b/doc/en/Gtk/AdjustBoundsHandler.xml index f63261fb4..53e5be72e 100644 --- a/doc/en/Gtk/AdjustBoundsHandler.xml +++ b/doc/en/Gtk/AdjustBoundsHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Adjustment.xml b/doc/en/Gtk/Adjustment.xml index a5cc62274..8c05aa7b1 100644 --- a/doc/en/Gtk/Adjustment.xml +++ b/doc/en/Gtk/Adjustment.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,102 +21,57 @@ An Adjustment is used within several widgets, including , , and (which is a base class for , , , and ). - - Gtk.Object - - - - - - Method - - System.Void - - - - - - - - - - Sets all the properties of the Adjustment at the same time. - 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. - - When updating the values and properties of an Adjustment, remember to call the and/or methods to ensure the correct events are raised. - - - - - - Method - - 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 - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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. - + Default constructor. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Used to inform the Adjustment's view that a new visible range should be displayed. - The lower value of the new range. - The upper value of the new range. - - - 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. - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -118,7 +79,11 @@ + Constructor + + 2.12.0.0 + @@ -129,133 +94,157 @@ - Creates an Adjustment with the specified value and bounds. 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Double + System.Void - - + - Manage the size of a 'page'. - The current size of pages in this Adjustment. + Fires the event. - In a this is the size of the area which is currently visible. + 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.Property("page-size") + GLib.Signal("changed") - - - - Property - System.Double + System.EventHandler - - + - Manage the increment used to make major changes to the value. - The current PageIncrement. + This event is raised when is called. - The usefulness of this value is entirely dependent upon the context in whic hthe Adjustment is used. + 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. - - - GLib.Property("page-increment") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Double + System.Void - - + - Manage the current . - The current value of this adjustment. + Fires the event. - If you set this property, you should manually call so that all listening objects are notified of the change. + This method should be called manually after changing properties to notify all listening objects that the Adjustment's has changed. - - - GLib.Property("value") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + - This event is raised when is called. + 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 event can be handled to be notified of changes to the Adjustment's value. However, this relies on all objects that change the calling . + + 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. + - - - GLib.Signal("value_changed") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + GLib.GType - 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. - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Signal("changed") + GLib.Property("lower") - - - - Property - GLib.GType + System.Double - GType Property. - a - Returns the native value for . + 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 @@ -267,7 +256,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.Adjustment)) + + System.Void @@ -277,45 +275,121 @@ Override this method to change the default event handling for the event. - - - Constructor - + + + + Property + + 2.12.0.0 + + + + GLib.Property("page-increment") + + + + System.Double + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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 - Retrieve the lower bound of this Adjustment. + The increment to use to make minor changes to the value. a - The minimum possible value that is currently allowed. + + 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("lower") + GLib.Property("upper") - - - - Property System.Double @@ -325,40 +399,53 @@ a The maximum possible value that is currently allowed. + + + + + Property + + 2.12.0.0 + - GLib.Property("upper") + GLib.Property("value") - - - - Property System.Double - + + - The increment to use to make minor changes to the value. - a + Manage the current . + The current value of this adjustment. - 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. + 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.Property("step-increment") + GLib.Signal("value_changed") - - - - Constructor - + + System.EventHandler + - Default constructor. - + 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 . + diff --git a/doc/en/Gtk/Alignment.xml b/doc/en/Gtk/Alignment.xml index ee617c541..eccff92e0 100644 --- a/doc/en/Gtk/Alignment.xml +++ b/doc/en/Gtk/Alignment.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -16,45 +22,43 @@ To add a child to an Alignment, use the method from the class. - - Gtk.Bin - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - - + - Adjusts all the alignment and scale properties. - 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. - - 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. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -62,7 +66,11 @@ + Constructor + + 2.12.0.0 + @@ -71,101 +79,74 @@ - Creates a new Alignment with the specified alignment and spacing. 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 - - 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. - - + + 2.12.0.0 + - GLib.Property("yalign") + GLib.Property("bottom-padding") - - - - Property - 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. - - - - - GLib.Property("xalign") - - - - - - Property - - System.Single + System.UInt32 - - + - Manage the horizontal expansion of the child widget. - The current horizontal expansion of the child widget. + The padding to insert at the bottom of the child widget. + a - 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. + - - - GLib.Property("xscale") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Single + System.Void + + + + - 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. - + a + a + a + a + + Gets the padding on the different sides of the widget. + + This is a convenience method. + See also . + - - - GLib.Property("yscale") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -176,27 +157,18 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("left-padding") - - - - Property System.UInt32 @@ -208,35 +180,108 @@ + + + + + Property + + 2.12.0.0 + - GLib.Property("left-padding") + GLib.Property("right-padding") - - - - Property System.UInt32 - The padding to insert at the bottom of the child widget. + 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("bottom-padding") + GLib.Property("top-padding") - - - - Property System.UInt32 @@ -248,89 +293,105 @@ + + + + + Property + + 2.12.0.0 + - GLib.Property("top-padding") + 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.UInt32 + System.Single - + + - The padding to insert at the right of the child widget. - a + 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("right-padding") + GLib.Property("yalign") - - - - Method - System.Void + System.Single - - - - - - Gets the padding on the different sides of the widget. - - a - a - a - a - This is a convenience method. - See also . - + 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. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("yscale") + + - System.Void + System.Single - - - - - - Sets the padding on the different sides of the widget. - - a - a - a - a + Manage the vertical expansion of the child widget. + The current vertical expansion of the child 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. - + 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. - diff --git a/doc/en/Gtk/AnchorType.xml b/doc/en/Gtk/AnchorType.xml index 62b68d10b..9187b5b18 100644 --- a/doc/en/Gtk/AnchorType.xml +++ b/doc/en/Gtk/AnchorType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - System.Enum @@ -21,10 +16,20 @@ 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 @@ -34,177 +39,237 @@ - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - Indicates that an item should be anchored to the north. + An alias for the value. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - Indicates that an item should be anchored to the north west. + Indicates that an item should be anchored to the right. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - Indicates that an item should be anchored to the north east. + An alias for the value. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - Indicates that an item should be anchored to the south. + An alias for the value. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - Indicates that an item should be anchored to the south west. + 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 south east. + 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 left. + Indicates that an item should be anchored to the north west. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - Indicates that an item should be anchored to the right. + An alias for the value. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - An alias for the value. + An alias for the value. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - An alias for the value. + An alias for the value. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - An alias for the value. + Indicates that an item should be anchored to the south. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - An alias for the value. + Indicates that an item should be anchored to the south east. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - An alias for the value. + Indicates that an item should be anchored to the south west. - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - An alias for the value. + An alias for the value. + Field + + 2.12.0.0 + Gtk.AnchorType @@ -214,15 +279,19 @@ - - + + + Field + + 2.12.0.0 + Gtk.AnchorType - An alias for the value. + Indicates that an item should be anchored to the left. diff --git a/doc/en/Gtk/Application.xml b/doc/en/Gtk/Application.xml index e82440a7e..26cf78e97 100644 --- a/doc/en/Gtk/Application.xml +++ b/doc/en/Gtk/Application.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + System.Object + + Application class @@ -46,49 +51,31 @@ public class HelloWorld { - - System.Object - - - - - Method - - System.Void - - - - Quits the current main loop - - - Makes the innermost invocation of the main loop return when it regains control. - - - - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Event - 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. - - + Returns the event currently taking place. + a + + Method + + 2.12.0.0 + System.Boolean @@ -120,28 +107,13 @@ void LongComputation () - - - Method - - 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 @@ -168,45 +140,13 @@ void LongComputation () - - - Method - - System.Boolean - - - - - - Runs a single iteration of the main loop. - A boolean value, whether the iteration should block or not - - - 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. - - - - if has been called in the innermost main loop. - - - - - Property - - Gdk.Event - - - - Returns the event currently taking place. - a - - - + Method + + 2.12.0.0 + System.Void @@ -230,7 +170,11 @@ void LongComputation () + Method + + 2.12.0.0 + System.Boolean @@ -249,7 +193,11 @@ void LongComputation () + Method + + 2.12.0.0 + System.Void @@ -323,7 +271,11 @@ void LongComputation () + Method + + 2.12.0.0 + System.Void @@ -399,5 +351,98 @@ void LongComputation () + + + + 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. + + + + diff --git a/doc/en/Gtk/Arg.xml b/doc/en/Gtk/Arg.xml index 7c359196f..9be667765 100644 --- a/doc/en/Gtk/Arg.xml +++ b/doc/en/Gtk/Arg.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,21 +8,30 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Do not use. - This class's C version is only used internally by gtkobject.c. - System.ValueType + + + System.Obsolete + + + + Do not use. + This class's C version is only used internally by gtkobject.c. + - - + + + Field + + 2.12.0.0 + - Gtk.Arg + System.String @@ -32,11 +42,15 @@ - - + + + Field + + 2.12.0.0 + - GLib.GType + System.String @@ -47,26 +61,37 @@ - - - Field + + + + Method + + 2.12.0.0 + - System.String + Gtk.Arg + + a Do not use. + a - - + + + Field + + 2.12.0.0 + - System.String + GLib.GType @@ -77,28 +102,24 @@ - - - Method + + + + Field + + 2.12.0.0 + Gtk.Arg - Do not use. - a - a - - - System.Obsolete - - diff --git a/doc/en/Gtk/Arrow.xml b/doc/en/Gtk/Arrow.xml index 84862ce48..d625d5c6f 100644 --- a/doc/en/Gtk/Arrow.xml +++ b/doc/en/Gtk/Arrow.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -29,22 +35,43 @@ - - Gtk.Misc - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -52,50 +79,35 @@ + Constructor + + 2.12.0.0 + - Constructor A valid ArrowType. A valid ShadowType. + Constructor - - + + + Property - - 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 . - - - + + 2.12.0.0 + - GLib.Property("shadow-type") + GLib.Property("arrow-type") - - - - Property Gtk.ArrowType @@ -113,15 +125,14 @@ - - - GLib.Property("arrow-type") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -132,23 +143,37 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + 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 . + + + diff --git a/doc/en/Gtk/ArrowType.xml b/doc/en/Gtk/ArrowType.xml index 7911b93fc..58acc1788 100644 --- a/doc/en/Gtk/ArrowType.xml +++ b/doc/en/Gtk/ArrowType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to indicate the direction in which a should point. - - System.Enum @@ -19,46 +16,65 @@ GLib.GType(typeof(Gtk.ArrowTypeGType)) + + Used to indicate the direction in which a should point. + + - - + + + Field + + 2.12.0.0 + Gtk.ArrowType - Represents an upward pointing arrow. + Represents an downward pointing arrow. - - + + + Field + + 2.12.0.0 + Gtk.ArrowType - Represents an downward pointing arrow. + Represents a left pointing arrow. - - + + + Field + + 2.12.0.0 + Gtk.ArrowType - - Represents a left pointing arrow. - + Represents no arrow. + + Field + + 2.12.0.0 + Gtk.ArrowType @@ -68,15 +84,20 @@ - - + + + Field + + 2.12.0.0 + Gtk.ArrowType + - Represents no arrow. - + Represents an upward pointing arrow. + diff --git a/doc/en/Gtk/AspectFrame.xml b/doc/en/Gtk/AspectFrame.xml index 5787955b7..45af331f1 100644 --- a/doc/en/Gtk/AspectFrame.xml +++ b/doc/en/Gtk/AspectFrame.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,51 +8,54 @@ 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. - - Gtk.Frame - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - - + - Set the size and alignment properties of this AspectFrame. - 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. - - Alignment values range from 0.0 (left/top aligned) to 1.0 (right/bottom aligned). - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -59,7 +63,11 @@ + Constructor + + 2.12.0.0 + @@ -69,58 +77,69 @@ - The main way to construct a new AspectFrame. 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 + - System.Single + GLib.GType - - + - Vertical alignment of the child widget in the AspectFrame. - A value between 0.0 and 1.0. - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("yalign") + GLib.Property("obey-child") - - - - Property - System.Single + System.Boolean - Horiontal alignment of the child widget in the AspectFrame. - A value between 0.0 and 1.0. + 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("xalign") + GLib.Property("ratio") - - - - Property System.Single @@ -133,61 +152,79 @@ Setting this ratio is ignored if is set to . - - - GLib.Property("ratio") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + + - Allow the frame to use its child widget's aspect ratio. - The current size ratio of the child widget - + 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("obey-child") + GLib.Property("xalign") - - - - Property - GLib.GType + System.Single - - - 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. + Horiontal alignment of the child widget in the AspectFrame. + A value between 0.0 and 1.0. + + + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("yalign") + + System.Single + + + + + Vertical alignment of the child widget in the AspectFrame. + A value between 0.0 and 1.0. + + diff --git a/doc/en/Gtk/Assistant+AssistantChild.xml b/doc/en/Gtk/Assistant+AssistantChild.xml index bf592cf10..f84e0753c 100644 --- a/doc/en/Gtk/Assistant+AssistantChild.xml +++ b/doc/en/Gtk/Assistant+AssistantChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,37 @@ 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") @@ -27,8 +55,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("header-image") @@ -44,8 +76,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("page-type") @@ -61,8 +97,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("sidebar-image") @@ -78,8 +118,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("title") @@ -95,9 +139,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/Assistant.xml b/doc/en/Gtk/Assistant.xml index 7130dc6bd..6a5472c7d 100644 --- a/doc/en/Gtk/Assistant.xml +++ b/doc/en/Gtk/Assistant.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,15 +9,19 @@ Gtk.Window - - - System.Reflection.DefaultMember("Item") - - + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -25,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -42,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -54,7 +67,11 @@ + Method + + 2.12.0.0 + System.Void @@ -69,7 +86,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -85,7 +106,11 @@ + Event + + 2.12.0.0 + GLib.Signal("apply") @@ -101,7 +126,11 @@ + Event + + 2.12.0.0 + GLib.Signal("cancel") @@ -117,7 +146,11 @@ + Event + + 2.12.0.0 + GLib.Signal("close") @@ -132,8 +165,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -144,8 +181,12 @@ - + + Property + + 2.12.0.0 + Gtk.AssistantPageFunc @@ -157,7 +198,11 @@ + Method + + 2.12.0.0 + Gtk.Widget @@ -173,7 +218,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -189,7 +238,11 @@ + Method + + 2.12.0.0 + Gdk.Pixbuf @@ -205,7 +258,11 @@ + Method + + 2.12.0.0 + Gdk.Pixbuf @@ -221,7 +278,11 @@ + Method + + 2.12.0.0 + System.String @@ -237,7 +298,11 @@ + Method + + 2.12.0.0 + Gtk.AssistantPageType @@ -252,8 +317,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -265,7 +334,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -281,9 +354,33 @@ 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 @@ -295,7 +392,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideApply", Type=typeof(Gtk.Assistant)) + + System.Void @@ -307,7 +413,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancel", Type=typeof(Gtk.Assistant)) + + System.Void @@ -319,7 +434,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideClose", Type=typeof(Gtk.Assistant)) + + System.Void @@ -331,7 +455,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverridePrepare", Type=typeof(Gtk.Assistant)) + + System.Void @@ -346,7 +479,11 @@ + Event + + 2.12.0.0 + GLib.Signal("prepare") @@ -362,7 +499,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -378,7 +519,11 @@ + Method + + 2.12.0.0 + System.Void @@ -393,7 +538,11 @@ + Method + + 2.12.0.0 + System.Void @@ -410,7 +559,11 @@ + Method + + 2.12.0.0 + System.Void @@ -427,7 +580,11 @@ + Method + + 2.12.0.0 + System.Void @@ -444,7 +601,11 @@ + Method + + 2.12.0.0 + System.Void @@ -461,7 +622,11 @@ + Method + + 2.12.0.0 + System.Void @@ -478,7 +643,11 @@ + Method + + 2.12.0.0 + System.Void @@ -489,9 +658,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/AssistantPageFunc.xml b/doc/en/Gtk/AssistantPageFunc.xml index 08525c1c1..86c83aa8f 100644 --- a/doc/en/Gtk/AssistantPageFunc.xml +++ b/doc/en/Gtk/AssistantPageFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/AssistantPageType.xml b/doc/en/Gtk/AssistantPageType.xml index 58968acc0..6b1a74f1d 100644 --- a/doc/en/Gtk/AssistantPageType.xml +++ b/doc/en/Gtk/AssistantPageType.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.AssistantPageTypeGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.AssistantPageType @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.AssistantPageType @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.AssistantPageType @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.AssistantPageType @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + Gtk.AssistantPageType @@ -64,9 +90,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/AttachOptions.xml b/doc/en/Gtk/AttachOptions.xml index 3ecd360ec..51719fc45 100644 --- a/doc/en/Gtk/AttachOptions.xml +++ b/doc/en/Gtk/AttachOptions.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Denotes the expansion properties that a will have when it (or its parent) is resized. - - System.Enum @@ -22,10 +19,18 @@ System.Flags + + Denotes the expansion properties that a will have when it (or its parent) is resized. + + + Field + + 2.12.0.0 + Gtk.AttachOptions @@ -35,27 +40,35 @@ - - + + + Field + + 2.12.0.0 + Gtk.AttachOptions - The should shrink when possible. + The should fill the space allocated to it. - - + + + Field + + 2.12.0.0 + Gtk.AttachOptions - The should fill the space allocated to it. + The should shrink when possible. diff --git a/doc/en/Gtk/BeginPrintArgs.xml b/doc/en/Gtk/BeginPrintArgs.xml index 238464191..8fe8cfff2 100644 --- a/doc/en/Gtk/BeginPrintArgs.xml +++ b/doc/en/Gtk/BeginPrintArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/BeginPrintHandler.xml b/doc/en/Gtk/BeginPrintHandler.xml index da7e19244..a61fb233c 100644 --- a/doc/en/Gtk/BeginPrintHandler.xml +++ b/doc/en/Gtk/BeginPrintHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Bin.xml b/doc/en/Gtk/Bin.xml index 72366032f..9b1ce94ea 100644 --- a/doc/en/Gtk/Bin.xml +++ b/doc/en/Gtk/Bin.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -124,71 +130,69 @@ class Y { - - Gtk.Container - - - - + + Constructor + + 2.12.0.0 + - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + 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 + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - - + + Constructor + + 2.12.0.0 + - + + + - Protected constructor. - Chain to this constructor if you have not manually registered a native value for your subclass. + 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 @@ -200,5 +204,22 @@ class Y { + + + + Property + + 2.12.0.0 + + + GLib.GType + + + + GType Property. + a + Returns the native value for . + + diff --git a/doc/en/Gtk/BindingAttribute.xml b/doc/en/Gtk/BindingAttribute.xml index 409e1bda3..b23615c01 100644 --- a/doc/en/Gtk/BindingAttribute.xml +++ b/doc/en/Gtk/BindingAttribute.xml @@ -1,16 +1,12 @@ + 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. - - Registers a key binding for a class. - - - System.Attribute @@ -20,10 +16,19 @@ System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true) + + Registers a key binding for a class. + + + + Constructor + + 2.12.0.0 + @@ -37,16 +42,20 @@ - Constructs a Binding attribute with no key modifier. 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 + @@ -61,56 +70,72 @@ - Constructs a Binding attribute for a key and modifier. 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 + - Gdk.Key + System.String - The key value - a + The name of the instance method to call on activation. + a - - + + + Property + + 2.12.0.0 + - Gdk.ModifierType + Gdk.Key - The key modifier, such as ctrl or shift. - a + The key value + a - - + + + Property + + 2.12.0.0 + - System.String + Gdk.ModifierType - The name of the instance method to call on activation. - a + The key modifier, such as ctrl or shift. + a - + + Property + + 2.12.0.0 + System.Object[] diff --git a/doc/en/Gtk/Bindings.xml b/doc/en/Gtk/Bindings.xml index e86eeade7..256ae1555 100644 --- a/doc/en/Gtk/Bindings.xml +++ b/doc/en/Gtk/Bindings.xml @@ -1,25 +1,45 @@ + 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. - - System.Object - - + + + + Constructor + + 2.12.0.0 + + + + + Public constructor. + + + + + Method + + 2.12.0.0 + System.Boolean @@ -28,25 +48,14 @@ - Looks up key bindings for to find one matching - , and if one was found, activates it. a a + Looks up key bindings for to find one matching + , and if one was found, activates it. a - - - Constructor - - - - Public constructor. - - - - diff --git a/doc/en/Gtk/Box+BoxChild.xml b/doc/en/Gtk/Box+BoxChild.xml index 4c8f24920..88d409381 100644 --- a/doc/en/Gtk/Box+BoxChild.xml +++ b/doc/en/Gtk/Box+BoxChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,78 +9,121 @@ 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("pack-type") + Gtk.ChildProperty("expand") - Gtk.PackType + System.Boolean - The child's pack type (start or end) - a + 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("padding") + Gtk.ChildProperty("fill") - System.UInt32 + System.Boolean - The child's padding - the padding + 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("fill") + Gtk.ChildProperty("pack-type") - System.Boolean + Gtk.PackType - The "fill" property for the child - the child's "fill" property + The child's pack type (start or end) + a See for more details about child properties. - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("expand") + Gtk.ChildProperty("padding") - System.Boolean + System.UInt32 - The "expand" property for the child - the child's "expand" property + The child's padding + the padding See for more details about child properties. - + + Property + + 2.12.0.0 + Gtk.ChildProperty("position") @@ -95,9 +139,4 @@ - - A child of a , used to interact with its container child properties. - - - diff --git a/doc/en/Gtk/Box.xml b/doc/en/Gtk/Box.xml index 777f05830..538accb12 100644 --- a/doc/en/Gtk/Box.xml +++ b/doc/en/Gtk/Box.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -17,45 +23,131 @@ - - Gtk.Container - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method + + + + 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 + - System.Void + 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 - - - - - Change the packing properties of a child that is currently in this box. - 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) - - 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 . - + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Void @@ -63,16 +155,47 @@ - Add a widget to the 'end' of a box with default packing settings. 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 @@ -80,8 +203,8 @@ - Add a widget to the 'start' of a box with default packing settings. 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 . @@ -89,7 +212,11 @@ + Method + + 2.12.0.0 + System.Void @@ -100,42 +227,50 @@ - Add a widget to the 'start' of a box with the specified packing properties. 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 - - - + + + + - Add a widget to the 'end' of a box with the specified packing properties. - 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. - - To add a widget to the end of a box with default packing, use - + 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 @@ -144,132 +279,65 @@ - Alters the position of a child widget that has already been packed into a Box. 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + + + - Internal constructor - Pointer to the C object. + 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. - This is an internal constructor, and should not be used by user code. + 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 - - System.Int32 - - - - - Adjust the spacing between child widgets. - The current pixel spacing between child widgets - - + + 2.12.0.0 + GLib.Property("spacing") - - - - Property - System.Boolean - - - - - Set the size of all child widgets to be the same - - if child widgets size themselves equally, false otherwise. - - - - - GLib.Property("homogeneous") - - - - - - Method - - System.Void + System.Int32 - - - - - - Returns information about how is packed into . - 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. + Adjust the spacing between child widgets. + The current pixel spacing between child widgets - - - 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 - - - - Protected constructor. - - - - diff --git a/doc/en/Gtk/Builder.xml b/doc/en/Gtk/Builder.xml index b3eab8be7..da38d5138 100644 --- a/doc/en/Gtk/Builder.xml +++ b/doc/en/Gtk/Builder.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + @@ -32,7 +46,11 @@ + Method + + 2.12.0.0 + System.UInt32 @@ -48,7 +66,11 @@ + Method + + 2.12.0.0 + System.UInt32 @@ -62,24 +84,13 @@ To be added. - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - + + Property + + 2.12.0.0 + System.Int32 @@ -91,7 +102,11 @@ + Method + + 2.12.0.0 + GLib.Object @@ -106,8 +121,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -118,8 +137,12 @@ - + + Property + + 2.12.0.0 + GLib.Object[] @@ -130,8 +153,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("translation-domain") @@ -147,9 +174,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/BuilderConnectFunc.xml b/doc/en/Gtk/BuilderConnectFunc.xml index ae32bad38..63ba01156 100644 --- a/doc/en/Gtk/BuilderConnectFunc.xml +++ b/doc/en/Gtk/BuilderConnectFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/BuilderError.xml b/doc/en/Gtk/BuilderError.xml index fa3faba24..8757db00b 100644 --- a/doc/en/Gtk/BuilderError.xml +++ b/doc/en/Gtk/BuilderError.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.BuilderErrorGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.BuilderError @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.BuilderError @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.BuilderError @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.BuilderError @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + Gtk.BuilderError @@ -65,7 +91,11 @@ + Field + + 2.12.0.0 + Gtk.BuilderError @@ -75,7 +105,11 @@ + Field + + 2.12.0.0 + Gtk.BuilderError @@ -84,9 +118,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/Button.xml b/doc/en/Gtk/Button.xml index 97dfe804c..a03b733f4 100644 --- a/doc/en/Gtk/Button.xml +++ b/doc/en/Gtk/Button.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -52,185 +58,208 @@ public class ButtonApp { - - Gtk.Bin - - - - - - Property - - System.Boolean - - - + + + + Constructor + + 2.12.0.0 + + + - 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. - + Default parameterless constructor. + This is the default constructor for the class. + + + + + Constructor + + 2.12.0.0 + - GLib.Property("use-stock") + System.Obsolete + + + + + + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + - - - Property - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + - Indicates if a mnemonic is associated with the . - Gets a value indicating if the uses underline - or not. - + a child + Constructs a button containing a specified Child widget. + + - - - GLib.Property("use-underline") - - - - - Property - - Gtk.ReliefStyle - + + + + Constructor + + 2.12.0.0 + + + - The for the . - An instance of that - represents the relief style of the . - + an object of type + Internal constructor + This is not typically used by C# code. - - - GLib.Property("relief") - - - - - Property - - System.String - + + + + Constructor + + 2.12.0.0 + + + - The text of the in the . - The contained by the . - If you want the Label to have a mnemonic you need to set to . + 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); + - - - GLib.Property("label") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + GLib.GType - - Event launched when the is activated. - + 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") - - - - Event System.EventHandler - Event launched when the is clicked. + Event launched when the is activated. - - - GLib.Signal("clicked") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - - Event launched when the cursor leaves the area. - + Emits a signal to the given . + Emits a signal to the given . + + + + + Event + + 2.12.0.0 + - GLib.Signal("leave") + GLib.Signal("clicked") - - - - Event System.EventHandler - Event launched when the is pressed. + Event launched when the is clicked. - - - GLib.Signal("pressed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - - Event launched when the is released. - + Emits a signal to the given . + Emits a signal to the given . - - - GLib.Signal("released") - - + Event + + 2.12.0.0 + + + + GLib.Signal("enter") + + System.EventHandler @@ -240,129 +269,224 @@ public class ButtonApp { Event launched when the cursor enters the area. + + + + + Property + + 2.12.0.0 + - GLib.Signal("enter") + GLib.Property("focus-on-click") - - - - Method - Gtk.Button + System.Boolean - - - + - Creates a widget with a child containing the given text. - - The text you want the to hold. - - The newly created widget. - + + Whether the button grabs focus when it is clicked with the mouse. + + a + + + - - + + + Method + + 2.12.0.0 + System.Void - + + + + - Emits a signal to the given . - Emits a signal to the given . + 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 + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - Emits a signal to the given . - Emits a signal to the given . + GType Property. + a + Returns the native value for . - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("image") + + - System.Void + Gtk.Widget - Emits a signal to the given . - Emits a signal to the given . + Child widget to appear next to the button text. + A . + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("image-position") + + - System.Void + Gtk.PositionType - - Emits a signal to the given . - Emits a signal to the given . + Position of the image relative to the text. + a . + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Boolean - Emits a signal to the given . - Emits a signal to the given . + Whether or not the cursor is inside the button. + a , true if the cursor is inside the button. + - - - Constructor - - + + + + Property + + 2.12.0.0 + + + + GLib.Property("label") + + + + System.String + + + - Default parameterless constructor. - This is the default constructor for the class. + The text of the in the . + The contained by the . + If you want the Label to have a mnemonic you need to set to . - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + System.Void + + - Internal constructor - an object of type - This is not typically used by C# code. + Emits a signal to the given . + Emits a signal to the given . - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("leave") + + - System.Boolean + System.EventHandler - Whether or not the cursor is inside the button. - a , true if the cursor is inside the button. + + 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 @@ -370,63 +494,67 @@ public class ButtonApp { - Creates a labeled . a + Creates a labeled . a Constructor that creates a labeled . The label shows the string passed as parameter. - - - Constructor - - - - - - Creates a new containing the image and text from a stock item. - a - 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); - - - - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gtk.Button)) + + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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)) + + - GLib.GType + System.Void - Returns the kind of action this button does. - a - There are four possible options: "ignored", "selects", "drags", - and "expands". + 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 @@ -436,21 +564,39 @@ This for example creates a stock OK button. It sets a localized label, a standar 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. + 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 @@ -460,170 +606,134 @@ This for example creates a stock OK button. It sets a localized label, a standar Override this method in a subclass to provide a default handler for the event. - - - Method - - 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. + 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 - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Emits a signal to the given . + Emits a signal to the given . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("pressed") - - - - Constructor - - - - - - Constructs a button containing a specified Child widget. - a child - - - - - - - Property - System.Boolean + System.EventHandler - Whether the button grabs focus when it is clicked with the mouse. - - a - - - + Event launched when the is pressed. + - - - GLib.Property("focus-on-click") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Single + System.Void - - 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. - - - - + Emits a signal to the given . + Emits a signal to the given . + + + + + Event + + 2.12.0.0 + - GLib.Property("xalign") + GLib.Signal("released") - - - - Property - System.Single + System.EventHandler - 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. - - - - + Event launched when the is released. + + + + + + Property + + 2.12.0.0 + - GLib.Property("yalign") + GLib.Property("relief") - - - - Method - System.Void + Gtk.ReliefStyle - - - Gets the alignment of the child in the button. - a to put the horizontal alignment in - a to put the vertical alignment in - A convenience method; shouldn't be - + The for the . + An instance of that + represents the relief style of the . + + Method + + 2.12.0.0 + System.Void @@ -632,15 +742,15 @@ This for example creates a stock OK button. It sets a localized label, a standar - - Sets the alignment of the child. - 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 @@ -649,41 +759,114 @@ This for example creates a stock OK button. It sets a localized label, a standar - - + + + Property + + 2.12.0.0 + + + + GLib.Property("use-stock") + + - Gtk.Widget + System.Boolean - + + - Child widget to appear next to the button text. - A . + 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("image") + 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("image-position") + GLib.Property("yalign") - Gtk.PositionType + System.Single + - Position of the image relative to the text. - a . - - + + 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. + + + + diff --git a/doc/en/Gtk/ButtonBox+ButtonBoxChild.xml b/doc/en/Gtk/ButtonBox+ButtonBoxChild.xml index dcc889a52..801b31e23 100644 --- a/doc/en/Gtk/ButtonBox+ButtonBoxChild.xml +++ b/doc/en/Gtk/ButtonBox+ButtonBoxChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,37 @@ 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") @@ -30,9 +58,4 @@ - - A child of a , used to interact with its container child properties. - - - diff --git a/doc/en/Gtk/ButtonBox.xml b/doc/en/Gtk/ButtonBox.xml index 336ae8ed7..cd0e98133 100644 --- a/doc/en/Gtk/ButtonBox.xml +++ b/doc/en/Gtk/ButtonBox.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,115 +8,85 @@ 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. - - Gtk.Box - - - - - - System.Reflection.DefaultMember("Item") - - - + + Constructor + + 2.12.0.0 + - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - 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 - - Gtk.ButtonBoxStyle - - - - - See - - - - - - GLib.Property("layout-style") - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + Default parameterless constructor. + This is the default constructor for the class. + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - - + + Constructor + + 2.12.0.0 + - + + + - Default parameterless constructor. - This is the default constructor for the class. + 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 @@ -124,50 +95,31 @@ - Gets the internal padding of the child widgets. a , the horizontal value a , the vertical value + Gets the internal padding of the child widgets. - - - Method - - System.Void - - - - - - - - Sets the minimum width and height of this button box's - child widgets. - - a - a - - - - - - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + - Sets the internal padding of the child widgets. - a , the horizontal value - a , the vertical value + a + Returns whether should appear in a secondary group of children. + a @@ -175,7 +127,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -184,30 +145,118 @@ + a + a Sets the minimum width and height of this button box's child widgets. - a - a - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType + + + + GType Property. + a + Returns the native value for . + + + + + + Property + + 2.12.0.0 + + + Gtk.Container+ContainerChild - Returns whether should appear in a secondary group of children. - a - a + 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. @@ -215,7 +264,11 @@ + Method + + 2.12.0.0 + System.Void @@ -224,14 +277,14 @@ - - Sets whether should appear in a secondary group of children. - A typical use of a secondary child is the help button in a dialog. - 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 , @@ -250,5 +303,36 @@ + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + + + System.Void + + + + + + + a + a + + Sets the minimum width and height of this button box's + child widgets. + + + + + + diff --git a/doc/en/Gtk/ButtonBoxStyle.xml b/doc/en/Gtk/ButtonBoxStyle.xml index cb5e7f71b..d11d3eaf7 100644 --- a/doc/en/Gtk/ButtonBoxStyle.xml +++ b/doc/en/Gtk/ButtonBoxStyle.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to dictate the style that a uses to layout the buttons it contains. (See also: and ). - - System.Enum @@ -19,34 +16,49 @@ 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 - - Default packing. - + To be added. + - - + + + Field + + 2.12.0.0 + Gtk.ButtonBoxStyle - Buttons are evenly spread across the ButtonBox. + Default packing. + Field + + 2.12.0.0 + Gtk.ButtonBoxStyle @@ -56,40 +68,53 @@ - - + + + 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 ). - + 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 grouped towards the end of a box, (on the right for a , or the bottom for a ). - - + Buttons are evenly spread across the ButtonBox. + - - + + + Field + + 2.12.0.0 + Gtk.ButtonBoxStyle + - To be added. - + Buttons are grouped towards the start of box, (on the left for a , or the top for a ). + diff --git a/doc/en/Gtk/ButtonPressEventArgs.xml b/doc/en/Gtk/ButtonPressEventArgs.xml index 1538bf650..ca38ddc13 100644 --- a/doc/en/Gtk/ButtonPressEventArgs.xml +++ b/doc/en/Gtk/ButtonPressEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventButton diff --git a/doc/en/Gtk/ButtonPressEventHandler.xml b/doc/en/Gtk/ButtonPressEventHandler.xml index d048394a9..f30e910a2 100644 --- a/doc/en/Gtk/ButtonPressEventHandler.xml +++ b/doc/en/Gtk/ButtonPressEventHandler.xml @@ -1,23 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 (). - - System.Delegate - @@ -25,4 +16,14 @@ 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 (). + + + diff --git a/doc/en/Gtk/ButtonReleaseEventArgs.xml b/doc/en/Gtk/ButtonReleaseEventArgs.xml index f71a7b0c4..51f13a918 100644 --- a/doc/en/Gtk/ButtonReleaseEventArgs.xml +++ b/doc/en/Gtk/ButtonReleaseEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventButton diff --git a/doc/en/Gtk/ButtonReleaseEventHandler.xml b/doc/en/Gtk/ButtonReleaseEventHandler.xml index 0099fb41a..330eebdfe 100644 --- a/doc/en/Gtk/ButtonReleaseEventHandler.xml +++ b/doc/en/Gtk/ButtonReleaseEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ButtonsType.xml b/doc/en/Gtk/ButtonsType.xml index 19cfb8b47..7910837a6 100644 --- a/doc/en/Gtk/ButtonsType.xml +++ b/doc/en/Gtk/ButtonsType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 . - - - System.Enum @@ -23,76 +16,108 @@ 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 no buttons at all + Show a Cancel button. - - + + + Field + + 2.12.0.0 + Gtk.ButtonsType - Show an OK button. + Show a Close button. - - + + + Field + + 2.12.0.0 + Gtk.ButtonsType - Show a Close button. + Show no buttons at all - - + + + Field + + 2.12.0.0 + Gtk.ButtonsType - Show a Cancel button. + Show an OK button. - - + + + Field + + 2.12.0.0 + Gtk.ButtonsType - Show a set of Yes or No buttons. + Show a set of OK or Cancel buttons. - - + + + Field + + 2.12.0.0 + Gtk.ButtonsType - Show a set of OK or Cancel buttons. + Show a set of Yes or No buttons. diff --git a/doc/en/Gtk/Calendar.xml b/doc/en/Gtk/Calendar.xml index a928673c4..9d674dc98 100644 --- a/doc/en/Gtk/Calendar.xml +++ b/doc/en/Gtk/Calendar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -36,70 +42,193 @@ void HandleDaySelected (object obj, EventArgs args) - - Gtk.Widget - - - - - - Method - - System.Boolean - + + + + 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 + + + - + - Removes a visual marker from the specified . - A day number from 1 to 31. - - - + 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 - Visual markers are added to the Calendar with . + This is an internal constructor, and should not be used by user code. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - Adds a visual marker to the specified . - A day number from 1 to 31. - - - + Removes all visual marks that have been added to dates. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.DateTime - - - + - Select a specified day on the displayed month. - A day number from 1 to 31. + 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 - A value of 0 for the will unselect the currently selected day. + + + + + + + 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 @@ -111,9 +240,32 @@ void HandleDaySelected (object obj, EventArgs args) + + + + 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 @@ -123,265 +275,243 @@ void HandleDaySelected (object obj, EventArgs args) - Get the selected date. 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. - - - Method - - System.Void - - - - Removes the effects of calling . - - This draws all graphical updates to the Calendar that have happened since a . - - - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - Removes all visual marks that have been added to dates. - + GType Property. + a + Returns the native value for . - - + + + Method + + 2.12.0.0 + System.Boolean - - + - Shifts the Calendar to display the specified month. - A zero-based month number. - The year the month is in. + A day number from 1 to 31. + Adds a visual marker to the specified . - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Creates a new Calendar displaying the current month and having the current day selected - - - - - - Event - - 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. - - - - - GLib.Signal("next_year") - - - - - - Event - - System.EventHandler - - - - Raised when the user "double clicks" on a day. - - + + + + Property + + 2.12.0.0 + - GLib.Signal("day_selected_double_click") + GLib.Property("month") - - - - Event - System.EventHandler + System.Int32 - Raised when the current year of the Calendar is decreased. + The selected month as a number between 0 and 11. + a - This may happen when the user explicitly advances the year, or when clicking 'back' from January to December. + - - - GLib.Signal("prev_year") - - + Event - - System.EventHandler - - - - Raised when the current month changes. - - + + 2.12.0.0 + GLib.Signal("month_changed") - - - - Event System.EventHandler - Raised when the month of the Calendar moves to the next one. + Raised when the current month changes. + + + + + Event + + 2.12.0.0 + GLib.Signal("next_month") - - - - Event System.EventHandler - Raised when a day is selected on the Calendar. + Raised when the month of the Calendar moves to the next one. + + + + + Event + + 2.12.0.0 + - GLib.Signal("day_selected") + GLib.Signal("next_year") - - - - Event System.EventHandler - Raised when the Calendar moves to the previous month. - + 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.Signal("prev_month") + GLib.Property("no-month-change") - - - - Method - System.DateTime + System.Boolean - Get the selected date. - A DateTime object containing the selected day, month and year. + If , the selected month can not be changed. + a - Selected date information can also be retrieved with the method. + - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDaySelected", Type=typeof(Gtk.Calendar)) + + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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. + 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. + 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 @@ -391,128 +521,170 @@ void HandleDaySelected (object obj, EventArgs args) 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. + 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. + 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. + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("prev_month") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Raised when the Calendar moves to the previous month. + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("prev_year") - - - - Property - System.DateTime + System.EventHandler - a DateTime that contains the current day for the Calendar widget - a - Setting the date fires Calendar changes events (Day, Month/Year) + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + - The selected day as a number between 1 and 31, or 0 to unselect the currently selected day. - a + 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. - - - - GLib.Property("day") - - - - - Property + + + + Method + + 2.12.0.0 + System.Boolean - + + + + - If , week numbers are displayed - a - - - + 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-week-numbers") + GLib.Property("show-day-names") - - - - Property System.Boolean @@ -524,15 +696,19 @@ void HandleDaySelected (object obj, EventArgs args) + + + + + Property + + 2.12.0.0 + - GLib.Property("show-day-names") + GLib.Property("show-heading") - - - - Property System.Boolean @@ -544,84 +720,98 @@ void HandleDaySelected (object obj, EventArgs args) + + + + + Property + + 2.12.0.0 + - GLib.Property("show-heading") + GLib.Property("show-week-numbers") - - - - Property - System.Int32 + System.Boolean - The selected month as a number between 0 and 11. - a + If , week numbers are displayed + a + + + + + Method + + 2.12.0.0 + - GLib.Property("month") + System.Obsolete - - - - Property - System.Int32 + System.Void - The selected year. - a + Removes the effects of calling . + This draws all graphical updates to the Calendar that have happened since a . - - - - GLib.Property("year") - - - - - Property + + + + Method + + 2.12.0.0 + System.Boolean - + + + - If , the selected month can not be changed. - a + 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("no-month-change") + GLib.Property("year") - - - - Property - Gtk.CalendarDisplayOptions + System.Int32 - Set the display options for this Calendar. - One or more values from , combined using a bit-wise OR. + The selected year. + a - This method allows fine control over which parts of the Calendar, such as day names, are displayed. The describe the choices in more detail. diff --git a/doc/en/Gtk/CalendarDisplayOptions.xml b/doc/en/Gtk/CalendarDisplayOptions.xml index e182ba15d..169927af2 100644 --- a/doc/en/Gtk/CalendarDisplayOptions.xml +++ b/doc/en/Gtk/CalendarDisplayOptions.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents different styles and display options for a . - - System.Enum @@ -22,22 +19,36 @@ System.Flags + + Represents different styles and display options for a . + + - - + + + Field + + 2.12.0.0 + Gtk.CalendarDisplayOptions - Specifies that the month and year should be displayed. - + 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 @@ -49,23 +60,29 @@ - - + + + 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. - + Specifies that the month and year should be displayed. + + Field + + 2.12.0.0 + Gtk.CalendarDisplayOptions @@ -77,7 +94,11 @@ + Field + + 2.12.0.0 + Gtk.CalendarDisplayOptions diff --git a/doc/en/Gtk/Callback.xml b/doc/en/Gtk/Callback.xml index 0b8ff2f20..7aedd1655 100644 --- a/doc/en/Gtk/Callback.xml +++ b/doc/en/Gtk/Callback.xml @@ -1,23 +1,24 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - A delegate that can be run over a series of widgets. - Invoked by and . - System.Delegate - System.Void + + To be added. + A delegate that can be run over a series of widgets. + Invoked by and . + + diff --git a/doc/en/Gtk/CallbackMarshal.xml b/doc/en/Gtk/CallbackMarshal.xml index 16bc9451a..4080d0a6e 100644 --- a/doc/en/Gtk/CallbackMarshal.xml +++ b/doc/en/Gtk/CallbackMarshal.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.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. - Delegate for specifying a function signature for marshalling callbacks. - FIXME: provide an example here - System.Delegate - @@ -26,4 +18,13 @@ 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 + + diff --git a/doc/en/Gtk/CancelPositionArgs.xml b/doc/en/Gtk/CancelPositionArgs.xml index 653accdd4..2a5ae39c0 100644 --- a/doc/en/Gtk/CancelPositionArgs.xml +++ b/doc/en/Gtk/CancelPositionArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/CancelPositionHandler.xml b/doc/en/Gtk/CancelPositionHandler.xml index d0d67ede7..50d71081c 100644 --- a/doc/en/Gtk/CancelPositionHandler.xml +++ b/doc/en/Gtk/CancelPositionHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/CellEditable.xml b/doc/en/Gtk/CellEditable.xml index 383711105..10cd99f4d 100644 --- a/doc/en/Gtk/CellEditable.xml +++ b/doc/en/Gtk/CellEditable.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,39 +8,40 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An interface for editing a single cell. - - - GLib.IWrapper + + An interface for editing a single cell. + + + - - - Method + + + + Event + + 2.12.0.0 + - System.Void + System.EventHandler - - - + - Begins editing on a cell editable. - A , or . - - - is the that began the editing process. It may be , in the instance that editing was initiated through programatic means. - - + Event that indicates to the cell renderer to update its value from the cell. + + Method + + 2.12.0.0 + System.Void @@ -55,7 +57,11 @@ + Method + + 2.12.0.0 + System.Void @@ -69,27 +75,42 @@ - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + - Event that indicates that the cell is finished editing, and the may now be destroyed. - + 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 to the cell renderer to update its value from the cell. + Event that indicates that the cell is finished editing, and the may now be destroyed. diff --git a/doc/en/Gtk/CellEditableAdapter.xml b/doc/en/Gtk/CellEditableAdapter.xml index 659ffbae0..eef1c2a66 100644 --- a/doc/en/Gtk/CellEditableAdapter.xml +++ b/doc/en/Gtk/CellEditableAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ 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") @@ -52,7 +89,11 @@ + Method + + 2.12.0.0 + System.Void @@ -63,69 +104,86 @@ - + + 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. - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.CellEditable - + + + + + To be added. + To be added. To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - - To be added. To be added. + To be added. To be added. - - - Event - - - GLib.Signal("remove_widget") - - + + + + Property + + 2.12.0.0 + - System.EventHandler + System.IntPtr To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + Gtk.CellEditableImplementor @@ -137,7 +195,11 @@ + Method + + 2.12.0.0 + System.Void @@ -149,7 +211,11 @@ + Method + + 2.12.0.0 + System.Void @@ -164,7 +230,11 @@ + Event + + 2.12.0.0 + GLib.Signal("remove_widget") @@ -179,9 +249,4 @@ - - CellEditable interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/CellEditableImplementor.xml b/doc/en/Gtk/CellEditableImplementor.xml index 0f147e84e..188fa9f2d 100644 --- a/doc/en/Gtk/CellEditableImplementor.xml +++ b/doc/en/Gtk/CellEditableImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.CellEditableAdapter)) + + CellEditable implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Void @@ -31,9 +41,4 @@ - - CellEditable implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/CellLayout.xml b/doc/en/Gtk/CellLayout.xml index 4ec4eb5af..f98b73ccb 100644 --- a/doc/en/Gtk/CellLayout.xml +++ b/doc/en/Gtk/CellLayout.xml @@ -1,45 +1,114 @@ + 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. - - Manages layout for table cells. - - - GLib.IWrapper + + Manages layout for table cells. + + + - - + + + Method + + 2.12.0.0 + System.Void - + + - Re-inserts at . a - a + a + a + + Adds an attribute mapping to the list for this cell layout. + - Note that has already to be packed - into the cell layout for this to function properly. + 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 @@ -48,11 +117,11 @@ + a + a , TRUE if is to be given extra space allocated to this cell layout. Adds the to the end of the cell layout. - a - a , TRUE if is to be given extra space allocated to this cell layout. If is FALSE, then the cell is allocated no more space than it needs. Any unused space is @@ -63,7 +132,11 @@ + Method + + 2.12.0.0 + System.Void @@ -72,11 +145,11 @@ + a + a , TRUE if is to be given extra space allocated to this cell layout. Packs into the beginning of the cell layout. - a - a , TRUE if is to be given extra space allocated to this cell layout. If is FALSE, then the cell is allocated no more space than it needs. Any unused space is @@ -85,64 +158,58 @@ - - + + + Method + + 2.12.0.0 + System.Void - - + - - Adds an attribute mapping to the list for this cell layout. - a - a - a + a + Re-inserts at . - 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. + Note that has already to be packed + into the cell layout for this to function properly. - - + + + Method + + 2.12.0.0 + System.Void - + + - Clears all existing attributes previously set with - . - a - - - - - - Method - - System.Void - - - - Unsets all the mappings on all renderers for this cell layout. - + 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 @@ -151,9 +218,9 @@ - Sets up a data function for this layout. 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) @@ -161,35 +228,5 @@ - - - Method - - System.Void - - - - - - - Sets the attribute to model column bindings for a renderer. - a - a - The array should consist of pairs of attribute names and column indices. - - - - - Property - - Gtk.CellRenderer[] - - - To be added. - To be added. - To be added. - - - diff --git a/doc/en/Gtk/CellLayoutAdapter.xml b/doc/en/Gtk/CellLayoutAdapter.xml index 449c53b05..346cb1e58 100644 --- a/doc/en/Gtk/CellLayoutAdapter.xml +++ b/doc/en/Gtk/CellLayoutAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,166 +51,163 @@ To be added. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + - - - + - 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. - - + + + Method + + 2.12.0.0 + System.Void + + To be added. + To be added. + To be added. To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - Gtk.CellLayout + Gtk.CellRenderer[] - - - - - 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. - - + + + 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 + Gtk.CellLayout - - + - 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 + Gtk.CellLayout - - - - - System.ParamArray - - - + + - To be added. - To be added. + To be added. + To be added. To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - - - To be added. - To be added. To be added. + To be added. To be added. - - + + + Property + + 2.12.0.0 + - Gtk.CellRenderer[] + System.IntPtr To be added. @@ -202,8 +216,12 @@ - + + Property + + 2.12.0.0 + Gtk.CellLayoutImplementor @@ -215,7 +233,11 @@ + Method + + 2.12.0.0 + System.Void @@ -232,7 +254,11 @@ + Method + + 2.12.0.0 + System.Void @@ -249,7 +275,11 @@ + Method + + 2.12.0.0 + System.Void @@ -266,7 +296,11 @@ + Method + + 2.12.0.0 + System.Void @@ -289,7 +323,11 @@ + Method + + 2.12.0.0 + System.Void @@ -305,9 +343,4 @@ - - CellLayout interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/CellLayoutDataFunc.xml b/doc/en/Gtk/CellLayoutDataFunc.xml index 8bf8c1149..0a9a0c386 100644 --- a/doc/en/Gtk/CellLayoutDataFunc.xml +++ b/doc/en/Gtk/CellLayoutDataFunc.xml @@ -1,11 +1,24 @@ + 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. @@ -17,17 +30,5 @@ - - System.Delegate - - - System.Void - - - - - - - diff --git a/doc/en/Gtk/CellLayoutImplementor.xml b/doc/en/Gtk/CellLayoutImplementor.xml index cbf335eb2..f12cd619a 100644 --- a/doc/en/Gtk/CellLayoutImplementor.xml +++ b/doc/en/Gtk/CellLayoutImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.CellLayoutAdapter)) + + CellLayout implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Void @@ -34,9 +44,29 @@ 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 @@ -48,7 +78,11 @@ + Method + + 2.12.0.0 + System.Void @@ -63,7 +97,11 @@ + Method + + 2.12.0.0 + System.Void @@ -80,7 +118,11 @@ + Method + + 2.12.0.0 + System.Void @@ -97,7 +139,11 @@ + Method + + 2.12.0.0 + System.Void @@ -114,7 +160,11 @@ + Method + + 2.12.0.0 + System.Void @@ -129,22 +179,5 @@ To be added. - - - Property - - Gtk.CellRenderer[] - - - To be added. - To be added. - To be added. - - - - CellLayout implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/CellRenderer.xml b/doc/en/Gtk/CellRenderer.xml index e90127c96..7a71d8b70 100644 --- a/doc/en/Gtk/CellRenderer.xml +++ b/doc/en/Gtk/CellRenderer.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -30,62 +36,69 @@ - - Gtk.Object - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Protected constructor. + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - - - - + - Invokes the virtual render function of the . - an object of type - an object of type - an object of type - an object of type - an object of type - an object of type - - 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. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Sets the renderer size to be explicit, independent of the properties set. - an object of type - an object of type - + 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 @@ -98,329 +111,371 @@ - Passes an activate event to the for possible processing. 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. - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + + + System.Void + + - Internal constructor - Pointer to the C object. + Causes the cell renderer to fire an event. - This is an internal constructor, and should not be used by user code. - + 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 - - System.Int32 - - - - - The fixed height. - an object of type - - + + 2.12.0.0 + - GLib.Property("height") + GLib.Property("cell-background") - - - - Property - System.Boolean + System.String - Display the cell. - an object of type + Cell background color as a . + a + + + + + Property + + 2.12.0.0 + - GLib.Property("visible") + GLib.Property("cell-background-gdk") - - - - Property - System.Single + Gdk.Color - The x-align. - an object of type + Cell background color as a . + a + + + + + Event + + 2.12.0.0 + - GLib.Property("xalign") + GLib.Signal("editing-canceled") - - - - Property - System.Int32 + System.EventHandler - - + - The fixed width. - an object of type - + + 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.Property("width") + GLib.Signal("editing-started") - - - - Property - System.Single + Gtk.EditingStartedHandler - - + - The y-align. - an object of type - + 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. + + + - - - GLib.Property("yalign") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + - Row has children. - an object of type + 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.Property("is-expander") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetSize", Type=typeof(Gtk.CellRenderer)) - - - - Property - System.UInt32 + System.Void + + + + + + - The ypad. - an object of type - + 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. - - - GLib.Property("ypad") - - - - + + + Property + + 2.12.0.0 + - System.UInt32 + GLib.GType - - + - The xpad. - an object of type - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("xpad") + GLib.Property("height") - - - - Property - System.Boolean + System.Int32 - Row is an expander row, and is expanded. - an object of type + The fixed height. + an object of type + + + + + Property + + 2.12.0.0 + GLib.Property("is-expanded") - - - - Property - Gtk.CellRendererMode + System.Boolean - Editable mode of the CellRenderer. - an object of type + Row is an expander row, and is expanded. + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("mode") + GLib.Property("is-expander") - - - - Property - Gdk.Color + System.Boolean - Cell background color as a . - a + Row has children. + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("cell-background-gdk") + GLib.Property("mode") - - - - Property - System.String + Gtk.CellRendererMode - Cell background color as a . - a + Editable mode of the CellRenderer. + an object of type + + + + + Method + + 2.12.0.0 + - GLib.Property("cell-background") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingCanceled", Type=typeof(Gtk.CellRenderer)) - - - - Property - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingStarted", Type=typeof(Gtk.CellRenderer)) - - - - Constructor - - - - Protected constructor. - - - - - - Method System.Void - - - - - - + + - Obtains the and needed to render the cell. - a - a - a - a - a - a - 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. + 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 @@ -433,19 +488,106 @@ - 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. 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 @@ -458,13 +600,13 @@ - Passes an activate event to the for possible processing. 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. @@ -523,152 +665,161 @@ public class CellRendererCompletion : CellRendererText - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + - - 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. - - + 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.Signal("editing-canceled") + GLib.Property("visible") - - - - Method - System.Void + System.Boolean - + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - + Display the cell. + an object of type + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("width") + + - System.Void + System.Int32 - + + - 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. - - + The fixed width. + an object of type + - - + + + Property - - System.Boolean - - - - Display the cell sensitive. - A . - The default value is . - - + + 2.12.0.0 + - GLib.Property("sensitive") + GLib.Property("xalign") - - - - Event - Gtk.EditingStartedHandler + System.Single - + + - 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. - - - + The x-align. + an object of type + + + + + + Property + + 2.12.0.0 + - GLib.Signal("editing-started") + GLib.Property("xpad") - - - - Method - System.Void + System.UInt32 - - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. - + The xpad. + an object of type + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("yalign") + + - System.Void + System.Single - - Informs the cell renderer that the editing is stopped. - a - If is , the cell renderer will emit the event. This method should be called by cell renderer implementations in response to the event of . - + The y-align. + an object of type + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("ypad") + + - System.Void + System.UInt32 - - - 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. + The ypad. + an object of type diff --git a/doc/en/Gtk/CellRendererAccel.xml b/doc/en/Gtk/CellRendererAccel.xml index 65dfdff88..17ae08772 100644 --- a/doc/en/Gtk/CellRendererAccel.xml +++ b/doc/en/Gtk/CellRendererAccel.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Gtk.CellRendererText + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -49,7 +67,11 @@ + Event + + 2.12.0.0 + GLib.Signal("accel-cleared") @@ -65,7 +87,11 @@ + Event + + 2.12.0.0 + GLib.Signal("accel-edited") @@ -80,8 +106,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("accel-key") @@ -97,8 +127,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("accel-mode") @@ -114,8 +148,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("accel-mods") @@ -130,9 +168,42 @@ 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 @@ -143,8 +214,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("keycode") @@ -161,7 +236,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelCleared", Type=typeof(Gtk.CellRendererAccel)) + + System.Void @@ -176,7 +260,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelEdited", Type=typeof(Gtk.CellRendererAccel)) + + System.Void @@ -195,10 +288,64 @@ 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. + + - - To be added. - To be added. - - diff --git a/doc/en/Gtk/CellRendererAccelMode.xml b/doc/en/Gtk/CellRendererAccelMode.xml index 9c3fc0075..eb704bb19 100644 --- a/doc/en/Gtk/CellRendererAccelMode.xml +++ b/doc/en/Gtk/CellRendererAccelMode.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,31 +13,39 @@ GLib.GType(typeof(Gtk.CellRendererAccelModeGType)) + + Cell Renderer Accelerator Mode enumeration. + + + - - + + + Field + + 2.12.0.0 + Gtk.CellRendererAccelMode - Other accelerators are supported. + Gtk accelerators are supported. - - + + + Field + + 2.12.0.0 + Gtk.CellRendererAccelMode - Gtk accelerators are supported. + Other accelerators are supported. - - Cell Renderer Accelerator Mode enumeration. - - - diff --git a/doc/en/Gtk/CellRendererCombo.xml b/doc/en/Gtk/CellRendererCombo.xml index f82fd0c99..c730c77da 100644 --- a/doc/en/Gtk/CellRendererCombo.xml +++ b/doc/en/Gtk/CellRendererCombo.xml @@ -1,11 +1,17 @@ + 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 @@ -14,56 +20,96 @@ 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. - - Gtk.CellRendererText - - - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + + + + + + - Default constructor - + 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 @@ -74,32 +120,40 @@ The combo cell renderer takes care of adding a text cell renderer to the combo b Returns the native value for . - - + + + Property + + 2.12.0.0 + + + + GLib.Property("has-entry") + + - System.Int32 + System.Boolean - 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. + 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("text-column") + GLib.Property("model") - - - - Property Gtk.TreeModel @@ -109,29 +163,92 @@ The combo cell renderer takes care of adding a text cell renderer to the combo b a Use the property to specify the column holding the values. - - - GLib.Property("model") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + + + + + - 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. + 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("has-entry") + 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. + diff --git a/doc/en/Gtk/CellRendererMode.xml b/doc/en/Gtk/CellRendererMode.xml index 1165eea59..0b7a7167b 100644 --- a/doc/en/Gtk/CellRendererMode.xml +++ b/doc/en/Gtk/CellRendererMode.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Identifies how the user can interact with a particular cell. - - System.Enum @@ -19,41 +16,57 @@ GLib.GType(typeof(Gtk.CellRendererModeGType)) + + Identifies how the user can interact with a particular cell. + + - - + + + 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. + The cell can be clicked. + - - + + + Field + + 2.12.0.0 + Gtk.CellRendererMode - The cell can be clicked. + The cell can be edited or otherwise modified. - - + + + Field + + 2.12.0.0 + Gtk.CellRendererMode - The cell can be edited or otherwise modified. - + 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. diff --git a/doc/en/Gtk/CellRendererPixbuf.xml b/doc/en/Gtk/CellRendererPixbuf.xml index 98876c6dc..6967dbf2b 100644 --- a/doc/en/Gtk/CellRendererPixbuf.xml +++ b/doc/en/Gtk/CellRendererPixbuf.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,64 +8,173 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Renders a - - 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - + + + + Property + + 2.12.0.0 + + + + GLib.Property("follow-state") + + + + System.Boolean + - Creates a new - This is the default constructor for . + Determines state-based colorization of the Pixbuf. + a indicating if the should be used for colorization of the Pixbuf. + Defaults to . + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Pixbuf + System.Void + + + + + + - - for closed expander. - an object of type - + 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("pixbuf-expander-closed") + 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 @@ -75,15 +185,19 @@ an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("pixbuf") + GLib.Property("pixbuf-expander-closed") - - - - Property Gdk.Pixbuf @@ -91,138 +205,161 @@ - for open expander. + for closed expander. an object of type + + + + + Property + + 2.12.0.0 + GLib.Property("pixbuf-expander-open") - - - - Property - System.String + Gdk.Pixbuf - Render detail to pass to the theme engine. - a + + for open expander. + an object of type - - - GLib.Property("stock-detail") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void + + + + + + - The stock ID of the stock icon to render. - a - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("stock-id") - - - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + Gtk.CellEditable - - - 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. + 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 + - System.Obsolete + GLib.Property("stock-detail") - - - - Property - System.UInt32 + System.String - + + - The size of the rendered icon. - a + Render detail to pass to the theme engine. + a - - - - GLib.Property("stock-size") - - - - + + + Property + + 2.12.0.0 + - GLib.Property("icon-name") + GLib.Property("stock-id") System.String + + - Name of the themed icon to display. - a containing a name in an Icon theme. + The stock ID of the stock icon to render. + a - - - + + + Property + + 2.12.0.0 + - GLib.Property("follow-state") + GLib.Property("stock-size") - System.Boolean + System.UInt32 + - Determines state-based colorization of the Pixbuf. - a indicating if the should be used for colorization of the Pixbuf. - Defaults to . - + The size of the rendered icon. + a + + diff --git a/doc/en/Gtk/CellRendererProgress.xml b/doc/en/Gtk/CellRendererProgress.xml index 1a866c274..395c8d659 100644 --- a/doc/en/Gtk/CellRendererProgress.xml +++ b/doc/en/Gtk/CellRendererProgress.xml @@ -1,66 +1,112 @@ + 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. - - Renders numbers as progress bars - - - Gtk.CellRenderer + + Renders numbers as progress bars + + + + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + + + + + + - Default constructor - + 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 @@ -71,45 +117,13 @@ Returns the native value for . - - - Property - - 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. - - - - GLib.Property("text") - - - - - - Property - - System.Int32 - - - - Determines the percentage to which the progress bar will be "filled in". - a - Allowed values are between 0 and 100. - - - - GLib.Property("value") - - - - + + Property + + 2.12.0.0 + GLib.Property("orientation") @@ -126,8 +140,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("pulse") @@ -143,9 +161,94 @@ + + + + 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") @@ -162,8 +265,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("text-yalign") @@ -179,5 +286,27 @@ + + + + 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. + + diff --git a/doc/en/Gtk/CellRendererSpin.xml b/doc/en/Gtk/CellRendererSpin.xml index 6344e5644..19c295232 100644 --- a/doc/en/Gtk/CellRendererSpin.xml +++ b/doc/en/Gtk/CellRendererSpin.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,32 @@ Gtk.CellRendererText + + Cell renderer with Spin Button editing capability. + + + + + + + Constructor + + 2.12.0.0 + + + + Public constructor. + + + + Constructor + + 2.12.0.0 + System.Obsolete @@ -28,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -38,18 +65,13 @@ Typically only used by language bindings to wrap native objects. - - - Constructor - - - Public constructor. - - - - + + Property + + 2.12.0.0 + GLib.Property("adjustment") @@ -64,9 +86,34 @@ 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") @@ -81,26 +128,42 @@ - - - Property - - - GLib.Property("climb-rate") - - + + + + Method + + 2.12.0.0 + - System.Double + System.Void + + + + + + + + - Climb rate. - Defaults to 0, must be greater than or equal to 0. - Provides the acceleration rate for when the button is held down. + 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 @@ -110,10 +173,64 @@ + + + + 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. + + - - Cell renderer with Spin Button editing capability. - - - diff --git a/doc/en/Gtk/CellRendererState.xml b/doc/en/Gtk/CellRendererState.xml index 13faf6f97..d839333b9 100644 --- a/doc/en/Gtk/CellRendererState.xml +++ b/doc/en/Gtk/CellRendererState.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Tells how a cell is to be rendered. - - System.Enum @@ -22,22 +19,52 @@ 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 currently selected, and probably has a selection colored background to render to. + The cell is drawn in an insensitive manner. + Field + + 2.12.0.0 + Gtk.CellRendererState @@ -47,21 +74,29 @@ - - + + + Field + + 2.12.0.0 + Gtk.CellRendererState - The cell is drawn in an insensitive manner. + The cell is currently selected, and probably has a selection colored background to render to. + Field + + 2.12.0.0 + Gtk.CellRendererState @@ -71,19 +106,5 @@ - - - Field - - Gtk.CellRendererState - - - - - The cell currently has the keyboard focus. - - - - diff --git a/doc/en/Gtk/CellRendererText.xml b/doc/en/Gtk/CellRendererText.xml index 50016542e..f0d73be58 100644 --- a/doc/en/Gtk/CellRendererText.xml +++ b/doc/en/Gtk/CellRendererText.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,382 +8,448 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Renders text in a cell - Used to add text to a . - Gtk.CellRenderer + + Renders text in a cell + Used to add text to a . + - + + Constructor + + 2.12.0.0 + - - - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + Creates a new . + The default constructor. - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + + + - Creates a new . - The default constructor. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Property - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + + - Sets the height of a renderer to explicitly be determined by the . - an object of type + Pointer to the C object. + Internal constructor + This is an internal constructor, and should not be used by user code. - - + + + Property - - System.Int32 - - - - - Font size. - an object of type - - + + 2.12.0.0 + - GLib.Property("size") + GLib.Property("alignment") - - - - Property - System.Double + Pango.Alignment - - - Font scaling factor. - an object of type + Identifies the Alignment of text within the renderer. + a . + + + + + + Property + + 2.12.0.0 + - GLib.Property("scale") + GLib.Property("attributes") - - - - Property - System.String + Pango.AttrList - Foreground color as a string. - an object of type + A list of style attributes to apply to the text of the renderer. + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("foreground") + GLib.Property("background") - - - - Property - System.Boolean + System.String - Whether to strike through the text. - an object of type + Background color as a . + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("strikethrough") + GLib.Property("background-gdk") - - - - Property - Pango.FontDescription + Gdk.Color - The font description as a - an object of type + Background color as a . + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("font-desc") + GLib.Property("editable") - - - - Property - System.String + System.Boolean - Font description as a . - an object of type + Whether the text can be modified by the user. + an object of type + + + + + Event + + 2.12.0.0 + - GLib.Property("font") + GLib.Signal("edited") - - - - Property - System.Double + Gtk.EditedHandler - - + - Font size in points. - an object of type - + Emitted when the cell is edited. + + + + + + + Property + + 2.12.0.0 + - GLib.Property("size-points") + GLib.Property("ellipsize") - - - - Property - System.Int32 + Pango.EllipsizeMode - - + - Offset of text above the baseline (below the baseline if rise is negative). - an object of type - + 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("rise") + GLib.Property("family") - - - - Property System.String - Text to render. + Name of the font family, e.g. Sans, Helvetica, Times, Monospace. an object of type - - - GLib.Property("text") - - - - + + + Property + + 2.12.0.0 + System.Int32 - Font weight. + Sets the height of a renderer to explicitly be determined by the . an object of type - + + + + + + + Property + + 2.12.0.0 + - GLib.Property("weight") + GLib.Property("font") - - - - Property System.String - Background color as a . + Font description as a . an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("background") + GLib.Property("font-desc") - - - - Property - System.Boolean + Pango.FontDescription - Whether the text can be modified by the user. - an object of type + The font description as a + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("editable") + GLib.Property("foreground") - - - - Property - Pango.Variant + System.String - Font variant. - an object of type + Foreground color as a string. + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("variant") + GLib.Property("foreground-gdk") - - - - Property Gdk.Color - Background color as a . + Foreground color as a . an object of type - - - GLib.Property("background-gdk") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void + + + + + + - Name of the font family, e.g. Sans, Helvetica, Times, Monospace. - an object of type - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("family") - - - - + + + Property + + 2.12.0.0 + - Pango.AttrList + GLib.GType - - + - A list of style attributes to apply to the text of the renderer. - an object of type - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("attributes") + GLib.Property("language") - - - - Property - Pango.Stretch + System.String - - + - Font stretch. - an object of type - + 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("stretch") + GLib.Property("markup") - - - - Property System.String @@ -393,236 +460,399 @@ an object of type + + + + + Method + + 2.12.0.0 + - GLib.Property("markup") + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.Style + System.Void + + + + + + - Font style. - an object of type - + 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("style") + GLib.Property("rise") - - - - Property - Pango.Underline + System.Int32 - Style of underline for this text. - an object of type + Offset of text above the baseline (below the baseline if rise is negative). + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("underline") + GLib.Property("scale") - - - - Property - Gdk.Color + System.Double - Foreground color as a . - an object of type + Font scaling factor. + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("foreground-gdk") + GLib.Property("single-paragraph-mode") - - - - Event - Gtk.EditedHandler + System.Boolean - Emitted when the cell is edited. + Whether or not to keep all text in a single paragraph. + a + + + + + + Property + + 2.12.0.0 + - GLib.Signal("edited") + GLib.Property("size") + + System.Int32 + + + + + Font size. + an object of type + + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("size-points") + + - GLib.GType + System.Double - + + - GType Property. - a - Returns the native value for . + Font size in points. + an object of type + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.CellEditable + + - + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + Property + + 2.12.0.0 + + + + GLib.Property("stretch") + + + + Pango.Stretch + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Font stretch. + an object of type + + + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("strikethrough") - - - - Property System.Boolean - + + - Whether or not to keep all text in a single paragraph. - a - - - + Whether to strike through the text. + an object of type + + + + + + Property + + 2.12.0.0 + - GLib.Property("single-paragraph-mode") + GLib.Property("style") + + Pango.Style + + + + + Font style. + an object of type + + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("text") + + 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. - - + Text to render. + an object of type + + + + + + Property + + 2.12.0.0 + - GLib.Property("language") + GLib.Property("underline") - - - - Property - Pango.EllipsizeMode + Pango.Underline - + + - 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. - + Style of underline for this text. + an object of type + + + + + + Property + + 2.12.0.0 + - GLib.Property("ellipsize") + GLib.Property("variant") - - - - Property - System.Int32 + Pango.Variant - + + - 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. - + Font variant. + an object of type + + + + + + Property + + 2.12.0.0 + - GLib.Property("width-chars") + GLib.Property("weight") + + System.Int32 + + + + + Font weight. + an object of type + + - - + + + Property + + 2.12.0.0 + - GLib.Property("wrap-width") + GLib.Property("width-chars") System.Int32 + - The width at which text is wrapped. - a width >= -1, where -1 denotes no wrapping. - - + 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") @@ -638,22 +868,26 @@ - - + + + Property + + 2.12.0.0 + - GLib.Property("alignment") + GLib.Property("wrap-width") - Pango.Alignment + System.Int32 - Identifies the Alignment of text within the renderer. - a . + The width at which text is wrapped. + a width >= -1, where -1 denotes no wrapping. - + diff --git a/doc/en/Gtk/CellRendererToggle.xml b/doc/en/Gtk/CellRendererToggle.xml index 9412c64d7..649eae808 100644 --- a/doc/en/Gtk/CellRendererToggle.xml +++ b/doc/en/Gtk/CellRendererToggle.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -48,40 +54,74 @@ void crt_toggled(object o, ToggledArgs args) { - - Gtk.CellRenderer - - - - + + Constructor + + 2.12.0.0 + + + + + Creates a new . + The default constructor. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new . - The default constructor. + 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 @@ -92,15 +132,19 @@ void crt_toggled(object o, ToggledArgs args) { an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("activatable") + GLib.Property("active") - - - - Property System.Boolean @@ -111,51 +155,65 @@ void crt_toggled(object o, ToggledArgs args) { an object of type - - - GLib.Property("active") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + + + + - Draw the as a . - an object of type - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("radio") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.ToggledHandler + GLib.GType - Emitted when the cell is clicked. - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Signal("toggled") + GLib.Property("inconsistent") - - - - Property System.Boolean @@ -166,28 +224,41 @@ void crt_toggled(object o, ToggledArgs args) { a + + + + + Property + + 2.12.0.0 + - GLib.Property("inconsistent") + GLib.Property("indicator-size") - - - - Property - GLib.GType + System.Int32 - - GType Property. - a - Returns the native value for . + Size of check or radio indicator. + defaults to 12. + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.CellRendererToggle)) + + System.Void @@ -195,45 +266,112 @@ void crt_toggled(object o, ToggledArgs args) { - Default handler for the event. a + 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. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("radio") + + System.Boolean + + + + + Draw the as a . + an object of type + + - - - 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. + 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.Property("indicator-size") + GLib.Signal("toggled") - System.Int32 + Gtk.ToggledHandler + - Size of check or radio indicator. - defaults to 12. + Emitted when the cell is clicked. - diff --git a/doc/en/Gtk/CellView.xml b/doc/en/Gtk/CellView.xml index 85168e4b0..68ad47a7c 100644 --- a/doc/en/Gtk/CellView.xml +++ b/doc/en/Gtk/CellView.xml @@ -1,16 +1,12 @@ + 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. - - 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. - - Gtk.Widget @@ -19,106 +15,106 @@ 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. + + - - - Method - - Gtk.CellView - - - - + + + + Constructor + + 2.12.0.0 + + + - Creates a new widget, adds a to it, and makes it show . - a - a + Creates a new widget. - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - - + - Sets to the size needed by the CellView to display the model row pointed to by . - a - a , return location for the size - a + a + Creates a new widget, adds a to it, and makes its show . - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Re-inserts at . - a - a - - Note that has already to be packed - into its view for this to function properly. - + a + Internal constructor + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Adds the into the end of the cell layout. - a - a - - If is , then the - is allocated no more space than it needs. Any unused space is - divided evenly between cells for which is . - + a + Internal constructor + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Packs the into the beginning of the cell layout. - a - a - - If is , then the - is allocated no more space than it needs. Any unused space is - divided evenly between cells for which is . - + a + Creates a new widget, adds a to it, and makes it show . + + Method + + 2.12.0.0 + System.Void @@ -128,12 +124,12 @@ - - Adds an attribute mapping to the list for this cell layout. - 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 @@ -142,26 +138,107 @@ - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("background") + + - System.Void + 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[] - - - - - a - - To be added. + To be added. + To be added. + + Method + + 2.12.0.0 + System.Void @@ -172,63 +249,73 @@ - - - Constructor - - - - - - Internal constructor - a - - - - - System.Obsolete - - - - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Internal constructor - a - + a + To be added. + + + - - - Constructor - + + + + Property + + 2.12.0.0 + + + Gtk.TreePath + - Creates a new widget. - + 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + + - Creates a new widget, adds a to it, and makes its show . - a + 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 @@ -239,44 +326,18 @@ Returns the native value for . - - - Property - - Gdk.Color - - - - The background color as a - a - - - - - GLib.Property("background-gdk") - - - - - + + + Property - - System.String - - - Background color as a string. - a - - + + 2.12.0.0 + - GLib.Property("background") + GLib.Property("model") - - - - Property Gtk.TreeModel @@ -285,62 +346,108 @@ 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. - - - GLib.Property("model") - - - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Color + Gtk.CellView + + + - The background color - a + a + Creates a new widget, adds a to it, and makes it show . + a - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TreePath + System.Void - + + + + - 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. + 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 - + - Sets a data function to use for the cell layout. a - a + a + Packs the into the beginning of 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. + 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 @@ -355,50 +462,36 @@ - Sets the attribute to model column bindings for a renderer. a a + Sets the attribute to model column bindings for a renderer. The array should consist of pairs of attribute name and column index. - - - Constructor - - - - - - Creates a new widget, adds a to it, and makes it show . - a - - - - - - Property - - GLib.List - - - - To be added - a - To be added - - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.CellRenderer[] + System.Void + + + + - To be added. - To be added. - To be added. - + 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. + diff --git a/doc/en/Gtk/ChangeCurrentPageArgs.xml b/doc/en/Gtk/ChangeCurrentPageArgs.xml index 1c1b55354..9dee2a490 100644 --- a/doc/en/Gtk/ChangeCurrentPageArgs.xml +++ b/doc/en/Gtk/ChangeCurrentPageArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gtk/ChangeCurrentPageHandler.xml b/doc/en/Gtk/ChangeCurrentPageHandler.xml index 6160983a0..0db4b4b92 100644 --- a/doc/en/Gtk/ChangeCurrentPageHandler.xml +++ b/doc/en/Gtk/ChangeCurrentPageHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ChangeValueArgs.xml b/doc/en/Gtk/ChangeValueArgs.xml index 13ade2042..aae8923c0 100644 --- a/doc/en/Gtk/ChangeValueArgs.xml +++ b/doc/en/Gtk/ChangeValueArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.ScrollType diff --git a/doc/en/Gtk/ChangeValueHandler.xml b/doc/en/Gtk/ChangeValueHandler.xml index 0638d855d..c7c736352 100644 --- a/doc/en/Gtk/ChangeValueHandler.xml +++ b/doc/en/Gtk/ChangeValueHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ChangedArgs.xml b/doc/en/Gtk/ChangedArgs.xml index f624d1388..5724eb9dc 100644 --- a/doc/en/Gtk/ChangedArgs.xml +++ b/doc/en/Gtk/ChangedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.RadioAction diff --git a/doc/en/Gtk/ChangedHandler.xml b/doc/en/Gtk/ChangedHandler.xml index 9ab09aa80..e633346ed 100644 --- a/doc/en/Gtk/ChangedHandler.xml +++ b/doc/en/Gtk/ChangedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/CheckButton.xml b/doc/en/Gtk/CheckButton.xml index 604af5202..6323020b2 100644 --- a/doc/en/Gtk/CheckButton.xml +++ b/doc/en/Gtk/CheckButton.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -61,70 +67,86 @@ class CheckButtonSample - - Gtk.ToggleButton - - - - - - Method - - Gtk.CheckButton - + + + + Constructor + + 2.12.0.0 + + + + + Constructor + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Creates a new object with a label to the right of it. - The label displayed to the right of the . - The newly created . - Creates a new object with a to the - right of it + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - - - Constructor - - - + Constructor + + 2.12.0.0 + - Constructor A string for the . + Constructor - + + Property + + 2.12.0.0 + GLib.GType @@ -135,23 +157,26 @@ class CheckButtonSample Returns the native value for . - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.CheckButton + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 - - - System.Obsolete - - diff --git a/doc/en/Gtk/CheckMenuItem.xml b/doc/en/Gtk/CheckMenuItem.xml index 7341b752e..70022bd43 100644 --- a/doc/en/Gtk/CheckMenuItem.xml +++ b/doc/en/Gtk/CheckMenuItem.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,90 +21,93 @@ Whether the CheckMenuItem is 'on' or not can be determined with the property. - - Gtk.MenuItem - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Toggles the state of the check box between active and inactive. + Creates a CheckMenuItem with no label - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a CheckMenuItem with no label - + 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 + - Create a new CheckMenuItem with the specified . 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 - - 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. - - + + 2.12.0.0 + - GLib.Property("inconsistent") + GLib.Property("active") - - - - Property System.Boolean @@ -109,34 +118,56 @@ + + + + + Property + + 2.12.0.0 + - GLib.Property("active") + GLib.Property("draw-as-radio") + + System.Boolean + + + + Whether the menu item looks like a radio menu item. + a + + + + - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - An event that is raised whenever the state of the CheckMenuItem is toggled. + Fires the event. - Connect to this event with a standard . + - - - GLib.Signal("toggled") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -147,9 +178,45 @@ 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 @@ -159,75 +226,66 @@ 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. - + + + + Property + + 2.12.0.0 + System.Obsolete - - - - Property System.Boolean - - Whether the menu item looks like a radio menu item. + Whether this menu item can be toggled. a - - - GLib.Property("draw-as-radio") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - Whether this menu item can be toggled. - a - - - + Toggles the state of the check box between active and inactive. + + + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("toggled") - - - - Method - System.Void + System.EventHandler - Fires the event. + An event that is raised whenever the state of the CheckMenuItem is toggled. + Connect to this event with a standard . - diff --git a/doc/en/Gtk/ChildAnchorInsertedArgs.xml b/doc/en/Gtk/ChildAnchorInsertedArgs.xml index 567797ca6..528f09cbd 100644 --- a/doc/en/Gtk/ChildAnchorInsertedArgs.xml +++ b/doc/en/Gtk/ChildAnchorInsertedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextChildAnchor @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextIter diff --git a/doc/en/Gtk/ChildAnchorInsertedHandler.xml b/doc/en/Gtk/ChildAnchorInsertedHandler.xml index d31817cca..54b06e22e 100644 --- a/doc/en/Gtk/ChildAnchorInsertedHandler.xml +++ b/doc/en/Gtk/ChildAnchorInsertedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ChildAttachedArgs.xml b/doc/en/Gtk/ChildAttachedArgs.xml index 8b4704851..f34d98ad5 100644 --- a/doc/en/Gtk/ChildAttachedArgs.xml +++ b/doc/en/Gtk/ChildAttachedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/ChildAttachedHandler.xml b/doc/en/Gtk/ChildAttachedHandler.xml index 487e94c0e..e9fd277d5 100644 --- a/doc/en/Gtk/ChildAttachedHandler.xml +++ b/doc/en/Gtk/ChildAttachedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ChildDetachedArgs.xml b/doc/en/Gtk/ChildDetachedArgs.xml index 521beb6d1..8c805a102 100644 --- a/doc/en/Gtk/ChildDetachedArgs.xml +++ b/doc/en/Gtk/ChildDetachedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/ChildDetachedHandler.xml b/doc/en/Gtk/ChildDetachedHandler.xml index 51bc0e33e..5f132d31c 100644 --- a/doc/en/Gtk/ChildDetachedHandler.xml +++ b/doc/en/Gtk/ChildDetachedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ChildNotifiedArgs.xml b/doc/en/Gtk/ChildNotifiedArgs.xml index 42609c38d..3e1fcb895 100644 --- a/doc/en/Gtk/ChildNotifiedArgs.xml +++ b/doc/en/Gtk/ChildNotifiedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr diff --git a/doc/en/Gtk/ChildNotifiedHandler.xml b/doc/en/Gtk/ChildNotifiedHandler.xml index 8e52bad06..298b4f3df 100644 --- a/doc/en/Gtk/ChildNotifiedHandler.xml +++ b/doc/en/Gtk/ChildNotifiedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ChildPropertyAttribute.xml b/doc/en/Gtk/ChildPropertyAttribute.xml index 4ef9382b5..382f80aae 100644 --- a/doc/en/Gtk/ChildPropertyAttribute.xml +++ b/doc/en/Gtk/ChildPropertyAttribute.xml @@ -1,39 +1,48 @@ + 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 - - System.Attribute - - + Constructor + + 2.12.0.0 + - Attribute constructor the (C/GObject) name of the child property + Attribute constructor - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Gtk/ClientEventArgs.xml b/doc/en/Gtk/ClientEventArgs.xml index 3820c2b2e..0c8653c31 100644 --- a/doc/en/Gtk/ClientEventArgs.xml +++ b/doc/en/Gtk/ClientEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventClient diff --git a/doc/en/Gtk/ClientEventHandler.xml b/doc/en/Gtk/ClientEventHandler.xml index ea81e23e4..263df79c6 100644 --- a/doc/en/Gtk/ClientEventHandler.xml +++ b/doc/en/Gtk/ClientEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Clipboard+RichTextReceivedFunc.xml b/doc/en/Gtk/Clipboard+RichTextReceivedFunc.xml index 9ef7cfbd8..4426aca03 100644 --- a/doc/en/Gtk/Clipboard+RichTextReceivedFunc.xml +++ b/doc/en/Gtk/Clipboard+RichTextReceivedFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Clipboard.xml b/doc/en/Gtk/Clipboard.xml index a2c331fe2..d0bf18b83 100644 --- a/doc/en/Gtk/Clipboard.xml +++ b/doc/en/Gtk/Clipboard.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -18,143 +24,85 @@ 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#.) - - GLib.Object - - - - - - Method - - Gtk.Clipboard - - - - - - Returns the clipboard object for the given selection. - an object of type - an object of type - See for complete details. - - - - - Method - - 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. - - - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - 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. - + Proctected constructor. + - - - Method - - Gtk.SelectionData - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Requests the contents of the clipboard using the given target. - an object of type - 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 - - 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. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property - - 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 . - - - - - Property - - 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 + System.Void - - - + - Deprecated method to set the contents of the clipboard. - an object of type - Replaced by the property. + 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 @@ -165,9 +113,33 @@ + + + + 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 @@ -176,9 +148,9 @@ - Returns the clipboard object for the given selection. 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. @@ -187,65 +159,110 @@ - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - - - - - + - 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 - a - a - a - - + 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.Boolean + System.Void - - - - + - 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 - a - a - a - a - The difference between this function and is that a is passed in. + 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.GType + 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 - GType Property. - a - Returns the native value for . + To be added + To be added + + Method + + 2.12.0.0 + System.Void @@ -254,88 +271,63 @@ + 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. - 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. - - + + + Method + + 2.12.0.0 + System.Void - - - - Fetch the clipboard's text and fire the function on it. - a - - - - - - Constructor - - - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - - - - System.Obsolete - - - - - - Constructor - - - - Proctected constructor. - + a + To be added + To be added + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + - - Returns a list of targets that are present on the clipboard, or - if there aren't any targets available. - - a - a - 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. - - - + a . + callback to invoke when data is prepared. + Requests the contents as Rich Text asynchronously. + + + Method + + 2.12.0.0 + System.Void @@ -343,11 +335,11 @@ + a Requests the contents of the clipboard as list of supported targets. When the list is later received, will be called. - a The "targets" parameter to will contain the resulting targets if the request succeeded, or if it failed. Added in GTK 2.4. @@ -355,54 +347,129 @@ - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Pixbuf + System.Void + + + - To be added - a - To be added - + a + Fetch the clipboard's text and fire the function on it. + - - - Event + + + + Method + + 2.12.0.0 + - Gtk.OwnerChangeHandler + System.Void - + + + + + a + a To be added To be added + + + + + Method + + 2.12.0.0 + - GLib.Signal("owner_change") + 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 + - Gdk.Pixbuf + System.Boolean - + + + + + - To be added - a - To be added - + 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 @@ -413,90 +480,158 @@ - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - - To be added - a - a - To be added - + 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 + - System.Boolean + Gtk.SelectionData - To be added - a - a - To be added - + 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 + - System.Boolean + Gdk.Pixbuf To be added - a + a To be added - - + + + Method + + 2.12.0.0 + - System.Void + System.Byte[] - + + - To be added - a - To be added - + 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.Void + System.Boolean - + + - 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. + 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 @@ -511,41 +646,45 @@ - - + + + Method + + 2.12.0.0 + - System.Byte[] + System.Boolean - - + - 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. - + a + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - - - + - a . - callback to invoke when data is prepared. - Requests the contents as Rich Text asynchronously. - - + 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. + diff --git a/doc/en/Gtk/ClipboardClearFunc.xml b/doc/en/Gtk/ClipboardClearFunc.xml index 12c1a9a92..85f392794 100644 --- a/doc/en/Gtk/ClipboardClearFunc.xml +++ b/doc/en/Gtk/ClipboardClearFunc.xml @@ -1,23 +1,24 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - Delegate for a function to run when the clipboard is cleared. - - System.Delegate - System.Void + + To be added. + Delegate for a function to run when the clipboard is cleared. + + + diff --git a/doc/en/Gtk/ClipboardGetFunc.xml b/doc/en/Gtk/ClipboardGetFunc.xml index 03278c689..787b4ca91 100644 --- a/doc/en/Gtk/ClipboardGetFunc.xml +++ b/doc/en/Gtk/ClipboardGetFunc.xml @@ -1,21 +1,14 @@ + gtk-sharp 2.12.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. - Delegate for a function to call when getting data from the clipboard. - TODO: add example code here - System.Delegate - @@ -24,4 +17,12 @@ 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 + + diff --git a/doc/en/Gtk/ClipboardImageReceivedFunc.xml b/doc/en/Gtk/ClipboardImageReceivedFunc.xml index ac5b32c18..6006a66f6 100644 --- a/doc/en/Gtk/ClipboardImageReceivedFunc.xml +++ b/doc/en/Gtk/ClipboardImageReceivedFunc.xml @@ -1,11 +1,22 @@ + 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. @@ -13,15 +24,5 @@ To be added - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/ClipboardReceivedFunc.xml b/doc/en/Gtk/ClipboardReceivedFunc.xml index bdb2c7219..708cf3ca8 100644 --- a/doc/en/Gtk/ClipboardReceivedFunc.xml +++ b/doc/en/Gtk/ClipboardReceivedFunc.xml @@ -1,20 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - Delegate that specifies the shape of methods that run when the clipboard receives data. - - System.Delegate - @@ -22,4 +16,11 @@ System.Void + + To be added. + To be added. + Delegate that specifies the shape of methods that run when the clipboard receives data. + + + diff --git a/doc/en/Gtk/ClipboardTargetsReceivedFunc.xml b/doc/en/Gtk/ClipboardTargetsReceivedFunc.xml index 21fe268a3..c7f6afdda 100644 --- a/doc/en/Gtk/ClipboardTargetsReceivedFunc.xml +++ b/doc/en/Gtk/ClipboardTargetsReceivedFunc.xml @@ -1,11 +1,23 @@ + 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. @@ -14,16 +26,5 @@ - - System.Delegate - - - System.Void - - - - - - diff --git a/doc/en/Gtk/ClipboardTextReceivedFunc.xml b/doc/en/Gtk/ClipboardTextReceivedFunc.xml index 435228455..a6e3d479e 100644 --- a/doc/en/Gtk/ClipboardTextReceivedFunc.xml +++ b/doc/en/Gtk/ClipboardTextReceivedFunc.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ If the clipboard is empty, text will be null. - - System.Delegate - - - - - - - System.Void - - \ No newline at end of file + diff --git a/doc/en/Gtk/ColorButton.xml b/doc/en/Gtk/ColorButton.xml index abc0c9567..65943a30c 100644 --- a/doc/en/Gtk/ColorButton.xml +++ b/doc/en/Gtk/ColorButton.xml @@ -1,122 +1,127 @@ + 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. - - 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. - - 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. + + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Protected method called when the color of the widget is set. + Constructor for public use. - + + Constructor + + 2.12.0.0 + - + - Protected constructor. - a + a , the color to make the button. + Constructor for public use. + + + + + Constructor + + 2.12.0.0 + System.Obsolete - - - - Constructor - + - Constructor; for internal use only. - a , pointer to underlying C object. - - - - - - Constructor - - - - Constructor for public use. + a + Protected constructor. - + + Constructor + + 2.12.0.0 + - + - Constructor for public use. - a , the color to make the button. + a , pointer to underlying C object. + Constructor; for internal use only. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("alpha") + + - GLib.GType + System.UInt16 - Do not use. - a + How transparent to make this button, if transparency is being used. + a - - + + + Property - - System.Boolean - - - - Whether or not to make this button transparent. - a - - + + 2.12.0.0 + - GLib.Property("use-alpha") + GLib.Property("color") - - - - Property Gdk.Color @@ -126,64 +131,109 @@ a + + + + + Event + + 2.12.0.0 + - GLib.Property("color") + GLib.Signal("color_set") + + System.EventHandler + + + + Event that happens when the color of this ColorButton is set. + + - - + + + Property + + 2.12.0.0 + - System.String + GLib.GType - The title for this button. - a + Do not use. + a + + + + + Method + + 2.12.0.0 + - GLib.Property("title") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideColorSet", Type=typeof(Gtk.ColorButton)) - - - - Property - System.UInt16 + System.Void - How transparent to make this button, if transparency is being used. - a + Protected method called when the color of the widget is set. + + + + + Property + + 2.12.0.0 + - GLib.Property("alpha") + GLib.Property("title") - - - - Event - System.EventHandler + System.String - Event that happens when the color of this ColorButton is set. + The title for this button. + a + + + + + Property + + 2.12.0.0 + - GLib.Signal("color_set") + GLib.Property("use-alpha") + + System.Boolean + + + + Whether or not to make this button transparent. + a + + diff --git a/doc/en/Gtk/ColorSelection.xml b/doc/en/Gtk/ColorSelection.xml index e467c021b..689faf947 100644 --- a/doc/en/Gtk/ColorSelection.xml +++ b/doc/en/Gtk/ColorSelection.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,56 +20,118 @@ This widget displays the 'selected' color as well as the previously selected color. - - Gtk.VBox - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("color_changed") + + + + System.EventHandler + - The main way to create a new ColorSelection + This event is raised when the current color changes in the ColorSelection. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("current-alpha") + + 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. - + 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 @@ -74,35 +142,36 @@ The currently selected color in this ColorSelection. - - - GLib.Property("current-color") - - - - + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - - + - Manage whether or not the ColorSelection displays a palette. - - if a palette is currently part of the ColorSelection, otherwise. - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("has-palette") + GLib.Property("has-opacity-control") - - - - Property System.Boolean @@ -114,65 +183,78 @@ if the user can edit opacity, otherwise. + + + + + Property + + 2.12.0.0 + - GLib.Property("has-opacity-control") + GLib.Property("has-palette") - - - - Property - System.UInt16 + System.Boolean - Manage the current alpha value of the ColorSelection. - The existing opacity of this ColorSelection. + Manage whether or not the ColorSelection displays a palette. + + if a palette is currently part of the ColorSelection, otherwise. - - - GLib.Property("current-alpha") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.Boolean - This event is raised when the current color changes in the ColorSelection. - + 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.Signal("color_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideColorChanged", Type=typeof(Gtk.ColorSelection)) - - - - Property - Gdk.Color + System.Void - - + - The color that was selected before the current one. - 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.Color[] @@ -180,15 +262,19 @@ - Parses a color palette string; the string is a colon-separated list of color names readable by 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 @@ -196,73 +282,62 @@ - Encodes a palette as a string; useful for persistent storage. 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.Boolean + System.UInt16 - + + - The current state of the ColorSelection - - if the user is currently dragging a color around, if the selection has stopped. + 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 + - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Method - - System.Void + Gdk.Color - - - 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. + The color that was selected before the current one. + a + + + + + + Property + + 2.12.0.0 + System.Obsolete - - - - Property Gtk.UpdateType @@ -272,11 +347,6 @@ Before it was deprecated, this property set the policy controlling when ColorChanged signals are emitted. - - - System.Obsolete - - diff --git a/doc/en/Gtk/ColorSelectionChangePaletteFunc.xml b/doc/en/Gtk/ColorSelectionChangePaletteFunc.xml index a56cf9549..bcd21c1dd 100644 --- a/doc/en/Gtk/ColorSelectionChangePaletteFunc.xml +++ b/doc/en/Gtk/ColorSelectionChangePaletteFunc.xml @@ -1,20 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - Delegate to specify function signature for methods that change the color palette in a . - - System.Delegate - @@ -22,4 +16,11 @@ System.Void + + To be added. + To be added. + Delegate to specify function signature for methods that change the color palette in a . + + + diff --git a/doc/en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml b/doc/en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml index 944a212cd..01a2024da 100644 --- a/doc/en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml +++ b/doc/en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml @@ -1,22 +1,15 @@ + gtk-sharp 2.12.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. - Do not use. - TODO: Not called by any other class; confirm that this code is necessary. - System.Delegate - @@ -25,4 +18,12 @@ 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. + + diff --git a/doc/en/Gtk/ColorSelectionDialog+ColorSelectionButton.xml b/doc/en/Gtk/ColorSelectionDialog+ColorSelectionButton.xml index 08a7370ec..7137a9b78 100644 --- a/doc/en/Gtk/ColorSelectionDialog+ColorSelectionButton.xml +++ b/doc/en/Gtk/ColorSelectionDialog+ColorSelectionButton.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -13,10 +14,18 @@ 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 + @@ -29,8 +38,12 @@ - + + Property + + 2.12.0.0 + Gtk.ColorSelectionDialog @@ -41,8 +54,4 @@ - - For internal use. - A button used in ; not needed by developers. - diff --git a/doc/en/Gtk/ColorSelectionDialog.xml b/doc/en/Gtk/ColorSelectionDialog.xml index 02329548a..d80018c11 100644 --- a/doc/en/Gtk/ColorSelectionDialog.xml +++ b/doc/en/Gtk/ColorSelectionDialog.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,28 +8,54 @@ 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. - - Gtk.Dialog - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -36,32 +63,28 @@ + Constructor + + 2.12.0.0 + - The main way to construct a new color selector. A title that will appear in the window's title bar. - - - - - - Property - - Gtk.Button - - - A button for providing help with this dialog - A standard . + The main way to construct a new color selector. - + + Property + + 2.12.0.0 + Gtk.Button @@ -71,21 +94,13 @@ - - - Property - - Gtk.Button - - - A button to confirm use of the selected color. - A standard . - - - - + + Property + + 2.12.0.0 + Gtk.ColorSelection @@ -98,8 +113,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -110,23 +129,37 @@ Returns the native value for . - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + Gtk.Button + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 . + - - - System.Obsolete - - diff --git a/doc/en/Gtk/Combo.xml b/doc/en/Gtk/Combo.xml index ecd42c136..84ac90dac 100644 --- a/doc/en/Gtk/Combo.xml +++ b/doc/en/Gtk/Combo.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,16 @@ 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 @@ -78,75 +89,93 @@ class ComboSample - - Gtk.HBox - - - - - - System.Obsolete - - - - - Method - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Sets the string to place in the field when a particular list item is selected. - an object of type - an object of type - This is not needed if the list item is a simple . + Creates a new . + This is the default contructor for - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - 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. + a + Protected constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - + + + + Property + + 2.12.0.0 + + + + GLib.Property("allow-empty") + + + + System.Boolean + + + - Creates a new . - This is the default contructor for + Specifies if an empty field is acceptable. + + if an empty value is considered valid. + - + + Property + + 2.12.0.0 + Gtk.Button @@ -157,150 +186,118 @@ class ComboSample - - - Property - - Gtk.Entry - - - The asociated with the . - an object of type - - - - - - + + + Property + + 2.12.0.0 + + + + GLib.Property("case-sensitive") + + System.Boolean - Does nothing. ---- REMOVE ---- See EnableArrowKeys. - a - + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + - 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. + 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 - - System.Boolean - - - - - See - a - - + + 2.12.0.0 + - GLib.Property("enable-arrows-always") + GLib.Property("enable-arrow-keys") - - - - Property System.Boolean - Specifies whether the value entered in the text entry field must match one of the values in the list. + Specifies if the arrow (cursor) keys can be used to step through the items 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. + if the arrow keys can be used to step through the items in the list. + This is by default. - - - GLib.Property("value-in-list") - - - - + + + Property - - System.Boolean - - - - - Specifies if an empty field is acceptable. - - if an empty value is considered valid. - - + + 2.12.0.0 + - GLib.Property("allow-empty") + GLib.Property("enable-arrows-always") - - - - Property 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. + See + a + - - - GLib.Property("enable-arrow-keys") - - - - + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.Entry - - - 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. + The asociated with the . + an object of type + + - - - GLib.Property("case-sensitive") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -311,27 +308,29 @@ class ComboSample Returns the native value for . - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + Gtk.Widget + - Protected constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + To be added. + To be added. + To be added. - - - System.Obsolete - - - + + Property + + 2.12.0.0 + System.String[] @@ -341,9 +340,34 @@ class ComboSample + + + + 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 @@ -352,23 +376,72 @@ class ComboSample - Whether entered values must already be present in the list. a a + Whether entered values must already be present in the list. - - + + + Property + + 2.12.0.0 + - Gtk.Widget + System.Boolean + + - To be added. - To be added. - To be added. + 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. diff --git a/doc/en/Gtk/ComboBox.xml b/doc/en/Gtk/ComboBox.xml index ad108c49b..670be4cc6 100644 --- a/doc/en/Gtk/ComboBox.xml +++ b/doc/en/Gtk/ComboBox.xml @@ -1,11 +1,23 @@ + 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. @@ -61,164 +73,212 @@ class ComboBoxSample - - Gtk.Bin - - - - Gtk.CellEditable - - - Gtk.CellLayout - - - - - Method - - Gtk.ComboBox - + + + + Constructor + + 2.12.0.0 + + - 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 . + 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"); + + + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + a + Internal constructor + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Inserts at in the list of strings stored in . - An index to insert . - a to insert - - - You can only use this function with combo boxes constructed with . - - - + a + Creates a new that uses + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Prepends to the list of strings stored in the . - a - - - You can only use this function with combo boxes constructed with . - - - + a + Internal constructor + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + - 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. + A list of string values for the combo entries. + Creates a Combo box from a list of values. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("active") + + - System.Void + System.Int32 - - - + - Removes text at in the list of strings stored in . - a - - - You can only use this function with combo boxes constructed with . - - - + The index of the currently active item. + a + -1 if there is no active item. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - + - Gets the iter that points to the current active item, if it exists. - a - a , if it exists. - + 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 - + + + - Sets the current active item to be the one referenced by iter. - a + 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. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("add-tearoffs") + + - System.Void + System.Boolean - 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. + To be added + a + To be added + + Method + + 2.12.0.0 + System.Void @@ -226,8 +286,8 @@ class ComboBoxSample - Appends to the list of strings stored in . a + Appends to the list of strings stored in . You can only use this function with combo boxes constructed with . @@ -236,97 +296,68 @@ class ComboBoxSample - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.CellRenderer[] - - - - - Re-inserts at . - a - a - - Note that has already to be packed - into the combo box for this to function properly. - - i - - - - Method - - System.Void - - - - - - - Adds the to the end of the combo box. - a - a - - If is , then the - is allocated no more space than it needs. Any unused space is - divided evenly between cells for which is . - + To be added. + To be added. + To be added. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + - System.Void + System.EventHandler - - - - + - Packs the into the beginning of the combo box. - a - a - - If is , then the - is allocated no more space than it needs. Any unused space is - divided evenly between cells for which is . - + Emitted when the selected item is changed. + - - + + + Method + + 2.12.0.0 + System.Void - - - - - + - - Adds an attribute mapping to the list in this combo box. - - a - a , parameter on to be set from the value - a , column of the model to get a value from. + Unsets all the mappings on all renderers for 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. - + + Method + + 2.12.0.0 + System.Void @@ -334,123 +365,126 @@ class ComboBoxSample + a Clears all existing attributes previously set with . - a - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("column-span-column") + + - System.Void + System.Int32 - Unsets all the mappings on all renderers for this combo box. - - + The column with column span information. + a + The column span column contains integers which indicate how many columns an item should span. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("editing_done") + + - System.Void + System.EventHandler - - - - + - Sets a data function to use for the combo box. - a - a - - 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. - + To be added + To be added + - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + System.Void + + - Internal constructor - a - + To be added + To be added + + + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("focus-on-click") - - - - Constructor - - - - - - Internal constructor - a - - - - - - Constructor - + + System.Boolean + - 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"); - - - + 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. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + - Creates a new that uses - a + 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 @@ -461,240 +495,342 @@ store.AppendValues ("ComboBox"); Returns the native GLib.GType value for Combo. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("has-frame") + + - System.Int32 + System.Boolean - Wrap width for laying out the items in a grid. - a + 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 . - -Allowed values: >= 0 - - -Default value: 0 - + + You can only use this function with combo boxes constructed with . + + + + + + + Property + + 2.12.0.0 + - GLib.Property("wrap-width") + GLib.Property("model") - - - - Property - System.Int32 + Gtk.TreeModel - The column with column span information. - a - The column span column contains integers which indicate how many columns an item should span. + 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. + - - - GLib.Property("column-span-column") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.ComboBox - The index of the currently active item. - a - -1 if there is no active item. + 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.Property("active") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.ComboBox)) - - - - Property - System.Int32 + System.Void - The column with row span information - a - The row span column contains integers which indicate how many rows an item should span. + 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.Property("row-span-column") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingDone", Type=typeof(Gtk.ComboBox)) - - - - Property - Gtk.TreeModel + System.Void - 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. - + 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.Property("model") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideWidgetRemoved", Type=typeof(Gtk.ComboBox)) - - - - Event - System.EventHandler + System.Void - Emitted when the selected item is changed. - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. + - - - GLib.Signal("changed") - - - - + + + Method + + 2.12.0.0 + System.Void - - - - System.ParamArray - - - + - Sets the attribute to column bindings for a renderer. a - a - The array should consist of pairs of attribute name and column indexes. + 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 . + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + 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 - To be added - a - To be added - + 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. - - - GLib.Property("has-frame") - - - - + + + + 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 + - System.Boolean + Atk.Object To be added - a + a To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("add-tearoffs") + GLib.Property("popup-shown") - - - - Property 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. - + Indicates if the popup is currently visible. + if the popup is visible. + + - - - GLib.Property("focus-on-click") - - - - - Property + + + + Method + + 2.12.0.0 + - Atk.Object + System.Void - + + + - To be added - a - To be added - + a + Prepends to the list of strings stored in the . + + + You can only use this function with combo boxes constructed with . + + + - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + - The currently active string in . - a + a + Removes text at in the list of strings stored in . - if no active item is selected. -You can only use this function with combo boxes constructed with . - - + + You can only use this function with combo boxes constructed with . + + + - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void @@ -702,33 +838,38 @@ Default value: 0 To be added - - - GLib.Signal("editing_done") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + - To be added - To be added - - - - - GLib.Signal("remove_widget") - - + 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 @@ -740,89 +881,128 @@ Default value: 0 - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("row-span-column") + + - System.Void + System.Int32 - To be added - To be added - + 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 - + + + - To be added - To be added - + a + Sets the current active item to be the one referenced by iter. + + - - + + + Method + + 2.12.0.0 + System.Void - + + + + + System.ParamArray + + + - To be added - a - To be added - + 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 - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - + 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 - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - - - - - Constructor - + - A list of string values for the combo entries. - Creates a Combo box from a list of values. - + a + To be added + To be added + - + + Property + + 2.12.0.0 + GLib.Property("tearoff-title") @@ -838,35 +1018,55 @@ Default value: 0 - - - Property + + + + Event + + 2.12.0.0 + - GLib.Property("popup-shown") + GLib.Signal("remove_widget") - System.Boolean + System.EventHandler + - Indicates if the popup is currently visible. - if the popup is visible. - - + To be added + To be added + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("wrap-width") + + - Gtk.CellRenderer[] + System.Int32 + - To be added. - To be added. - To be added. - + Wrap width for laying out the items in a grid. + a + + +Allowed values: >= 0 + + +Default value: 0 + + diff --git a/doc/en/Gtk/ComboBoxEntry.xml b/doc/en/Gtk/ComboBoxEntry.xml index fcef05faf..a12eeba87 100644 --- a/doc/en/Gtk/ComboBoxEntry.xml +++ b/doc/en/Gtk/ComboBoxEntry.xml @@ -1,94 +1,134 @@ + 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. - - A text entry field with a dropdown list - - - Gtk.ComboBox + + A text entry field with a dropdown list + + + - - - Method - - Gtk.ComboBoxEntry - + + + + Constructor + + 2.12.0.0 + + - Convenience function which constructs a new editable text combo box, which is a just displaying strings. - a + Creates a new which has a as its child. + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Internal constructor a + Internal constructor - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor - + + Constructor - - + + 2.12.0.0 + + + + - Creates a new which has a as its child. + a list of strings for the dropdown list. + Creates a combo entry from a list of entries. + Constructor + + 2.12.0.0 + - Creates a new which has a as child and a list of strings as popup. 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 @@ -99,45 +139,42 @@ Returns the native value for . - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.ComboBoxEntry - the column in the model which the combobox is using to get the strings from. - a + 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") - - - - Constructor - - - - - a list of strings for the dropdown list. - Creates a combo entry from a list of entries. - - - - - - Property - Gtk.Entry + System.Int32 + - The combo box's child. - The . + the column in the model which the combobox is using to get the strings from. + a diff --git a/doc/en/Gtk/CommitArgs.xml b/doc/en/Gtk/CommitArgs.xml index 4ac6ff7e0..6849d85b8 100644 --- a/doc/en/Gtk/CommitArgs.xml +++ b/doc/en/Gtk/CommitArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Gtk/CommitHandler.xml b/doc/en/Gtk/CommitHandler.xml index e8a58c35d..55fa4e884 100644 --- a/doc/en/Gtk/CommitHandler.xml +++ b/doc/en/Gtk/CommitHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ConfigureEventArgs.xml b/doc/en/Gtk/ConfigureEventArgs.xml index 457a1dfb1..7d55dfd44 100644 --- a/doc/en/Gtk/ConfigureEventArgs.xml +++ b/doc/en/Gtk/ConfigureEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventConfigure diff --git a/doc/en/Gtk/ConfigureEventHandler.xml b/doc/en/Gtk/ConfigureEventHandler.xml index 972b6cf6b..86b078419 100644 --- a/doc/en/Gtk/ConfigureEventHandler.xml +++ b/doc/en/Gtk/ConfigureEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ConfirmOverwriteArgs.xml b/doc/en/Gtk/ConfirmOverwriteArgs.xml index 172578df9..5a4676136 100644 --- a/doc/en/Gtk/ConfirmOverwriteArgs.xml +++ b/doc/en/Gtk/ConfirmOverwriteArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ 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. @@ -19,9 +29,4 @@ - - ConfirmOverwrite event arguments. - When implementing a , you need to set the inherited property of this class with an appropriate value. - - diff --git a/doc/en/Gtk/ConfirmOverwriteHandler.xml b/doc/en/Gtk/ConfirmOverwriteHandler.xml index c14a1a24a..4fb02ac1d 100644 --- a/doc/en/Gtk/ConfirmOverwriteHandler.xml +++ b/doc/en/Gtk/ConfirmOverwriteHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/ConnectProxyArgs.xml b/doc/en/Gtk/ConnectProxyArgs.xml index 7b02d4b90..a256f83b9 100644 --- a/doc/en/Gtk/ConnectProxyArgs.xml +++ b/doc/en/Gtk/ConnectProxyArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Action @@ -43,8 +52,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/ConnectProxyHandler.xml b/doc/en/Gtk/ConnectProxyHandler.xml index 029ffdff6..d858447e1 100644 --- a/doc/en/Gtk/ConnectProxyHandler.xml +++ b/doc/en/Gtk/ConnectProxyHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/Container+CallbackInvoker.xml b/doc/en/Gtk/Container+CallbackInvoker.xml index d8601fa79..a1eb08306 100644 --- a/doc/en/Gtk/Container+CallbackInvoker.xml +++ b/doc/en/Gtk/Container+CallbackInvoker.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,18 @@ System.ValueType + + An class to invoke callback methods; mostly internal. Used by . + + + Method + + 2.12.0.0 + System.Void @@ -25,8 +34,4 @@ - - An class to invoke callback methods; mostly internal. Used by . - - diff --git a/doc/en/Gtk/Container+ContainerChild.xml b/doc/en/Gtk/Container+ContainerChild.xml index c9d65799c..915310d40 100644 --- a/doc/en/Gtk/Container+ContainerChild.xml +++ b/doc/en/Gtk/Container+ContainerChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ System.Object + + A mixin class for expressing the relation between a container + widget and its child widget(s). + + + + + Constructor + + 2.12.0.0 + @@ -23,62 +35,71 @@ To be added. - - + + + Field + + 2.12.0.0 + - Gtk.Container + Gtk.Widget - Protected internal data; the parent container. + Protected internal data; the child widget. - - - Field + + + + Property + + 2.12.0.0 + Gtk.Widget - Protected internal data; the child widget. + The child widget. + a - - - Property + + + + Field + + 2.12.0.0 + Gtk.Container - The parent container. - a + Protected internal data; the parent container. - - + + + Property + + 2.12.0.0 + - Gtk.Widget + Gtk.Container - The child widget. - a + The parent container. + a - - A mixin class for expressing the relation between a container - widget and its child widget(s). - - - - diff --git a/doc/en/Gtk/Container.xml b/doc/en/Gtk/Container.xml index 0c225a43b..3377e61cb 100644 --- a/doc/en/Gtk/Container.xml +++ b/doc/en/Gtk/Container.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 @@ -27,54 +36,70 @@ - - Gtk.Widget - - - - System.Collections.IEnumerable - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Attempts to resize this container. - + Protected constructor for chaining by descendant classes. + + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Gets the values of one or more child properties for child and container. - 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. + 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 @@ -82,8 +107,8 @@ - Adds a to the . 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. @@ -91,69 +116,117 @@ - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("add") + + - System.Void + Gtk.AddedHandler - - - + - Removes a from the . - an object of type + 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 - must be inside . + Enumerates all of the container's children, including those widgets that are + internal implementation details of the container. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("border-width") + + - System.Void + System.UInt32 - + + - Removes a focus chain. - Removes a focus chain explicitly set with . + This container's border width. + A + - - + + + Method + + 2.12.0.0 + System.Void - Tries to resize the child widgets of this container. + Attempts to resize this container. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("child") + + - System.Void + Gtk.Widget - - - - Sets a child property of a . - a child of this - the child property name - the value to set to - You will not normally need to use this method; Gtk# automatically generates child property accessors for all subclasses. + A child widget for this container. + an object of type + + Method + + 2.12.0.0 + GLib.Value @@ -162,44 +235,103 @@ - Gets a child property of a . a child of this the child property name - You will not normally need to use this method; Gtk# automatically generates child property accessors for all subclasses. + 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 - + + - Send synthetic expose events to all children that do not have their own . an object of type - 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. - 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. - + 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. + - In most cases, a can either simply inherit the expose implementation from , or do some drawing and then chain to the expose implementation from . - + 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 @@ -209,59 +341,69 @@ - Sets one or more child properties for child and . 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 . - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildType", Type=typeof(Gtk.Container)) + + + + GLib.GType + + - Internal constructor - Pointer to the C object. + Returns the type of children supported by this container. + a - This is an internal constructor, and should not be used by user code. - - - - - - Property - - Gtk.Adjustment - - - - - The vertical focus adjustment. - an object of type - + 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.Adjustment + Gtk.Widget[] - - + - The horizontal focus adjustment. - an object of type - + 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 @@ -274,150 +416,206 @@ - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("set-focus-child") + + - System.Boolean + Gtk.FocusChildSetHandler - - + - The redraw-reallocation flag. Containers requesting - reallocation redraws get automatically redrawn if any of their - children changed allocation. - an object of type + Raised when the focus moves to a child widget of this container. - - + + + Property + + 2.12.0.0 + - Gtk.Widget + Gtk.Adjustment - A child widget for this container. - an object of type + The horizontal focus adjustment. + an object of type - - - GLib.Property("child") - - - - + + + Property + + 2.12.0.0 + - Gtk.ResizeMode + Gtk.Adjustment - How this container behaves when resized. - an object of type + The vertical focus adjustment. + an object of type - - - GLib.Property("resize-mode") - - - - - Property + + + + Method + + 2.12.0.0 + - System.UInt32 + System.Void + - This container's border width. - A - + 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.Property("border-width") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideForall", Type=typeof(Gtk.Container)) - - - - Event - Gtk.AddedHandler + System.Void - + + + + - 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. + 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.Signal("add") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideForallOld", Type=typeof(Gtk.Container)) + + + System.Obsolete("Override the ForAll(bool,Gtk.Callback) method instead") - - - - Event - Gtk.FocusChildSetHandler + System.Void - + + + + - Raised when the focus moves to a child widget of this container. - + a , whether to include "internal" children when running the callback. + a + Run a given callback for every object inside this container. + + Deprecated: overload instead. + - - - GLib.Signal("set-focus-child") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RemovedHandler + System.Void - + + + - 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. + 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 . + - - - GLib.Signal("remove") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Collections.IEnumerator - Raised when this container's resizability is queried. - + 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 +} + + + + - - - GLib.Signal("check_resize") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -428,21 +626,39 @@ Returns the native value for . - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Container+ContainerChild - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -450,14 +666,23 @@ - Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -465,258 +690,223 @@ - Default handler for the event. a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - + + + Method - - System.Void - + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRemoved", Type=typeof(Gtk.Container)) + + + + System.Void + - Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + 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 - - - + - 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. - a - Most applications should use instead of this method. + 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 - - - - Invokes a callback function on each non-internal child of this container. See for more details on internal children. - a - Most applications should use this method instead of . - - - - - - Constructor - - - + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - - - - System.Obsolete - - - - - - Property - - Gtk.Widget[] - - - - Obtains an array of the container's (non-internal) children. - An array of non-internal children. + an object of type + an object of type + Send synthetic expose events to all children that do not have their own . - 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. - + 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. + - 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 -} - - + 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 . + - - - Method + + + + Property + + 2.12.0.0 + - System.Collections.IEnumerator + System.Boolean - + + - 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 -} - - - - + The redraw-reallocation flag. Containers requesting + reallocation redraws get automatically redrawn if any of their + children changed allocation. + an object of type + - - - Property + + + + Method + + 2.12.0.0 + - System.Collections.IEnumerable + System.Void - + + + - Allows you to enumerate all of the container's children. - an + an object of type + Removes a from the . - Enumerates all of the container's children, including those widgets that are - internal implementation details of the container. + must be inside . - - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("remove") + + - Gtk.Widget[] + Gtk.RemovedHandler - 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 . - - + 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. - - - Constructor - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("check_resize") + + + + System.EventHandler + - Protected constructor for chaining by descendant classes. - - + Raised when this container's resizability is queried. + - - + + + Method + + 2.12.0.0 + System.Void - - - - + - Run a given callback for every object inside this container. - a , whether to include "internal" children when running the callback. - a - - Deprecated: overload instead. - + Tries to resize the child widgets of this container. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("resize-mode") + + - System.Void + Gtk.ResizeMode - - - Run a given callback for every object inside this container. - a , whether to include "internal" children when running the callback. - a - - Overload this in subclasses of Gtk.Container to implement the - and - methods. - - + How this container behaves when resized. + an object of type + - - + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - 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 - - Gtk.Container+ContainerChild - - - - - - Access for child properties - a child of this container - a - The base type is not very useful; you will normally need to cast it to a subclass of the appropriate type. - + Removes a focus chain. + Removes a focus chain explicitly set with . diff --git a/doc/en/Gtk/CornerType.xml b/doc/en/Gtk/CornerType.xml index 5f2861dee..fb411be7f 100644 --- a/doc/en/Gtk/CornerType.xml +++ b/doc/en/Gtk/CornerType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,52 +16,72 @@ 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 right and bottom of the widget (default behaviour). + 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 right of the widget. + Place the scrollbars on the top and left of the widget. - - + + + Field + + 2.12.0.0 + Gtk.CornerType - Place the scrollbars on the left and bottom of the widget. + 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 top and left of the widget. + Place the scrollbars on the left and bottom of the widget. diff --git a/doc/en/Gtk/CreateCustomWidgetArgs.xml b/doc/en/Gtk/CreateCustomWidgetArgs.xml index 6621e54f9..355c69344 100644 --- a/doc/en/Gtk/CreateCustomWidgetArgs.xml +++ b/doc/en/Gtk/CreateCustomWidgetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,22 @@ 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. @@ -19,12 +32,4 @@ - - 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. - - - diff --git a/doc/en/Gtk/CreateCustomWidgetHandler.xml b/doc/en/Gtk/CreateCustomWidgetHandler.xml index 85355c853..f4314b6ef 100644 --- a/doc/en/Gtk/CreateCustomWidgetHandler.xml +++ b/doc/en/Gtk/CreateCustomWidgetHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/CreateMenuProxyArgs.xml b/doc/en/Gtk/CreateMenuProxyArgs.xml index caba7e4b2..f24a915aa 100644 --- a/doc/en/Gtk/CreateMenuProxyArgs.xml +++ b/doc/en/Gtk/CreateMenuProxyArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/CreateMenuProxyHandler.xml b/doc/en/Gtk/CreateMenuProxyHandler.xml index 6a113eedf..1ec115c42 100644 --- a/doc/en/Gtk/CreateMenuProxyHandler.xml +++ b/doc/en/Gtk/CreateMenuProxyHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/CreateWindowArgs.xml b/doc/en/Gtk/CreateWindowArgs.xml index 332d62b4e..5c4e17c78 100644 --- a/doc/en/Gtk/CreateWindowArgs.xml +++ b/doc/en/Gtk/CreateWindowArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -43,8 +61,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -55,9 +77,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/CreateWindowHandler.xml b/doc/en/Gtk/CreateWindowHandler.xml index 2cf3fdde2..d853f33ea 100644 --- a/doc/en/Gtk/CreateWindowHandler.xml +++ b/doc/en/Gtk/CreateWindowHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/CurrentParagraphAlignmentChangedArgs.xml b/doc/en/Gtk/CurrentParagraphAlignmentChangedArgs.xml index b6bf297f1..403856057 100644 --- a/doc/en/Gtk/CurrentParagraphAlignmentChangedArgs.xml +++ b/doc/en/Gtk/CurrentParagraphAlignmentChangedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.HTMLParagraphAlignment diff --git a/doc/en/Gtk/CurrentParagraphAlignmentChangedHandler.xml b/doc/en/Gtk/CurrentParagraphAlignmentChangedHandler.xml index 21f7b4e24..1a60b8625 100644 --- a/doc/en/Gtk/CurrentParagraphAlignmentChangedHandler.xml +++ b/doc/en/Gtk/CurrentParagraphAlignmentChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/CurrentParagraphIndentationChangedArgs.xml b/doc/en/Gtk/CurrentParagraphIndentationChangedArgs.xml index c5d18611a..43d8518f7 100644 --- a/doc/en/Gtk/CurrentParagraphIndentationChangedArgs.xml +++ b/doc/en/Gtk/CurrentParagraphIndentationChangedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.UInt32 diff --git a/doc/en/Gtk/CurrentParagraphIndentationChangedHandler.xml b/doc/en/Gtk/CurrentParagraphIndentationChangedHandler.xml index ae984fb17..0fc8513f7 100644 --- a/doc/en/Gtk/CurrentParagraphIndentationChangedHandler.xml +++ b/doc/en/Gtk/CurrentParagraphIndentationChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/CurrentParagraphStyleChangedArgs.xml b/doc/en/Gtk/CurrentParagraphStyleChangedArgs.xml index 99ec35b23..3a4cf7eb5 100644 --- a/doc/en/Gtk/CurrentParagraphStyleChangedArgs.xml +++ b/doc/en/Gtk/CurrentParagraphStyleChangedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.HTMLParagraphStyle diff --git a/doc/en/Gtk/CurrentParagraphStyleChangedHandler.xml b/doc/en/Gtk/CurrentParagraphStyleChangedHandler.xml index ddab76aab..f8135ed88 100644 --- a/doc/en/Gtk/CurrentParagraphStyleChangedHandler.xml +++ b/doc/en/Gtk/CurrentParagraphStyleChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/CursorMoveArgs.xml b/doc/en/Gtk/CursorMoveArgs.xml index 3d5744122..e56a3dfc9 100644 --- a/doc/en/Gtk/CursorMoveArgs.xml +++ b/doc/en/Gtk/CursorMoveArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -28,28 +33,36 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 3.16.0.0 + - Gtk.HTMLCursorSkipType + Gtk.DirectionType - The kind of skip being done in this cursor move. - A - Approximately: whether to skip by characters, words, pages, or the whole document. + The direction to move the cursor. + A + - - + + + Property + + 3.16.0.0 + - Gtk.DirectionType + Gtk.HTMLCursorSkipType - The direction to move the cursor. - A - + The kind of skip being done in this cursor move. + A + Approximately: whether to skip by characters, words, pages, or the whole document. diff --git a/doc/en/Gtk/CursorMoveHandler.xml b/doc/en/Gtk/CursorMoveHandler.xml index 3fb4e4062..2b23f8f5f 100644 --- a/doc/en/Gtk/CursorMoveHandler.xml +++ b/doc/en/Gtk/CursorMoveHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/CursorOnMatchArgs.xml b/doc/en/Gtk/CursorOnMatchArgs.xml index 52d848e9d..6e301ed0c 100644 --- a/doc/en/Gtk/CursorOnMatchArgs.xml +++ b/doc/en/Gtk/CursorOnMatchArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeIter @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeModel @@ -43,9 +61,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/CursorOnMatchHandler.xml b/doc/en/Gtk/CursorOnMatchHandler.xml index 5a7f6fc58..718e4953e 100644 --- a/doc/en/Gtk/CursorOnMatchHandler.xml +++ b/doc/en/Gtk/CursorOnMatchHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Curve.xml b/doc/en/Gtk/Curve.xml index a1e92be09..abe4480a0 100644 --- a/doc/en/Gtk/Curve.xml +++ b/doc/en/Gtk/Curve.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -18,81 +24,121 @@ - - Gtk.DrawingArea - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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. - - + Constructor. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - - + - Sets the minimum and maximum x and y values of the curve. - 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. The curve is also reset with a call to . - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + 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 + - Constructor. - + 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 @@ -108,28 +154,56 @@ - - - Property + + + + Method + + 2.12.0.0 + - System.Single + System.Void + + - The maximum y value of the gamma curve. - A max y value. - + 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-y") + GLib.Property("max-x") - - - - Property System.Single @@ -140,34 +214,42 @@ A max x value. + + + + + Property + + 2.12.0.0 + - GLib.Property("max-x") + GLib.Property("max-y") - - - - Property System.Single - The minimum y value of the gamma curve. - A min y value. + The maximum y value of the gamma curve. + A max y value. + + + + + Property + + 2.12.0.0 + - GLib.Property("min-y") + GLib.Property("min-x") - - - - Property System.Single @@ -178,119 +260,107 @@ A min x value. + + + + + Property + + 2.12.0.0 + - GLib.Property("min-x") + GLib.Property("min-y") - - - - Property - Gtk.CurveType + System.Single - 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. - - + The minimum y value of the gamma curve. + A min y value. + - - - GLib.Property("curve-type") - - - - - Event - - 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 . - - - + + + + Method + + 2.12.0.0 + - GLib.Signal("curve_type_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurveTypeChanged", Type=typeof(Gtk.Curve)) - - - - Property - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 - 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. + 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. + + - - - System.Obsolete - - - - + + + Method + + 2.12.0.0 + System.Void - - + + + + - To be added. - To be added. - To be added. - To be added. + 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 diff --git a/doc/en/Gtk/CurveType.xml b/doc/en/Gtk/CurveType.xml index 539719554..7248b1c78 100644 --- a/doc/en/Gtk/CurveType.xml +++ b/doc/en/Gtk/CurveType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The method to use when making the curve. - - System.Enum @@ -19,40 +16,56 @@ GLib.GType(typeof(Gtk.CurveTypeGType)) + + The method to use when making the curve. + + - - + + + Field + + 2.12.0.0 + Gtk.CurveType - linear interpolation + free form curve - - + + + Field + + 2.12.0.0 + Gtk.CurveType - spline interpolation + linear interpolation - - + + + Field + + 2.12.0.0 + Gtk.CurveType - free form curve + spline interpolation diff --git a/doc/en/Gtk/CustomWidgetApplyArgs.xml b/doc/en/Gtk/CustomWidgetApplyArgs.xml index 942ce6bf3..051d74452 100644 --- a/doc/en/Gtk/CustomWidgetApplyArgs.xml +++ b/doc/en/Gtk/CustomWidgetApplyArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/CustomWidgetApplyHandler.xml b/doc/en/Gtk/CustomWidgetApplyHandler.xml index eebf5d517..13885ad17 100644 --- a/doc/en/Gtk/CustomWidgetApplyHandler.xml +++ b/doc/en/Gtk/CustomWidgetApplyHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/CycleChildFocusArgs.xml b/doc/en/Gtk/CycleChildFocusArgs.xml index f515b342e..764c71bfe 100644 --- a/doc/en/Gtk/CycleChildFocusArgs.xml +++ b/doc/en/Gtk/CycleChildFocusArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/CycleChildFocusHandler.xml b/doc/en/Gtk/CycleChildFocusHandler.xml index 79db25cc7..36d939f44 100644 --- a/doc/en/Gtk/CycleChildFocusHandler.xml +++ b/doc/en/Gtk/CycleChildFocusHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/CycleHandleFocusArgs.xml b/doc/en/Gtk/CycleHandleFocusArgs.xml index 1a92be493..97bf44849 100644 --- a/doc/en/Gtk/CycleHandleFocusArgs.xml +++ b/doc/en/Gtk/CycleHandleFocusArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/CycleHandleFocusHandler.xml b/doc/en/Gtk/CycleHandleFocusHandler.xml index 5e692c541..215f6345e 100644 --- a/doc/en/Gtk/CycleHandleFocusHandler.xml +++ b/doc/en/Gtk/CycleHandleFocusHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DeleteEventArgs.xml b/doc/en/Gtk/DeleteEventArgs.xml index 453ef7045..dfcbc1b0f 100644 --- a/doc/en/Gtk/DeleteEventArgs.xml +++ b/doc/en/Gtk/DeleteEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -16,14 +21,14 @@ To keep a from closing, set 's .RetVal to true. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -32,8 +37,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/DeleteEventHandler.xml b/doc/en/Gtk/DeleteEventHandler.xml index ca5740e9a..d93225aea 100644 --- a/doc/en/Gtk/DeleteEventHandler.xml +++ b/doc/en/Gtk/DeleteEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DeleteFromCursorArgs.xml b/doc/en/Gtk/DeleteFromCursorArgs.xml index 78905233c..eddc405f5 100644 --- a/doc/en/Gtk/DeleteFromCursorArgs.xml +++ b/doc/en/Gtk/DeleteFromCursorArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -27,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -43,8 +48,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -55,8 +64,12 @@ - + + Property + + 2.12.0.0 + Gtk.DeleteType diff --git a/doc/en/Gtk/DeleteFromCursorHandler.xml b/doc/en/Gtk/DeleteFromCursorHandler.xml index 961edf753..4dd36d5f5 100644 --- a/doc/en/Gtk/DeleteFromCursorHandler.xml +++ b/doc/en/Gtk/DeleteFromCursorHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -29,15 +40,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DeleteRangeArgs.xml b/doc/en/Gtk/DeleteRangeArgs.xml index 47d8e4ba6..e7760e0d3 100644 --- a/doc/en/Gtk/DeleteRangeArgs.xml +++ b/doc/en/Gtk/DeleteRangeArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextIter @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextIter diff --git a/doc/en/Gtk/DeleteRangeHandler.xml b/doc/en/Gtk/DeleteRangeHandler.xml index b9eac5c0d..de2fe1820 100644 --- a/doc/en/Gtk/DeleteRangeHandler.xml +++ b/doc/en/Gtk/DeleteRangeHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DeleteType.xml b/doc/en/Gtk/DeleteType.xml index 68239b93b..04b8d669c 100644 --- a/doc/en/Gtk/DeleteType.xml +++ b/doc/en/Gtk/DeleteType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by TextView - - - This enumeration is used by to see decide how delete behaves. - - - System.Enum @@ -23,10 +16,22 @@ 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 @@ -40,103 +45,131 @@ - - + + + Field + + 2.12.0.0 + Gtk.DeleteType - + + - Delete until the end of a word + Delete from the cursor to the end of the line. - - 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 the whole line. + Delete lines from the display (i.e., not lines as measured by carriage returns.) - - + + + Field + + 2.12.0.0 + Gtk.DeleteType - + + - Delete all the whitespace before the cursor. + Delete to the end of the paragraph. - - Delete all the whitespace before the cursor. - - - + + + Field + + 2.12.0.0 + Gtk.DeleteType - - + - Delete words. + Delete the whole line. - - + + + Field + + 2.12.0.0 + Gtk.DeleteType - - + - Delete lines from the display (i.e., not lines as measured by carriage returns.) + Delete all the whitespace before the cursor. + + Delete all the whitespace before the cursor. + - - + + + Field + + 2.12.0.0 + Gtk.DeleteType - - + - Delete from the cursor to the end of the line. + 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 to the end of the paragraph. + Delete words. diff --git a/doc/en/Gtk/DestDefaults.xml b/doc/en/Gtk/DestDefaults.xml index 132239ad1..6fddce89f 100644 --- a/doc/en/Gtk/DestDefaults.xml +++ b/doc/en/Gtk/DestDefaults.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,15 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - - 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. - - - - System.Enum @@ -27,28 +19,41 @@ 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 for a widget, during a drag, Gtk+ will check if the - drag matches this widget's list of possible targets and - actions. - + If set, specifies that all default actions should be taken. - - + + + Field + + 2.12.0.0 + Gtk.DestDefaults @@ -56,17 +61,25 @@ - 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. + 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 @@ -74,28 +87,32 @@ - 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 . + 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, specifies that all default actions should be taken. + + If set for a widget, during a drag, Gtk+ will check if the + drag matches this widget's list of possible targets and + actions. + diff --git a/doc/en/Gtk/DestroyEventArgs.xml b/doc/en/Gtk/DestroyEventArgs.xml index 60619aaf7..072895dbe 100644 --- a/doc/en/Gtk/DestroyEventArgs.xml +++ b/doc/en/Gtk/DestroyEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/DestroyEventHandler.xml b/doc/en/Gtk/DestroyEventHandler.xml index 40ebb8982..93b38f2d1 100644 --- a/doc/en/Gtk/DestroyEventHandler.xml +++ b/doc/en/Gtk/DestroyEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DestroyNotify.xml b/doc/en/Gtk/DestroyNotify.xml index 956c029d5..864f03d27 100644 --- a/doc/en/Gtk/DestroyNotify.xml +++ b/doc/en/Gtk/DestroyNotify.xml @@ -1,24 +1,25 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - 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. + + + diff --git a/doc/en/Gtk/DetailsAcquiredArgs.xml b/doc/en/Gtk/DetailsAcquiredArgs.xml index 83f475952..b4d14b23e 100644 --- a/doc/en/Gtk/DetailsAcquiredArgs.xml +++ b/doc/en/Gtk/DetailsAcquiredArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -32,11 +48,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/DetailsAcquiredHandler.xml b/doc/en/Gtk/DetailsAcquiredHandler.xml index 1bef66acb..b39726268 100644 --- a/doc/en/Gtk/DetailsAcquiredHandler.xml +++ b/doc/en/Gtk/DetailsAcquiredHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Dialog.xml b/doc/en/Gtk/Dialog.xml index ddc04082f..682e986f4 100644 --- a/doc/en/Gtk/Dialog.xml +++ b/doc/en/Gtk/Dialog.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gtk.Window + + + Creates popup windows. @@ -144,136 +150,72 @@ namespace GtkDialogSample - - Gtk.Window - - - - - - Method - - System.Void - - - - - - - Adds an activatable widget to the of a . - an object of type . - an object of type . - - 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 - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + - 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 - - System.Void - - - - - - Emits the event with the given response ID. - an object of type . + Creates a new dialog box. - 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. + Creates a new dialog box. + This is an internal constructor, and should not be used by user code. - - - Method - - Gtk.Widget - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Adds a with the given text. - an object of type . - an object of type . - 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. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - - - 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 + @@ -288,11 +230,11 @@ namespace GtkDialogSample - Creates a new dialog box. 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. @@ -331,63 +273,150 @@ class MainClass - - + + + Property + + 2.12.0.0 + - Gtk.VBox + Gtk.HButtonBox + - The that contains other widgets in this dialog. - an object of type . + The area of the Dialog where the action widgets are placed. + a - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + - Whether to display a . - an object of type - Whether to display a in the above the + 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 . + - - - GLib.Property("has-separator") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ResponseHandler + System.Void - + + + + - - Emitted when an action widget is clicked, the - receives a delete event, or the application programmer calls . - + an object of type . + an object of type . + Adds an activatable widget to the of a . - On a delete event, the response ID is . - Otherwise, it depends on which action widget was clicked. - + 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 . + - - - GLib.Signal("response") - - + Event + + 2.12.0.0 + + + + GLib.Signal("close") + + System.EventHandler @@ -396,28 +425,51 @@ class MainClass Emitted when the dialog is closed. - - - GLib.Signal("close") - - - - + + + Property + + 2.12.0.0 + - Gtk.HButtonBox + Gtk.ResponseType - - The area of the Dialog where the action widgets are placed. - a + 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 @@ -428,9 +480,41 @@ class MainClass 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 @@ -440,125 +524,146 @@ class MainClass 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideResponse", Type=typeof(Gtk.Dialog)) - - - - Method System.Void - - + - Adds an activatable widget to the of a . - a - 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 . - + 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.Widget + System.Void - - Adds a new response button to the dialog. - a , text for the button - a , the numeric response code emitted when the button is pressed. - a representing the button added. + a , the chosen response. + Activate one of the responses. - - + + Method + + 2.12.0.0 + System.Void - + - Activate one of the responses. - a , the chosen response. - - - - - - Property - - Gtk.ResponseType - - - Sets the default response_id. - a - Sets the default response_id. + 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. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("response") + + - System.Void + Gtk.ResponseHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + + 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.Void + System.Int32 - - - - + - A convenient way to sensitize/desensitize dialog buttons. - a - a - Sets = for each widget in the with the given response_id. A convenient way to sensitize/desensitize dialog buttons. + 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 @@ -566,42 +671,49 @@ class MainClass - To be added a + To be added a To be added - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + - 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. - - + 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 + - System.Int32[] + Gtk.VBox - AlternativeButtonOrder property. - An array of Response IDs. - Sets the button order to an alternative arrangement when the gtk-alternive-button-order setting is . - + The that contains other widgets in this dialog. + an object of type . + - \ No newline at end of file + diff --git a/doc/en/Gtk/DialogFlags.xml b/doc/en/Gtk/DialogFlags.xml index de7ab1abc..32efebef9 100644 --- a/doc/en/Gtk/DialogFlags.xml +++ b/doc/en/Gtk/DialogFlags.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Flags used in creation. - - System.Enum @@ -22,34 +19,50 @@ System.Flags + + Flags used in creation. + + - - + + + Field + + 2.12.0.0 + Gtk.DialogFlags - Sets the property = for the . - Sets the property = for the . + Destroying the parent will also destroy the . + Destroying the parent will also destroy the . - - + + + Field + + 2.12.0.0 + Gtk.DialogFlags - Destroying the parent will also destroy the . - Destroying the parent will also destroy the . + Sets the property = for the . + Sets the property = for the . + Field + + 2.12.0.0 + Gtk.DialogFlags diff --git a/doc/en/Gtk/DirectionChangedArgs.xml b/doc/en/Gtk/DirectionChangedArgs.xml index df5313d09..5c0802eec 100644 --- a/doc/en/Gtk/DirectionChangedArgs.xml +++ b/doc/en/Gtk/DirectionChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextDirection diff --git a/doc/en/Gtk/DirectionChangedHandler.xml b/doc/en/Gtk/DirectionChangedHandler.xml index d5be32063..312eb03c6 100644 --- a/doc/en/Gtk/DirectionChangedHandler.xml +++ b/doc/en/Gtk/DirectionChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DirectionType.xml b/doc/en/Gtk/DirectionType.xml index aa85a64fd..4e2aeb5c8 100644 --- a/doc/en/Gtk/DirectionType.xml +++ b/doc/en/Gtk/DirectionType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by TextView and Window - - This enumeration is used by and to decide how focus in the widget behaves. - - System.Enum @@ -21,98 +16,128 @@ 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 - Tab forward through the children capable of having focus, starting at the left or top. + Sets initial focus on the child nearest the top of the container. - Tab forward through the children capable of having focus, starting at the left or top. - + Sets initial focus on the child nearest the top of the container. + - - + + + Field + + 2.12.0.0 + Gtk.DirectionType - Tab backward through the children with focus capability, starting at the right or bottom. + Sets initial focus on the child nearest the right edge of the container. - Tab backward through the children with focus capability, starting at the right or bottom. + 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 bottom of the container. + Sets initial focus on the child nearest the left edge of the container. - - Sets initial focus on the child nearest the bottom of the container. - + Sets initial focus on the child nearest the left edge of the container. - - + + + Field + + 2.12.0.0 + Gtk.DirectionType - Sets initial focus on the child nearest the top of the container. + Tab backward through the children with focus capability, starting at the right or bottom. - Sets initial focus on the child nearest the top of the container. - + Tab backward through the children with focus capability, starting at the right or bottom. + - - + + + Field + + 2.12.0.0 + Gtk.DirectionType - Sets initial focus on the child nearest the right edge of the container. + Tab forward through the children capable of having focus, starting at the left or top. - Sets initial focus on the child nearest the right edge of the container. + 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 left edge of the container. + Sets initial focus on the child nearest the bottom of the container. - Sets initial focus on the child nearest the left edge of the container. + + Sets initial focus on the child nearest the bottom of the container. + diff --git a/doc/en/Gtk/DisableDeviceArgs.xml b/doc/en/Gtk/DisableDeviceArgs.xml index baeed8ca1..f1aceb9e5 100644 --- a/doc/en/Gtk/DisableDeviceArgs.xml +++ b/doc/en/Gtk/DisableDeviceArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Device diff --git a/doc/en/Gtk/DisableDeviceHandler.xml b/doc/en/Gtk/DisableDeviceHandler.xml index 188bd215c..3dc2e99bd 100644 --- a/doc/en/Gtk/DisableDeviceHandler.xml +++ b/doc/en/Gtk/DisableDeviceHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DisconnectProxyArgs.xml b/doc/en/Gtk/DisconnectProxyArgs.xml index 7b6a580f1..16d64dccb 100644 --- a/doc/en/Gtk/DisconnectProxyArgs.xml +++ b/doc/en/Gtk/DisconnectProxyArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Action @@ -43,8 +52,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/DisconnectProxyHandler.xml b/doc/en/Gtk/DisconnectProxyHandler.xml index 940a38a9d..8eaca8921 100644 --- a/doc/en/Gtk/DisconnectProxyHandler.xml +++ b/doc/en/Gtk/DisconnectProxyHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/DoneArgs.xml b/doc/en/Gtk/DoneArgs.xml index b2bf72128..d23fbe034 100644 --- a/doc/en/Gtk/DoneArgs.xml +++ b/doc/en/Gtk/DoneArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintOperationResult @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/DoneHandler.xml b/doc/en/Gtk/DoneHandler.xml index 70bb22947..4d3bab7ff 100644 --- a/doc/en/Gtk/DoneHandler.xml +++ b/doc/en/Gtk/DoneHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Drag.xml b/doc/en/Gtk/Drag.xml index 8fe7960b2..07cc0620e 100644 --- a/doc/en/Gtk/Drag.xml +++ b/doc/en/Gtk/Drag.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 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. @@ -15,112 +20,149 @@ - - System.Object - - - - + + + + Constructor + + 2.12.0.0 + + + + + A constructor. + + + + + + Method + + 2.12.0.0 + - System.Void + Gdk.DragContext + + + + - Clears information about a drop destinantion set with . - A . + 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 will no longer receive notification of drags. + 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 + - Gtk.Widget + System.Boolean - + + + + + - Determines the source for a drag. - A (destination side) drag context. - If the drag is occurring within a single application, a pointer to the source . Otherwise, . + 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 - - - - Sets this as a proxy for drops to another window. - 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. - + a + To be added + To be added + - - + + + Method + + 2.12.0.0 + System.Void - - - - + - Informs the drag sourcre that the drop is finished, and that the data of the drag will no longer be repaired. - 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. - + a + To be added + To be added + - - + + + Method + + 2.12.0.0 + System.Void - - Sets the target types that this can accept from drag and drop. - A that's a drag destination. - List of droppable targets, or for none. - - - The must first be made into a drag destination with . - - + a + To be added + To be added + + Method + + 2.12.0.0 + Gdk.Atom @@ -130,10 +172,10 @@ - Looks for a match between ->targets and the , returning the first matching target, otherwise returning GDK_NONE. 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. @@ -142,155 +184,199 @@ - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TargetList - - - - - 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. A . - X coordinate of a start of drag. - Y coordinate of a start of drag. - Current X coordinate. - Current Y coordinate. - - if the drag threshold has been passed. + 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 - + + + - Sets the icon that will be used for drags from a particular source to a stock icon. - A . - The ID of the stock icon to use. + 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 + + + - Removes a highlight set by from a . 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 + - Draws a highlight around a . - A to highlight. + 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. - This will attach handlers to and , so the highlight will continue to be displayed until is called. + The must first be made into a drag destination with . - - + + + Method + + 2.12.0.0 + System.Void - + - Sets the icon that will be used for drags from a particular from a . - A . - The for the drag icon. - - - GTK# retains a reference for and will release it when it is no longer needed. - - + 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 + - Gdk.DragContext + System.Void - - - - - Initates a drag on the source side. - 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. - The context fot this drag. + A . + Clears information about a drop destinantion set with . - The method only needs to be used when the application is starting drags itself, and is not needed when is used. + The will no longer receive notification of drags. - - + + + Method + + 2.12.0.0 + System.Void - - - + + + - Sets the icon for a given drag from a stock ID. - 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. + 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 @@ -301,11 +387,11 @@ - Obtains the data associated with a drag. 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. @@ -313,14 +399,88 @@ - - + + + Method + + 2.12.0.0 + - System.Void + 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 + + @@ -328,102 +488,157 @@ - Sets as the icon for a given drag. - 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. + a + a + a + a + a + Obsolete. - - GTK# retains references for the arguments, and will release them when they are no longer needed. In general, will be more convenient to use. - - + 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 - - - - Sets as the icon for a given drag. - 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. + 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 + - Gtk.TargetList + System.Void - + + + + - Returns the list of targets this can accept from drag-and-drop. - A . - The , or if none. + 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 - + + + + - Undoes the effects of . - A . + 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 - + + + - Sets the icon that will be used for drags from a particular from a pixmap/mask. - A . + 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 an image. + 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. Use instead. + 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 @@ -434,11 +649,11 @@ - Changes the icon for a to a given . 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. @@ -446,95 +661,73 @@ - - - Constructor - - - - A constructor. - - - - - + + + Method + + 2.12.0.0 + System.Void - - - - Sets the icon for a particular drag to the default icon. - The context of the drag (this must be called with a context for the source side of a drag). - - - - - - Property - - Gdk.DragContext - - + - Obsolete. Replaced by - - + a + To be added + To be added + - - - System.Obsolete("Replaced by SetIconDefault(ctx)") - - - - + + + Method + + 2.12.0.0 + System.Void - - - - Register a drop site and possibly add default behaviors. a - a , which types of default drag behavior to use - a , table of targets that can be accepted - a , default behaviors - + To be added + To be added + - - + + + Method + + 2.12.0.0 + System.Void - - - - Sets up a so that Gtk# will start a drag operation when the user clicks and drags on the . 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 . - The must have a window. + To be added + To be added + + Method + + 2.12.0.0 + Gtk.TargetList @@ -542,237 +735,202 @@ + a Gets the list of targets this widget can provide for drag-and-drop. - a a , or if none. - - + + + Method + + 2.12.0.0 + System.Void - + + + - - 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(). - a - 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 + - - - Obsolete. - a - a - a - a - a + 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. - 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. - + + GTK# retains references for the arguments, and will release them when they are no longer needed. Use instead. + + - - - Method - - System.Void - - - - - - To be added - a - To be added - - - - - - Method - - System.Void - - - - - - To be added - a - To be added - - - - - + + + Method + + 2.12.0.0 + System.Void + - To be added - a - To be added - + 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 + - To be added - a - To be added - + 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 + - To be added - a - To be added - + 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 + - To be added a - To be added - + 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 - - the source widget. - the name of an Icon in the Icon theme. - Sets a source icon by name from an Icon theme. + A . + Undoes the effects of . - - - + + + 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 - - System.Boolean - - a to test. - Tests if a widget is set to raise drag motion events. - if , the widget raises . + A . + Removes a highlight set by from a . - - - - - - Method - - 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. - diff --git a/doc/en/Gtk/DragBeginArgs.xml b/doc/en/Gtk/DragBeginArgs.xml index 03f85ab2b..1d70a6501 100644 --- a/doc/en/Gtk/DragBeginArgs.xml +++ b/doc/en/Gtk/DragBeginArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.DragContext diff --git a/doc/en/Gtk/DragBeginHandler.xml b/doc/en/Gtk/DragBeginHandler.xml index 9e2f0e3a5..4575cf9bb 100644 --- a/doc/en/Gtk/DragBeginHandler.xml +++ b/doc/en/Gtk/DragBeginHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragDataDeleteArgs.xml b/doc/en/Gtk/DragDataDeleteArgs.xml index 1d6b5ce57..30942e699 100644 --- a/doc/en/Gtk/DragDataDeleteArgs.xml +++ b/doc/en/Gtk/DragDataDeleteArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.DragContext diff --git a/doc/en/Gtk/DragDataDeleteHandler.xml b/doc/en/Gtk/DragDataDeleteHandler.xml index f7820c5ab..aa56f4118 100644 --- a/doc/en/Gtk/DragDataDeleteHandler.xml +++ b/doc/en/Gtk/DragDataDeleteHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragDataGetArgs.xml b/doc/en/Gtk/DragDataGetArgs.xml index f81fe2c2a..0666ca673 100644 --- a/doc/en/Gtk/DragDataGetArgs.xml +++ b/doc/en/Gtk/DragDataGetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,21 +33,29 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.DragContext - The time this data was gotten from the source widget. - A + The context of this drag. + a - + + Property + + 2.12.0.0 + System.UInt32 @@ -53,8 +66,12 @@ - + + Property + + 2.12.0.0 + Gtk.SelectionData @@ -64,15 +81,19 @@ - - + + + Property + + 2.12.0.0 + - Gdk.DragContext + System.UInt32 - The context of this drag. - a + The time this data was gotten from the source widget. + A diff --git a/doc/en/Gtk/DragDataGetHandler.xml b/doc/en/Gtk/DragDataGetHandler.xml index 1debfdaf7..41eee1a22 100644 --- a/doc/en/Gtk/DragDataGetHandler.xml +++ b/doc/en/Gtk/DragDataGetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragDataReceivedArgs.xml b/doc/en/Gtk/DragDataReceivedArgs.xml index de2010401..3b051cf26 100644 --- a/doc/en/Gtk/DragDataReceivedArgs.xml +++ b/doc/en/Gtk/DragDataReceivedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,21 +33,29 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.DragContext - The time the data was received by the destination widget. - A + The context of this drag. + a - + + Property + + 2.12.0.0 + System.UInt32 @@ -53,8 +66,12 @@ - + + Property + + 2.12.0.0 + Gtk.SelectionData @@ -64,21 +81,29 @@ - - + + + Property + + 2.12.0.0 + - System.Int32 + System.UInt32 - The Y coordinate where the data was dropped. - An integer. + The time the data was received by the destination widget. + A - + + Property + + 2.12.0.0 + System.Int32 @@ -88,15 +113,19 @@ - - + + + Property + + 2.12.0.0 + - Gdk.DragContext + System.Int32 - The context of this drag. - a + The Y coordinate where the data was dropped. + An integer. diff --git a/doc/en/Gtk/DragDataReceivedHandler.xml b/doc/en/Gtk/DragDataReceivedHandler.xml index f6cf567fb..650e9700d 100644 --- a/doc/en/Gtk/DragDataReceivedHandler.xml +++ b/doc/en/Gtk/DragDataReceivedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragDropArgs.xml b/doc/en/Gtk/DragDropArgs.xml index 5b9a85feb..6b22c6114 100644 --- a/doc/en/Gtk/DragDropArgs.xml +++ b/doc/en/Gtk/DragDropArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,33 +33,45 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.DragContext - The time the data was dropped. - A + The context of this drag. + a - - + + + Property + + 2.12.0.0 + - System.Int32 + System.UInt32 - The Y coordinate where the data was dropped. - A + The time the data was dropped. + A - + + Property + + 2.12.0.0 + System.Int32 @@ -64,15 +81,19 @@ - - + + + Property + + 2.12.0.0 + - Gdk.DragContext + System.Int32 - The context of this drag. - a + The Y coordinate where the data was dropped. + A diff --git a/doc/en/Gtk/DragDropHandler.xml b/doc/en/Gtk/DragDropHandler.xml index b9b219536..a1ec6a41c 100644 --- a/doc/en/Gtk/DragDropHandler.xml +++ b/doc/en/Gtk/DragDropHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragEndArgs.xml b/doc/en/Gtk/DragEndArgs.xml index 9f664e127..0b7e39981 100644 --- a/doc/en/Gtk/DragEndArgs.xml +++ b/doc/en/Gtk/DragEndArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.DragContext diff --git a/doc/en/Gtk/DragEndHandler.xml b/doc/en/Gtk/DragEndHandler.xml index ec783f0e6..1e5dbb3e1 100644 --- a/doc/en/Gtk/DragEndHandler.xml +++ b/doc/en/Gtk/DragEndHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragFailedArgs.xml b/doc/en/Gtk/DragFailedArgs.xml index cf06c65ab..ba4dcbfbf 100644 --- a/doc/en/Gtk/DragFailedArgs.xml +++ b/doc/en/Gtk/DragFailedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + Gdk.DragContext @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + Gtk.DragResult @@ -43,9 +61,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/DragFailedHandler.xml b/doc/en/Gtk/DragFailedHandler.xml index 7521d7724..78691adb9 100644 --- a/doc/en/Gtk/DragFailedHandler.xml +++ b/doc/en/Gtk/DragFailedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/DragLeaveArgs.xml b/doc/en/Gtk/DragLeaveArgs.xml index ab6c3afb7..885f315eb 100644 --- a/doc/en/Gtk/DragLeaveArgs.xml +++ b/doc/en/Gtk/DragLeaveArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.DragContext - The time of the event. - A + The context of this drag. + a - - + + + Property + + 2.12.0.0 + - Gdk.DragContext + System.UInt32 - The context of this drag. - a + The time of the event. + A diff --git a/doc/en/Gtk/DragLeaveHandler.xml b/doc/en/Gtk/DragLeaveHandler.xml index b85ba33e7..f03245ae4 100644 --- a/doc/en/Gtk/DragLeaveHandler.xml +++ b/doc/en/Gtk/DragLeaveHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragMotionArgs.xml b/doc/en/Gtk/DragMotionArgs.xml index 08277007c..f3579c2c4 100644 --- a/doc/en/Gtk/DragMotionArgs.xml +++ b/doc/en/Gtk/DragMotionArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,33 +33,45 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.DragContext - The time the event happened. - A + The context of this drag. + a - - + + + Property + + 2.12.0.0 + - System.Int32 + System.UInt32 - The Y coordinate being dragged over. - A + The time the event happened. + A - + + Property + + 2.12.0.0 + System.Int32 @@ -64,15 +81,19 @@ - - + + + Property + + 2.12.0.0 + - Gdk.DragContext + System.Int32 - The context of this drag. - a + The Y coordinate being dragged over. + A diff --git a/doc/en/Gtk/DragMotionHandler.xml b/doc/en/Gtk/DragMotionHandler.xml index 1f9202592..782b54d8c 100644 --- a/doc/en/Gtk/DragMotionHandler.xml +++ b/doc/en/Gtk/DragMotionHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/DragResult.xml b/doc/en/Gtk/DragResult.xml index f009d082b..eec1edbd1 100644 --- a/doc/en/Gtk/DragResult.xml +++ b/doc/en/Gtk/DragResult.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.DragResultGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.DragResult @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.DragResult @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.DragResult @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.DragResult @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + Gtk.DragResult @@ -65,7 +91,11 @@ + Field + + 2.12.0.0 + Gtk.DragResult @@ -74,9 +104,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/Draw.xml b/doc/en/Gtk/Draw.xml index 796911227..7ba3262f9 100644 --- a/doc/en/Gtk/Draw.xml +++ b/doc/en/Gtk/Draw.xml @@ -1,25 +1,50 @@ + 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. - - System.Object - - - - + + + + Constructor + + 2.12.0.0 + + + + + Public constructor. + + + + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -28,28 +53,41 @@ + + - Obsolete. Do not use. a a a a + a + a a a a a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -64,7 +102,6 @@ - Obsolete. Do not use. a a a @@ -73,13 +110,23 @@ a a a + Obsolete. Do not use. + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -97,7 +144,6 @@ - Obsolete. Do not use. a a a @@ -109,13 +155,23 @@ a a a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -128,10 +184,8 @@ - - Obsolete. Do not use. a a a @@ -140,14 +194,23 @@ a a a - a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -155,51 +218,73 @@ + - + + - Obsolete. Do not use. a a a + a a a - a + a + a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void + - - + - Obsolete. Do not use. a a + a a a - a - a + a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -208,32 +293,39 @@ - - + - Obsolete. Do not use. a a a a - a - a a a a a + a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -248,7 +340,6 @@ - Obsolete. Do not use. a a a @@ -257,43 +348,58 @@ a a a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - - - Obsolete. Do not use. a a - a - a a a a a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -301,27 +407,40 @@ - + - + + + - Obsolete. Do not use. a a a - a + a a a - a + a + a + a + Obsolete. Do not use. + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -334,20 +453,64 @@ - Obsolete. Do not use. 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 @@ -355,29 +518,36 @@ - + - - + - Obsolete. Do not use. a a a - a + a a a - a - a + a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -385,29 +555,38 @@ - + - Obsolete. Do not use. a a a - a + a a a a a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -416,28 +595,35 @@ - - - - + + + - Obsolete. Do not use. a a a a - a - a - a - a + a + a + a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -445,25 +631,38 @@ + - + + - Obsolete. Do not use. a a a + a a a - a + a + a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -476,10 +675,8 @@ - - Obsolete. Do not use. a a a @@ -488,14 +685,23 @@ a a a - a + Obsolete. Do not use. + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -513,7 +719,6 @@ - Obsolete. Do not use. a a a @@ -525,13 +730,23 @@ a a a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -544,9 +759,9 @@ + - Obsolete. Do not use. a a a @@ -555,41 +770,24 @@ a a a - - - - - - - Method - - System.Void - - - - - - - - - - - + a Obsolete. Do not use. - a - a - a - a - a - a - a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -597,25 +795,34 @@ - - + + - Obsolete. Do not use. a a a - a - a a + a + a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -628,10 +835,8 @@ - - Obsolete. Do not use. a a a @@ -640,49 +845,42 @@ a a a - a + Obsolete. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - - - - - - - + + + + + + - Draws a text caret on at . - * - 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. - - This is not a style function - but merely a convenience function for drawing the standard cursor shape. - - - - - - Constructor - - - - Public constructor. + a + a + a + a + a + a + Obsolete. Do not use. diff --git a/doc/en/Gtk/DrawGdkArgs.xml b/doc/en/Gtk/DrawGdkArgs.xml index 8037fe1e3..bc25bfdf3 100644 --- a/doc/en/Gtk/DrawGdkArgs.xml +++ b/doc/en/Gtk/DrawGdkArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gdk.Pixmap @@ -42,8 +51,12 @@ - + + Property + + 3.16.0.0 + Gdk.GC @@ -55,8 +68,12 @@ - + + Property + + 3.16.0.0 + System.Int32 @@ -68,8 +85,12 @@ - + + Property + + 3.16.0.0 + System.Int32 diff --git a/doc/en/Gtk/DrawGdkHandler.xml b/doc/en/Gtk/DrawGdkHandler.xml index c1d960901..8c65118e0 100644 --- a/doc/en/Gtk/DrawGdkHandler.xml +++ b/doc/en/Gtk/DrawGdkHandler.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,6 +8,16 @@ 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. @@ -17,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/DrawPageArgs.xml b/doc/en/Gtk/DrawPageArgs.xml index 2010d1431..59a8981e3 100644 --- a/doc/en/Gtk/DrawPageArgs.xml +++ b/doc/en/Gtk/DrawPageArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -31,8 +47,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -43,11 +63,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/DrawPageHandler.xml b/doc/en/Gtk/DrawPageHandler.xml index 97e7e5b9d..817896e81 100644 --- a/doc/en/Gtk/DrawPageHandler.xml +++ b/doc/en/Gtk/DrawPageHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/DrawPrintArgs.xml b/doc/en/Gtk/DrawPrintArgs.xml index 373718a99..4ed0619d8 100644 --- a/doc/en/Gtk/DrawPrintArgs.xml +++ b/doc/en/Gtk/DrawPrintArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.PrintContext diff --git a/doc/en/Gtk/DrawPrintHandler.xml b/doc/en/Gtk/DrawPrintHandler.xml index 750183a3a..7f7afc4b0 100644 --- a/doc/en/Gtk/DrawPrintHandler.xml +++ b/doc/en/Gtk/DrawPrintHandler.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,6 +8,16 @@ 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. @@ -17,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/DrawingArea.xml b/doc/en/Gtk/DrawingArea.xml index d4510e160..b69e04eab 100644 --- a/doc/en/Gtk/DrawingArea.xml +++ b/doc/en/Gtk/DrawingArea.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -67,40 +73,69 @@ class LayoutSample : DrawingArea - - Gtk.Widget - - - - + + + Constructor + + 2.12.0.0 + + + + + Default Constructor. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Default Constructor. - + 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 @@ -111,27 +146,18 @@ class LayoutSample : DrawingArea Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Method + + 2.12.0.0 + System.Obsolete - - - - Method System.Void @@ -140,9 +166,9 @@ class LayoutSample : DrawingArea - Sets the size of the drawing area. a a + Sets the size of the drawing area. diff --git a/doc/en/Gtk/Editable.xml b/doc/en/Gtk/Editable.xml index b4155aaf7..92819157d 100644 --- a/doc/en/Gtk/Editable.xml +++ b/doc/en/Gtk/Editable.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,96 +8,130 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Interface for text-editing widgets. - - GLib.IWrapper + + Interface for text-editing widgets. + + - - - Method + + + + Event + + 2.12.0.0 + - System.Void + System.EventHandler - - - - + - Selects a region of text. - An integer, the start of the selected region. - An integer, the end of the selected region. - 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. - + Raised when the user has changed the contents of the widget. + - - + + + Method + + 2.12.0.0 + - System.String + System.Void - - - - + - 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. - An integer; the start position - An integer; the end position - The characters between and (but not including) . + Causes the characters in the current selection to be copied to the clipboard. - - + + + Method + + 2.12.0.0 + System.Void - - - - + - 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. - An integer; the start position - An integer; the end position + 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 copied to the clipboard. + Causes the characters in the current selection to be deleted. - - + + + Method + + 2.12.0.0 + System.Void - + + + + - Causes the characters in the current selection to be deleted. + 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 @@ -105,40 +140,41 @@ - Gets the current selection bounds, if there is a selection 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 - - 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 contents of the clipboard to be pasted into the given widget at the current cursor position. + 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 @@ -150,9 +186,29 @@ + + + + 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 @@ -164,21 +220,35 @@ - - - Event + + + + Method + + 2.12.0.0 + - Gtk.TextInsertedHandler + System.Void - + + + + - 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().) + 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 @@ -188,33 +258,20 @@ 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 + - System.EventHandler + Gtk.TextInsertedHandler - Raised when the user has changed the contents of the widget. - - - - - - Method - - System.Void - - - - - - - Inserts at . - A string to insert. - A pointer to the position within the Editable object for inserting the string. - + 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().) diff --git a/doc/en/Gtk/EditableAdapter.xml b/doc/en/Gtk/EditableAdapter.xml index ad43e19fc..0351acc51 100644 --- a/doc/en/Gtk/EditableAdapter.xml +++ b/doc/en/Gtk/EditableAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ 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") @@ -52,7 +89,11 @@ + Method + + 2.12.0.0 + System.Void @@ -64,7 +105,11 @@ + Method + + 2.12.0.0 + System.Void @@ -76,7 +121,11 @@ + Method + + 2.12.0.0 + System.Void @@ -88,7 +137,11 @@ + Method + + 2.12.0.0 + System.Void @@ -105,7 +158,11 @@ + Method + + 2.12.0.0 + System.String @@ -121,9 +178,33 @@ 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 @@ -141,7 +222,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -157,28 +242,15 @@ To be added. - - - Method - - System.Void - - - - - - - To be added. - To be added. - To be added. - To be added. - - - - + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType To be added. @@ -186,23 +258,15 @@ To be added. - - - Method - - System.Void - - - - To be added. - To be added. - - - - + + + Property + + 2.12.0.0 + - System.Int32 + System.IntPtr To be added. @@ -210,58 +274,13 @@ To be added. - - - Method - - System.Void - - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("delete_text") - - - - Gtk.TextDeletedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("insert_text") - - - - Gtk.TextInsertedHandler - - - To be added. - To be added. - - - + + Property + + 2.12.0.0 + Gtk.EditableImplementor @@ -273,7 +292,11 @@ + Method + + 2.12.0.0 + System.Void @@ -289,8 +312,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -302,7 +329,11 @@ + Method + + 2.12.0.0 + System.Void @@ -313,8 +344,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -326,7 +361,11 @@ + Method + + 2.12.0.0 + System.Void @@ -343,7 +382,11 @@ + Event + + 2.12.0.0 + GLib.Signal("delete_text") @@ -359,7 +402,11 @@ + Event + + 2.12.0.0 + GLib.Signal("insert_text") @@ -374,9 +421,4 @@ - - Editable interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/EditableImplementor.xml b/doc/en/Gtk/EditableImplementor.xml index fcbe00bea..07fcacb74 100644 --- a/doc/en/Gtk/EditableImplementor.xml +++ b/doc/en/Gtk/EditableImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.EditableAdapter)) + + Editable implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Void @@ -34,7 +44,11 @@ + Method + + 2.12.0.0 + System.String @@ -52,7 +66,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -70,7 +88,11 @@ + Method + + 2.12.0.0 + System.Void @@ -86,8 +108,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -99,7 +125,11 @@ + Method + + 2.12.0.0 + System.Void @@ -115,9 +145,4 @@ - - Editable implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/EditedArgs.xml b/doc/en/Gtk/EditedArgs.xml index 1e9110d1d..cd678c423 100644 --- a/doc/en/Gtk/EditedArgs.xml +++ b/doc/en/Gtk/EditedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Gtk/EditedHandler.xml b/doc/en/Gtk/EditedHandler.xml index 31f4f3a85..315238ba9 100644 --- a/doc/en/Gtk/EditedHandler.xml +++ b/doc/en/Gtk/EditedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/EditingStartedArgs.xml b/doc/en/Gtk/EditingStartedArgs.xml index dda7783d3..4d08ea50d 100644 --- a/doc/en/Gtk/EditingStartedArgs.xml +++ b/doc/en/Gtk/EditingStartedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.CellEditable @@ -42,8 +51,12 @@ - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Gtk/EditingStartedHandler.xml b/doc/en/Gtk/EditingStartedHandler.xml index 5c21347fb..2fd8866b9 100644 --- a/doc/en/Gtk/EditingStartedHandler.xml +++ b/doc/en/Gtk/EditingStartedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/EnableDeviceArgs.xml b/doc/en/Gtk/EnableDeviceArgs.xml index eb86da23f..bc09a7c42 100644 --- a/doc/en/Gtk/EnableDeviceArgs.xml +++ b/doc/en/Gtk/EnableDeviceArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Device diff --git a/doc/en/Gtk/EnableDeviceHandler.xml b/doc/en/Gtk/EnableDeviceHandler.xml index 54a9da687..212110455 100644 --- a/doc/en/Gtk/EnableDeviceHandler.xml +++ b/doc/en/Gtk/EnableDeviceHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/EndPrintArgs.xml b/doc/en/Gtk/EndPrintArgs.xml index 19f43c11c..f0ec31d3c 100644 --- a/doc/en/Gtk/EndPrintArgs.xml +++ b/doc/en/Gtk/EndPrintArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/EndPrintHandler.xml b/doc/en/Gtk/EndPrintHandler.xml index b6f46381c..c2896de81 100644 --- a/doc/en/Gtk/EndPrintHandler.xml +++ b/doc/en/Gtk/EndPrintHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/EnterNotifyEventArgs.xml b/doc/en/Gtk/EnterNotifyEventArgs.xml index 122a64d75..42fa086b1 100644 --- a/doc/en/Gtk/EnterNotifyEventArgs.xml +++ b/doc/en/Gtk/EnterNotifyEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventCrossing diff --git a/doc/en/Gtk/EnterNotifyEventHandler.xml b/doc/en/Gtk/EnterNotifyEventHandler.xml index 72bd6d6dd..8e0342233 100644 --- a/doc/en/Gtk/EnterNotifyEventHandler.xml +++ b/doc/en/Gtk/EnterNotifyEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Entry.xml b/doc/en/Gtk/Entry.xml index 95e335c0f..785cb3417 100644 --- a/doc/en/Gtk/Entry.xml +++ b/doc/en/Gtk/Entry.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,17 @@ 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. @@ -71,324 +83,374 @@ class EntrySample - - Gtk.Widget - - - - Gtk.CellEditable - - - Gtk.Editable - - - - - Method - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + + + + Construct a new entry widget + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Add arbitrary text to the entry. - the text to add - - The number of characters added. - + 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. - Use this method to insert a string at the current CursorPosition. + + 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. + + + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Specific implementation of Gtk.CellEditable.StartEditing for the Entry widget. - - + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + + - Specific implementation of Gtk.CellEditable.FinishEditing for the Entry widget. + A + Public constructor. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("activate") + + - System.Void + System.EventHandler - Specific implementation of Gtk.CellEditable.RemoveWidget for the Entry widget. - + Connect to this event to be notified when the user hits 'return'. + + Connect to this event with a standard . + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("activates-default") + + - System.Void + System.Boolean - - - Specific implementation of Gtk.Editable.SelectRegion for the Entry widget. - - - + 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). + - - - Method + + + + Property + + 2.12.0.0 + - System.String + System.Single - - - - + - Specific implementation of Gtk.Editable.GetChars for the Entry widget. - The index of the first character to get, (zero-indexed). - The index of the character to retrieve up to. - - 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. - - + 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 - - + - Specific implementation of Gtk.Editable.DeleteText for the Entry widget. - - + a + Appends the given text to the contents of the widget. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("backspace") + + - System.Void + System.EventHandler - Specific implementation of Gtk.Editable.CopyClipboard for the Entry widget. - + To be added + To be added + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + - System.Void + System.EventHandler - Specific implementation of Gtk.Editable.DeleteSelection for the Entry widget. Deletes the currently selected text from the Entry. + When the contents of the Entry change, this event is raised. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("copy_clipboard") + + - System.Boolean + System.EventHandler - - - - + - Get the the positions of the start and end of the current selection, if there is one. - output variable for the character index of the selection start - output variable for the character index of the end of the selection - - - if there is a selection, otherwise. - - + 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 . + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("cut_clipboard") + + - System.Void + System.EventHandler - Copies any selected text to the clipboard and deletes it from the entry. - + Connect to this event to be notified when the user 'cuts' a selection in the Entry. + Connect to this event with a standard . - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("paste_clipboard") + + - System.Void + System.EventHandler - Causes the contents of the clipboard to be pasted into the Entry at the current cursor position. - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. + Connect to this event to be notified when the clipboard contents are pasted into this Entry. - This is an internal constructor, and should not be used by user code. + Connect to this event with a standard . - - - Constructor - - - - Construct a new entry widget - - - - - - Property - - 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 + - System.Int32 + Gtk.EntryCompletion - - + - 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. - + The auxiliary completion object + a + All further configuration of the completion mechanism is done on completion using the API. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.Layout + System.Void + - 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. - + Specific implementation of Gtk.Editable.CopyClipboard for the Entry widget. + - - + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.Adjustment - - - 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. - + To be added. + To be added. + To be added. + - - - GLib.Property("visibility") - - - - + + + Property - - 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. - - + + 2.12.0.0 + - GLib.Property("max-length") + GLib.Property("cursor-position") - - - - Property System.Int32 @@ -401,95 +463,95 @@ class EntrySample 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. - - - GLib.Property("cursor-position") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + - The length of the selected text. - - The number of selected characters. - + Copies any selected text to the clipboard and deletes it from the entry. + + + + + Event + + 2.12.0.0 + - GLib.Property("selection-bound") + GLib.Signal("delete_from_cursor") - - - - Property - System.String + Gtk.DeleteFromCursorHandler - - + - Manipulate the current text contents of an Entry. - - The current text in an Entry. - - + 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 . + - - - GLib.Property("text") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + - Number of pixels the entry scrolled off the screen to the left. - A + Specific implementation of Gtk.Editable.DeleteSelection for the Entry widget. Deletes the currently selected text from the Entry. - - - GLib.Property("scroll-offset") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + - 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. - + + + Specific implementation of Gtk.Editable.DeleteText for the Entry widget. + + + + + + Property + + 2.12.0.0 + - GLib.Property("width-chars") + System.Obsolete("Replaced by IsEditable property") - - - - Property System.Boolean @@ -505,419 +567,435 @@ class EntrySample 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 + - System.Obsolete("Replaced by IsEditable property") + GLib.Signal("editing_done") - - - - Property - - 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). - - - - - GLib.Property("activates-default") - - - - - - Property - - 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. - - - - - GLib.Property("has-frame") - - - - - - Event System.EventHandler - Implements the WidgetRemoved method of the interface. This will effectively destroy the Entry. + Implements the EditingDone method of the interface. - - - GLib.Signal("remove_widget") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - Implements the EditingDone method of the interface. + Specific implementation of Gtk.CellEditable.FinishEditing for the Entry widget. - - - GLib.Signal("editing_done") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.TextInsertedHandler + System.String - + + + + - Connect to this event to be notified when text is inserted into the Entry. + 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. + - - - GLib.Signal("insert_text") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.TextDeletedHandler + System.Void - + + + + - Connect to this event to be notified when text is deleted from the Entry. - + 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. - - - GLib.Signal("delete_text") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + + - When the contents of the Entry change, this event is raised. + 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. + - - - GLib.Signal("changed") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.MoveCursorHandler + GLib.GType - Connect to this event handler to be notified when the cursor of an Entry moves. - Data pertaining to this event is passed with a . + GType Property. + a + Returns the native value for . - - - GLib.Signal("move_cursor") - - - - - Event - - 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 . - + + + + Property + + 2.12.0.0 + - GLib.Signal("cut_clipboard") + GLib.Property("has-frame") - - - - Event - System.EventHandler + System.Boolean - + + - Connect to this event to be notified when the user hits 'return'. + Whether or not this Entry should be surrounded by a 3D frame. + + if a frame surrounds this Entry, otherwise - Connect to this event with a standard . + 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("activate") + GLib.Signal("insert_at_cursor") - - - - Event - Gtk.DeleteFromCursorHandler + Gtk.InsertAtCursorHandler - Connect to this event to find out when text is deleted from the Entry by the user. + 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 a . + Data pertaining to this event is encapsulated in an . - - - GLib.Signal("delete_from_cursor") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Int32 - + + + - Connect to this event to be notified when the clipboard contents are pasted into this Entry. + the text to add + Add arbitrary text to the entry. + + The number of characters added. + - Connect to this event with a standard . + Use this method to insert a string at the current CursorPosition. - - - GLib.Signal("paste_clipboard") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + - 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 . - + A + A + Add text to the entry just before . + + + + + + Property + + 2.12.0.0 + - GLib.Signal("copy_clipboard") + GLib.Property("invisible-char") - - - - Event - Gtk.PopulatePopupHandler + System.Char - Raised when the popup handler needs to be filled with data. - - Data pertaining to this event is encapsulated in a . - + 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. + - - - GLib.Signal("populate_popup") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + - 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 . - + 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. + + - - - GLib.Signal("toggle_overwrite") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.InsertAtCursorHandler + Pango.Layout - - Connect to this event to discover when text is inserted at the cursor position - usually when the user types something in. + Get the object used by this Entry for text layout. + + The Pango.Layout used to render the text of this entry. + - Data pertaining to this event is encapsulated in an . + This property is read only. - - - GLib.Signal("insert_at_cursor") - - - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - - - - - Add text to the entry just before . - A - A - - - - - - Constructor - - - + - Public constructor. - A - + a + To be added + a + To be added + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("max-length") + + - System.Void + System.Int32 - - - Obtains the position of the PangoLayout used to render text in the entry, in widget coordinates. - X offset output of the layout. - Y offset output of the layout. + 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. + - 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. + This property can be useful for ensuring no more than a specific number of characters are put in an entry. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("move_cursor") + + - GLib.GType + Gtk.MoveCursorHandler - GType Property. - a - Returns the native value for . + 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. - a - Override this method in a subclass to provide a default handler for the event. + 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. + 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. - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -927,9 +1005,39 @@ class EntrySample 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 @@ -941,7 +1049,16 @@ class EntrySample + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeleteFromCursor", Type=typeof(Gtk.Entry)) + + System.Void @@ -950,39 +1067,69 @@ class EntrySample - Default handler for the event. 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. + 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 - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -992,28 +1139,49 @@ class EntrySample - Default handler for the event. 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 - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -1022,15 +1190,24 @@ class EntrySample - Default handler for the event. 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 @@ -1039,28 +1216,46 @@ class EntrySample - Default handler for the event. 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. + 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 @@ -1070,217 +1265,332 @@ class EntrySample Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + 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 + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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. + + + - - - Property + + + + Method + + 2.12.0.0 + - System.Single + System.Void - The horizontal alignment, from 0 (left) to 1 (right). - a - Reversed for RTL layouts. - -Allowed values: [0,1] - -Default value: 0 - - + Specific implementation of Gtk.CellEditable.RemoveWidget for the Entry widget. + + + + + + Property + + 2.12.0.0 + - GLib.Property("xalign") + GLib.Property("scroll-offset") - - - - Property - System.Single + System.Int32 - - 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 - - + Number of pixels the entry scrolled off the screen to the left. + A + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("selection-bound") + + - Gtk.EntryCompletion + System.Int32 - - The auxiliary completion object - a - All further configuration of the completion mechanism is done on completion using the API. - + The length of the selected text. + + The number of selected characters. + + - - + + + Method + + 2.12.0.0 + System.Void - + + - Prepends the given text to the contents of the widget. - a + + + Specific implementation of Gtk.Editable.SelectRegion for the Entry widget. - - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("shadow-type") + + - System.Void + Gtk.ShadowType - - - - Appends the given text to the contents of the widget. - a - - + To be added. + To be added. + To be added. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Creates a new with the given maximum length. - a , the maximum length of the entry, or 0 for no maximum. - - - 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. - - - - + + Specific implementation of Gtk.CellEditable.StartEditing for the Entry widget. + - - + + + Property - - 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. - - + + 2.12.0.0 + - GLib.Property("invisible-char") + GLib.Property("text") - - - - Event - System.EventHandler + System.String - + + - To be added - To be added - + Manipulate the current text contents of an Entry. + + The current text in an Entry. + + + + + + + Event + + 2.12.0.0 + - GLib.Signal("backspace") + GLib.Signal("delete_text") - - - - Method - System.Void + Gtk.TextDeletedHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - + 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 a To be added - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("insert_text") + + - System.Int32 + Gtk.TextInsertedHandler - - - + - To be added - a - a - To be added - + 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") @@ -1296,35 +1606,107 @@ The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts - - + + + Property + + 2.12.0.0 + + + + GLib.Property("visibility") + + - Gtk.Adjustment + System.Boolean + + - To be added. - To be added. - To be added. - + 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("shadow-type") + GLib.Property("width-chars") - Gtk.ShadowType + System.Int32 + + - To be added. - To be added. - To be added. - + 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 + + diff --git a/doc/en/Gtk/EntryCompletion.xml b/doc/en/Gtk/EntryCompletion.xml index 2978b8ff2..0725e2d22 100644 --- a/doc/en/Gtk/EntryCompletion.xml +++ b/doc/en/Gtk/EntryCompletion.xml @@ -1,11 +1,20 @@ + 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. @@ -65,292 +74,275 @@ public class DemoEntryCompletion : Window - - GLib.Object - - - - Gtk.CellLayout - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Constructor for general use. + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - This method is called whenever an action is activated. - a + a + Protected constructor. - - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - - + - This method is called whenever the user selects one of the suggested matches. - a , the model the match was selected from - a , the row the user picked - a + a + Constructor for internal use only. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("action_activated") + + - System.Void + Gtk.ActionActivatedHandler - - - - + - Inserts an action in the completion's action item list at - position with markup - . + Event triggered when a particular action is activated. - a - a - - - + + + Method + + 2.12.0.0 + System.Void - - + + + - - Inserts an action in the completion's action item list at - position with text - . + 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. - a - a - If you want the item to have markup, use . + 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. - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.CellRenderer[] - - - 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. - - + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + System.Void - - - + - - Deletes the action at - from the action list for this completion. - - a + Clears the completion. - - - + + + Method + + 2.12.0.0 + System.Void - + a - Reinserts into the completion list - at . + Clears all existing attributes previously set with + . - a - a - - + + + Method + + 2.12.0.0 + System.Void - - - - + - Adds the to the end of the entry-completion widget. - a - a - - If is , then the - is allocated no more space than it needs. Any unused space is - divided evenly between cells for which is . - + + 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. + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - - Packs the into the beginning of the entry-completion widget. - a - a - - If is , then the - is allocated no more space than it needs. Any unused space is - divided evenly between cells for which is . - + To be added. + To be added. + To be added. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("cursor_on_match") + + - System.Void + Gtk.CursorOnMatchHandler - - - - - - - Adds an attribute mapping to the list in this entry-completion widget. - - a - a , parameter on to be set from the value - a , column of the model to get a value from. - - 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. - + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + System.Void - + - - Clears all existing attributes previously set with - . + a + + Deletes the action at + from the action list for this completion. - a + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Widget - Clears the completion. - - - - - - Constructor - - - - - - Protected constructor. - a - - - - - System.Obsolete - - - - - - Constructor - - - - - - Constructor for internal use only. - a - - - - - - Constructor - - - - Constructor for general use. + + Returns the entry widget this completion object has been attached to. + + a - + + Property + + 2.12.0.0 + GLib.GType @@ -361,89 +353,150 @@ public class DemoEntryCompletion : Window Returns the native value for . - - + + + Property - - 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). - - + + 2.12.0.0 + - GLib.Property("minimum-key-length") + GLib.Property("inline-completion") - - - - Property - System.Int32 + System.Boolean - 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. - + To be added + a + To be added + + + + + Property + + 2.12.0.0 + - GLib.Property("text-column") + GLib.Property("inline-selection") + + System.Boolean + + + To be added. + To be added. + To be added. + + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Widget + System.Void - + + + + + a + a - Returns the entry widget this completion object has been attached to. + Inserts an action in the completion's action item list at + position with markup + . - a + - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ActionActivatedHandler + System.Void - + + + + - - Event triggered when a particular action is activated. + 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. - - - GLib.Signal("action_activated") - - + Event + + 2.12.0.0 + + + + GLib.Signal("match_selected") + + Gtk.MatchSelectedHandler @@ -452,36 +505,46 @@ public class DemoEntryCompletion : Window Event triggered when the user selects a match. + + + + + Property + + 2.12.0.0 + - GLib.Signal("match_selected") + GLib.Property("minimum-key-length") - - - - Method - System.Void + System.Int32 - - - - + - Sets up a data function for this layout. - a - a + Minimum string length for enabling completion. + a - 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. + 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 @@ -491,106 +554,99 @@ public class DemoEntryCompletion : Window a + + + + + Method + + 2.12.0.0 + - GLib.Property("model") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActionActivated", Type=typeof(Gtk.EntryCompletion)) - - - - Method System.Void - - - - - System.ParamArray - - - + - Sets the attribute to model column bindings for a renderer. - a - a - The array should be pairs of attribute names and column indexes. - - - - - Property - - 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. - - - - - Property - - System.Boolean - - - - To be added - a - To be added + a + This method is called whenever an action is activated. + + + + + + Method + + 2.12.0.0 + - GLib.Property("inline-completion") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorOnMatch", Type=typeof(Gtk.EntryCompletion)) - - - - Property System.Boolean - + + + + - To be added - a - To be added - + To be added. + To be added. + To be added. + To be added. + To be added. + + + + + + Method + + 2.12.0.0 + - GLib.Property("popup-completion") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMatchSelected", Type=typeof(Gtk.EntryCompletion)) - - - - Event - Gtk.PrefixInsertedHandler + System.Boolean - + + + + - To be added - To be added - + 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 + - - - GLib.Signal("insert_prefix") - - + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverridePrefixInserted", Type=typeof(Gtk.EntryCompletion)) + + System.Boolean @@ -598,48 +654,93 @@ public class DemoEntryCompletion : Window - Default handler for the event. 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 - + + + + - To be added - To be added - + 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-single-match") + GLib.Property("popup-completion") System.Boolean + - Controls if popup is displayed on a single match. - - if popup is displayed on single matches. - Set this to for inline completion. - + To be added + a + To be added + - + + Property + + 2.12.0.0 + GLib.Property("popup-set-width") @@ -656,84 +757,152 @@ public class DemoEntryCompletion : Window - - - Property - - Gtk.CellRenderer[] - - - To be added. - To be added. - To be added. - - - - - + + + Property + + 2.12.0.0 + + + + GLib.Property("popup-single-match") + + - System.String + System.Boolean - To be added. - To be added. - To be added. - + 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("cursor_on_match") + GLib.Signal("insert_prefix") - Gtk.CursorOnMatchHandler + Gtk.PrefixInsertedHandler + - To be added. - To be added. - + To be added + To be added + - - - Property - - - GLib.Property("inline-selection") - - + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + + - To be added. - To be added. - To be added. - + a + a + + Reinserts into the completion list + at . + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + + + + System.ParamArray + + + - To be added. - To be added. - To be added. - To be added. - To be added. - + 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. + + diff --git a/doc/en/Gtk/EntryCompletionMatchFunc.xml b/doc/en/Gtk/EntryCompletionMatchFunc.xml index b413c21ae..c0a40e37f 100644 --- a/doc/en/Gtk/EntryCompletionMatchFunc.xml +++ b/doc/en/Gtk/EntryCompletionMatchFunc.xml @@ -1,30 +1,31 @@ + 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. + - - System.Delegate - - - System.Boolean - - - - - - diff --git a/doc/en/Gtk/EventBox.xml b/doc/en/Gtk/EventBox.xml index d04cb79f9..389b852c2 100644 --- a/doc/en/Gtk/EventBox.xml +++ b/doc/en/Gtk/EventBox.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -63,30 +69,14 @@ public class eventbox } - - Gtk.Bin - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -95,40 +85,59 @@ public class eventbox EventBox eb = new EventBox(); - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. 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 + GLib.Property("above-child") - - - - Property System.Boolean @@ -140,15 +149,36 @@ public class eventbox + + + + + Property + + 2.12.0.0 + + + GLib.GType + + + + GType Property. + a + Returns the native value for . + + + + + + Property + + 2.12.0.0 + - GLib.Property("above-child") + GLib.Property("visible-window") - - - - Property System.Boolean @@ -160,11 +190,6 @@ public class eventbox - - - GLib.Property("visible-window") - - diff --git a/doc/en/Gtk/ExpandCollapseCursorRowArgs.xml b/doc/en/Gtk/ExpandCollapseCursorRowArgs.xml index 3f4c8bf52..a0884082c 100644 --- a/doc/en/Gtk/ExpandCollapseCursorRowArgs.xml +++ b/doc/en/Gtk/ExpandCollapseCursorRowArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,40 +33,52 @@ 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 open all children of this cursor row. + Whether to expand (true) or collapse(false) the row. A - - + + + Property + + 2.12.0.0 + System.Boolean - Whether to expand (true) or collapse(false) the row. + Whether or not this cursor row is a logical row. A - + TODO: explain. - - + + + Property + + 2.12.0.0 + System.Boolean - Whether or not this cursor row is a logical row. + Whether or not to open all children of this cursor row. A - TODO: explain. + diff --git a/doc/en/Gtk/ExpandCollapseCursorRowHandler.xml b/doc/en/Gtk/ExpandCollapseCursorRowHandler.xml index 9df55b44a..90eb23778 100644 --- a/doc/en/Gtk/ExpandCollapseCursorRowHandler.xml +++ b/doc/en/Gtk/ExpandCollapseCursorRowHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Expander.xml b/doc/en/Gtk/Expander.xml index a32a56456..a547758c1 100644 --- a/doc/en/Gtk/Expander.xml +++ b/doc/en/Gtk/Expander.xml @@ -1,11 +1,17 @@ + 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 @@ -108,71 +114,113 @@ class DemoExpander : Gtk.Window - - Gtk.Bin - - - - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Internal constructor a + Internal constructor - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor + Constructor + + 2.12.0.0 + - Creates a new expander with as its label. 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 @@ -184,8 +232,17 @@ class DemoExpander : Gtk.Window - + + Property + + 2.12.0.0 + + + + GLib.Property("label") + + System.String @@ -202,35 +259,83 @@ Setting the label will also clear any previously set labels. + + + + + Property + + 2.12.0.0 + - GLib.Property("label") + GLib.Property("label-widget") - - - - Property - System.Boolean + Gtk.Widget - 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 - - - + 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.Property("use-markup") + 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 @@ -247,99 +352,52 @@ Default value: 0 - - - GLib.Property("spacing") - - - - + + + Property - - System.Boolean - - - - The state of the expander. - a - Returns if the child widget is revealed. - + + 2.12.0.0 + - GLib.Property("expanded") + GLib.Property("use-markup") - - - - Property System.Boolean - Whether an embedded underline in the expander label indicates a mnemonic. - a , if underlines in the text indicate mnemonics + 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 + + - - - GLib.Property("use-underline") - - - - + + + Property - - 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. - + + 2.12.0.0 + - GLib.Property("label-widget") + GLib.Property("use-underline") - - - - Event - System.EventHandler + System.Boolean - Emitted when the expander is toggled. + Whether an embedded underline in the expander label indicates a mnemonic. + a , if underlines in the text indicate mnemonics - - - GLib.Signal("activate") - - - - - - Method - - Gtk.Expander - - - - - - Public constructor. - a - a - - - diff --git a/doc/en/Gtk/ExpanderStyle.xml b/doc/en/Gtk/ExpanderStyle.xml index f900f5279..51442335e 100644 --- a/doc/en/Gtk/ExpanderStyle.xml +++ b/doc/en/Gtk/ExpanderStyle.xml @@ -1,16 +1,12 @@ + 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. - - Specifies the expanded/collapsed state of an expander. - - - System.Enum @@ -19,10 +15,19 @@ GLib.GType(typeof(Gtk.ExpanderStyleGType)) + + Specifies the expanded/collapsed state of an expander. + + + + Field + + 2.12.0.0 + Gtk.ExpanderStyle @@ -34,23 +39,31 @@ - - + + + Field + + 2.12.0.0 + Gtk.ExpanderStyle - Transitive state between collapsed and expanded. + Sub-elements are visible. - - + + + Field + + 2.12.0.0 + Gtk.ExpanderStyle @@ -62,16 +75,20 @@ - - + + + Field + + 2.12.0.0 + Gtk.ExpanderStyle - Sub-elements are visible. + Transitive state between collapsed and expanded. diff --git a/doc/en/Gtk/ExposeEventArgs.xml b/doc/en/Gtk/ExposeEventArgs.xml index 35700edb8..bb2b1cbf8 100644 --- a/doc/en/Gtk/ExposeEventArgs.xml +++ b/doc/en/Gtk/ExposeEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventExpose diff --git a/doc/en/Gtk/ExposeEventHandler.xml b/doc/en/Gtk/ExposeEventHandler.xml index 2210ad98e..efe16afc6 100644 --- a/doc/en/Gtk/ExposeEventHandler.xml +++ b/doc/en/Gtk/ExposeEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/FileChooser.xml b/doc/en/Gtk/FileChooser.xml index 98c174cdb..3508ce1f1 100644 --- a/doc/en/Gtk/FileChooser.xml +++ b/doc/en/Gtk/FileChooser.xml @@ -1,110 +1,104 @@ + 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. - - Interface for a file-chooser. - See for an actual implementation. - - GLib.IWrapper + + Interface for a file-chooser. + See for an actual implementation. + + - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.FileChooserAction - - - + - Sets the current folder for the chooser from an URI. + Sets the type of operation that that the chooser is performing; the + user interface is adapted to suit the selected action. - a , the URI to use - a , true if the folder could be changed successfully, false otherwise + a - The user will be shown the full contents of the current folder, - plus user interface elements for navigating to other folders. + 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 - - - Unselects all the files in the current folder of a file chooser. - - - - - - Method - - 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 - . + Adds to the list of filters that the + user can select between. - a - 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 . + When a filter is selected, only files that are passed by that + filter are displayed. - - + + + Method + + 2.12.0.0 + System.Boolean - + - - Removes a folder URI from a file chooser's list of shortcut folders. - - a + a + Adds a folder to be displayed with the shortcut folders in a file chooser. a - See also . + 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 @@ -112,11 +106,11 @@ + a Adds a folder URI to be displayed with the shortcut folders in a file chooser. - a a , true if the folder could be added successfully, false otherwise. @@ -126,277 +120,210 @@ - - - Method + + + + Event + + 2.12.0.0 + - System.Void + Gtk.ConfirmOverwriteHandler + + + Indicates an overwrite confirmation is needed. + + + + + + + + Property + + 2.12.0.0 + + + System.String - Selects all the files in the current folder of a file chooser. + The current folder for the file chooser, when the chooser has selected a local filename. + a - - - Method + + + + Event + + 2.12.0.0 + - System.Boolean + System.EventHandler - - - + - 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 . + This signal is emitted when the current folder in a file chooser + changes. - a - a , true if both the - folder could be changed and the URI was - selected successfully, false otherwise. - + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - + - Removes from the list of filters that the user can select between. - a + The file chooser's current folder, if set from a URI. + a - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - - Adds a folder to be displayed with the shortcut folders in a file chooser. - a - a + + Property to represent the current name in the file selector, + as if entered by the user. + + 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. + 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. - - - Method + + + + Property + + 2.12.0.0 + System.Boolean - - - - Selects a filename. - a - 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 . - + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Widget - - - + - - Unselects a currently selected filename. - - a + An application-supplied widget to provide extra options to the user. + a - If the filename is not in the current directory, does not exist, or - is otherwise not currently selected, does nothing. - + - - - Method + + + + Event + + 2.12.0.0 + - System.Void + System.EventHandler - - - + - Adds to the list of filters that the - user can select between. + This signal is emitted when the user "activates" a file in the file + chooser. - a - When a filter is selected, only files that are passed by that - filter are displayed. + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean - - - - - - Removes a folder from a file chooser's list of shortcut folders. - a - a - See also . - - - - - Method - - System.Void - - - - - - - Unselects the file referred to by . - - a - - If the file is not in the current directory, does not exist, or - is otherwise not currently selected, does nothing. - - - - - - Method - - System.Boolean - - - - - - - Sets the current folder for the file chooser from a local filename. - - a - a - - The user will be shown the full contents of the current folder, - plus user interface elements for navigating to other folders. - - - - - - Method - - System.Boolean - - - - - - - Sets the file referred to by as the - current file for the the file chooser. - - a - 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 - - System.String + System.String - The file chooser's current folder, if set from a URI. + The current filename selected by the file chooser. a - - - Property - - Gtk.Widget - - - - An application-supplied widget to provide extra options to the user. - a - - - - - - + + + Property + + 2.12.0.0 + - System.String + 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. - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + Gtk.FileFilter @@ -408,9 +335,29 @@ + + + + Property + + 2.12.0.0 + + + Gtk.FileFilter[] + + + To be added. + To be added. + To be added. + + - + + Property + + 2.12.0.0 + System.Boolean @@ -434,27 +381,13 @@ - - - Property - - 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. - - - + + Property + + 2.12.0.0 + System.String @@ -465,62 +398,13 @@ Not for general programmer use. - - - Property - - 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 - - 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. - - - - - - Property - - System.String - - - - The current filename selected by the file chooser. - a - - - - - + + Property + + 2.12.0.0 + System.String @@ -532,29 +416,13 @@ - - - Property - - 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. - - - - + + Property + + 2.12.0.0 + Gtk.Widget @@ -588,228 +456,533 @@ - - + + + Property + + 2.12.0.0 + - Gtk.FileChooserAction + System.Boolean - Sets the type of operation that that the chooser is performing; the - user interface is adapted to suit the selected action. + Sets whether the preview widget set by + should be shown for the current filename. - a - - For example, - an option to create a new folder might be shown if the action is - but not if the action is - . - + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + - The current folder for the file chooser, when the chooser has selected a local filename. - a + a + Removes from the list of filters that the user can select between. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + 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 - This event is raised every time the selected file changes. + 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 + + - This signal is emitted when the user "activates" a file in the file - chooser. + Sets whether multiple files can be selected in the file selector. + a - 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. + This is only relevant if the action is set to be + or + . + It cannot be set with either of the folder actions. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + + a - 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. + 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. - 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. - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + + a - This signal is emitted when the current folder in a file chooser - changes. + Sets the current folder for the file chooser from a local filename. + a - 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. + The user will be shown the full contents of the current folder, + plus user interface elements for navigating to other folders. - - - Property + + + + Method + + 2.12.0.0 + System.Boolean - + + + - To be added - a - To be added - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.String[] + System.Boolean + + + - To be added. - An array of System.Strings. - To be added. + 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 . + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.FileFilter[] + System.Boolean + + + - To be added. - To be added. - To be added. + 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. - To be added. + An array of System.Strings. To be added. - - + + + Property + + 2.12.0.0 + System.String[] To be added. - To be added. + An array of System.Strings. To be added. - - + + + Property + + 2.12.0.0 + - System.String[] + System.Boolean + - To be added. - An array of System.Strings. - To be added. + To be added + a + To be added + - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ConfirmOverwriteHandler + System.Void + - Indicates an overwrite confirmation is needed. + 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 + - 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. - + + 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. + diff --git a/doc/en/Gtk/FileChooserAction.xml b/doc/en/Gtk/FileChooserAction.xml index b0954a3db..27f3a1f3c 100644 --- a/doc/en/Gtk/FileChooserAction.xml +++ b/doc/en/Gtk/FileChooserAction.xml @@ -1,16 +1,12 @@ + 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. - - Describes whether a is being used to open existing files or to save to a possibly new file. - - - System.Enum @@ -19,59 +15,80 @@ 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 open mode. The file chooser will only let the user pick an existing file. + 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 save mode. The file chooser will let the user pick an existing file, or type in a new filename. + Indicates open mode. The file chooser will only let the user pick an existing file. - - + + + 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. + 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 a mode for creating a new folder. The file chooser will let the user name an existing or new folder. + Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder. diff --git a/doc/en/Gtk/FileChooserButton.xml b/doc/en/Gtk/FileChooserButton.xml index 4b8de5f3f..6563ab740 100644 --- a/doc/en/Gtk/FileChooserButton.xml +++ b/doc/en/Gtk/FileChooserButton.xml @@ -1,19 +1,12 @@ + 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. - - 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. - - - Gtk.HBox @@ -22,56 +15,100 @@ The GtkFileChooserButton will ellipsize the label, and thus will thus request li 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 + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + + + + + 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 + - Internal constructor a + Internal constructor This is not typically used by C# code. + Constructor + + 2.12.0.0 + - Creates a FileChooserButton. a a + Creates a FileChooserButton. To be added + Constructor + + 2.12.0.0 + @@ -79,129 +116,141 @@ The GtkFileChooserButton will ellipsize the label, and thus will thus request li - Creates a FileChooserButton with a specific backend. a a a + Creates a FileChooserButton with a specific backend. To be added - - - Constructor - - - - - - Creates a FileChooserButton which uses a specific widget as it's file-picking window. - a . - -dialog must be a (or subclass) which implements the interface and must not have = . - - To be added - - - - + + + Property + + 2.12.0.0 + + + + GLib.Property("action") + + - GLib.GType + Gtk.FileChooserAction - - GType Property. - a - Returns the native value for . + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + - To be added - a - To be added + To be added. + To be added. + To be added. - - - GLib.Property("title") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + + + - The width of the entry and label inside the button, in characters. - a - To be added + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("width-chars") - - - - - Event - - - GLib.Signal("selection-changed") - - + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean + + + + To be added. To be added. + To be added. To be added. - - + + + Event + + 2.12.0.0 + - GLib.Signal("file-activated") + GLib.Signal("confirm-overwrite") - System.EventHandler + Gtk.ConfirmOverwriteHandler - To be added. - To be added. + 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 . + - - - Event - - - GLib.Signal("update-preview") - - + + + + Property + + 2.12.0.0 + - System.EventHandler + System.String To be added. + To be added. To be added. + Event + + 2.12.0.0 + GLib.Signal("current-folder-changed") @@ -215,277 +264,372 @@ dialog must be a (or subclass) which implements the To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - - To be added. To be added. - To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("do-overwrite-confirmation") + + System.Boolean - - - - To be added. - To be added. - To be added. - To be added. + Enables Overwrite Confirmation in the dialog. + + if confirmation should be performed. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("extra-widget") + + - System.Boolean + Gtk.Widget - - - - To be added. To be added. - To be added. + To be added. To be added. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("file-activated") + + - System.Boolean + System.EventHandler - - - - To be added. To be added. - To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String[] - - - - To be added. To be added. - To be added. + To be added. To be added. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("file-set") + + - System.Void + System.EventHandler - - - - To be added. To be added. To be added. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("filter") + + - System.Boolean + Gtk.FileFilter - - - - To be added. To be added. - To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.FileFilter[] - - - - To be added. To be added. - To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("focus-on-click") + + - System.Void + System.Boolean - - - - To be added. - To be added. - To be added. + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - + - To be added. - To be added. - To be added. + GType Property. + a + Returns the native value for . - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("local-only") + + 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="OverrideConfirmOverwrite", Type=typeof(Gtk.FileChooserButton)) + + - System.Void + Gtk.FileChooserConfirmation - - - + - To be added. - To be added. - 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="OverrideCurrentFolderChanged", Type=typeof(Gtk.FileChooserButton)) + + - System.Boolean + System.Void - - - + - To be added. - To be added. - 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="OverrideFileActivated", Type=typeof(Gtk.FileChooserButton)) + + - System.Boolean + System.Void - - - + - To be added. - To be added. - 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="OverrideFileSet", 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. + 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. + 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 @@ -495,21 +639,29 @@ dialog must be a (or subclass) which implements the Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added. + To be added. + To be added. - - + + + Property + + 2.12.0.0 + System.String @@ -519,9 +671,18 @@ dialog must be a (or subclass) which implements the To be added. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("preview-widget") + + Gtk.Widget @@ -530,17 +691,21 @@ dialog must be a (or subclass) which implements the To be added. To be added. + + + + + Property + + 2.12.0.0 + - GLib.Property("extra-widget") + GLib.Property("preview-widget-active") - - - - Property - System.String + System.Boolean To be added. @@ -548,91 +713,135 @@ dialog must be a (or subclass) which implements the To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + - Indicates if Hidden files and directories should be visible. - To be added. - + To be added. + To be added. + To be added. - - - GLib.Property("show-hidden") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.FileFilter + System.Boolean + + + + To be added. To be added. - To be added. + To be added. To be added. - - - GLib.Property("filter") - - - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + + + + To be added. To be added. - To be added. + To be added. To be added. - - - GLib.Property("local-only") - - - - - Property + + + + 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. + + + + + Event + + 2.12.0.0 + - GLib.Property("preview-widget-active") + GLib.Signal("selection-changed") - - - - Property - System.String + System.EventHandler To be added. - To be added. To be added. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("select-multiple") + + - System.String + System.Boolean To be added. @@ -640,103 +849,131 @@ dialog must be a (or subclass) which implements the To be added. - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + + + + To be added. To be added. - To be added. + To be added. To be added. - - - GLib.Property("use-preview-label") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean + + + + To be added. To be added. - To be added. + To be added. To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean + + + + To be added. To be added. - To be added. + To be added. To be added. - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + + + + To be added. To be added. - To be added. + To be added. To be added. - - - GLib.Property("select-multiple") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Widget + System.Boolean + + + + To be added. To be added. - To be added. + To be added. To be added. - - - GLib.Property("preview-widget") - - - - + + + Property + + 2.12.0.0 + - Gtk.FileChooserAction + System.String[] To be added. To be added. To be added. - - - GLib.Property("action") - - - - + + + Property + + 2.12.0.0 + - System.String + System.String[] To be added. @@ -744,166 +981,196 @@ dialog must be a (or subclass) which implements the To be added. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("show-hidden") + + - System.String[] + System.Boolean - To be added. + Indicates if Hidden files and directories should be visible. To be added. - To be added. + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("title") + + - Gtk.FileFilter[] + System.String + - To be added. - To be added. - To be added. + To be added + a + To be added - - - Property + + + + Method + + 2.12.0.0 + - System.String[] + System.Void + To be added. - To be added. To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.String[] + System.Void + + + + To be added. To be added. - To be added. To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.String[] + System.Void + + + + To be added. To be added. - To be added. To be added. - - + + + Event + + 2.12.0.0 + - GLib.Signal("confirm-overwrite") + GLib.Signal("update-preview") - Gtk.ConfirmOverwriteHandler + System.EventHandler - 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 . - + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - Gtk.FileChooserConfirmation + System.String - - Default handler for the event. - To be added. - Override this method in a subclass to provide a default handler for the event. - + To be added. + To be added. + To be added. - - + + + Property - - - GLib.Property("do-overwrite-confirmation") - - + + 2.12.0.0 + - System.Boolean + System.String[] - Enables Overwrite Confirmation in the dialog. - - if confirmation should be performed. - - + To be added. + To be added. + To be added. - - + + + Property + + 2.12.0.0 + - GLib.Property("focus-on-click") + GLib.Property("use-preview-label") 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. - + To be added. + To be added. + To be added. - - - Event + + + + Property + + 2.12.0.0 + - GLib.Signal("file-set") + GLib.Property("width-chars") - System.EventHandler - - - To be added. - To be added. - - - - - - Method - - System.Void + System.Int32 - To be added. - To be added. - + The width of the entry and label inside the button, in characters. + a + To be added diff --git a/doc/en/Gtk/FileChooserConfirmation.xml b/doc/en/Gtk/FileChooserConfirmation.xml index d0c5211a1..452ce602a 100644 --- a/doc/en/Gtk/FileChooserConfirmation.xml +++ b/doc/en/Gtk/FileChooserConfirmation.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.FileChooserConfirmationGType)) + + File Chooser Confirmation results. + + + + Field + + 2.12.0.0 + Gtk.FileChooserConfirmation @@ -23,30 +33,33 @@ Accepts the filename. - - + + + Field + + 2.12.0.0 + Gtk.FileChooserConfirmation - Requires re-selection. + Requests built-in confirmation code. - - + + + Field + + 2.12.0.0 + Gtk.FileChooserConfirmation - Requests built-in confirmation code. + Requires re-selection. - - File Chooser Confirmation results. - - - diff --git a/doc/en/Gtk/FileChooserDialog.xml b/doc/en/Gtk/FileChooserDialog.xml index d9af3a5a8..ffbfd1e99 100644 --- a/doc/en/Gtk/FileChooserDialog.xml +++ b/doc/en/Gtk/FileChooserDialog.xml @@ -1,11 +1,20 @@ + 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 . @@ -36,163 +45,162 @@ public class MainWindow: Gtk.Window { - - Gtk.Dialog - - - - Gtk.FileChooser - - - - - Method - - System.Boolean - - - - - - - Sets the current folder for the chooser from an URI. - - a , the URI to use - 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 - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Unselects all the files in the current folder of a file chooser. - + To be added + To be added - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - - 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 - a , true if both the - folder could be changed and the file was - selected successfully, false otherwise. + a + Protected constructor. - 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 - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - + - - Removes a folder URI from a file chooser's list of shortcut folders. - - a - a + a , pointer to underlying C object. + Constructor for internal use. - See also . - + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - + + + + + + + System.ParamArray + + + - - Adds a folder URI to be displayed with the shortcut folders in a file - chooser. - - a - 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. - + 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 ) - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + + + + + + + + System.ParamArray + + + + - Selects all the files in the current folder of a file chooser. + 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. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("action") + + - System.Boolean + Gtk.FileChooserAction - - - + - 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 . + Sets the type of operation that that the chooser is performing; the + user interface is adapted to suit the selected action. - a - a , true if both the - folder could be changed and the URI was - selected successfully, false otherwise. + 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 @@ -200,15 +208,24 @@ public class MainWindow: Gtk.Window { - Removes from the list of filters that the user can select between. 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 @@ -216,8 +233,8 @@ public class MainWindow: Gtk.Window { - Adds a folder to be displayed with the shortcut folders in a file chooser. 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 @@ -226,355 +243,555 @@ public class MainWindow: Gtk.Window { - - + + + Method + + 2.12.0.0 + System.Boolean - + - Selects a filename. - a - a + 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. - 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 . + 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. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("confirm-overwrite") + + - System.Void + Gtk.ConfirmOverwriteHandler - - - - - Unselects a currently selected filename. - - a + 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 - If the filename is not in the current directory, does not exist, or - is otherwise not currently selected, does nothing. - + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("current-folder-changed") + + - System.Void + System.EventHandler - - - + - Adds to the list of filters that the - user can select between. + This signal is emitted when the current folder in a file chooser + changes. - a - When a filter is selected, only files that are passed by that - filter are displayed. + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - + - Removes a folder from a file chooser's list of shortcut folders. - a - a - See also . + The file chooser's current folder, if set from a URI. + a + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - Unselects the file referred to by . + Property to represent the current name in the file selector, + as if entered by the user. - a + a - If the file is not in the current directory, does not exist, or - is otherwise not currently selected, does nothing. + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("do-overwrite-confirmation") + + System.Boolean - - - - - Sets the current folder for the file chooser from a local filename. - - a - a + 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 - The user will be shown the full contents of the current folder, - plus user interface elements for navigating to other folders. - + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("file-activated") + + - System.Boolean + System.EventHandler - - - + - Sets the file referred to by as the - current file for the the file chooser. + This signal is emitted when the user "activates" a file in the file + chooser. - a - 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 . + This event can happen by double-clicking on a file in the file list, or + by pressing Enter. - 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 . + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The current filename selected by the file chooser. + a + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String[] - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The filenames selected by this widget. + a + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("filter") + + - System.Void + Gtk.FileFilter - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The currently-applied file filter. + a + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.FileFilter[] - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The filters currently in use by this dialog for patterns of files to display. + a + + - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + GLib.GType + + - Protected constructor. - a + The of this object. + a + + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("local-only") - - - - Constructor - - - - + + System.Boolean + + - Constructor for internal use. - a , pointer to underlying C object. + + 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 + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideConfirmOverwrite", Type=typeof(Gtk.FileChooserDialog)) + + - GLib.GType + Gtk.FileChooserConfirmation - The of this object. - a - - + Default handler for the event. + To be added. + Override this method in a subclass to provide a default handler for the event. + - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentFolderChanged", Type=typeof(Gtk.FileChooserDialog)) + + - System.String + System.Void - The file chooser's current folder, if set from a URI. - a - - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideFileActivated", Type=typeof(Gtk.FileChooserDialog)) + + - Gtk.Widget + System.Void - An application-supplied widget to provide extra options to the user. - 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.Property("extra-widget") + 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 + - - Property to represent the current name in the file selector, - as if entered by the user. - + Internal function; gets the filename that should be previewed in a custom preview. 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. - + Not for general programmer use. - - + + + Property + + 2.12.0.0 + - Gtk.FileFilter + System.String - The currently-applied file filter. - a + The URI that should be previewed in a custom preview widget. + a + + + + + Property + + 2.12.0.0 + - GLib.Property("filter") + GLib.Property("preview-widget") - - - - Property - System.Boolean + Gtk.Widget - Sets whether only local files can be selected in the - file selector. + An application-supplied widget to use to display a custom preview + of the currently selected file. - a + 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 - . - + + 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("local-only") + GLib.Property("preview-widget-active") - - - - Property System.Boolean @@ -589,100 +806,146 @@ public class MainWindow: Gtk.Window { may display an internally generated preview of the current file or it may display no preview at all. - - - GLib.Property("preview-widget-active") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + - Internal function; gets the filename that should be previewed in a custom preview. - a - Not for general programmer use. + a + Removes from the list of filters that the user can select between. + + - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean - + + + - 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. - + a + Removes a folder from a file chooser's list of shortcut folders. + a + See also . - - - Property + + + + Method + + 2.12.0.0 + System.Boolean - + + + + a - Sets whether the file chooser should display a stock label with the name of - the file that is being previewed; the default is true. + Removes a folder URI from a file chooser's list of shortcut folders. - a + 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. + See also . - - - GLib.Property("use-preview-label") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - The current filename selected by the file chooser. - a + Selects all the files in the current folder of a file chooser. - - - Property + + + + Method + + 2.12.0.0 + - System.String + 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 - The URI that should be previewed in a custom preview widget. - a + This event is raised every time the selected file changes. - + + Property + + 2.12.0.0 + + + + GLib.Property("select-multiple") + + System.Boolean @@ -699,210 +962,290 @@ public class MainWindow: Gtk.Window { It cannot be set with either of the folder actions. - - - GLib.Property("select-multiple") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Widget + System.Boolean - + + + + a - An application-supplied widget to use to display a custom preview - of the currently selected file. + 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 + a , true if both the + folder could be changed and the URI was + selected successfully, false otherwise. - - 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. - - - - GLib.Property("preview-widget") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.FileChooserAction + System.Boolean - + + + + a - Sets the type of operation that that the chooser is performing; the - user interface is adapted to suit the selected action. + Sets the current folder for the file chooser from a local filename. - a + a - For example, - an option to create a new folder might be shown if the action is - but not if the action is - . + The user will be shown the full contents of the current folder, + plus user interface elements for navigating to other folders. - - - GLib.Property("action") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean - + + + - The current folder for the file chooser, when the chooser has selected a local filename. - a + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.String[] + System.Boolean - + + + - The filenames selected by this widget. - a + 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 URIs selected by this dialog. + The shortcut folders currently in use for this dialog. a - - + + + Property + + 2.12.0.0 + - Gtk.FileFilter[] + System.String[] - The filters currently in use by this dialog for patterns of files to display. - a + The shortcut URIs currently allowed for this dialog. + a - - + + + Property + + 2.12.0.0 + + + + GLib.Property("show-hidden") + + - System.String[] + System.Boolean - The shortcut folders currently in use for this dialog. - a - - + Indicates if Hidden files and directories should be visible. + a + + - - - Property + + + + Method + + 2.12.0.0 + - System.String[] + System.Void - The shortcut URIs currently allowed for this dialog. - a - - + Unselects all the files in the current folder of a file chooser. + - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + - This event is raised every time the selected file changes. + 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. + - - - GLib.Signal("selection-changed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + a - This signal is emitted when the user "activates" a file in the file - chooser. + Unselects the file referred to by . - 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. + If the file is not in the current directory, does not exist, or + is otherwise not currently selected, does nothing. - - - GLib.Signal("file-activated") - - + Event + + 2.12.0.0 + + + + GLib.Signal("update-preview") + + System.EventHandler @@ -931,176 +1274,75 @@ public class MainWindow: Gtk.Window { - - - GLib.Signal("update-preview") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.String - - 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. - - - - - GLib.Signal("current-folder-changed") - - - - - - Constructor - - - - To be added - To be added - - - - - Constructor - - - - - - - - - System.ParamArray - - - - - - Creates a file chooser dialog. - 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 ) - 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 - - - - - - - - - - System.ParamArray - - - - - - Creates a file chooser dialog with a specific file chooser backend - 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. + The URI for the currently selected file in + the file selector. + a - 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. + 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.Boolean - - - - Indicates if Hidden files and directories should be visible. - a - - - - - - GLib.Property("show-hidden") - - - - - - Event - - - 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 . - - - - - - Method - - Gtk.FileChooserConfirmation + System.String[] - Default handler for the event. - To be added. - Override this method in a subclass to provide a default handler for the event. - + The URIs selected by this dialog. + a + + - - + + + Property + + 2.12.0.0 + - GLib.Property("do-overwrite-confirmation") + GLib.Property("use-preview-label") System.Boolean + - Enables Overwrite Confirmation in the dialog. - - if confirmation should be performed. - - + + 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. + diff --git a/doc/en/Gtk/FileChooserError.xml b/doc/en/Gtk/FileChooserError.xml index cb3fc0b33..9d80068a1 100644 --- a/doc/en/Gtk/FileChooserError.xml +++ b/doc/en/Gtk/FileChooserError.xml @@ -1,16 +1,12 @@ + 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. - - These identify the various errors that can occur while calling functions. - - - System.Enum @@ -19,24 +15,34 @@ GLib.GType(typeof(Gtk.FileChooserErrorGType)) + + These identify the various errors that can occur while calling functions. + + + - - + + + Field + + 2.12.0.0 + Gtk.FileChooserError - - - Indicates that a file does not exist. - - + Indicates a file already exists. + + Field + + 2.12.0.0 + Gtk.FileChooserError @@ -48,15 +54,22 @@ - - + + + Field + + 2.12.0.0 + Gtk.FileChooserError + + - Indicates a file already exists. - + Indicates that a file does not exist. + + diff --git a/doc/en/Gtk/FileChooserWidget.xml b/doc/en/Gtk/FileChooserWidget.xml index 3e81cb283..41a481b5c 100644 --- a/doc/en/Gtk/FileChooserWidget.xml +++ b/doc/en/Gtk/FileChooserWidget.xml @@ -1,11 +1,20 @@ + 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. @@ -17,103 +26,172 @@ Note that does not have any methods of it - - Gtk.VBox - - - - Gtk.FileChooser - - - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - - Sets the current folder for the chooser from an URI. - - a , the URI to use - a , true if the folder could be changed successfully, false otherwise + a + Protected constructor. - The user will be shown the full contents of the current folder, - plus user interface elements for navigating to other folders. - + - - - Method + + + + 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") + + - System.Void + Gtk.FileChooserAction - Unselects all the files in the current folder of a file chooser. - + + 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.Boolean + System.Void - + + 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 - . + Adds to the list of filters that the + user can select between. - a - 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 . + When a filter is selected, only files that are passed by that + filter are displayed. - - + + + Method + + 2.12.0.0 + System.Boolean - + - - Removes a folder URI from a file chooser's list of shortcut folders. - - a + a + Adds a folder to be displayed with the shortcut folders in a file chooser. a - See also . + 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 @@ -121,11 +199,11 @@ Note that does not have any methods of it + a Adds a folder URI to be displayed with the shortcut folders in a file chooser. - a a , true if the folder could be added successfully, false otherwise. @@ -135,257 +213,352 @@ Note that does not have any methods of it - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("confirm-overwrite") + + - System.Void + Gtk.ConfirmOverwriteHandler - - Selects all the files in the current folder of a file chooser. - - + 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 . + - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - + - - 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 - a , true if both the - folder could be changed and the URI was - selected successfully, false otherwise. + The current folder for the file chooser, when the chooser has selected a local filename. + a - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("current-folder-changed") + + - System.Void + System.EventHandler - - - + - Removes from the list of filters that the user can select between. - a + Event raised when the chooser changes the folder it's looking at. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - + - Adds a folder to be displayed with the shortcut folders in a file chooser. - a - a + The file chooser's current folder, if set from a URI. + 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 + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - - Selects a filename. - a - a + + Property to represent the current name in the file selector, + as if entered by the user. + + 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 . + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("do-overwrite-confirmation") + + - System.Void + System.Boolean - - - - - Unselects a currently selected filename. - - a + 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 - If the filename is not in the current directory, does not exist, or - is otherwise not currently selected, does nothing. - + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("file-activated") + + - System.Void + System.EventHandler - - - + - Adds to the list of filters that the - user can select between. + This signal is emitted when the user "activates" a file in the file + chooser. - a - When a filter is selected, only files that are passed by that - filter are displayed. + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - + - Removes a folder from a file chooser's list of shortcut folders. - a - a - See also . + The current filename selected by the file chooser. + a + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String[] - - - + - - Unselects the file referred to by . - - a + The filenames selected by this widget. + a - If the file is not in the current directory, does not exist, or - is otherwise not currently selected, does nothing. - + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("filter") + + - System.Boolean + Gtk.FileFilter - - - + - - Sets the current folder for the file chooser from a local filename. - - a - a + The currently-applied file filter. + a - The user will be shown the full contents of the current folder, - plus user interface elements for navigating to other folders. - + - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.FileFilter[] - - - + - - Sets the file referred to by as the - current file for the the file chooser. - - a - a , true if both the folder - could be changed and the URI was - selected successfully, false otherwise. + The filters currently in use by this widget for patterns of files to display. + a - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The for this object. + a + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("local-only") + + - System.Void + System.Boolean - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + + 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)) + + - System.Void + Gtk.FileChooserConfirmation - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -395,188 +568,161 @@ Note that does not have any methods of it Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - - - Protected constructor. - a - - - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideFileActivated", Type=typeof(Gtk.FileChooserWidget)) - - - - Constructor - - - - - - Constructor for internal use. - a , pointer to underlying C object - - - - - - - Constructor - - - - + + System.Void + + - Public constructor. - a , the action this chooser will perform - - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - - + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.FileChooserWidget)) + + + + System.Void + + - Public constructor. - a , the action this widget should perform - a , the filesystem back-end to use. - - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideUpdatePreview", Type=typeof(Gtk.FileChooserWidget)) + + - GLib.GType + System.Void - The for this object. - 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 + System.String - The file chooser's current folder, if set from a URI. + Internal function; gets the filename that should be previewed in a custom preview. a - - + Not for general programmer use. - - + + + Property + + 2.12.0.0 + - Gtk.Widget + System.String - An application-supplied widget to provide extra options to the user. - a + The URI that should be previewed in a custom preview widget. + a + + + + + Property + + 2.12.0.0 + - GLib.Property("extra-widget") + GLib.Property("preview-widget") - - - - Property - System.String + Gtk.Widget + - Property to represent the current name in the file selector, - as if entered by the user. + An application-supplied widget to use to display a custom preview + of the currently selected file. - 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 - - Gtk.FileFilter - - - - The currently-applied file filter. - a + a - - - - - GLib.Property("filter") - - + + 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 - - 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 - . - - + + 2.12.0.0 + - GLib.Property("local-only") + GLib.Property("preview-widget-active") - - - - Property System.Boolean @@ -591,100 +737,146 @@ Note that does not have any methods of it may display an internally generated preview of the current file or it may display no preview at all. - - - GLib.Property("preview-widget-active") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + - Internal function; gets the filename that should be previewed in a custom preview. - a - Not for general programmer use. + a + Removes from the list of filters that the user can select between. + + - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean - + + + - 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. - + a + Removes a folder from a file chooser's list of shortcut folders. + a + See also . - - - Property + + + + Method + + 2.12.0.0 + System.Boolean - + + + + a - Sets whether the file chooser should display a stock label with the name of - the file that is being previewed; the default is true. + Removes a folder URI from a file chooser's list of shortcut folders. - a + 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. + See also . - - - GLib.Property("use-preview-label") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - The current filename selected by the file chooser. - a + Selects all the files in the current folder of a file chooser. - - - Property + + + + Method + + 2.12.0.0 + - System.String + 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 - The URI that should be previewed in a custom preview widget. - a + This event is raised every time the selected file changes. - + + Property + + 2.12.0.0 + + + + GLib.Property("select-multiple") + + System.Boolean @@ -701,210 +893,281 @@ Note that does not have any methods of it It cannot be set with either of the folder actions. - - - GLib.Property("select-multiple") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Widget + System.Boolean - + + + + a - An application-supplied widget to use to display a custom preview - of the currently selected file. + 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 + a , true if both the + folder could be changed and the URI was + selected successfully, false otherwise. - - 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. - - - - GLib.Property("preview-widget") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.FileChooserAction + 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 the type of operation that that the chooser is performing; the - user interface is adapted to suit the selected action. + 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 + a , true if both the + folder could be changed and the file was + selected successfully, false otherwise. - For example, - an option to create a new folder might be shown if the action is - but not if the action is - . + 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 . - - - GLib.Property("action") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Boolean - + + + - The current folder for the file chooser, when the chooser has selected a local filename. - a + 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 filenames selected by this widget. + The shortcut folders currently in use for this widget. a - - + + + Property + + 2.12.0.0 + System.String[] - The URIs selected by this widget. + The shortcut URIs currently allowed for this widget. a - - - Property - - Gtk.FileFilter[] - - - - The filters currently in use by this widget for patterns of files to display. - a - - - - - - + + + Property + + 2.12.0.0 + + + + GLib.Property("show-hidden") + + - System.String[] + System.Boolean - The shortcut folders currently in use for this widget. - a - - + To be added + a + To be added + - - - Property + + + + Method + + 2.12.0.0 + - System.String[] + System.Void - The shortcut URIs currently allowed for this widget. - a - - + Unselects all the files in the current folder of a file chooser. + - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + - This event is raised every time the selected file changes. + 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. + - - - GLib.Signal("selection-changed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + a - This signal is emitted when the user "activates" a file in the file - chooser. + Unselects the file referred to by . - 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. + If the file is not in the current directory, does not exist, or + is otherwise not currently selected, does nothing. - - - GLib.Signal("file-activated") - - + Event + + 2.12.0.0 + + + + GLib.Signal("update-preview") + + System.EventHandler @@ -933,100 +1196,75 @@ Note that does not have any methods of it - - - GLib.Signal("update-preview") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.String - Event raised when the chooser changes the folder it's looking at. + 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. + - - - GLib.Signal("current-folder-changed") - - - - + + + Property + + 2.12.0.0 + - System.Boolean - - - - To be added - a - To be added - - - - - GLib.Property("show-hidden") - - - - - - Event - - - 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 . - - - - - - Method - - Gtk.FileChooserConfirmation + System.String[] - Default handler for the event. - To be added. - Override this method in a subclass to provide a default handler for the event. - + The URIs selected by this widget. + a + + - - + + + Property + + 2.12.0.0 + - GLib.Property("do-overwrite-confirmation") + GLib.Property("use-preview-label") System.Boolean + - Enables Overwrite Confirmation in the widget. - is if confirmation should be performed. - - + + 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. + diff --git a/doc/en/Gtk/FileFilter.xml b/doc/en/Gtk/FileFilter.xml index 2a6332984..6c0749249 100644 --- a/doc/en/Gtk/FileFilter.xml +++ b/doc/en/Gtk/FileFilter.xml @@ -1,11 +1,17 @@ + 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. @@ -48,15 +54,99 @@ public class MainWindow: Gtk.Window { - - Gtk.Object - - - + + + + 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 @@ -64,14 +154,18 @@ public class MainWindow: Gtk.Window { - Adds a rule allowing a given MIME type to a filter. a + Adds a rule allowing a given MIME type to a filter. + Method + + 2.12.0.0 + System.Void @@ -79,14 +173,35 @@ public class MainWindow: Gtk.Window { - Adds a rule allowing a shell style glob to a filter. 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 @@ -94,8 +209,8 @@ public class MainWindow: Gtk.Window { - Tests whether a file should be displayed according to this filter. a + Tests whether a file should be displayed according to this filter. a , TRUE if the file should be displayed. The structure @@ -107,56 +222,13 @@ public class MainWindow: Gtk.Window { - - - Constructor - - - - - - Protected constructor. - a - - - - - System.Obsolete - - - - - - Constructor - - - - - - Constructor for internal use only. - a - - - - - - Constructor - - - - 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 - . - - - - + + Property + + 2.12.0.0 + GLib.GType @@ -168,8 +240,12 @@ public class MainWindow: Gtk.Window { - + + Property + + 2.12.0.0 + System.String @@ -184,8 +260,12 @@ public class MainWindow: Gtk.Window { - + + Property + + 2.12.0.0 + Gtk.FileFilterFlags @@ -203,40 +283,5 @@ public class MainWindow: Gtk.Window { - - - Method - - System.Void - - - - - - - Adds a rule to a filter that allows files based on a custom callback function. - a - a - - 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 - - System.Void - - - - To be added - To be added - - - diff --git a/doc/en/Gtk/FileFilterFlags.xml b/doc/en/Gtk/FileFilterFlags.xml index 0c98d9fb6..9ed275d95 100644 --- a/doc/en/Gtk/FileFilterFlags.xml +++ b/doc/en/Gtk/FileFilterFlags.xml @@ -1,16 +1,12 @@ + 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. - - This object represents a bitfield of flags that list the needed fields when calling . - - - System.Enum @@ -22,56 +18,77 @@ 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. + The filename to display. - - + + + Field + + 2.12.0.0 + Gtk.FileFilterFlags - A URI. + The filename. - - + + + Field + + 2.12.0.0 + Gtk.FileFilterFlags - The filename to display. + The MIME type of the file. - - + + + Field + + 2.12.0.0 + Gtk.FileFilterFlags - The MIME type of the file. + A URI. diff --git a/doc/en/Gtk/FileFilterFunc.xml b/doc/en/Gtk/FileFilterFunc.xml index fccbdb724..333dc50fb 100644 --- a/doc/en/Gtk/FileFilterFunc.xml +++ b/doc/en/Gtk/FileFilterFunc.xml @@ -1,26 +1,27 @@ + 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. + - - System.Delegate - - - System.Boolean - - - - diff --git a/doc/en/Gtk/FileFilterInfo.xml b/doc/en/Gtk/FileFilterInfo.xml index ac86e8ca3..de45d4a8f 100644 --- a/doc/en/Gtk/FileFilterInfo.xml +++ b/doc/en/Gtk/FileFilterInfo.xml @@ -1,53 +1,66 @@ + 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 . - - System.ValueType - - - - + + + Field + + 2.12.0.0 + - Gtk.FileFilterInfo + Gtk.FileFilterFlags - An empty FileFilterInfo + Flags indicating which of the fields are filled. - - + + + Field + + 2.12.0.0 + - Gtk.FileFilterFlags + System.String - Flags indicating which of the fields are filled. + The string that will be used to display the file in the file chooser + Field + + 2.12.0.0 + System.String @@ -59,63 +72,79 @@ - - + + + Field + + 2.12.0.0 + System.String - The URI for the file being tested + The mime type of the file - - - Field + + + + Method + + 2.12.0.0 + - System.String + Gtk.FileFilterInfo + - The string that will be used to display the file in the file chooser - - + 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 mime type of the file + The URI for the file being tested - - - Method + + + + Field + + 2.12.0.0 + Gtk.FileFilterInfo - - Public constructor. - a - a - XXX: the API here needs adjusting, as this shouldn't - require an IntPtr parameter. + An empty FileFilterInfo + + diff --git a/doc/en/Gtk/FileSelection+FSButton.xml b/doc/en/Gtk/FileSelection+FSButton.xml index ccf500dda..8dd777b1b 100644 --- a/doc/en/Gtk/FileSelection+FSButton.xml +++ b/doc/en/Gtk/FileSelection+FSButton.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,26 @@ 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 @@ -30,16 +47,4 @@ - - - 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. - - - diff --git a/doc/en/Gtk/FileSelection.xml b/doc/en/Gtk/FileSelection.xml index bc38b28f1..9945e234d 100644 --- a/doc/en/Gtk/FileSelection.xml +++ b/doc/en/Gtk/FileSelection.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,16 @@ 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. @@ -79,63 +90,43 @@ class FileSelectionSample - - Gtk.Dialog - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Restrict the visible files and directories to those that match the given . - A simple wildcard pattern such as '*.txt'. - - 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. - - - - - - Method - - System.Void - - - - Ensures that the file operation buttons are visible. - - - - - - Method - - System.Void - - - - Ensures that the file operation buttons are hidden. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -143,20 +134,28 @@ class FileSelectionSample + Constructor + + 2.12.0.0 + - The main way to construct a new file selector. 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 @@ -167,8 +166,12 @@ class FileSelectionSample - + + Property + + 2.12.0.0 + Gtk.HButtonBox @@ -178,63 +181,159 @@ class FileSelectionSample - - + + + Property + + 2.12.0.0 + Gtk.Button - The 'rename file' button of this file selector. + 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. - This button may or may not be visible, see and . + 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 'delete' button of this file selector. + 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 'create directory' button of this file selector. + The 'delete' button of this file selector. This button may or may not be visible, see and . - - + + + Property + + 2.12.0.0 + - System.String + Gtk.MessageDialog - The filename selected by this . - an object of type + The dialog box for confirming actions, if necessary. + an object of type - + + Property + + 2.12.0.0 + Gtk.Entry @@ -244,49 +343,64 @@ class FileSelectionSample - - + + + Property + + 2.12.0.0 + - Gtk.MessageDialog + System.String - The dialog box for confirming actions, if necessary. - an object of type + The filename selected by this . + an object of type - - + + + Property + + 2.12.0.0 + - Gtk.Menu + Gtk.Button - The that is displayed by the . - A menu containing the file system paths higher than the selected directory, and the user's directory history. + The 'rename file' button of this file selector. + - 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. + This button may or may not be visible, see and . - - + + + Property + + 2.12.0.0 + - Gtk.OptionMenu + GLib.GType + - 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 . - + GType Property. + a + Returns the native value for . - + + Property + + 2.12.0.0 + Gtk.Button @@ -296,96 +410,116 @@ class FileSelectionSample - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Button + System.Void + - The 'cancel' button of this file selector. - + Ensures that the file operation buttons are hidden. - - + + + Property + + 2.12.0.0 + - Gtk.Button + Gtk.Menu - The 'OK' button of this file selector. - - + 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.Label + Gtk.OptionMenu - The text to display about the file to be selected. - an object of type - + 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.Entry + Gtk.VBox + - The text-entry widget for entering a filename into. - an object of type - + The main in the file selector. + a + + + - - + + + Property + + 2.12.0.0 + - Gtk.TreeView + Gtk.Button - The widget that displays files in this file selector. + The 'OK' button of this file selector. - - + + + Property + + 2.12.0.0 + - Gtk.TreeView + Gtk.Entry - The widget that displays directories in this file selector. - + The text-entry widget for entering a filename into. + an object of type - - - Property - - Gtk.VBox - - - - The main in the file selector. - a - - - - - - + + Property + + 2.12.0.0 + System.String[] @@ -395,52 +529,34 @@ class FileSelectionSample - - + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.Label - - - 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. - + The text to display about the file to be selected. + an object of type + - - - GLib.Property("show-fileops") - - - - + + + Property - - 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. - - + + 2.12.0.0 + - GLib.Property("filename") + GLib.Property("select-multiple") - - - - Property System.Boolean @@ -452,47 +568,48 @@ class FileSelectionSample if multiple selections are allowed, otherwise. - - - GLib.Property("select-multiple") - - - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + Ensures that the file operation buttons are visible. + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + 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. + + - - - System.Obsolete - - diff --git a/doc/en/Gtk/Fixed+FixedChild.xml b/doc/en/Gtk/Fixed+FixedChild.xml index e538bbbb9..ab22cc08c 100644 --- a/doc/en/Gtk/Fixed+FixedChild.xml +++ b/doc/en/Gtk/Fixed+FixedChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,38 @@ 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") @@ -28,8 +57,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("y") @@ -46,10 +79,4 @@ - - A child of a , used to interact with its container child properties. - - - - diff --git a/doc/en/Gtk/Fixed.xml b/doc/en/Gtk/Fixed.xml index f57f444af..8b40bd609 100644 --- a/doc/en/Gtk/Fixed.xml +++ b/doc/en/Gtk/Fixed.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -18,83 +24,86 @@ 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. - - Gtk.Container - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Void - - - - - - + + + + Constructor + + 2.12.0.0 + + + - Moves a child of a container to the given position. - an object of type - an object of type - an object of type - Moves a child of a container to the given position. + Creates a new object. + Creates a new object. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Adds a widget to a container at the given position. - an object of type - an object of type - an object of type - Adds a widget to a container at the given position. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Property + + 2.12.0.0 + + + GLib.GType + - Creates a new object. - Creates a new object. + GType Property. + a + Returns the native value for . - + + Property + + 2.12.0.0 + System.Boolean @@ -109,36 +118,71 @@ - - + + + Property + + 2.12.0.0 + - GLib.GType + Gtk.Container+ContainerChild - + + + - GType Property. - a - Returns the native value for . + To be added. + To be added. + To be added. + To be added. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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. - - - System.Obsolete - - diff --git a/doc/en/Gtk/FocusChildSetArgs.xml b/doc/en/Gtk/FocusChildSetArgs.xml index 117ad1302..3604d69ab 100644 --- a/doc/en/Gtk/FocusChildSetArgs.xml +++ b/doc/en/Gtk/FocusChildSetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/FocusChildSetHandler.xml b/doc/en/Gtk/FocusChildSetHandler.xml index 1fde738d8..6c704599e 100644 --- a/doc/en/Gtk/FocusChildSetHandler.xml +++ b/doc/en/Gtk/FocusChildSetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/FocusInEventArgs.xml b/doc/en/Gtk/FocusInEventArgs.xml index 3e4206b82..37b8558fb 100644 --- a/doc/en/Gtk/FocusInEventArgs.xml +++ b/doc/en/Gtk/FocusInEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventFocus diff --git a/doc/en/Gtk/FocusInEventHandler.xml b/doc/en/Gtk/FocusInEventHandler.xml index b005f55d3..04b89804d 100644 --- a/doc/en/Gtk/FocusInEventHandler.xml +++ b/doc/en/Gtk/FocusInEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/FocusOutEventArgs.xml b/doc/en/Gtk/FocusOutEventArgs.xml index 83d69e2f5..528a9ac2c 100644 --- a/doc/en/Gtk/FocusOutEventArgs.xml +++ b/doc/en/Gtk/FocusOutEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventFocus diff --git a/doc/en/Gtk/FocusOutEventHandler.xml b/doc/en/Gtk/FocusOutEventHandler.xml index e12e6eca3..7ea4a0cae 100644 --- a/doc/en/Gtk/FocusOutEventHandler.xml +++ b/doc/en/Gtk/FocusOutEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/FocusTabArgs.xml b/doc/en/Gtk/FocusTabArgs.xml index 612cbff63..b6d4a9de0 100644 --- a/doc/en/Gtk/FocusTabArgs.xml +++ b/doc/en/Gtk/FocusTabArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.NotebookTab diff --git a/doc/en/Gtk/FocusTabHandler.xml b/doc/en/Gtk/FocusTabHandler.xml index 29e5e230d..823304dc6 100644 --- a/doc/en/Gtk/FocusTabHandler.xml +++ b/doc/en/Gtk/FocusTabHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/FocusedArgs.xml b/doc/en/Gtk/FocusedArgs.xml index a0a800232..7143f4239 100644 --- a/doc/en/Gtk/FocusedArgs.xml +++ b/doc/en/Gtk/FocusedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.DirectionType diff --git a/doc/en/Gtk/FocusedHandler.xml b/doc/en/Gtk/FocusedHandler.xml index 2d89bae55..73a0d5976 100644 --- a/doc/en/Gtk/FocusedHandler.xml +++ b/doc/en/Gtk/FocusedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/FontButton.xml b/doc/en/Gtk/FontButton.xml index 9d7d68e5c..ca931d202 100644 --- a/doc/en/Gtk/FontButton.xml +++ b/doc/en/Gtk/FontButton.xml @@ -1,185 +1,258 @@ + 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. - - 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. - - 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. + + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 + + - Constructs and initializes a new instance of for a specified native GLib type. 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. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Constructs and initializes a new instance of using an existing unmanaged object as its base. 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 - - - - Constructs and initializes a new instance of with the default font. - To specify the default font on creation, use . - - + Constructor + + 2.12.0.0 + - Constructs and initializes a new instance of with a specified initial font. 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") + + - GLib.GType + System.String - 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. + 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 . + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("font-set") + + - System.Boolean + System.EventHandler - 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. + 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. - - - GLib.Property("show-size") - - - - + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - 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. - - + 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.Property("use-size") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideFontSet", Type=typeof(Gtk.FontButton)) - - - - Property - System.String + System.Void - 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. + 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 . - 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 . + + + + + Property + + 2.12.0.0 + - GLib.Property("font-name") + GLib.Property("show-size") - - - - Property System.Boolean - Gets and sets whether or not button label should be displayed using the selected font. + Gets and sets whether or not to show the font size in the button. - A . If , the button label will be displayed using the selected font. Otherwise in the default system font. + A . If , the font size will be displayed in the button. - Default Value: + For a more WYSIWYG way to show the selected size, see the property. + + + + + Property + + 2.12.0.0 + - GLib.Property("use-font") + 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 @@ -189,64 +262,53 @@ 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("title") + GLib.Property("use-font") - - - - Property System.Boolean - Gets and sets whether or not the font style will be shown with the font name in the button. + Gets and sets whether or not button label should be displayed using the selected font. - A . If , the font style will be displayed along with the name of the selected font, unless the style is "Regular". + A . If , the button label will be displayed using the selected font. Otherwise in the default system font. - Default Value: + Default Value: - - - GLib.Property("show-style") - - - - - Event - - 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.Signal("font-set") + GLib.Property("use-size") - - - - Method System.Boolean - - - + - Sets or updates the font displayed in the child . - A object containing the name of the font to display in the child . - The return value of if the font selection dialog exists, otherwise . - - + 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. + + diff --git a/doc/en/Gtk/FontSelection.xml b/doc/en/Gtk/FontSelection.xml index bb0c1e7ea..3aa7c774a 100644 --- a/doc/en/Gtk/FontSelection.xml +++ b/doc/en/Gtk/FontSelection.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -19,30 +25,14 @@ - - Gtk.VBox - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -52,51 +42,62 @@ - - - Property - - 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. - - + + + + Constructor + + 2.12.0.0 + - GLib.Property("font-name") + System.Obsolete + + + + + + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + - - - Property - - System.String - + + + + Constructor + + 2.12.0.0 + + + - The text used to display a preview of the selected font. - The text currently displaying the selected font. + Pointer to the C object. + Internal constructor - This property determines the exact string that is displayed in the 'preview area' of the FontSelection. + This is an internal constructor, and should not be used by user code. + + + + + Property + + 2.12.0.0 + - GLib.Property("preview-text") + GLib.Property("font") + + + System.Obsolete - - - - Property Gdk.Font @@ -105,18 +106,39 @@ A Gdk font object representing the selected font, or null if no font is selected. + + + + + Property + + 2.12.0.0 + - GLib.Property("font") - - - System.Obsolete + 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 @@ -127,27 +149,38 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + 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 @@ -155,8 +188,8 @@ - Set the current font selection 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. diff --git a/doc/en/Gtk/FontSelectionDialog.xml b/doc/en/Gtk/FontSelectionDialog.xml index 4accf08ad..eb83c0224 100644 --- a/doc/en/Gtk/FontSelectionDialog.xml +++ b/doc/en/Gtk/FontSelectionDialog.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,47 +8,54 @@ 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 . - - Gtk.Dialog - - - - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Sets the name of the font that is selected in this widget. - The name of a system font to select. - - 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. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -55,79 +63,71 @@ + Constructor + + 2.12.0.0 + - Create a new FontSelectionDialog A title that will appear in the window's title bar. + Create a new FontSelectionDialog - - - Property - - 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 + - System.String + Gtk.Button - - + - The text used to display a preview of the selected font. - The text currently displaying the selected font. + The dialog's "Apply" button. + a - This property determines the exact string that is displayed in the 'preview area' of the FontSelectionDialog. + - - + + + Property + + 2.12.0.0 + - GLib.GType + Gtk.Button - GType Property. - a - Returns the native value for . + The dialog's "Cancel" button. + a + + + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + System.Obsolete - - - - Property Gdk.Font @@ -139,45 +139,47 @@ - - - System.Obsolete - - - - + + + Property + + 2.12.0.0 + - Gtk.Button + System.String - - The dialog's "Apply" button. - a - - - + The name of the font that is selected in this widget + The name of the currently selected font. + - - + + + Property + + 2.12.0.0 + - Gtk.Button + GLib.GType - The dialog's "Cancel" button. - a - - - + GType Property. + a + Returns the native value for . - + + Property + + 2.12.0.0 + Gtk.Button @@ -190,5 +192,48 @@ + + + + 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. + + + diff --git a/doc/en/Gtk/FormatValueArgs.xml b/doc/en/Gtk/FormatValueArgs.xml index 1b2a738e8..723a15ec6 100644 --- a/doc/en/Gtk/FormatValueArgs.xml +++ b/doc/en/Gtk/FormatValueArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Double diff --git a/doc/en/Gtk/FormatValueHandler.xml b/doc/en/Gtk/FormatValueHandler.xml index db729bee2..bf160c367 100644 --- a/doc/en/Gtk/FormatValueHandler.xml +++ b/doc/en/Gtk/FormatValueHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Frame.xml b/doc/en/Gtk/Frame.xml index 7cab67b95..852d78ad3 100644 --- a/doc/en/Gtk/Frame.xml +++ b/doc/en/Gtk/Frame.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 . @@ -14,22 +20,57 @@ 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 . - - Gtk.Bin - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -37,32 +78,75 @@ + Constructor + + 2.12.0.0 + - Create a new frame with a label in the top left corner. 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 . - - - Constructor - + + + + Property + + 2.12.0.0 + + + GLib.GType + - Create a new frame with no label + 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 @@ -75,53 +159,65 @@ 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-widget") + GLib.Property("label-xalign") - - - - Property System.Single - Set the vertical alignment of the . - The existing vertical alignment of this Frame's label + Set the horizontal alignment of the . + The existing horizontal alignment of this Frame's label + + + + + Property + + 2.12.0.0 + GLib.Property("label-yalign") - - - - Property System.Single - Set the horizontal alignment of the . - The existing horizontal alignment of this Frame's label + Set the vertical alignment of the . + The existing vertical alignment of this Frame's label + + + + + Property + + 2.12.0.0 + - GLib.Property("label-xalign") + GLib.Property("shadow") - - - - Property Gtk.ShadowType @@ -132,34 +228,19 @@ The current shadow style that this Frame is rendered with. - - - GLib.Property("shadow-type") - - - - + + + Property - - System.String - - - - - The string that is visible as the Frame's label - The text of a label if is a , null otherwise. - - + + 2.12.0.0 + - GLib.Property("label") + GLib.Property("shadow-type") - - - - Property Gtk.ShadowType @@ -170,42 +251,6 @@ The current shadow style that this Frame is rendered with. - - - GLib.Property("shadow") - - - - - - 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 - - diff --git a/doc/en/Gtk/FrameEventArgs.xml b/doc/en/Gtk/FrameEventArgs.xml index 99148b389..64ca4a471 100644 --- a/doc/en/Gtk/FrameEventArgs.xml +++ b/doc/en/Gtk/FrameEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/FrameEventHandler.xml b/doc/en/Gtk/FrameEventHandler.xml index 0f424f7dd..e1183af3a 100644 --- a/doc/en/Gtk/FrameEventHandler.xml +++ b/doc/en/Gtk/FrameEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Function.xml b/doc/en/Gtk/Function.xml index 4f3bffd8f..9e3451b2f 100644 --- a/doc/en/Gtk/Function.xml +++ b/doc/en/Gtk/Function.xml @@ -1,22 +1,23 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A delegate for representing a function with a boolean return value. - - To be added. - System.Delegate - System.Boolean + + A delegate for representing a function with a boolean return value. + To be added. + + + diff --git a/doc/en/Gtk/GammaCurve.xml b/doc/en/Gtk/GammaCurve.xml index f9bd05dab..145137e31 100644 --- a/doc/en/Gtk/GammaCurve.xml +++ b/doc/en/Gtk/GammaCurve.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -18,40 +24,69 @@ - - Gtk.VBox - - - - + + + Constructor + + 2.12.0.0 + + + + + Constructor. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Constructor. - + 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 @@ -62,23 +97,5 @@ 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 - - - diff --git a/doc/en/Gtk/Gc.xml b/doc/en/Gtk/Gc.xml index bbda58706..55f844dbd 100644 --- a/doc/en/Gtk/Gc.xml +++ b/doc/en/Gtk/Gc.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,33 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A shell around ; represents a graphics context. - TODO: add examples. - System.Object + + A shell around ; represents a graphics context. + TODO: add examples. + - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Releases the that is passed in. - a + Basic constructor. + Method + + 2.12.0.0 + Gdk.GC @@ -44,22 +48,31 @@ - Returns a with the specified values. a a a a + Returns a with the specified values. a - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + - Basic constructor. + a + Releases the that is passed in. diff --git a/doc/en/Gtk/Global.xml b/doc/en/Gtk/Global.xml index 08a1d6c93..a725718b6 100644 --- a/doc/en/Gtk/Global.xml +++ b/doc/en/Gtk/Global.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,86 +8,57 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Global API elements for - This class contains all the methods which are not directly attributable to a specific type. - System.Object + + Global API elements for + This class contains all the methods which are not directly attributable to a specific type. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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. - - - - - Method - - Gtk.Widget - - - - - - Gets the widget associated with an event. - a - the that originally received , or . - - - - - - Method - - System.String - - - - - - - - Check if a version is compatible with the currently loaded Gtk library. - a - a - a - - 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+. + 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.Void + System.Boolean - - + - Propagate an event from one widget to another. - - to propagate event to. - - to propagate. - This function should be rarely used, look into event handler overriding instead. + a + To be added + a + To be added + + Method + + 2.12.0.0 + System.Boolean @@ -96,52 +68,46 @@ - Activates a registered key binding. 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 - - - 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. - - - - - Constructor - - - - Do not use. - There are no instance members for this class. This constructor will be marked Obsolete and possibly removed in future versions. - - - - - Property - - 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. + 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 @@ -152,8 +118,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -163,51 +133,45 @@ None. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Pango.Language - - - - - - - - - Converts a Red/Green/Blue color value to a Hue/Saturation/Value color value. - 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 - + 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.Boolean + System.Void - - - + - Gets the state field of the current event. - a to store the state in if one exists. - - if there is a current and it has a state field, otherwise . - + 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 @@ -229,9 +193,59 @@ + + + + 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 @@ -247,7 +261,6 @@ - Deprecated. Do not use. a a a , a state @@ -257,13 +270,18 @@ 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 @@ -272,29 +290,81 @@ - To be added a a + To be added a To be added - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + - To be added - a - a - To be added - + + 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. diff --git a/doc/en/Gtk/GotPageSizeArgs.xml b/doc/en/Gtk/GotPageSizeArgs.xml index a8fba038f..75e73261b 100644 --- a/doc/en/Gtk/GotPageSizeArgs.xml +++ b/doc/en/Gtk/GotPageSizeArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -31,8 +47,12 @@ - + + Property + + 2.12.0.0 + Gtk.PageSetup @@ -43,11 +63,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/GotPageSizeHandler.xml b/doc/en/Gtk/GotPageSizeHandler.xml index bd2f19a98..f7ce31d20 100644 --- a/doc/en/Gtk/GotPageSizeHandler.xml +++ b/doc/en/Gtk/GotPageSizeHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Grab.xml b/doc/en/Gtk/Grab.xml index 1c10a44bd..102afa79b 100644 --- a/doc/en/Gtk/Grab.xml +++ b/doc/en/Gtk/Grab.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,18 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Grab methods allow you to limit the keyboard and mouse interaction to a particular widget or window. - - 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 @@ -26,14 +45,34 @@ - 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. 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 @@ -41,30 +80,8 @@ - Removes the grab from the given widget. You have to pair calls to and . The which gives up the grab. - - - - - - Constructor - - - - Don't use. - - - - - - Property - - Gtk.Widget - - - Queries the current grab of the default window group. - A which currently has the grab or if no grab is active. + Removes the grab from the given widget. You have to pair calls to and . diff --git a/doc/en/Gtk/GrabBrokenEventArgs.xml b/doc/en/Gtk/GrabBrokenEventArgs.xml index 55d49cdcb..dfcb26660 100644 --- a/doc/en/Gtk/GrabBrokenEventArgs.xml +++ b/doc/en/Gtk/GrabBrokenEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + GrabBroken event args. + + + + Constructor + + 2.12.0.0 + Public constructor. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventGrabBroken @@ -31,9 +45,4 @@ - - GrabBroken event args. - - - diff --git a/doc/en/Gtk/GrabBrokenEventHandler.xml b/doc/en/Gtk/GrabBrokenEventHandler.xml index b2209821d..593800ffd 100644 --- a/doc/en/Gtk/GrabBrokenEventHandler.xml +++ b/doc/en/Gtk/GrabBrokenEventHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/GrabNotifyArgs.xml b/doc/en/Gtk/GrabNotifyArgs.xml index 1466734b4..31355a826 100644 --- a/doc/en/Gtk/GrabNotifyArgs.xml +++ b/doc/en/Gtk/GrabNotifyArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/GrabNotifyHandler.xml b/doc/en/Gtk/GrabNotifyHandler.xml index 7814a4d5e..1880dd774 100644 --- a/doc/en/Gtk/GrabNotifyHandler.xml +++ b/doc/en/Gtk/GrabNotifyHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/HBox.xml b/doc/en/Gtk/HBox.xml index 8940c1c37..1e6ba4766 100644 --- a/doc/en/Gtk/HBox.xml +++ b/doc/en/Gtk/HBox.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,21 @@ 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; @@ -38,7 +49,10 @@ class HBoxTester { box.PackStart (new Button ("Button"), true, false, 0); } } - + + + + Imports System Imports Gtk @@ -67,30 +81,60 @@ Class HBoxTester End Sub End Class - - - 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, . - - + + - - Gtk.Box - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -98,22 +142,30 @@ End Class + Constructor + + 2.12.0.0 + - The main way to create a new HBox. 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 @@ -124,33 +176,5 @@ End Class 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 - - - - Default constructor. - - - diff --git a/doc/en/Gtk/HButtonBox.xml b/doc/en/Gtk/HButtonBox.xml index d585cfd0c..ffab62151 100644 --- a/doc/en/Gtk/HButtonBox.xml +++ b/doc/en/Gtk/HButtonBox.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,40 +20,69 @@ Methods for manipulating button boxes are provided in the super classes, and . - - Gtk.ButtonBox - - - - + + Constructor + + 2.12.0.0 + + + + + The normal way to construct a horizontal button box + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - The normal way to construct a horizontal button box - + 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 @@ -58,27 +93,18 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + System.Obsolete - - - - Property Gtk.ButtonBoxStyle @@ -90,15 +116,19 @@ + + + + + Property + + 2.12.0.0 + System.Obsolete - - - - Property System.Int32 @@ -110,11 +140,6 @@ - - - System.Obsolete - - diff --git a/doc/en/Gtk/HPaned.xml b/doc/en/Gtk/HPaned.xml index b601d66fd..1ff24b422 100644 --- a/doc/en/Gtk/HPaned.xml +++ b/doc/en/Gtk/HPaned.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,40 +20,69 @@ s are added to this container using the and methods. See the documentation of for more information. - - Gtk.Paned - - - - + + + Constructor + + 2.12.0.0 + + + + + Creates a new container, split horizontally. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new container, split horizontally. - + 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 @@ -58,23 +93,5 @@ 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 - - - diff --git a/doc/en/Gtk/HRuler.xml b/doc/en/Gtk/HRuler.xml index 97477359b..a29532437 100644 --- a/doc/en/Gtk/HRuler.xml +++ b/doc/en/Gtk/HRuler.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gtk.Ruler + + + A horizontal ruler. @@ -15,40 +21,69 @@ Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. - - Gtk.Ruler - - - - + + + Constructor + + 2.12.0.0 + + + + + Creates a new horizontal ruler. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new horizontal ruler. - + 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 @@ -59,23 +94,5 @@ 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 - - - diff --git a/doc/en/Gtk/HSV.xml b/doc/en/Gtk/HSV.xml index 2d2162452..b9bdbe4e4 100644 --- a/doc/en/Gtk/HSV.xml +++ b/doc/en/Gtk/HSV.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,139 +8,99 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A color selector based on hue, saturation, and value. - TODO: add an example. - Gtk.Widget + + A color selector based on hue, saturation, and value. + TODO: add an example. + - - - Method - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Set the basic size of the hue ring. - A - A + Default constructor. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Sets the color displayed in the widget. - A , the hue - A , the saturation - A , the value - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - - - Default constructor. - - - + Event - - System.EventHandler - - - - Raised when the color of this widget changes. - - + + 2.12.0.0 + GLib.Signal("changed") - - - - Event - Gtk.MoveHandler + System.EventHandler - Raised when this widget is moved. - - - - - GLib.Signal("move") - - - - - - Method - - System.Void - - - - - - - - - - - Converts a HSV value to a RGB (red-green-blue) triplet. - a , the hue - a , the saturation - a , the value - a , red component - a , blue component - a , green component + Raised when the color of this widget changes. + Method + + 2.12.0.0 + System.Void @@ -149,16 +110,20 @@ - Gets the current color indicated by this widget. a a a + Gets the current color indicated by this widget. + Method + + 2.12.0.0 + System.Void @@ -167,15 +132,36 @@ - Gets the current size of this widget. 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 @@ -195,22 +181,60 @@ - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("move") + + - GLib.GType + Gtk.MoveHandler - GType Property. - a - Returns the native value for . + 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 @@ -218,40 +242,83 @@ - Default handler for the event. 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 - + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + A , the hue + A , the saturation + A , the value + Sets the color displayed in the widget. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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. + - - - System.Obsolete - - diff --git a/doc/en/Gtk/HScale.xml b/doc/en/Gtk/HScale.xml index f5eb0ee4f..460a36f17 100644 --- a/doc/en/Gtk/HScale.xml +++ b/doc/en/Gtk/HScale.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,45 +20,74 @@ This widget and its model is manipulated using methods and properties in its super classes, and . - - Gtk.Scale - - - - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Creates a new horizontal slider based on the data in . 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 + @@ -60,18 +95,22 @@ - Creates a new horizontal slider without the need for an object. 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 @@ -82,23 +121,5 @@ 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 - - - diff --git a/doc/en/Gtk/HScrollbar.xml b/doc/en/Gtk/HScrollbar.xml index c61b9e545..a0165f191 100644 --- a/doc/en/Gtk/HScrollbar.xml +++ b/doc/en/Gtk/HScrollbar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gtk.Scrollbar + + + A horizontal scrollbar @@ -14,43 +20,72 @@ - - Gtk.Scrollbar - - - - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Creates a new horizontal scrollbar. 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 @@ -61,23 +96,5 @@ 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 - - - diff --git a/doc/en/Gtk/HSeparator.xml b/doc/en/Gtk/HSeparator.xml index 98b42e491..0e68fdb18 100644 --- a/doc/en/Gtk/HSeparator.xml +++ b/doc/en/Gtk/HSeparator.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,40 +21,69 @@ - - Gtk.Separator - - - - + + + Constructor + + 2.12.0.0 + + + + + Constructor + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Constructor - + 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 @@ -59,23 +94,5 @@ 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 - - - diff --git a/doc/en/Gtk/HTML.xml b/doc/en/Gtk/HTML.xml index 7cc1eefd4..a5af43a77 100644 --- a/doc/en/Gtk/HTML.xml +++ b/doc/en/Gtk/HTML.xml @@ -1,12 +1,19 @@ + 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. @@ -141,202 +148,183 @@ namespace HtmlTest - - Gtk.Layout - - - - - - Method - - System.Void - - - - + + + + Constructor + + 3.16.0.0 + + + - 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. + Creates an empty widget. + + + It creates an empty widget. The + returned widget is empty, and defaults to not be editable. + + - - - Method - - System.IntPtr - + + + + Constructor + + 3.16.0.0 + + + + System.Obsolete + + + - + - Locates an object whose id is provided - The id assigned to an object in the HTML stream - An IntPtr to the internal HTMLObject - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Boolean - + + + + Constructor + + 3.16.0.0 + + - - + - Sends HTML out from the widget. - a , a content type. - an object of type - a , true if the export happened successfully, false if otherwise. - - - - - - Method - - System.Void - - - - Copies the selection to the clipboard. - Copies the selection into the clipboard. - - - - - Method - - System.Void - - - - Selects the word under the cursor. - This routine selects the word under the cursor. + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method - - System.Void - + + + + Constructor + + 3.16.0.0 + + - + - Changes the font style by adjusting flags from bold to regular or vice-versa. For a full list of possible flags, see . - a + an object of type (FIXME: check this) + A constructor. - - - Method - - System.Void - - - - Selects a paragraph. - - - - - - - Method + + + + Property + + 3.16.0.0 + - System.Void + System.Boolean - + + - Resets the magnification of the text to 100% (normal). + Whether to allow framesets in this widget. + an object of type - - + + + Method + + 3.16.0.0 + System.Void - - - + - Writes bytes of content from to . - a - a - a + an object of type , true if selection is allowed. + Set whether selection is allowed in this widget. - - - Method + + + + Property + + 3.16.0.0 + - System.Void + System.Boolean - + + - Undoes the last operation. - If the widget is Editable, this undoes the last operation. + To be added + a + - - + + + 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. + an object of type + Adds HTML to the end of the HTML currently being rendered by the widget. + - - - Method + + + + Property + + 3.16.0.0 + System.String - - Computes url from widget base url. - The new component of the url. - The new base-relative url. + The base URL of this document. + an object of type - - - Method - - 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. - - + Method + + 3.16.0.0 + Gtk.HTMLStream @@ -392,68 +380,30 @@ class X { - - - Method - - System.Void - - - - Sets up internal references to all images. - FIXME: verify this. - - - - + + + Method + + 3.16.0.0 + - System.Void + Gtk.HTMLStream - + - Paste clipboard contents into editor - Whether to paste as a citation. - - 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 - - - - Set up an empty widget. - - - - - - Method - - System.Void - - - - - - - Ends incremental updating - The to close. - The representing the state of the stream when closed. + The content type for the data to be + streamed. + Starts incremental content updating. With a specific + content type. + A handle to push content. - Closes the represented - by and notifies the HTML widget that - it should not expect any more content from that stream. + 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"). @@ -470,7 +420,7 @@ class X { w.Add (html); w.ShowAll (); - HTMLStream s = html.Begin (); + HTMLStream s = html.Begin ("text/html; charset=utf-8"); string line; while ((line = Console.ReadLine ()) != null) @@ -496,73 +446,13 @@ class X { - - - Method - - System.Void - - - - Redoes the last Undone operation - If the widget is editable, this redoes the last - undone operation. - - - - - Method - - System.Void - - - - - - Adds HTML to the end of the HTML currently being rendered by the widget. - an object of type - - - - - - Method - - System.Void - - - - Selects the line the cursor is currently on. - - - - - - Method - - System.Void - - - - Removes an indent level. - - - - - - Method - - System.Void - - - - Selects all the contents. - Selects all of the contents of the HTML widget. - - + Method + + 3.16.0.0 + Gtk.HTMLStream @@ -572,250 +462,450 @@ class X { - Begins processing HTML. an object of type an object of type an object of type + Begins processing HTML. an object of type - - - Method + + + + Property + + 3.16.0.0 + - System.Void + System.Boolean - - Enables or disables debugging features. - an object of type , true for enabled, false for disabled + To be added + an object of type - - - Method + + + + Property + + 3.16.0.0 + - System.Boolean + System.String - - Makes the edit cursor visible. - a , true if the operation was a success. - + To be added. + To be added. + To be added. - - - Method + + + + Property + + 3.16.0.0 + - System.Void + System.Boolean - - - - - Unsupported in Gtk#. Installs hooks for the editor. - an object of type - an object of type - This API is currently not supported. + To be added. + To be added. + To be added. - - + + + Method + + 3.16.0.0 + - System.Void + System.Boolean - + - To be added. - an object of type + 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 - Zooms in. - Zooms in the view. + To be added. + To be added. - - + + Method System.Void - + - Inserts HTML into the existing HTML of the widget. - an object of type - + 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 - - - - + - Sets the font style for the widget. - an object of type - an object of type - + Copies the selection to the clipboard. + Copies the selection into the clipboard. - - - Method + + + + Event + + 3.16.0.0 + + + + GLib.Signal("current_paragraph_alignment_changed") + + - System.Void + Gtk.CurrentParagraphAlignmentChangedHandler - - - + - Unrefs an image. - an object of type - (TODO: explain refcounting for images.) + Raised when the alignment of the current paragraph is changed. + - - - Method + + + + Event + + 3.16.0.0 + + + + GLib.Signal("current_paragraph_indentation_changed") + + - System.Void + Gtk.CurrentParagraphIndentationChangedHandler - - - + - Refs an image. - an object of type + Raised when the indent level of the current paragraph is changed. - - - Method + + + + Event + + 3.16.0.0 + + + + GLib.Signal("current_paragraph_style_changed") + + - System.Boolean + Gtk.CurrentParagraphStyleChangedHandler - - - + - Jumps to an anchor by name, making it visible. - The anchor to locate. - - if the anchor is found. - Scroll the document display to show the HTML anchor requested. + Raised when the text style of this paragraph is changed. + - - - Method + + + + Event + + 3.16.0.0 + + + + GLib.Signal("cursor_changed") + + - System.Void + 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 + + - Preloads the image at the URL - a , an image URL. + The default content type. + an object of type - - - Method + + + + Property + + 3.16.0.0 + + + + GLib.Property("document_base") + + - System.Int32 + System.String - - - - - To be added - an object of type - an object of type - an object of type - an object of type - an object of type + The base URL of the document. + A containing the URL. - - + + + Method + + 3.16.0.0 + System.Void - Unrefs images. - + 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 - - Invokes a delegate function to save the HTML. - a - an object of type , whether the operation succeeded. + 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 + - Gtk.HTMLStream + System.Void - + - Starts incremental content updating. With a specific - content type. - The content type for the data to be - streamed. - A handle to push content. + 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 - 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"). + Closes the represented + by and notifies the HTML widget that + it should not expect any more content from that stream. @@ -832,7 +922,7 @@ class X { w.Add (html); w.ShowAll (); - HTMLStream s = html.Begin ("text/html; charset=utf-8"); + HTMLStream s = html.Begin (); string line; while ((line = Console.ReadLine ()) != null) @@ -858,420 +948,542 @@ class X { - - + + + Method + + 3.16.0.0 + - System.Void + System.Boolean - + + - Set whether selection is allowed in this widget. - an object of type , true if selection is allowed. + 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 - Drops all the undo information. - Drops all the Undo and Redo information from the widget. + To be added. + To be added. - - + + + Method + + 3.16.0.0 + - System.Void + System.String - + + + + - To be added + 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.Void + System.String - + + + + - Zooms out. - Zooms out the view. + To be added. + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 3.16.0.0 + - System.Boolean + System.String - + - Execute a command on the widget. - an object of type , one of the values named in . - an object of type for whether the command succeeded. - + To be added. + To be added. + To be added. + To be added. - - - Constructor - + + + + Method + + 3.16.0.0 + + + System.String + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added. + To be added. + To be added. + To be added. - - - Constructor - - - - Creates an empty widget. - - - It creates an empty widget. The - returned widget is empty, and defaults to not be editable. - - - - - - - Property + + + + Method + + 3.16.0.0 + - System.Boolean + System.String + + - 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 = . - + To be added. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("editable") - - - - - Property + + + + Method + + 3.16.0.0 + - System.UInt32 + System.String + + + - The indentation level of a paragraph. - an object of type + The new component of the url. + Computes url from widget base url. + The new base-relative url. - - + + + Property + + 3.16.0.0 + - System.String + GLib.GType - - + - The base URL of this document. - an object of type - + GType Property. + a + Returns the native value for . - - + + + Property + + 3.16.0.0 + - System.String + System.Boolean - - + - The title of this HTML document. - an object of type + Whether the widget has an Undo option or not. + a + + + + + Event + + 3.16.0.0 + - GLib.Property("title") + GLib.Signal("iframe_created") + + Gtk.IframeCreatedHandler + + + + Raised after an IFRAME is created. + + - - - Property + + + + Method + + 3.16.0.0 + - System.String + System.Void + - The default content type. - an object of type + a , an image URL. + Preloads the image at the URL - - - Property + + + + Method + + 3.16.0.0 + - Gtk.HTMLParagraphStyle + System.Void + - The style of a paragraph. - an object of type + an object of type + Refs an image. - - + + + Property + + 3.16.0.0 + System.Boolean - - - To be added - an object of type + 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. - - - Property + + + + Method + + 3.16.0.0 + - System.Double + System.Void + - The current widget magnification level. - an object of type - + an object of type + Unrefs an image. + (TODO: explain refcounting for images.) - - + + + Property + + 3.16.0.0 + - Gtk.HTMLParagraphAlignment + System.IntPtr - - - The alignment of text (right, left, center) - an object of type + 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 to allow framesets in this widget. - an object of type + Whether or not to check spelling inline by indicating misspelled words. + a - - - Event + + + + Method + + 3.16.0.0 + - Gtk.InsertionFontStyleChangedHandler + System.Void - + + + - Raised when the font style under the cursor is changed. + an object of type + To be added. - - - GLib.Signal("insertion_font_style_changed") - - - - - Event + + + + Method + + 3.16.0.0 + - Gtk.TitleChangedHandler + System.Void - + + + - 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. - + an object of type + Inserts HTML into the existing HTML of the widget. + + + + + + Event + + 3.16.0.0 + - GLib.Signal("title_changed") + GLib.Signal("insertion_color_changed") - - - - Event - Gtk.SetBaseHandler + Gtk.InsertionColorChangedHandler - Raised when the base URL of the document is changed. + Raised when the text color to insert is changed. + + + + + Event + + 3.16.0.0 + - GLib.Signal("set_base") + GLib.Signal("insertion_font_style_changed") - - - - Event - System.EventHandler + Gtk.InsertionFontStyleChangedHandler - Raised when the size of text is changed. + Raised when the font style under the cursor is changed. - - - GLib.Signal("size_changed") - - - - - Event - - Gtk.CurrentParagraphStyleChangedHandler - - - - Raised when the text style of this paragraph is changed. - - - - - GLib.Signal("current_paragraph_style_changed") - - - - - - Event + + + + Method + + 3.16.0.0 + - System.EventHandler + System.Void - + + + - Raised after a webpage is finished loading. - + To be added. + To be added. + To be added. - - - GLib.Signal("load_done") - - - - - Event + + + + Method + + 3.16.0.0 + - Gtk.CursorMoveHandler + System.Boolean - + + + - Occurs when the cursor moves. - - This event is raised when the widget is in editing mode and - the cursor has moved. - + 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. - - - GLib.Signal("cursor_move") - - - - + + + Event - - Gtk.OnCommandHandler - - - - Raised when a command is issued to the widget. - - + + 3.16.0.0 + - GLib.Signal("command") + GLib.Signal("link_clicked") - - - - Event - Gtk.UrlRequestedHandler + Gtk.LinkClickedHandler - Occurs when a url is Requested + Occurs when the user clicks on a hyperlink - 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 . + This event is raised when the user clicks on a hyperlink + in the HTML widget. @@ -1285,610 +1497,721 @@ class X { { Application.Init (); Window w = new Window ("Sample"); - HTML html = new HTML (); - html.UrlRequested += new UrlRequestedHandler (LoadFromDisk); + 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 (); - - 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) + static void OnLinkClicked (object o, LinkClickedArgs 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. - } + Console.WriteLine ("The link clicked url is: " + args.Url); } } - - 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 + + Click on the "me" link to see the message on the console. + + + + + + Event + + 3.16.0.0 + - GLib.Signal("url_requested") + GLib.Signal("load_done") - - - - Event - Gtk.IframeCreatedHandler + System.EventHandler - Raised after an IFRAME is created. + Raised after a webpage is finished loading. - - - GLib.Signal("iframe_created") - - - - - Event + + + + Method + + 3.16.0.0 + - Gtk.ScrollHandler + System.Void - Raised when the widget is scrolled. + Set up an empty widget. - - - GLib.Signal("scroll") - - - - - Event + + + + Method + + 3.16.0.0 + - Gtk.CurrentParagraphIndentationChangedHandler + System.Void - + + + - Raised when the indent level of the current paragraph is changed. + The string to load. + Load a string into the HTML viewing widget. - - - GLib.Signal("current_paragraph_indentation_changed") - - - - - Event + + + + Property + + 3.16.0.0 + - Gtk.CurrentParagraphAlignmentChangedHandler + System.Boolean - + + - Raised when the alignment of the current paragraph is changed. + 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("current_paragraph_alignment_changed") + GLib.Signal("object_delete") - - - - Event - Gtk.InsertionColorChangedHandler + Gtk.ObjectDeleteHandler - - Raised when the text color to insert is changed. - + To be added. + To be added. + + + + + Event + + 3.16.0.0 + - GLib.Signal("insertion_color_changed") + GLib.Signal("object_inserted") + + Gtk.ObjectInsertedHandler + + + To be added. + To be added. + - - + + + Event + + 3.16.0.0 + + + + GLib.Signal("object_requested") + + - Gtk.LinkClickedHandler + Gtk.ObjectRequestedHandler - 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. - - + To be added + + + + + + Event + + 3.16.0.0 + - GLib.Signal("link_clicked") + GLib.Signal("command") - - - - Event - Gtk.SubmitHandler + Gtk.OnCommandHandler - Raised when a form submit button is clicked. + Raised when a command is issued to the widget. + + + + + Method + + 3.16.0.0 + - GLib.Signal("submit") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentParagraphAlignmentChanged", Type=typeof(Gtk.HTML)) - - - - Event - Gtk.RedirectHandler + System.Void - + + + - Raised when an HTTP redirect is received. - + 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.Signal("redirect") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentParagraphIndentationChanged", Type=typeof(Gtk.HTML)) - - - - Event - Gtk.OnUrlHandler + System.Void - + + + - 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. - - + 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.Signal("on_url") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentParagraphStyleChanged", Type=typeof(Gtk.HTML)) - - - - Event - Gtk.SetBaseTargetHandler + System.Void - + + + - Raised when the base URL target is changed. - + 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.Signal("set_base_target") + 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 - + + - Load a string into the HTML viewing widget. - The string to load. - + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Method + + 3.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIframeCreated", Type=typeof(Gtk.HTML)) + + + + System.Void + - + - A constructor. - an object of type (FIXME: check this) - + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 3.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertionColorChanged", Type=typeof(Gtk.HTML)) + + - System.String + System.Void + - The base URL of the document. - A containing the URL. - + 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.Property("document_base") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertionFontStyleChanged", Type=typeof(Gtk.HTML)) - - - - Property - System.String + System.Void + - To be added - an object of type - + 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.Property("target_base") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideLinkClicked", Type=typeof(Gtk.HTML)) - - - - Property - System.Boolean + System.Void + - Whether magic links (auto-recognizing URLs and making them clickable) is activated. - a - + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 3.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideLoadDone", Type=typeof(Gtk.HTML)) + + - System.Boolean + System.Void - - + - Whether magic smileys (automatically recognizing smileys and turning them into small graphics) is activated. - a - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 3.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideObjectDelete", Type=typeof(Gtk.HTML)) + + - System.Boolean + System.Void + + - To be added - a - + To be added. + To be added. + To be added. + To be added. - - - Property + + + + Method + + 3.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideObjectInserted", Type=typeof(Gtk.HTML)) + + - System.Boolean + System.Void + + - Whether or not to check spelling inline by indicating misspelled words. - a - + 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.Void + System.Boolean - - - - - + - 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 - + 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.Void + System.Boolean - + - To be added - a - + 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 - + - Prints this document using . - 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="OverrideRedirect", Type=typeof(Gtk.HTML)) + + - System.Int32 + System.Void - - - + + - Gets the number of pages this HTML would print to given a context with the given header and footer heights. - 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. - - - Event - - Gtk.ObjectRequestedHandler - - - - To be added - - + + + + Method + + 3.16.0.0 + - GLib.Signal("object_requested") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideScroll", Type=typeof(Gtk.HTML)) - - - - Property - - System.Boolean - - - - Whether the widget has an Undo option or not. - a - - - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Method System.Void - + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -1898,274 +2221,1023 @@ class X { - Default handler for the event. 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Event + + 3.16.0.0 + + + + GLib.Signal("on_url") + + - System.Void + Gtk.OnUrlHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 3.16.0.0 + - System.Void + Gtk.HTMLParagraphAlignment - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + The alignment of text (right, left, center) + an object of type + - - - Method + + + + Property + + 3.16.0.0 + - System.Void + System.UInt32 + + + The indentation level of a paragraph. + an object of type + + + + + + + Property + + 3.16.0.0 + + + Gtk.HTMLParagraphStyle - - - - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. + The style of a paragraph. + an object of type + - - + + + Method + + 3.16.0.0 + System.Void - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Prints this document using . + a + + - - + + Method - System.Void + System.Int32 - - + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 + - System.Void + Gtk.PrintOperationResult - + + + + + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added. + To be added. + To be added. - - + + + Method + + 3.16.0.0 + - System.Void + System.Int32 - + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. - - + + Method System.Void - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added + a + + - - + + Method System.Void - + + + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 + + - - - Constructor - + + + + 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 + - + + + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + GLib.Signal("submit") + + Gtk.SubmitHandler + + + + Raised when a form submit button is clicked. + + - - + + + Property + + 3.16.0.0 + + + + GLib.Property("target_base") + + - System.IntPtr + System.String + + - Sets the indentation level for the widget. - a + 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 - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -2175,12 +3247,83 @@ class X { - Writes bytes of content from to . 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). + + + diff --git a/doc/en/Gtk/HTMLBeginFlags.xml b/doc/en/Gtk/HTMLBeginFlags.xml index 9f971476f..01ae77f7c 100644 --- a/doc/en/Gtk/HTMLBeginFlags.xml +++ b/doc/en/Gtk/HTMLBeginFlags.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,10 +8,6 @@ 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Flags for how to begin processing a chunk of HTML. - Mostly for internal use. - System.Enum @@ -19,10 +16,18 @@ System.Flags + + Flags for how to begin processing a chunk of HTML. + Mostly for internal use. + + Field + + 3.16.0.0 + Gtk.HTMLBeginFlags @@ -32,7 +37,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLBeginFlags @@ -42,7 +51,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLBeginFlags @@ -52,47 +65,11 @@ + Field - - Gtk.HTMLBeginFlags - - - To be added. - - - - - Field - - Gtk.HTMLBeginFlags - - - To be added. - - - - - Field - - Gtk.HTMLBeginFlags - - - To be added. - - - - - Field - - Gtk.HTMLBeginFlags - - - To be added. - - - - - Field + + 3.16.0.0 + Gtk.HTMLBeginFlags diff --git a/doc/en/Gtk/HTMLClassProperties.xml b/doc/en/Gtk/HTMLClassProperties.xml index 22d4b552e..daf34620a 100644 --- a/doc/en/Gtk/HTMLClassProperties.xml +++ b/doc/en/Gtk/HTMLClassProperties.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,26 +8,30 @@ 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A properties class for . - Internal. Do not use. - GLib.Opaque + + A properties class for . + Internal. Do not use. + + Constructor + + 3.16.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gtk/HTMLCommandType.xml b/doc/en/Gtk/HTMLCommandType.xml index ee3710ce8..cbf23c7e8 100644 --- a/doc/en/Gtk/HTMLCommandType.xml +++ b/doc/en/Gtk/HTMLCommandType.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,914 +8,1182 @@ 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. - - System.Enum - - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Undo the last command + Center-aligns text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Redo the last un-done command. + Left-aligns text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Copy the current selection. + Right-aligns text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Copy the current selection and make further selection impossible. + Stops the widget from redrawing. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - - Cut the current selection. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Paste the current clipboard contents. + Make text non-bold. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Cut the current line to the clipboard. + Make text bold. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a new paragraph at the cursor location. + Toggle the bold style for a character or region. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a tab character. + Adds a new linebreak and re-flows text appropriately. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a rule line. + Capitalize the current word. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert parameters for a rule line. + Decrease the COLSPAN attribute of a cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert parameters for an image. + Increase the COLSPAN value of a table cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Add a new tab or increase the current indent level. + Decrease the ROWSPAN attribute of a cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a new tab or go to the next table in a cell. + Increase the ROWSPAN value of a table cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Create a new link. + Copy the current selection. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Remove an existing link. + Copy the current selection and make further selection impossible. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete text. + Move the cursor backward. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete the character before the cursor. + Move the cursor to the beginning of the document. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete the character before the cursor or remove an indent level. + Move the cursor to the end of the document. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Go into selection mode. + Move the cursor forward. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Disable selections. + Restores a cursor position that was saved to the cursor position stack. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make text bold. + Save the cursor's current position to the cursor position stack. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make text non-bold. + Cut the current selection. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Toggle the bold style for a character or region. + Cut the current line to the clipboard. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make text italic. + Delete text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make text non-italic. + Delete the character before the cursor. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Toggle the italic attribute for a character or block of text. + Delete the character before the cursor or remove an indent level. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make text underlined. + Delete an entire table. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make text non-underlined. + Clear the contents of a table cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Toggle the underline attribute on a character or block of text. + Delete a column from a table. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Strike out text. + Delete a row from a table. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Remove strikeouts from text. + Disable selections. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Toggle the strikeout attribute on a character or block of text. + Turns this word into all-lower-case. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - - Sets text to the smallest size. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - - Sets text to the second-smallest size. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets text to normal size. + Move focus backward one widget. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets text to a medium-large size. + Move focus forward one widget. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets text to a large size. + Grab the keyboard focus. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets text to a very large size. + De-indents text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets text to the largest possible size. + Indents text one level. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Makes text one size larger. + Indents text one level or moves it to the next cell in a table. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Makes text one size smaller. + Indents an entire paragraph. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Left-aligns text. + Clears indent values on text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Center-aligns text. + Insert parameters for an image. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Right-aligns text. + Insert a new paragraph at the cursor location. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Clears indent values on text. + Insert a rule line. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Indents text one level. + Insert parameters for a rule line. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Indents text one level or moves it to the next cell in a table. + Insert a tab character. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - De-indents text. + Insert a table with empty text, one row, and one column. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Goes to the previous cell in a table. + Add a new tab or increase the current indent level. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Indents an entire paragraph. + Insert a new tab or go to the next table in a cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Adds a new linebreak and re-flows text appropriately. + Whether this data has been saved since the last change. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - - Adds a new space and re-flows text appropriately. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets the style of this paragraph to normal. + Make text non-italic. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML H1 element. + Make text italic. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML H2 element. + Toggle the italic attribute for a character or block of text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML H3 element. + Deletes a word. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML H4 element. + Deletes the word before the cursor. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML H5 element. + Create a new link. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML H6 element. + Extend the selection to the beginning of the document. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML <address> element. + Extends the current selection to the beginning of the line. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be preformatted (i.e. fixed-width with carriage returns being significant). + Extends the current selection down. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be an HTML <LI> item. + Extend the selection to the end of the document. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be part of a sequentially-Roman-numeral-numbered list. + Extends the current selection to the end of the line. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Sets this paragraph to be part of a sequentially-numbered list. + Extends the current selection to the left. - - + + + 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.") + Extend the selection to include the next word. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extends the current selection up. + Extends the current selection by one page downwards. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extends the current selection down. + Extends the current selection by one page upwards. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extends the current selection to the left. + Extend the selection to include the previous word. + Field + + 3.16.0.0 + Gtk.HTMLCommandType @@ -925,1127 +1194,1491 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extends the current selection by one page upwards. + Extends the current selection up. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extends the current selection by one page downwards. + Sets this paragraph to be an HTML <address> element. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extends the current selection to the beginning of the line. + Sets this paragraph to be an HTML H1 element. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extends the current selection to the end of the line. + Sets this paragraph to be an HTML H2 element. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extend the selection to the beginning of the document. + Sets this paragraph to be an HTML H3 element. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extend the selection to the end of the document. + Sets this paragraph to be an HTML H4 element. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extend the selection to include the previous word. + Sets this paragraph to be an HTML H5 element. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Extend the selection to include the next word. + Sets this paragraph to be an HTML H6 element. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Capitalize the current word. + 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 - Turns this word into all-upper-case. + Sets this paragraph to be part of a sequentially-numbered list. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Turns this word into all-lower-case. + Sets this paragraph to be an HTML <LI> item. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Suggest a spelling for the current (misspelled) word. + Sets this paragraph to be part of a sequentially-Roman-numeral-numbered list. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Add this word to the user's personal spellchecker dictionary. + Sets the style of this paragraph to normal. - - + + + 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. + Sets this paragraph to be preformatted (i.e. fixed-width with carriage returns being significant). - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Search the widget for a given term. + Paste the current clipboard contents. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Incremental search forward. + Popup the context menu. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Incremental search backward. + Goes to the previous cell in a table. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Search the text using a regular expression. + Pop up the properties dialog. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Move focus forward one widget. + Redo the last un-done command. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Move focus backward one widget. + Remove an existing link. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Popup the context menu. + Whether this data has been saved since the last change. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Pop up the properties dialog. + Turn data-saving off. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Move the cursor forward. + Turn data-saving on. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - - Move the cursor backward. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a table with empty text, one row, and one column. + Go to the beginning of the document. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a table column after the current one. + Go to the end of the document. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - - Insert a table column before the current one. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a table row after the current one. + Search the widget for a given term. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Insert a table row before the current one. + Incremental search backward. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete a table column. + Incremental search forward. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete a row from the current table. + Search the text using a regular expression. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Widen/increase the COLSPAN attribute for a table cell. + Select all of this document. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Narrow/decrease the COLSPAN attribute for a table cell. + Go into selection mode. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Increase the ROWSPAN attribute for a table cell. + Select the current line. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Decrease the ROWSPAN attribute for a table cell. + Select the current paragraph. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Join this table cell with one to its left. + Select a paragraph or more. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Join this table cell with one to its right. + Select the current word. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Join this table cell with one above it. + Makes text one size smaller. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Join this table cell with one below it. + Makes text one size larger. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make the borders of this table wider. + Sets text to the second-smallest size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make the borders of this table narrower. + Sets text to the smallest size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make the borders of this table zero. + Sets text to normal size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Set the default color of text. + Sets text to a medium-large size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Select the current word. + Sets text to a large size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Select the current line. + Sets text to a very large size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Select the current paragraph. + Sets text to the largest possible size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Select a paragraph or more. + Adds a new space and re-flows text appropriately. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Select all of this document. + Add this word to the user's personal spellchecker dictionary. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Save the cursor's current position to the cursor position stack. + 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 - Restores a cursor position that was saved to the cursor position stack. + Suggest a spelling for the current (misspelled) word. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Move the cursor to the beginning of the document. + Remove strikeouts from text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Move the cursor to the end of the document. + Strike out text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Stops the widget from redrawing. + Toggle the strikeout attribute on a character or block of text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Allows the widget to redraw. + Make the borders of this table narrower. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Magnify the text. + Make the borders of this table wider. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make the text display size smaller. + Make the borders of this table zero. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Reset the zoom level to normal size text. + Narrow/decrease the COLSPAN attribute for a table cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Increase the spacing between table cells. + Decrease the ROWSPAN attribute for a table cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Decrease the spacing between table cells. + Widen/increase the COLSPAN attribute for a table cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Make the spacing between table cells zero. + Increase the ROWSPAN attribute for a table cell. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Increase the padding between table cells. + Join this table cell with one below it. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Decrease the padding between table cells. + Join this table cell with one to its left. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Set the padding between table cells to zero. + Join this table cell with one to its right. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete an entire table. + Join this table cell with one above it. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete a row from a table. + Delete a table column. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Delete a column from a table. + Delete a row from the current table. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Clear the contents of a table cell. + Insert a table column after the current one. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Grab the keyboard focus. + Insert a table column before the current one. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Deletes a word. + Insert a table row after the current one. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Deletes the word before the cursor. + Insert a table row before the current one. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Apply a certain color to a text selection. + Decrease the padding between table cells. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Turn data-saving on. + Increase the padding between table cells. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Turn data-saving off. + Set the padding between table cells to zero. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Whether this data has been saved since the last change. + Decrease the spacing between table cells. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Whether this data has been saved since the last change. + Increase the spacing between table cells. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Go to the beginning of the document. + Make the spacing between table cells zero. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Go to the end of the document. + Apply a certain color to a text selection. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Increase the COLSPAN value of a table cell. + Set the default color of text. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Increase the ROWSPAN value of a table cell. + Allows the widget to redraw. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - - Decrease the COLSPAN attribute of a cell. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType - Decrease the ROWSPAN attribute of a cell. + Make text non-underlined. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType + - To be added. + Make text underlined. + + - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType + - To be added. + Toggle the underline attribute on a character or block of text. + + - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType + - To be added. + Undo the last command + + - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType + - To be added. + Turns this word into all-upper-case. + + - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType + - To be added. + Magnify the text. + + - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType + - To be added. + Make the text display size smaller. + + - - + + + Field + + 3.16.0.0 + Gtk.HTMLCommandType + - To be added. + Reset the zoom level to normal size text. + + diff --git a/doc/en/Gtk/HTMLCursorSkipType.xml b/doc/en/Gtk/HTMLCursorSkipType.xml index 259941c44..8ac2a53a2 100644 --- a/doc/en/Gtk/HTMLCursorSkipType.xml +++ b/doc/en/Gtk/HTMLCursorSkipType.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,74 +8,94 @@ 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. - - System.Enum - - - + + + Field + + 3.16.0.0 + Gtk.HTMLCursorSkipType - Skip units should be counted in characters. + 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 - - Skip units should be counted in words. - - + To be added. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCursorSkipType - Skip units should be counted in pages. + Skip units should be counted in characters. - - + + + 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. + Skip units should be counted in pages. - - + + + Field + + 3.16.0.0 + Gtk.HTMLCursorSkipType + - To be added. + Skip units should be counted in words. + + diff --git a/doc/en/Gtk/HTMLEditorAPI.xml b/doc/en/Gtk/HTMLEditorAPI.xml index 41b15df0b..d60331c6c 100644 --- a/doc/en/Gtk/HTMLEditorAPI.xml +++ b/doc/en/Gtk/HTMLEditorAPI.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,30 +8,22 @@ 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Hooks for an HTML editor. Currently unsupported in Gtk#. - See . - System.ValueType + + Hooks for an HTML editor. Currently unsupported in Gtk#. + See . + - - - Field - - Gtk.HTMLEditorAPI - - - - An empty object. - - - + Method + + 3.16.0.0 + Gtk.HTMLEditorAPI @@ -38,11 +31,27 @@ - Default constructor. A , pointer to the underlying C object. + Default constructor. A + + + + Field + + 3.16.0.0 + + + Gtk.HTMLEditorAPI + + + + An empty object. + + + diff --git a/doc/en/Gtk/HTMLEditorEventType.xml b/doc/en/Gtk/HTMLEditorEventType.xml index c94cb63ff..5b62d8bb3 100644 --- a/doc/en/Gtk/HTMLEditorEventType.xml +++ b/doc/en/Gtk/HTMLEditorEventType.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,17 +8,38 @@ 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. - - System.Enum - + + + + Field + + 3.16.0.0 + + + Gtk.HTMLEditorEventType + + + + To be added + + + + + Field + + 3.16.0.0 + Gtk.HTMLEditorEventType @@ -28,22 +50,30 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLEditorEventType - To be added + A deletion. + Field + + 3.16.0.0 + Gtk.HTMLEditorEventType @@ -54,17 +84,18 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLEditorEventType - - A deletion. - - + To be added. diff --git a/doc/en/Gtk/HTMLEmbedded.xml b/doc/en/Gtk/HTMLEmbedded.xml index 4e72ce84e..09b9ad2c1 100644 --- a/doc/en/Gtk/HTMLEmbedded.xml +++ b/doc/en/Gtk/HTMLEmbedded.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,76 +8,96 @@ 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Embeds an HTML object. - - 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Property - - System.Int32 - + + + + Constructor + + 3.16.0.0 + + + + + + + + + + + a + a + a + a + a + a To be added - a - - + + + Event - - Gtk.DrawPrintHandler - - - - To be added - - + + 3.16.0.0 + - GLib.Signal("draw_print") + GLib.Signal("changed") - - - - Event System.EventHandler @@ -85,65 +106,72 @@ Raised when the HTML is changed. - - - GLib.Signal("changed") - - - - - Event + + + + Property + + 3.16.0.0 + - Gtk.DrawGdkHandler + System.Int32 - To be added + a + + + + + Event + + 3.16.0.0 + GLib.Signal("draw_gdk") - - - - Method - System.Void + Gtk.DrawGdkHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + - - - Method + + + + Event + + 3.16.0.0 + + + + GLib.Signal("draw_print") + + - System.Void + Gtk.DrawPrintHandler - - - - - - + - Default handler for the event. - a - a - a - a - Override this method in a subclass to provide a default handler for the event. + To be added + + Method + + 3.16.0.0 + System.String @@ -151,140 +179,62 @@ - To be added a + To be added a - - - Method + + + + Property + + 3.16.0.0 + - System.Void + GLib.GType - - - - - - To be added - a - a - - - - - - 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 - a - a - a - a - a - a - + GType Property. + a + Returns the native value for . - - - Constructor + + + + Method + + 3.16.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.HTMLEmbedded)) - - - - - To be added. - To be added. - To be added. - - - - - Constructor - - - - - - - - - - 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.String - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - Method 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 + + 3.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawGdk", Type=typeof(Gtk.HTMLEmbedded)) + + System.Void @@ -295,17 +245,26 @@ - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + 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 @@ -320,7 +279,11 @@ + Method + + 3.16.0.0 + System.Void @@ -329,10 +292,10 @@ - To be added. - To be added. - To be added. - To be added. + a + a + To be added + diff --git a/doc/en/Gtk/HTMLFontStyle.xml b/doc/en/Gtk/HTMLFontStyle.xml index 94ead1d83..0d1c00438 100644 --- a/doc/en/Gtk/HTMLFontStyle.xml +++ b/doc/en/Gtk/HTMLFontStyle.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,10 +8,6 @@ 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Enumeration of possible font styles within a widget. - - System.Enum @@ -19,166 +16,222 @@ System.Flags + + Enumeration of possible font styles within a widget. + + - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - The default style. + An italic style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - The smallest text size. + The default style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A small text size. + A fixed-width style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A medium-small text size. + An italic style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A medium text size. + The smallest text size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A medium-large text size. + A small text size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A large text size. + A medium-small text size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - The largest text size. + A medium text size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A mask for changing font sizes. - FIXME: explain this. + A medium-large text size. + - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - An italic style. + A large text size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - An italic style. + The largest text size. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - An underlined style. - + A mask for changing font sizes. + FIXME: explain this. + Field + + 3.16.0.0 + Gtk.HTMLFontStyle @@ -189,41 +242,53 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A fixed-width style. + A subscript style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A subscript style. + A superscript style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyle - A superscript style. + An underlined style. diff --git a/doc/en/Gtk/HTMLFontStyleShift.xml b/doc/en/Gtk/HTMLFontStyleShift.xml index bd171cfc9..66ebeeae3 100644 --- a/doc/en/Gtk/HTMLFontStyleShift.xml +++ b/doc/en/Gtk/HTMLFontStyleShift.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,17 +8,21 @@ 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. - - System.Enum - + Field + + 3.16.0.0 + Gtk.HTMLFontStyleShift @@ -28,35 +33,47 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyleShift - Italic font style. + Fixed-width font style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyleShift - Underlined font style. + Italic font style. + Field + + 3.16.0.0 + Gtk.HTMLFontStyleShift @@ -67,41 +84,53 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyleShift - Fixed-width font style. + Subscript font style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyleShift - Subscript font style. + Superscript font style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLFontStyleShift - Superscript font style. + Underlined font style. diff --git a/doc/en/Gtk/HTMLParagraphAlignment.xml b/doc/en/Gtk/HTMLParagraphAlignment.xml index f28182b07..82ed526db 100644 --- a/doc/en/Gtk/HTMLParagraphAlignment.xml +++ b/doc/en/Gtk/HTMLParagraphAlignment.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,49 +8,61 @@ 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. - - System.Enum - - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphAlignment - Aligned with a straight left margin. + Aligned so that every line is centered. - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphAlignment - Aligned with a straight right margin. + Aligned with a straight left margin. - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphAlignment - Aligned so that every line is centered. + Aligned with a straight right margin. diff --git a/doc/en/Gtk/HTMLParagraphStyle.xml b/doc/en/Gtk/HTMLParagraphStyle.xml index 6b401a3e6..822b22cf5 100644 --- a/doc/en/Gtk/HTMLParagraphStyle.xml +++ b/doc/en/Gtk/HTMLParagraphStyle.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,30 +8,38 @@ 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 . - - System.Enum - - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle - Normal style. + Email address style. + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -43,7 +52,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -56,7 +69,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -69,7 +86,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -82,7 +103,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -95,7 +120,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -106,35 +135,47 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle - Email address style. + Greek-lettered ordered list. - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle - Preformatted text style. + Arabic-numbered ordered list. + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -147,7 +188,11 @@ + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle @@ -158,28 +203,36 @@ - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle - Arabic-numbered ordered list. + Normal style. - - + + + Field + + 3.16.0.0 + Gtk.HTMLParagraphStyle - Greek-lettered ordered list. + Preformatted text style. diff --git a/doc/en/Gtk/HTMLPrintCalcHeight.xml b/doc/en/Gtk/HTMLPrintCalcHeight.xml index 93f1c4ebd..da252d82f 100644 --- a/doc/en/Gtk/HTMLPrintCalcHeight.xml +++ b/doc/en/Gtk/HTMLPrintCalcHeight.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp 3.16.0.0 @@ -24,4 +25,4 @@ To be added. - \ No newline at end of file + diff --git a/doc/en/Gtk/HTMLPrintCallback.xml b/doc/en/Gtk/HTMLPrintCallback.xml index bb874fdcf..a358b2ca2 100644 --- a/doc/en/Gtk/HTMLPrintCallback.xml +++ b/doc/en/Gtk/HTMLPrintCallback.xml @@ -1,24 +1,14 @@ + gtkhtml-sharp 3.16.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. - To be added. - Delegate for printing page framing elements. - Used to print headers and footers in . - System.Delegate - @@ -30,4 +20,15 @@ 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 . + + diff --git a/doc/en/Gtk/HTMLPrintDrawFunc.xml b/doc/en/Gtk/HTMLPrintDrawFunc.xml index 6bd32116b..650c96f6f 100644 --- a/doc/en/Gtk/HTMLPrintDrawFunc.xml +++ b/doc/en/Gtk/HTMLPrintDrawFunc.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp 3.16.0.0 @@ -27,4 +28,4 @@ To be added. - \ No newline at end of file + diff --git a/doc/en/Gtk/HTMLSaveReceiverFn.xml b/doc/en/Gtk/HTMLSaveReceiverFn.xml index 4f4a81d04..5ce62988c 100644 --- a/doc/en/Gtk/HTMLSaveReceiverFn.xml +++ b/doc/en/Gtk/HTMLSaveReceiverFn.xml @@ -1,21 +1,14 @@ + gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Delegate - @@ -23,4 +16,12 @@ 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. + + + diff --git a/doc/en/Gtk/HTMLStream.xml b/doc/en/Gtk/HTMLStream.xml index 042f468ce..3b0e64517 100644 --- a/doc/en/Gtk/HTMLStream.xml +++ b/doc/en/Gtk/HTMLStream.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,51 +8,81 @@ 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Handles streaming I/O for . - TODO: needs examples. - GLib.Opaque + + Handles streaming I/O for . + TODO: needs examples. + - - - Method - - Gtk.HTMLStream - + + + + Constructor + + 3.16.0.0 + + + + + + + a , the underlying C objject. + Constructor for internal use only. Do not use. + + + + + + + Constructor + + 3.16.0.0 + + - + + + - To be added - A - A - A + a + a + a + a + Constructor. - - + + + Method + + 3.16.0.0 + System.Void - + - Writes the HTML out to - A + A + Close the stream. + Method + + 3.16.0.0 + System.Void @@ -61,24 +92,51 @@ - - + + + Method + + 3.16.0.0 + - System.Void + Gtk.HTMLStream - + + - Close the stream. - A + A + A + To be added + A + + + + + + + Property + + 3.16.0.0 + + + System.String + + + To be added + A + Method + + 3.16.0.0 + System.Int32 @@ -87,89 +145,72 @@ - To be added A A + To be added A - + + Method + + 3.16.0.0 + System.Void - - + - Write the HTML to . - a - a + A + Writes the HTML out to - - - Property + + + + Method + + 3.16.0.0 + - System.String + System.Void - - To be added - A - - - - - - Constructor - - - - - - Constructor for internal use only. Do not use. - a , the underlying C objject. - - - - - - Constructor - - - - - + + - Constructor. - a - a - a - a - + a + a + Write the HTML to . + Use the ulong size overload instead for 64 bit deployments. - + + Method + + 3.16.0.0 + System.Void - + - Write the HTML to . a - a - Use the ulong size overload instead for 64 bit deployments. + a + Write the HTML to . + diff --git a/doc/en/Gtk/HTMLStreamCloseFunc.xml b/doc/en/Gtk/HTMLStreamCloseFunc.xml index d923854a5..d1763f65b 100644 --- a/doc/en/Gtk/HTMLStreamCloseFunc.xml +++ b/doc/en/Gtk/HTMLStreamCloseFunc.xml @@ -1,20 +1,14 @@ + gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - A delegate for use with . Meant to be used for closing the stream. - - System.Delegate - @@ -22,4 +16,11 @@ System.Void + + To be added. + To be added. + A delegate for use with . Meant to be used for closing the stream. + + + diff --git a/doc/en/Gtk/HTMLStreamStatus.xml b/doc/en/Gtk/HTMLStreamStatus.xml index e8232d0ed..c515351a6 100644 --- a/doc/en/Gtk/HTMLStreamStatus.xml +++ b/doc/en/Gtk/HTMLStreamStatus.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,39 +8,47 @@ 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. - - System.Enum - - - + + + Field + + 3.16.0.0 + Gtk.HTMLStreamStatus - Okay; HTTP result 200 + Not okay. - + (TODO: This is for everything non-200? Look up in source.) + - - + + + Field + + 3.16.0.0 + Gtk.HTMLStreamStatus - Not okay. + Okay; HTTP result 200 - (TODO: This is for everything non-200? Look up in source.) - + diff --git a/doc/en/Gtk/HTMLStreamTypesFunc.xml b/doc/en/Gtk/HTMLStreamTypesFunc.xml index 893330a14..db7cc8b5e 100644 --- a/doc/en/Gtk/HTMLStreamTypesFunc.xml +++ b/doc/en/Gtk/HTMLStreamTypesFunc.xml @@ -1,24 +1,25 @@ + gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - A delegate for use with . - - To be added. - System.Delegate - System.String + + To be added. + A delegate for use with . + To be added. + + + diff --git a/doc/en/Gtk/HTMLStreamWriteFunc.xml b/doc/en/Gtk/HTMLStreamWriteFunc.xml index 6d313a2f1..20d0fac76 100644 --- a/doc/en/Gtk/HTMLStreamWriteFunc.xml +++ b/doc/en/Gtk/HTMLStreamWriteFunc.xml @@ -1,21 +1,14 @@ + gtkhtml-sharp 3.16.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. - A delegate for use with . Meant to be used for writing the stream. - - System.Delegate - @@ -24,4 +17,12 @@ System.Void + + To be added. + To be added. + To be added. + A delegate for use with . Meant to be used for writing the stream. + + + diff --git a/doc/en/Gtk/HandleBox.xml b/doc/en/Gtk/HandleBox.xml index d6eeae1c2..36ad99635 100644 --- a/doc/en/Gtk/HandleBox.xml +++ b/doc/en/Gtk/HandleBox.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -16,30 +22,14 @@ The child of this widget is set using the method in . - - Gtk.Bin - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -49,85 +39,59 @@ - - - Property - - 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. - - + + + + Constructor + + 2.12.0.0 + - GLib.Property("snap-edge") + System.Obsolete - - - - Property - - Gtk.ShadowType - + + - Manage the appearance of the surrounding the child widget. - The current style of shadow in use. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Property - - Gtk.PositionType - + + + + Constructor + + 2.12.0.0 + + + - Manage where the handle of this container is placed. - The current position of the handle. + Pointer to the C object. + Internal constructor - 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. + This is an internal constructor, and should not be used by user code. - - - GLib.Property("handle-position") - - - - - Property - - Gtk.ShadowType - - - - - Manage the appearance of the surrounding the child widget. - The current style of shadow in use. - - + + + + Event + + 2.12.0.0 + - GLib.Property("shadow") + GLib.Signal("child_attached") - - - - Event Gtk.ChildAttachedHandler @@ -136,15 +100,19 @@ This event is raised when the contents of the HandleBox are reattached to the main window. - - - GLib.Signal("child_attached") - - + Event + + 2.12.0.0 + + + + GLib.Signal("child_detached") + + Gtk.ChildDetachedHandler @@ -153,47 +121,86 @@ 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.Signal("child_detached") + GLib.Property("handle-position") - - - - Property - System.Boolean + Gtk.PositionType - Whether to use the value from the snap_edge property or a value derived from handle_position. - a - + 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.Property("snap-edge-set") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildAttached", Type=typeof(Gtk.HandleBox)) - - - - Property - GLib.GType + System.Void - + + + - GType Property. - a - Returns the native value for . + 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 @@ -201,43 +208,99 @@ - Default handler for the event. a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("shadow") + + - System.Void + Gtk.ShadowType - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Manage the appearance of the surrounding the child widget. + The current style of shadow in use. + - - - Constructor - + + + + Property + + 2.12.0.0 + + + Gtk.ShadowType + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Manage the appearance of the surrounding the child widget. + The current style of shadow in use. + + + + + + Property + + 2.12.0.0 + - System.Obsolete + 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 + + diff --git a/doc/en/Gtk/HelpShownArgs.xml b/doc/en/Gtk/HelpShownArgs.xml index 70a4419ad..17a6b04ab 100644 --- a/doc/en/Gtk/HelpShownArgs.xml +++ b/doc/en/Gtk/HelpShownArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.WidgetHelpType diff --git a/doc/en/Gtk/HelpShownHandler.xml b/doc/en/Gtk/HelpShownHandler.xml index 6ee569fea..e88791097 100644 --- a/doc/en/Gtk/HelpShownHandler.xml +++ b/doc/en/Gtk/HelpShownHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/HierarchyChangedArgs.xml b/doc/en/Gtk/HierarchyChangedArgs.xml index 1af8f2b9e..19d71299c 100644 --- a/doc/en/Gtk/HierarchyChangedArgs.xml +++ b/doc/en/Gtk/HierarchyChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/HierarchyChangedHandler.xml b/doc/en/Gtk/HierarchyChangedHandler.xml index a8ebf5bfd..e15f83222 100644 --- a/doc/en/Gtk/HierarchyChangedHandler.xml +++ b/doc/en/Gtk/HierarchyChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/IMContext.xml b/doc/en/Gtk/IMContext.xml index ee8925f17..7ca79202d 100644 --- a/doc/en/Gtk/IMContext.xml +++ b/doc/en/Gtk/IMContext.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,136 +8,78 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A base class for input method contexts. - - GLib.Object + + A base class for input method contexts. + + - - - Method - - 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 - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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. - + Protected Constructor. - - - Method - - System.Boolean - - - - - - - - Asks the widget that the input context is attached to to delete - characters around the cursor position by emitting the - signal. - - a - a - 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 - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Allow an input method to handle a . - a representing a key press. - - if the keypress was handled. - If the method returns , no further processing should be done for . - - - - - Method - - 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. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor 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 @@ -155,9 +98,34 @@ + + + + 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 @@ -174,157 +142,149 @@ - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + + + a + a - Whether the IM context should use the preedit string - to display feedback. + Asks the widget that the input context is attached to to delete + characters around the cursor position by emitting the + signal. - a + a , if the signal was handled. - 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. - - - - - - Event - - System.EventHandler - - - - Event raised when the preedit string is changed. - + + 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. + + - - - GLib.Signal("preedit_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + - Event raised when pre-editing is started. - + 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 . - - - GLib.Signal("preedit_start") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.SurroundingDeletedHandler + System.Void - Event raised when the input method needs to delete the context text. + 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. - - - GLib.Signal("delete_surrounding") - - - - - Event - - 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 - - - - GLib.Signal("commit") - - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RetrieveSurroundingHandler + System.Void - - Event raised when the input method requires the context surrounding the cursor. + 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. - - - GLib.Signal("retrieve_surrounding") - - - - - - Event - - System.EventHandler - - - - Event raised when pre-editing is completed. - - - - - GLib.Signal("preedit_end") - - - - + + + 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. - Sets surrounding context around the insertion point and preedit string. + Retrieve the current preedit string for the input context + and a list of attributes to apply to the string. - a - a - This function is expected to be called in response to the - event, - and it will likely have no effect if called at other times. + This string should be displayed inserted at the insertion + point. + + Method + + 2.12.0.0 + System.Boolean @@ -333,9 +293,9 @@ - Gets the context around the insertion point. a a + Gets the context around the insertion point. a @@ -358,8 +318,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -370,9 +334,63 @@ 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 @@ -382,37 +400,61 @@ 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.Boolean + System.Void - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -421,90 +463,187 @@ - Default handler for the event. a a + Default handler for the event. a Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("preedit_changed") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Event raised when the preedit string is changed. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("preedit_end") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Event raised when pre-editing is completed. + - - - Constructor - - - - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("preedit_start") + + + + System.EventHandler + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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 location to store , the retrieved string. - a , location to store the retrieved attribute list. - To be added. + a + a - Retrieve the current preedit string for the input context - and a list of attributes to apply to the string. + Sets surrounding context around the insertion point and preedit string. - This string should be displayed inserted at the insertion - point. + This function is expected to be called in response to the + event, + and it will likely have no effect if called at other times. - - - - Constructor - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("delete_surrounding") + + + + Gtk.SurroundingDeletedHandler + - Protected Constructor. + 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. + + + diff --git a/doc/en/Gtk/IMContextSimple.xml b/doc/en/Gtk/IMContextSimple.xml index 5e7a0f866..682dd2fd4 100644 --- a/doc/en/Gtk/IMContextSimple.xml +++ b/doc/en/Gtk/IMContextSimple.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,36 +8,25 @@ 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. - - Gtk.IMContext - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -44,40 +34,54 @@ - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + + + + + 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 @@ -86,9 +90,9 @@ - Adds an additional table to search to the input context. a a + Adds an additional table to search to the input context. a @@ -100,5 +104,22 @@ + + + + Property + + 2.12.0.0 + + + GLib.GType + + + + GType Property. + a + Returns the native value for . + + diff --git a/doc/en/Gtk/IMMulticontext.xml b/doc/en/Gtk/IMMulticontext.xml index 0a3d530a5..df7998596 100644 --- a/doc/en/Gtk/IMMulticontext.xml +++ b/doc/en/Gtk/IMMulticontext.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,63 +8,101 @@ 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 - - Gtk.IMContext - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Basic constructor. + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - 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. - a - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + - Basic constructor. + 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 @@ -74,23 +113,5 @@ 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 - - - diff --git a/doc/en/Gtk/ITreeNode.xml b/doc/en/Gtk/ITreeNode.xml index 784c8be65..a339c8181 100644 --- a/doc/en/Gtk/ITreeNode.xml +++ b/doc/en/Gtk/ITreeNode.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,7 @@ 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 @@ -14,53 +16,46 @@ Types which implement this interface can be used to instantiate a for a - - - - System.Reflection.DefaultMember("Item") - - - - - Method + + + + Event + + 2.12.0.0 + - System.Int32 + System.EventHandler - - - + - IndexOf method - a - 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. - + Changed event + Emited when the tree-related contents of the node have changed. - - - Property + + + + Event + + 2.12.0.0 + - System.Int32 + Gtk.TreeNodeAddedHandler - 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. - + ChildAdded event + Emited when a child is added to the . - + + Property + + 2.12.0.0 + System.Int32 @@ -71,63 +66,96 @@ Read-only. Indicates the number of children of this - - - Property + + + + Event + + 2.12.0.0 + - Gtk.ITreeNode + Gtk.TreeNodeRemovedHandler - - - + - Child indexer - a - a - - Returns the child at position in the list of children - of this + ChildRemoved event + Emited when a child is removed from the . - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.Int32 - Changed event - Emited when the tree-related contents of the node have changed. + 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. + - - - Event + + + + Method + + 2.12.0.0 + - Gtk.TreeNodeAddedHandler + System.Int32 - + + + - ChildAdded event - Emited when a child is added to the . + 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. + - - - Event + + + + Property + + 2.12.0.0 + - Gtk.TreeNodeRemovedHandler + Gtk.ITreeNode - + + + - ChildRemoved event - Emited when a child is removed from the . + a + Child indexer + a + + Returns the child at position in the list of children + of this - + + Property + + 2.12.0.0 + Gtk.ITreeNode diff --git a/doc/en/Gtk/Icon.xml b/doc/en/Gtk/Icon.xml index 74b503ebc..9e883c3ff 100644 --- a/doc/en/Gtk/Icon.xml +++ b/doc/en/Gtk/Icon.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,39 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Methods for handling icon properties. - - System.Object + + Methods for handling icon properties. + + - - - Method - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Registers as another name for . - An alias for . - An existing icon size. - - - Calling with as argument will return . - - + A constructor. + + Method + + 2.12.0.0 + Gtk.IconSize @@ -47,39 +45,19 @@ - Looks up the icon size associated with . The name to look up. + Looks up the icon size associated with . The icon size with the given name. - - - Method - - Gtk.IconSize - - - - - - - - Registers a new icon size. - Name of the icon size. - The icon width. - The icon height. - Integer value representing the size. - - - Along the same lines as . Returns integer value for the size. - - - - + Method + + 2.12.0.0 + System.String @@ -87,8 +65,8 @@ - Obtains the canonical name of the given icon size. A . + Obtains the canonical name of the given icon size. The name of the given icon size. @@ -97,19 +75,13 @@ - - - Constructor - - - - A constructor. - - - + Method + + 2.12.0.0 + System.Boolean @@ -119,10 +91,10 @@ - Obtains the pixel size of a semantic icon size, possibly modified by user preferences fot the default . 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. @@ -134,7 +106,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -145,11 +121,11 @@ - Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular . 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. @@ -159,5 +135,58 @@ + + + + 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 . + + + + diff --git a/doc/en/Gtk/IconFactory.xml b/doc/en/Gtk/IconFactory.xml index c2a2f1d24..fbf7580d4 100644 --- a/doc/en/Gtk/IconFactory.xml +++ b/doc/en/Gtk/IconFactory.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,65 +8,93 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An icon factory manages a collection of - - GLib.Object + + An icon factory manages a collection of + + - - - Method - - Gtk.IconSet - - - - + + + + Constructor + + 2.12.0.0 + + + - Looks for an icon in the list of default icon factories. - an icon name - - a , or . - + Creates a new . - 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. + 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. - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - - Adds an icon factory to the list of icon factories searched - by . - + 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 - 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. + This is an internal constructor, and should not be used by user code. + Method + + 2.12.0.0 + System.Void @@ -74,12 +103,12 @@ + The icon's name + The icon set Adds the given to the icon factory, under the name . - The icon's name - The icon set Adds the given to the icon factory, under the name . should be namespaced for your @@ -96,9 +125,56 @@ + + + + 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 @@ -106,10 +182,10 @@ + an icon name Looks up a Stock ID in the icon factory. - an icon name a , or . @@ -123,67 +199,41 @@ - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.IconSet - - - - 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. - - - - - - Constructor - - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Creates a new . + an icon name + Looks for an icon in the list of default icon factories. + + a , or . + - 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. + 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 @@ -193,43 +243,34 @@ - Obtains the pixel size of a semantic icon size 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 - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - 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. + + 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. + - - - System.Obsolete - - diff --git a/doc/en/Gtk/IconInfo.xml b/doc/en/Gtk/IconInfo.xml index d8997c73e..dfa6d2e28 100644 --- a/doc/en/Gtk/IconInfo.xml +++ b/doc/en/Gtk/IconInfo.xml @@ -1,84 +1,81 @@ + 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. - - Contains information found when looking up an icon in an icon theme. - - - GLib.Opaque + + Contains information found when looking up an icon in an icon theme. + + + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - - + - Fetches the set of attach points for an icon. - a - a - 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 - - System.Void - - - - Free a and associated information + a + Internal constructor - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - + - 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 in which to store embedded rectangle coordinates; coordinates are only stored when this function returns . - a , if the icon has an embedded rectangle - See for further information about the coordinate system. + 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. - - - Method + + + + Property + + 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.) + 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 @@ -89,35 +86,30 @@ - - - Constructor - - - - - - Internal constructor - a - - - - - + + + Property + + 2.12.0.0 + - GLib.GType + System.String - GType Property. - a - Returns the native value for . + 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 @@ -128,48 +120,145 @@ If the flag was passed to , there may be no filename if a builtin icon is returned; in this case, you should use . - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - 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. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Gtk.IconInfo is now freed automatically") + + - Gdk.Pixbuf + System.Void - 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 . + 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 + - System.Int32 + GLib.GType - 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. + 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 diff --git a/doc/en/Gtk/IconLookupFlags.xml b/doc/en/Gtk/IconLookupFlags.xml index d524f7e19..97eee4af3 100644 --- a/doc/en/Gtk/IconLookupFlags.xml +++ b/doc/en/Gtk/IconLookupFlags.xml @@ -1,16 +1,12 @@ + 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. - - Used to specify options for - - - System.Enum @@ -22,58 +18,79 @@ System.Flags + + Used to specify options for + + + - - + + + Field + + 2.12.0.0 + Gtk.IconLookupFlags - Never return SVG icons, even if gdk-pixbuf supports them. Cannot be used together with . + Return SVG icons, even if gdk-pixbuf does not support them. Cannot be used together with . - - + + + Field + + 2.12.0.0 + Gtk.IconLookupFlags - - - Return SVG icons, even if gdk-pixbuf does not support them. Cannot be used together with . - - + To be added. + - - + + + 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 . + Never return SVG icons, even if gdk-pixbuf supports them. Cannot be used together with . - - + + + Field + + 2.12.0.0 + Gtk.IconLookupFlags + + - To be added. - + When passed to includes builtin icons as well as files. For a builtin icon, returns and you need to call . + + diff --git a/doc/en/Gtk/IconSet.xml b/doc/en/Gtk/IconSet.xml index 75280f12f..2d52803b5 100644 --- a/doc/en/Gtk/IconSet.xml +++ b/doc/en/Gtk/IconSet.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -17,67 +23,72 @@ and automatically caches some of the rendered objects. - - GLib.Opaque - - - - - - Method - - Gdk.Pixbuf - - - - - - - - - + + + + Constructor + + 2.12.0.0 + + + - Renders an icon using - - 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 - 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. - + 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. + + - - - Method - - Gtk.IconSet - - + + + + Constructor + + 2.12.0.0 + + + + + + + a - Copy the IconSet by value. + Creates a new with as the default/fallback source image. - a copy of the current IconSet + + + + 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 @@ -85,10 +96,10 @@ + an object of type Adds an IconSource to the current IconSet. - an object of type Icon sets have a list of , @@ -127,83 +138,147 @@ - - + + + Method + + 2.12.0.0 + Gtk.IconSet - Increments the reference count. - the IconSet with the incremented reference count + + Copy the IconSet by value. + + a copy of the current IconSet - - + + + Method + + 2.12.0.0 + System.Void - Decrements the reference count - - Decrements the reference count, and frees memory - if the reference count reaches 0. - + To be added. + To be added. - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + GLib.GType + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + GType Property. + a + Returns the native value for . - - - Constructor - + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Gtk.IconSet is now refcounted automatically") + + + + Gtk.IconSet + - - 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. - + Increments the reference count. + the IconSet with the incremented reference count - - - Constructor - + + + + 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 - Creates a new with as the default/fallback source image. - - - a - + 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[] @@ -213,17 +288,47 @@ - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Gtk.IconSet is now refcounted automatically") + + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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. diff --git a/doc/en/Gtk/IconSize.xml b/doc/en/Gtk/IconSize.xml index c785c43cd..194eda30c 100644 --- a/doc/en/Gtk/IconSize.xml +++ b/doc/en/Gtk/IconSize.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 @@ -16,96 +25,116 @@ - - System.Enum - - - - GLib.GType(typeof(Gtk.IconSizeGType)) - - - - + + + Field + + 2.12.0.0 + Gtk.IconSize - This signifies an unsupported icon size. + The icon size for a . - - + + + Field + + 2.12.0.0 + Gtk.IconSize - The icon size for a . + The icon size used in a - - + + + Field + + 2.12.0.0 + Gtk.IconSize - The icon size for a small + The icon size used during a drag-n-drop operation. - - + + + Field + + 2.12.0.0 + Gtk.IconSize - The icon size for a large . + This signifies an unsupported icon size. - - + + + Field + + 2.12.0.0 + Gtk.IconSize - The icon size for a . + The icon size for a large . - - + + + Field + + 2.12.0.0 + Gtk.IconSize - The icon size used during a drag-n-drop operation. + The icon size for a . - - + + + Field + + 2.12.0.0 + Gtk.IconSize - The icon size used in a + The icon size for a small diff --git a/doc/en/Gtk/IconSource.xml b/doc/en/Gtk/IconSource.xml index 70e7163bf..5f5ff5ae1 100644 --- a/doc/en/Gtk/IconSource.xml +++ b/doc/en/Gtk/IconSource.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -57,110 +63,98 @@ - - GLib.Opaque - - - - - - Method - - Gtk.IconSource - - - - - Creates a copy of the current ; mostly useful for language - bindings. - - - a new GtkIconSource that is a copy of the current one - - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Frees a dynamically-allocated icon source, along with its filename, size, and pixbuf fields. + Creates a new . + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.IconSource + - Creates a new . + + 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 + - System.Boolean + Gtk.TextDirection - If the widget state is wildcarded, this source can be used - as the base image for an icon in any . + The text direction this icon source applies to. - Whether or not the widget is wildcarded. + Obtains the text direction this icon source applies to. The + return value is only useful/meaningful if the text direction + is not 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. - + 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 @@ -168,83 +162,177 @@ - 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. + If the text direction is wildcarded, this source can be used + as the base image for an icon in any . - Whether the size is wildcarded or not + Whether the text direction 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. + 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. - - 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 + - Gdk.Pixbuf + System.String - The base image used when creating icon variants of a - the source pixbuf, or if none is set. + 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 - - If an icon source has both a filename and a pixbuf set, the - pixbuf will take priority. - + - - + + + Property + + 2.12.0.0 + - Gtk.TextDirection + Gdk.Pixbuf - 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. - + The base image used when creating icon variants of a + the source pixbuf, or if none is set. - 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. + + If an icon source has both a filename and a pixbuf set, the + pixbuf will take priority. + - + + Property + + 2.12.0.0 + Gtk.IconSize @@ -267,9 +355,56 @@ + + + + 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 @@ -292,9 +427,13 @@ - - + + + Property + + 2.12.0.0 + System.Boolean @@ -302,77 +441,35 @@ - If the text direction is wildcarded, this source can be used - as the base image for an icon in any . + If the widget state is wildcarded, this source can be used + as the base image for an icon in any . - Whether the text direction is wildcarded or not + + Whether or not the widget is wildcarded. + - 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. + 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. + - - - Property - - 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. - - - - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Property - - 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 - - - - - diff --git a/doc/en/Gtk/IconTheme.xml b/doc/en/Gtk/IconTheme.xml index 05b2aa959..b0b60adb0 100644 --- a/doc/en/Gtk/IconTheme.xml +++ b/doc/en/Gtk/IconTheme.xml @@ -1,11 +1,17 @@ + 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 @@ -22,45 +28,67 @@ A good rule of thumb is that if there is a stock image for what you want to use, - - GLib.Object - - - - - - Method - - Gtk.IconTheme - + + + + 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 + + + - + - Gets the icon theme object associated with - a - 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. + a + Internal constructor. + - - - Method - - System.Int32 - - + + + + Constructor + + 2.12.0.0 + + + + + - Returns an integer identifier for an error string. - a - - + a + Internal constructor. + + Method + + 2.12.0.0 + System.Void @@ -70,10 +98,10 @@ A good rule of thumb is that if there is a stock image for what you want to use, - Registers a built-in icon for icon theme lookups. 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. @@ -84,147 +112,262 @@ In general, if you use you shoul - - + + + Method + + 2.12.0.0 + System.Void - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + a , directory name to append to the icon path + Appends a directory to the search path. + See . - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + - System.Boolean + System.EventHandler - 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. + 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 + - System.Boolean + Gtk.IconInfo - + + + - Checks whether an icon theme includes an icon for a particular name. - a , the name of an icon - a , if the IconTheme includes an icon for . + 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 + - System.Void + Gtk.IconTheme - + - Prepends a directory to the search path. - a , directory name to prepend to the icon path - See . + 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.Void + System.Int32[] - + - Appends a directory to the search path. - a , directory name to append to the icon path - See . + 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 + - System.String[] + GLib.GType - 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.) - - + GType Property. + a + Returns the native value for . - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - Deprecated method to set the current search path. - a , array of directories that are searched for icon themes - Replaced by the property. + 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 + - Gtk.IconInfo + System.String[] + + + + To be added. + To be added. + To be added. + + + + + + + Method + + 2.12.0.0 + + + System.String[] - - - + - Looks up a named icon and returns a structure containing information such as the filename of the icon. - a , the name of the icon to lookup - a , desired icon size - a , flags modifying the behavior of the icon lookup - 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.) + 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 @@ -234,100 +377,102 @@ In general, if you use you shoul - Looks up an icon in an icon theme, scales it to the given size and renders it into a 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 + - System.String[] + Gtk.IconInfo - + + + - Lists the icons in the current icon theme. - a , a string identifying a particular type of icon, or to list all icons. - 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'. + 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.) - - - Constructor - - - - - - Internal constructor. - a - - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.IconTheme)) - - - - Constructor - - - - - - Internal constructor. - a - - - - - - Constructor - + + System.Void + - 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. + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.IconTheme + System.Void - + + + - 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 . + a , directory name to prepend to the icon path + Prepends a directory to the search path. + See . - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Boolean - GType Property. - a - Returns the native value for . + 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 @@ -337,98 +482,64 @@ In general, if you use you shoul The screen is used to track the user's currently configured icon theme, which might be different for different screens. - - - Property - - 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 + - System.String + 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 . - + 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.) + + - - - Event - - 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 + - GLib.Signal("changed") + System.Obsolete("Replaced by SearchPath property.") - - - - Method - - System.Int32[] - - - - - - Gets a list of the sizes for an Icon by name. - a - a - An entry of -1 indicates a scalable version of the icon. - - - - - - Method - Gtk.IconInfo + System.Void - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - - Method - - System.String[] - - - - To be added. - To be added. - To be added. - + a , array of directories that are searched for icon themes + Deprecated method to set the current search path. + Replaced by the property. diff --git a/doc/en/Gtk/IconThemeError.xml b/doc/en/Gtk/IconThemeError.xml index bf3313f30..d29b49fae 100644 --- a/doc/en/Gtk/IconThemeError.xml +++ b/doc/en/Gtk/IconThemeError.xml @@ -1,16 +1,12 @@ + 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. - - Error codes for operations. - - - System.Enum @@ -19,31 +15,44 @@ GLib.GType(typeof(Gtk.IconThemeErrorGType)) + + Error codes for operations. + + + - - + + + Field + + 2.12.0.0 + Gtk.IconThemeError - The icon specified does not exist in the theme + An unspecified error occurred. - - + + + Field + + 2.12.0.0 + Gtk.IconThemeError - An unspecified error occurred. + The icon specified does not exist in the theme diff --git a/doc/en/Gtk/IconView.xml b/doc/en/Gtk/IconView.xml index 5c9d0a36a..bc93df8f9 100644 --- a/doc/en/Gtk/IconView.xml +++ b/doc/en/Gtk/IconView.xml @@ -1,11 +1,20 @@ + 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 @@ -180,491 +189,647 @@ public class DemoIconView : Window - - Gtk.Container - - - - Gtk.CellLayout - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Default constructor + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a + Create a new IconView with a model. + - - - Method + + + + 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") + + - System.Void + Gtk.ActivateCursorItemHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + To be added + To be added - - + + + Method + + 2.12.0.0 + System.Void - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + a + Activates the item determined by . + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + + - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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. + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("select_all") + + - System.Boolean + System.EventHandler - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Emitted when SelectAll () is called. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("unselect_all") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Emitted when UnselectAll () is called. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.CellRenderer[] - - Unselects all the icons. - + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + System.Void - - - + - Calls a function for each selected icon. - a - Note that the model or selection cannot be modified from within this function. + Clears attribute bindings and removes all renderers. + + - - + + + Method + + 2.12.0.0 + System.Void - + - Unselects the row at . - a + a of the view. + Clears attribute bindings for a cell renderer. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("columns") + + - System.Void + System.Int32 - Selects all the icons. - The IconView must has its selection mode set to . + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("column-spacing") + + - System.Boolean + System.Int32 - - - + - Returns if the icon pointed to by is currently selected. - a - a - If does not point to a valid location, is returned. + Space which is inserted between grid column. + a + Default value is 6. - - + + + Method + + 2.12.0.0 + - Gtk.TreePath + System.Void - - + + + + - To be added - a - a - a - 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 + Gdk.Pixmap - Activates the item determined by . - a + 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 - - - - Selects the row at . - a - - - - - - 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 - - - - Default constructor + an array of items supported. + drop actions supported by the view. + Enables the view as a Drop destination. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Create a new IconView with a model. - a + buttons allowed to start drag. + an array of items supported. + drag actions supported from the view. + Enables the view as a Drag source. + - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Boolean - + + + + - GType Property. - a - Returns the native value for . + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.SelectionMode + System.Boolean - + + + + + + - 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. + 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. + + - - - GLib.Property("selection-mode") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + + - 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. + returns a for the highlighted item, or . + returns the relative drop information for the highlighted item. + Gets Drag information for the currently highlighted item. + + - - - GLib.Property("columns") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + + + + + + - Space which is inserted at the edges of the icon view. - a - Default value is 6. + 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. + - - - GLib.Property("margin") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Orientation + Gtk.TreePath - + + + + - How the text and icon of each item are positioned relative to each other. - - - a - Default value is + a + a + To be added + a + To be added - - - GLib.Property("orientation") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + + + + + + + + - The width used for each item. - a - + 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. + - - - GLib.Property("item-width") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + + + + - 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. + 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. + - - - GLib.Property("text-column") - - - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - Space which is inserted between cells of an item. - a - To be added + GType Property. + a + Returns the native value for . + + + + + Event + + 2.12.0.0 + - GLib.Property("spacing") + GLib.Signal("item_activated") - - - - Property - System.Int32 + Gtk.ItemActivatedHandler - 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. + Emitted when an item is activated. + + + + + + Property + + 2.12.0.0 + - GLib.Property("pixbuf-column") + GLib.Property("item-width") - - - - Property System.Int32 - Space which is inserted between grid rows. + The width used for each item. a - Default value is 6. + + + + + + Property + + 2.12.0.0 + - GLib.Property("row-spacing") + GLib.Property("margin") - - - - Property System.Int32 - Space which is inserted between grid column. + Space which is inserted at the edges of the icon view. a Default value is 6. + + + + + Property + + 2.12.0.0 + - GLib.Property("column-spacing") + GLib.Property("markup-column") - - - - Property System.Int32 @@ -674,351 +839,367 @@ public class DemoIconView : Window 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. - - - GLib.Property("markup-column") - - - + + Property - - Gtk.TreeModel - - - - The model for the icon view. - a - - + + 2.12.0.0 + GLib.Property("model") - - - - Property - Gtk.TreePath[] + Gtk.TreeModel - Creates a list of paths of all selected items. - a + The model for the icon view. + a - - + + + Event - - System.EventHandler - - - - Emitted when the current selection changes. - To be added - + + 2.12.0.0 + - GLib.Signal("selection-changed") + GLib.Signal("move_cursor") - - - - Event - System.EventHandler + Gtk.MoveCursorHandler - Emitted when UnselectAll () is called. + To be added + + + + + Method + + 2.12.0.0 + - GLib.Signal("unselect_all") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivateCursorItem", Type=typeof(Gtk.IconView)) - - - - Event - Gtk.ItemActivatedHandler + System.Boolean - Emitted when an item is activated. - + 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.Signal("item_activated") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAllSelected", Type=typeof(Gtk.IconView)) - - - - Event - System.EventHandler + System.Void - Emitted when SelectAll () is called. - + 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.Signal("select_all") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAllUnselected", Type=typeof(Gtk.IconView)) - - - - Event - System.EventHandler + 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.Signal("toggle_cursor_item") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.IconView)) - - - - Event - Gtk.MoveCursorHandler + System.Void - + + + - To be added - + 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.Signal("move_cursor") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.IconView)) - - - - Event - Gtk.ActivateCursorItemHandler + System.Boolean - + + + + - To be added - To be added + 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.Signal("activate_cursor_item") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectCursorItem", Type=typeof(Gtk.IconView)) - - - - Event - System.EventHandler + 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.Signal("select_cursor_item") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.IconView)) - - - - Method - - 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 - Gdk.Pixmap + System.Void - - - + - a to an item in the view. - Creates a pixmap representation of an item. - a representation of the item at . - - + 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 - Unsets the view as a Drag destination. - Reverses the effects of . - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("orientation") + + - System.Boolean + Gtk.Orientation - - - - + - 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. - + How the text and icon of each item are positioned relative to each other. + + + a + Default value is - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - - + + - 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. + 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.Boolean + System.Void - - - - + + - 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. + 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.Void + System.Boolean - - The item to highlight, or . - Indicates where to drop relative to the item. - Sets up drag feedback for an item. - - + a + Returns if the icon pointed to by is currently selected. + a + If does not point to a valid location, is returned. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("pixbuf-column") + + - System.Void + System.Int32 - Unsets the view as a drag source. - Reverses the effects of . - + 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 - - + - 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 . + 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") @@ -1035,65 +1216,35 @@ public class DemoIconView : Window - - - Method - - 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 - - System.Void - - - - - - - an array of items supported. - drop actions supported by the view. - Enables the view as a Drop destination. - - - - - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("row-spacing") + + - System.Void + System.Int32 - - - - + - returns a for the highlighted item, or . - returns the relative drop information for the highlighted item. - Gets Drag information for the currently highlighted item. - - + Space which is inserted between grid rows. + a + Default value is 6. + Method + + 2.12.0.0 + System.Void @@ -1108,7 +1259,11 @@ public class DemoIconView : Window + Method + + 2.12.0.0 + System.Void @@ -1126,130 +1281,148 @@ public class DemoIconView : Window - - + + + 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. - + Selects all the icons. + The IconView must has its selection mode set to . - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("select_cursor_item") + + - System.Void + System.EventHandler - - - + - a of the view. - Clears attribute bindings for a cell renderer. + To be added - - - + + + Method + + 2.12.0.0 + System.Void - + + + - Clears attribute bindings and removes all renderers. - - + a + Calls a function for each selected icon. + Note that the model or selection cannot be modified from within this function. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.TreePath[] - - - - - + - 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. + Creates a list of paths of all selected items. + a - - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("selection-changed") + + - System.Void + System.EventHandler - - - - + - a to add to the view. - indicates if the should expand to available space. - Packs a renderer at the end of a cell. - - + Emitted when the current selection changes. + To be added - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("selection-mode") + + - System.Void + Gtk.SelectionMode - - - - + - a of the view. - desired index within the list of renderers. - Moves a renderer to a position in the list of renderers. - - + 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 to add to the view. - indicates if the should expand to available space. - Packs a renderer to the beginning of the cell. + a + Selects the row at . - + Method + + 2.12.0.0 + System.Void @@ -1271,71 +1444,81 @@ public class DemoIconView : Window - - - Property + + + + Method + + 2.12.0.0 + - Gtk.CellRenderer[] + System.Void + + + + - To be added. - To be added. - To be added. - + 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 - - - - + + + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + 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.Boolean + 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. - + 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 @@ -1355,7 +1538,11 @@ public class DemoIconView : Window + Method + + 2.12.0.0 + System.Void @@ -1371,9 +1558,78 @@ public class DemoIconView : Window + + + + 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") @@ -1389,5 +1645,74 @@ public class DemoIconView : Window + + + + 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 . + + + diff --git a/doc/en/Gtk/IconViewDropPosition.xml b/doc/en/Gtk/IconViewDropPosition.xml index 2bba26d0f..a771594e2 100644 --- a/doc/en/Gtk/IconViewDropPosition.xml +++ b/doc/en/Gtk/IconViewDropPosition.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.IconViewDropPositionGType)) + + IconView Drop locations. + + + + Field + + 2.12.0.0 + Gtk.IconViewDropPosition @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.IconViewDropPosition @@ -33,29 +47,41 @@ Drops below the item. - - + + + Field + + 2.12.0.0 + Gtk.IconViewDropPosition - Drop to the left of the item. + Drops into the item. - - + + + Field + + 2.12.0.0 + Gtk.IconViewDropPosition - No drops allowed. + Drop to the left of the item. + Field + + 2.12.0.0 + Gtk.IconViewDropPosition @@ -63,20 +89,19 @@ Drops to the right of the item. - - + + + Field + + 2.12.0.0 + Gtk.IconViewDropPosition - Drops into the item. + No drops allowed. - - IconView Drop locations. - - - diff --git a/doc/en/Gtk/IconViewForeachFunc.xml b/doc/en/Gtk/IconViewForeachFunc.xml index dec7cef7f..02eb3d5cf 100644 --- a/doc/en/Gtk/IconViewForeachFunc.xml +++ b/doc/en/Gtk/IconViewForeachFunc.xml @@ -1,11 +1,22 @@ + 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. @@ -13,15 +24,5 @@ To be added - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/IframeCreatedArgs.xml b/doc/en/Gtk/IframeCreatedArgs.xml index 312dc66c3..09224865a 100644 --- a/doc/en/Gtk/IframeCreatedArgs.xml +++ b/doc/en/Gtk/IframeCreatedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.HTML diff --git a/doc/en/Gtk/IframeCreatedHandler.xml b/doc/en/Gtk/IframeCreatedHandler.xml index 8d58e6924..834777de5 100644 --- a/doc/en/Gtk/IframeCreatedHandler.xml +++ b/doc/en/Gtk/IframeCreatedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Image.xml b/doc/en/Gtk/Image.xml index c42a56835..e4ba7c08d 100644 --- a/doc/en/Gtk/Image.xml +++ b/doc/en/Gtk/Image.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -17,288 +23,341 @@ include it inside an for that purpose. - - Gtk.Misc - - - - - - Method - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Creates a displaying an . - an object of type - an object of type - - 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. - + Default parameterless constructor. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Creates a widget displaying an image with a mask. - an object of type - an object of type - - Creates a widget displaying an image with a mask. - A is a client-side image buffer in the pixel format of the current display. - - + + to be + displayed by the Image. + This constructor is used to create an instance of + containing the + passed to it. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Creates a displaying a stock icon. - an object of type - an object of type - - 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 . - + + + to be displayed by the Image. + + This constructor is used to create an instance of containing the passed to it. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Creates a widget displaying an image with a mask. - an object of type - an object of type - - Creates a widget displaying an image with a mask. - A is a client-side image buffer in the pixel format of the current display. - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - Constructor - - - - Default parameterless constructor. - - - - - + + Constructor + + 2.12.0.0 + - + - This constructor is used to create an instance of containing the passed to it. - - - to be displayed by the Image. - - + 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 + - This constructor is used to create an instance of - containing the image stored in the - filename whose path is given by the 'filename' parameter. 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 and using the passed to it. - - to be - displayed by the Image. - - to be used by - the Image. + containing the + passed to it, masked by the given . + - + + Constructor + + 2.12.0.0 + - + - This constructor is used to create an instance of - containing the - passed to it, masked by the given . - - to be displayed - by the Image. + + displayed by + the Image. - mask to be used. + 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 + - + + - This constructor is used to create an instance of - containing the - passed to it. - - to be + + 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 + - - + + - This constructor is used to create an instance of - containing the passed to it, -masked by the given . - - displayed by - the Image. - - mask used by - the Image. - + 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 + - 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. 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.Pixbuf + Gdk.PixbufAnimation - - - Creates a displaying . - an object of type - Creates a displaying . + 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") + + - Gdk.PixbufAnimation + System.String + + - Get the animation for this image. - an object of type + 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 @@ -311,8 +370,17 @@ masked by the given . - + + Property + + 2.12.0.0 + + + + System.Obsolete("Use the File property instead") + + System.String @@ -338,108 +406,229 @@ masked by the given . - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Use the Pixbuf property instead") + + - System.String + Gdk.Pixbuf - A stock item name, if this is a stock image. - an object of type - + Creates a displaying . + an object of type + Creates a displaying . + + + + + Method + + 2.12.0.0 + - GLib.Property("stock") + System.Obsolete + + System.Void + + + + + + + a + a + + Gets the and mask being + displayed by the . + + + The storage type of the image must be + . + or . + (see ). + + + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Pixbuf + System.Void + + - Gets or sets the - associated to the Image. - - that the Image contains. - + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("pixbuf") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + - The size (dimension on a side) for a square icon. - an object of type - + 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. + - - - GLib.Property("icon-size") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void + + - The file this image was loaded from. - an object of type - + the image data + the mask + Get the image data and mask for an image + + + - - - GLib.Property("file") - - - - + + + + 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 + - Gtk.ImageType + GLib.GType + - 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 - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("storage-type") + GLib.Property("icon-name") + + System.String + + + + To be added + a + To be added + + - + + Property + + 2.12.0.0 + + + + GLib.Property("icon-set") + + Gtk.IconSet @@ -452,146 +641,236 @@ masked by the given . that the Image contains. + + + + + Property + + 2.12.0.0 + - GLib.Property("icon-set") + GLib.Property("icon-size") - - - - Property - Gdk.PixbufAnimation + System.Int32 - Gets or sets the - associated to the Image. - - that the Image contains. + The size (dimension on a side) for a square icon. + an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("pixbuf-animation") + GLib.Property("image") - - - - Property - Gdk.Pixmap + Gdk.Image - Mask bitmap to use with or - an object of type - + 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.Pixmap + Gdk.Pixbuf - Gets or sets the + Gets or sets the associated to the Image. - that the Image contains. + that the Image contains. + + + + + Property + + 2.12.0.0 + - GLib.Property("pixmap") + GLib.Property("pixbuf-animation") - - - - Property - Gdk.Image + Gdk.PixbufAnimation - Gets or sets the associated with the Image. + Gets or sets the + associated to the Image. - that the Image contains. + that the Image contains. + + + + + Property + + 2.12.0.0 + - GLib.Property("image") + GLib.Property("pixel-size") - - - - Property - GLib.GType + System.Int32 - GType Property. - a - Returns the native value for . + 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. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("pixmap") - - - - Method - System.Void + Gdk.Pixmap - - - Same functionality as . - a - a - - - + Gets or sets the + associated to the Image. + + that the Image contains. + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -600,264 +879,187 @@ masked by the given . - - Gets the and mask being - displayed by the . - a a + Same functionality as . - The storage type of the image must be - . - or . - (see ). - + - - + + + Method + + 2.12.0.0 + System.Void - - + + - Get the stock item name and size, if this is a stock image - the stock item name - the stock item size, a - - If the is displaying a stock image, this method can be used to retrieve the stock item name and the size. - - + a + a + To be added + To be added + - - + + + Method + + 2.12.0.0 + System.Void - - + + - Get the icon set and size, if this image is using an icon set - the - the icon size, a - If the is displaying an image from an icon set, this method can be used to retrieve the icon set and the size. - + 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 - - + + - Get the pixmap and mask for an image - the - the mask + 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 - - + + - Get the image data and mask for an image - the image data - the mask + 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 + - Gtk.Image + System.Void - - - - Loads an image from a resource file. - the name of the resource - a - - This load an image from a resource in the calling assembly. This is - equivalent to using the - - constructor with a assembly. - - - - - - - Constructor - - - - - - Loads an image from a . - a - - This is equivalent to calling - or and then creating - an from the resulting pixbuf. - - - - - - - Constructor - - - - + + - Loads an image embedded in an assembly - 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 + an object of type + an object of type + Creates a displaying a stock icon. - This is equivalent to calling - or - - and then creating an from the resulting pixbuf. - - + 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 - - System.String - - - - To be added - a - To be added - - + + 2.12.0.0 + - GLib.Property("icon-name") + GLib.Property("stock") - - - - Property - System.Int32 + System.String - + + - To be added - a - To be added - + A stock item name, if this is a stock image. + an object of type + + + + + + Property + + 2.12.0.0 + - GLib.Property("pixel-size") + GLib.Property("storage-type") - - - - Method - - Gtk.Image - - - - - - - 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. - To be added. - To be added. - To be added. - - - - - Method - - System.Void + Gtk.ImageType - - Resets the image to be empty. + 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 - - \ No newline at end of file + diff --git a/doc/en/Gtk/ImageIconNameData.xml b/doc/en/Gtk/ImageIconNameData.xml index 6bfe1691d..360c8d978 100644 --- a/doc/en/Gtk/ImageIconNameData.xml +++ b/doc/en/Gtk/ImageIconNameData.xml @@ -1,26 +1,31 @@ + 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 - - System.ValueType - - - - + + + Field + + 2.12.0.0 + - Gtk.ImageIconNameData + System.String @@ -29,22 +34,49 @@ To be added - - - Field + + + + Method + + 2.12.0.0 + - System.String + 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 @@ -55,33 +87,22 @@ To be added - - - Method + + + + Field + + 2.12.0.0 + Gtk.ImageIconNameData - To be added - a - a To be added - - - Property - - Gdk.Pixbuf - - - To be added. - To be added. - To be added. - - diff --git a/doc/en/Gtk/ImageMenuItem.xml b/doc/en/Gtk/ImageMenuItem.xml index 63be22453..f4474c642 100644 --- a/doc/en/Gtk/ImageMenuItem.xml +++ b/doc/en/Gtk/ImageMenuItem.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -40,88 +46,106 @@ - - Gtk.MenuItem - - - - + + Constructor + + 2.12.0.0 + - - - + - Internal constructor - Pointer to the C object. + Creates a new . - This is an internal constructor, and should not be used by user code. - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + + + - Creates a new . - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - - + - Creates a new containing the image and text from a stock item. - an object of type - an object of type - + 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 + - Creates a new containing a label. an object of type + Creates a new containing a label. - - - Property - - Gtk.Widget - + + + + Constructor + + 2.12.0.0 + + + + - Child widget to appear next to the menu text. - an object of type + an object of type + an object of type + Creates a new containing the image and text from a stock item. - - - GLib.Property("image") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -132,23 +156,28 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("image") + + Gtk.Widget + + + + + Child widget to appear next to the menu text. + an object of type + + diff --git a/doc/en/Gtk/ImageType.xml b/doc/en/Gtk/ImageType.xml index bcede9f0d..cbe505647 100644 --- a/doc/en/Gtk/ImageType.xml +++ b/doc/en/Gtk/ImageType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 . @@ -16,111 +25,135 @@ For empty images, you can request any storage type (from any of the "get" properties), but they will all return values. - - System.Enum - - - - GLib.GType(typeof(Gtk.ImageTypeGType)) - - - - + + + Field + + 2.12.0.0 + Gtk.ImageType - There is no image displayed by the . - There is no image displayed by the . + The contains a . + The contains a . - - + + + Field + + 2.12.0.0 + Gtk.ImageType - The contains a . - The contains a . + There is no image displayed by the . + There is no image displayed by the . - - + + + Field + + 2.12.0.0 + Gtk.ImageType - + + - The contains a . - The contains a . + To be added + To be added + - - + + + Field + + 2.12.0.0 + Gtk.ImageType - The contains a . - The contains a . + 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. + The contains a . + The contains a . - - + + + Field + + 2.12.0.0 + Gtk.ImageType - The contains a . - The contains a . + The contains a . + The contains a . - - + + + Field + + 2.12.0.0 + Gtk.ImageType - The contains a . - The contains a . + The contains a . + The contains a . - - + + + Field + + 2.12.0.0 + Gtk.ImageType - - + - To be added - To be added - + The contains a stock icon name. + The contains a stock icon name. diff --git a/doc/en/Gtk/Init.xml b/doc/en/Gtk/Init.xml index 8698b0f4d..e7c95143f 100644 --- a/doc/en/Gtk/Init.xml +++ b/doc/en/Gtk/Init.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,18 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - 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 @@ -26,24 +45,18 @@ - Registers a function to be called when the mainloop is started. a - - - - - - Constructor - - - - Default constructor + Registers a function to be called when the mainloop is started. + Method + + 2.12.0.0 + System.Boolean @@ -51,8 +64,8 @@ - Initializes Gtk# for operation, probes window system. 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. diff --git a/doc/en/Gtk/Input.xml b/doc/en/Gtk/Input.xml index a7dcb4e53..af043e8f7 100644 --- a/doc/en/Gtk/Input.xml +++ b/doc/en/Gtk/Input.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,18 +8,41 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Input-handling code for the main loop of programs. - - 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 @@ -31,20 +55,29 @@ - Registers a function to be called when a condition becomes true on a file descriptor. 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 @@ -52,18 +85,8 @@ - Removes the function with the given id. a identifying the function to remove, provided by . - - - - - - Constructor - - - - Basic constructor. + Removes the function with the given id. diff --git a/doc/en/Gtk/InputArgs.xml b/doc/en/Gtk/InputArgs.xml index fd2cfb2bc..0d8a40e32 100644 --- a/doc/en/Gtk/InputArgs.xml +++ b/doc/en/Gtk/InputArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Double diff --git a/doc/en/Gtk/InputDialog.xml b/doc/en/Gtk/InputDialog.xml index 4f7d32f3b..5ec6ca615 100644 --- a/doc/en/Gtk/InputDialog.xml +++ b/doc/en/Gtk/InputDialog.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -26,40 +32,91 @@ - - Gtk.Dialog - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Property + + 2.12.0.0 + + + Gtk.Button + - Creates an instance of - Creates an instance of + The "close window" button in this dialog. + a + + Event + + 2.12.0.0 + + + + GLib.Signal("disable_device") + + Gtk.DisableDeviceHandler @@ -70,15 +127,19 @@ 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. - - - GLib.Signal("disable_device") - - + Event + + 2.12.0.0 + + + + GLib.Signal("enable_device") + + Gtk.EnableDeviceHandler @@ -89,15 +150,14 @@ 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. - - - GLib.Signal("enable_device") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -108,9 +168,18 @@ Returns the native value for . - - + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisableDevice", Type=typeof(Gtk.InputDialog)) + + System.Void @@ -118,14 +187,23 @@ - Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -133,32 +211,18 @@ - 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. + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - System.Obsolete - - - + + Property + + 2.12.0.0 + Gtk.Button @@ -169,18 +233,5 @@ - - - Property - - Gtk.Button - - - - The "close window" button in this dialog. - a - - - diff --git a/doc/en/Gtk/InputHandler.xml b/doc/en/Gtk/InputHandler.xml index 36be713b4..861e71702 100644 --- a/doc/en/Gtk/InputHandler.xml +++ b/doc/en/Gtk/InputHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/InsertAtCursorArgs.xml b/doc/en/Gtk/InsertAtCursorArgs.xml index 58632ebe5..fca63e4c7 100644 --- a/doc/en/Gtk/InsertAtCursorArgs.xml +++ b/doc/en/Gtk/InsertAtCursorArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -27,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -43,8 +48,12 @@ - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Gtk/InsertAtCursorHandler.xml b/doc/en/Gtk/InsertAtCursorHandler.xml index a91e0e437..a8c2334eb 100644 --- a/doc/en/Gtk/InsertAtCursorHandler.xml +++ b/doc/en/Gtk/InsertAtCursorHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -29,15 +40,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/InsertTextArgs.xml b/doc/en/Gtk/InsertTextArgs.xml index e2e8d5de7..1b9a8f217 100644 --- a/doc/en/Gtk/InsertTextArgs.xml +++ b/doc/en/Gtk/InsertTextArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -40,27 +49,35 @@ - - + + + Property + + 2.12.0.0 + - System.String + Gtk.TextIter - The text that was inserted. - A + The location where the text was inserted. + A - - + + + Property + + 2.12.0.0 + - Gtk.TextIter + System.String - The location where the text was inserted. - A + The text that was inserted. + A diff --git a/doc/en/Gtk/InsertTextHandler.xml b/doc/en/Gtk/InsertTextHandler.xml index 5dbf68f4a..19cbdb726 100644 --- a/doc/en/Gtk/InsertTextHandler.xml +++ b/doc/en/Gtk/InsertTextHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/InsertionColorChangedArgs.xml b/doc/en/Gtk/InsertionColorChangedArgs.xml index ffb8b34c5..8383ad6c7 100644 --- a/doc/en/Gtk/InsertionColorChangedArgs.xml +++ b/doc/en/Gtk/InsertionColorChangedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gdk.Color diff --git a/doc/en/Gtk/InsertionColorChangedHandler.xml b/doc/en/Gtk/InsertionColorChangedHandler.xml index 9e1fe23c9..f965650f2 100644 --- a/doc/en/Gtk/InsertionColorChangedHandler.xml +++ b/doc/en/Gtk/InsertionColorChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/InsertionFontStyleChangedArgs.xml b/doc/en/Gtk/InsertionFontStyleChangedArgs.xml index 0b8604fe4..00507e119 100644 --- a/doc/en/Gtk/InsertionFontStyleChangedArgs.xml +++ b/doc/en/Gtk/InsertionFontStyleChangedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.HTMLFontStyle diff --git a/doc/en/Gtk/InsertionFontStyleChangedHandler.xml b/doc/en/Gtk/InsertionFontStyleChangedHandler.xml index 6e9546354..44db40284 100644 --- a/doc/en/Gtk/InsertionFontStyleChangedHandler.xml +++ b/doc/en/Gtk/InsertionFontStyleChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Invisible.xml b/doc/en/Gtk/Invisible.xml index 57270b2da..ba5b1bd5b 100644 --- a/doc/en/Gtk/Invisible.xml +++ b/doc/en/Gtk/Invisible.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,30 +21,14 @@ - - Gtk.Widget - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -46,28 +36,71 @@ - - - Property - - Gdk.Screen - + + + + Constructor + + 2.12.0.0 + + + - The screen this widget is attached to. - a - + a + Public Constructor + Used to create a new for a specific . + + + + + Constructor + + 2.12.0.0 + - GLib.Property("screen") + 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 @@ -78,35 +111,27 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("screen") - - - - Constructor - + + Gdk.Screen + - - Public Constructor - a - Used to create a new for a specific . + The screen this widget is attached to. + a + diff --git a/doc/en/Gtk/Item.xml b/doc/en/Gtk/Item.xml index d050ea8e9..b93a47297 100644 --- a/doc/en/Gtk/Item.xml +++ b/doc/en/Gtk/Item.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,121 +8,143 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Abstract base class for , and . - The widget is an abstract base class for , and . - Gtk.Bin + + Abstract base class for , and . + The widget is an abstract base class for , and . + - - - Method - - System.Void - - - - Emits the event on the given item. - Emits the event on the given item. - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Emits the event on the given item. - Emits the event on the given item. + Constructor + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Emits the event on the given item. - Emits the event on the given item. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - Emitted when the is deselected. - Emitted when the is deselected. + Emits the event on the given item. + Emits the event on the given item. + + + + + Event + + 2.12.0.0 + GLib.Signal("deselect") - - - - Event System.EventHandler - Emitted when the is selected. - Emitted when the is selected. + Emitted when the is deselected. + Emitted when the is deselected. + + + + + Method + + 2.12.0.0 + - GLib.Signal("select") + System.Obsolete - - - - Event - System.EventHandler + System.Void - + + + + - Emitted when the is toggled. - Emitted when the is toggled. + 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. + + + - - - GLib.Signal("toggle") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -132,21 +155,39 @@ 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. + 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 @@ -156,63 +197,99 @@ 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. + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + System.Void + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Emits the event on the given item. + Emits the event on the given item. + + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("select") - - - - Constructor - + + System.EventHandler + - Constructor - + Emitted when the is selected. + Emitted when the is selected. - - + + + Method + + 2.12.0.0 + System.Void - - - - + - Deletes all widgets constructed from the specified path. - a , a factory path to prepend to . May be if starts with a factory path. - a , a path - - - + 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. diff --git a/doc/en/Gtk/ItemActivatedArgs.xml b/doc/en/Gtk/ItemActivatedArgs.xml index 4c1818ad1..ceb540689 100644 --- a/doc/en/Gtk/ItemActivatedArgs.xml +++ b/doc/en/Gtk/ItemActivatedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreePath diff --git a/doc/en/Gtk/ItemActivatedHandler.xml b/doc/en/Gtk/ItemActivatedHandler.xml index 1ad220f6c..9af72ffe8 100644 --- a/doc/en/Gtk/ItemActivatedHandler.xml +++ b/doc/en/Gtk/ItemActivatedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/ItemFactory.xml b/doc/en/Gtk/ItemFactory.xml index 65537fd40..bc51c74b9 100644 --- a/doc/en/Gtk/ItemFactory.xml +++ b/doc/en/Gtk/ItemFactory.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A factory for menus. - - To use this class, make an array of - objects which describe a menu, then invoke - to generate the menu. - - Gtk.Object @@ -25,67 +18,98 @@ 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. + + - - - Method - - System.String - - - - + + + + Constructor + + 2.12.0.0 + + + - If has been created by an item factory, returns the full path to it. - A . - 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. - - + Protected constructor. + - - - Method - - Gtk.ItemFactory - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Obtains the item factory from which a was created. - A . - The item factory from which was created, or . - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.IntPtr - + + + + Constructor + + 2.12.0.0 + + - + - Obtains the which was passed to . - A . - - associated with the item factory from which was created, or if wasn't created by an item factory. + Pointer to the C object. + Internal constructor - - This data is available until the menu is popped down again. - + 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 @@ -97,12 +121,12 @@ - Installs an accelerator for in , that causes the activate event to be emitted it the accelerator is activated. 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. @@ -110,113 +134,172 @@ - - + + + Method + + 2.12.0.0 + System.Void - - + + + - Deletes the menu items which were created from the entries by the given item factory. - The length of . - An array of s. + 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 + - Gtk.Widget + System.Void - + + + - Obtains the menu item which correponds to . - A (TODO: where is this enumerated?) - A + 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 - + + + - Deletes the menu item which was created from by the given item factory. - A . + 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 - + + - Creates an item for . - 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 . - + 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 + - Gtk.Widget + System.Void - + + - Obtains the which corresponds to . - A (TODO: where is this enumerated?) - A + a , the number of entries + an array of objects + Creates menu items from a set of entries. + - - + + + Method + + 2.12.0.0 + - Gtk.Widget + System.Void - + + - Obtains the menu item which corresponds to . - The path to the menu item. - 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. - - + 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 @@ -224,51 +307,63 @@ - Deletes the menu item which was created for by the given item factory. A path. + Deletes the menu item which was created for by the given item factory. - - + + + Method + + 2.12.0.0 + - System.IntPtr + Gtk.ItemFactory - + + + - Obtains the which was passed to . - - associated. + 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 - - This data is available until the menu is popped down again. - + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.ItemFactory - - - + - Creates the menu items from the . - The length of . - An array of s whose members must be of type . - Data passed to the callback methods of all entries. + 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 @@ -276,104 +371,129 @@ - Obtains the which corresponds to . - The path to the . - The for the given path, or if doesn't lead to a . + 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 submenu, then the submenu is returned. If you are interested in the menu item, use instead. + 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 + - System.Void + Gtk.Widget - - - + - Sets a method to be used for translating the path elements before they are displayed. - The delegate to be used to traslate path elements. - ignored - ignored - This method is obsolete. New code should use the property instead. + A (TODO: where is this enumerated?) + Obtains the menu item which correponds to . + A + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TranslateFunc + Gtk.Widget + + + - The method to be used for translating the path elements before they are displayed. - a - - + 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. + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.Widget + - + - Internal constructor - Pointer to the C object. + A (TODO: where is this enumerated?) + Obtains the which corresponds to . + A - 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.Void + System.String - - - - - - + - Pops up the menu constructed form the item factory at (, ). - 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. + 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. - 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 . + 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 @@ -384,11 +504,11 @@ - Pops up the menu constructed from the item factory at (, ). 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. @@ -402,143 +522,137 @@ - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.IntPtr - GType Property. - a - Returns the native value for . + Obtains the which was passed to . + + associated. + + + This data is available until the menu is popped down again. + + - - + + + Method + + 2.12.0.0 + - System.Void + System.IntPtr - - - - - - Initializes a - 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 - - - - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - - - - System.Obsolete - - - - - - Constructor - - - - - + - Basic constructor. - 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 - - - - - - Constructor - - - - Protected constructor. - + 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 + - Gtk.ItemFactory + System.Void - + + + + + + - Finds an item factory which has been constructed using the - "<name>" prefix of as the path argument - building a new item factory. - - a - a , or + 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 - - + + + - Creates menu items from a set of entries. - a , the number of entries - an array of objects - - - + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.TranslateFunc - - - - - - - Creates menu items from entries. - 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 - FIXME: See bugzilla 70887. + The method to be used for translating the path elements before they are displayed. + a + diff --git a/doc/en/Gtk/ItemFactoryCallback.xml b/doc/en/Gtk/ItemFactoryCallback.xml index f900a513c..8da45b1d0 100644 --- a/doc/en/Gtk/ItemFactoryCallback.xml +++ b/doc/en/Gtk/ItemFactoryCallback.xml @@ -1,21 +1,22 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Delegate function to be invoked by . - TODO: offer an example. - System.Delegate - System.Void + + Delegate function to be invoked by . + TODO: offer an example. + + diff --git a/doc/en/Gtk/ItemFactoryCallback1.xml b/doc/en/Gtk/ItemFactoryCallback1.xml index 2dcb49587..6b76d7322 100644 --- a/doc/en/Gtk/ItemFactoryCallback1.xml +++ b/doc/en/Gtk/ItemFactoryCallback1.xml @@ -1,21 +1,14 @@ + gtk-sharp 2.12.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. - Delegate function to be invoked by . - - System.Delegate - @@ -24,4 +17,12 @@ System.Void + + To be added. + To be added. + To be added. + Delegate function to be invoked by . + + + diff --git a/doc/en/Gtk/ItemFactoryEntry.xml b/doc/en/Gtk/ItemFactoryEntry.xml index 64d2fb4b0..a8d087c92 100644 --- a/doc/en/Gtk/ItemFactoryEntry.xml +++ b/doc/en/Gtk/ItemFactoryEntry.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,72 +8,60 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Class intended for use with . - FIXME: see bugzilla.ximian.com #70887, which directly concerns this API. - System.ValueType + + + System.Obsolete + + + + Class intended for use with . + FIXME: see bugzilla.ximian.com #70887, which directly concerns this API. + - - - Field - - Gtk.ItemFactoryEntry - - - - Empty entry. - - - - - - Method - - Gtk.ItemFactoryEntry - - - - - - For internal use only. Do not use. - a , pointer to the underlying C data. - 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. + The accelerator key for this item. + For example, "<control>O". - - - Field + + + + Property + + 2.12.0.0 + - System.String + Gtk.ItemFactoryCallback - - - The accelerator key for this item. - For example, "<control>O". + To be added. + To be added. + To be added. + Field + + 2.12.0.0 + System.UInt32 @@ -85,7 +74,11 @@ + Field + + 2.12.0.0 + System.String @@ -108,22 +101,58 @@ "<LastBranch>" creates a right justified item to hold sub items. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.ItemFactoryCallback + Gtk.ItemFactoryEntry + + + - To be added. - To be added. - To be added. + 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. + - - - System.Obsolete - - diff --git a/doc/en/Gtk/Justification.xml b/doc/en/Gtk/Justification.xml index cdbf69176..d579cb507 100644 --- a/doc/en/Gtk/Justification.xml +++ b/doc/en/Gtk/Justification.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used for justifying the text inside a widget. - - System.Enum @@ -19,52 +16,72 @@ GLib.GType(typeof(Gtk.JustificationGType)) + + Used for justifying the text inside a widget. + + - - + + + Field + + 2.12.0.0 + Gtk.Justification - The text is placed at the left edge of the . + The text is placed in the center of the . - - + + + Field + + 2.12.0.0 + Gtk.Justification - The text is placed at the right edge of the . + The text is placed is distributed across the . - - + + + Field + + 2.12.0.0 + Gtk.Justification - The text is placed in the center of the . + The text is placed at the left edge of the . - - + + + Field + + 2.12.0.0 + Gtk.Justification - The text is placed is distributed across the . + The text is placed at the right edge of the . diff --git a/doc/en/Gtk/Key.xml b/doc/en/Gtk/Key.xml index 439a56550..078192245 100644 --- a/doc/en/Gtk/Key.xml +++ b/doc/en/Gtk/Key.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,33 +8,36 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An object for keys that are independent of keyboard focus--- global hotkeys, which execute functions. - - System.Object + + An object for keys that are independent of keyboard focus--- global hotkeys, which execute functions. + + - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Remove a snooper with id - a + Default constructor. + Method + + 2.12.0.0 + System.UInt32 @@ -41,19 +45,28 @@ - Install a snooper function. 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. - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + - Default constructor. + a + Remove a snooper with id diff --git a/doc/en/Gtk/KeyPressEventArgs.xml b/doc/en/Gtk/KeyPressEventArgs.xml index 7bac2dfa9..85d2bd20e 100644 --- a/doc/en/Gtk/KeyPressEventArgs.xml +++ b/doc/en/Gtk/KeyPressEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventKey diff --git a/doc/en/Gtk/KeyPressEventHandler.xml b/doc/en/Gtk/KeyPressEventHandler.xml index e93561ebb..98b6a6c35 100644 --- a/doc/en/Gtk/KeyPressEventHandler.xml +++ b/doc/en/Gtk/KeyPressEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/KeyReleaseEventArgs.xml b/doc/en/Gtk/KeyReleaseEventArgs.xml index 085ab6e61..2bff8a484 100644 --- a/doc/en/Gtk/KeyReleaseEventArgs.xml +++ b/doc/en/Gtk/KeyReleaseEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventKey diff --git a/doc/en/Gtk/KeyReleaseEventHandler.xml b/doc/en/Gtk/KeyReleaseEventHandler.xml index 144ea3f63..1bd953ba3 100644 --- a/doc/en/Gtk/KeyReleaseEventHandler.xml +++ b/doc/en/Gtk/KeyReleaseEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/KeySnoopFunc.xml b/doc/en/Gtk/KeySnoopFunc.xml index cfb98c8f3..9103be945 100644 --- a/doc/en/Gtk/KeySnoopFunc.xml +++ b/doc/en/Gtk/KeySnoopFunc.xml @@ -1,21 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - A function to be invoked by a global hot-key (a , regardless of keyboard focus. - - To be added. - System.Delegate - @@ -23,4 +16,12 @@ 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. + + + diff --git a/doc/en/Gtk/Label.xml b/doc/en/Gtk/Label.xml index b8282580f..172bd761d 100644 --- a/doc/en/Gtk/Label.xml +++ b/doc/en/Gtk/Label.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -23,48 +29,58 @@ - - Gtk.Misc - - - - - - Method - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Selects a range of characters in the label, if the label is selectable. - start offset (in characters not bytes) - end offset (in characters not bytes) + Creates a new without text. - - 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. - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + + + a + Internal constructor + This is not typically used by C# code. + + + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -72,18 +88,22 @@ + 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. - The text of the label. Pass for no text. Creates a new label with the given text inside it. You can @@ -95,240 +115,259 @@ - - + + + Property + + 2.12.0.0 + + + + GLib.Property("angle") + + - System.String + System.Double - - + - Sets the text of the label - - - 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 . - - - To be added. + To be added + a + To be added + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("attributes") + + - System.String + Pango.AttrList - Parses str which is marked up with the Pango text markup language - a GtkLabel + The attribute list set on the label. + the attribute list set on the label - 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. + 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. + + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("copy_clipboard") + + - System.Boolean + System.EventHandler - - + - Toggles line wrapping within the GtkLabel widget. - - if the lines of the label are automatically wrapped. - + Emitted when text is copied to the clipboard. + + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("cursor-position") + + - System.String + System.Int32 - - - The text within the widget. - a + The current position of the insertion cursor in characters. + The current position of the insertion cursor in characters - - When setting the text within the widget, it overwrites any text that was there before. - - - + + + Property + + 2.12.0.0 + + + + GLib.Property("ellipsize") + + - Pango.Layout + Pango.EllipsizeMode + - 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. - - + To be added + a + To be added + - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.String + System.Void + - - 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 . - - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + - 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. - - + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("selectable") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Justification + System.Boolean + + - 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. - - + To be added. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("justify") - - - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType + - The current position of the insertion cursor in characters. - The current position of the insertion cursor in characters - - + GType Property. + a + Returns the native value for . - - - GLib.Property("cursor-position") - - - - + + + Property - - 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. - - - + + 2.12.0.0 + - GLib.Property("selection-bound") + GLib.Property("justify") - - - - Property - Gtk.Widget + Gtk.Justification - 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. + 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("mnemonic-widget") + GLib.Property("label") - - - - Property System.String @@ -339,220 +378,253 @@ The text of the label widget. You can include markup tags to change your text appearance. See for more information. - - - GLib.Property("label") - - - - + + + Property + + 2.12.0.0 + - System.String + Pango.Layout - - - A string with _ characters in positions correspond to characters in the text to underline. + 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. + - To be added. - - - GLib.Property("pattern") - - - - + + + Property + + 2.12.0.0 + - System.UInt32 + System.Boolean + + - The mnemonic accelerator key for this label. - The mnemonic accelerator key for this label. - - + Toggles line wrapping within the GtkLabel widget. + + if the lines of the label are automatically wrapped. + + + + + + Property + + 2.12.0.0 + - GLib.Property("mnemonic-keyval") + GLib.Property("wrap-mode") + + Pango.WrapMode + + + Indicates the wrap mode for the label. + a . + + + - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String - Whether lines should be wrapped if the text becomes too wide. - whether lines should be wrapped + 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. + - - - GLib.Property("wrap") - - - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String - Whether an underline in the text indicates the next - character should be used for the mnemonic accelerator key. + 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. - - Whether an underline in the text indicates the next - character should be used for the mnemonic accelerator key. - + 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("use-underline") + GLib.Property("max-width-chars") - - - - Property - System.Boolean + System.Int32 - - + - 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; - + To be added + a + To be added + + + + + + Property + + 2.12.0.0 + - GLib.Property("use-markup") + GLib.Property("mnemonic-keyval") - - - - Property - Pango.AttrList + System.UInt32 - - - The attribute list set on the label. - the attribute list set on the label + The mnemonic accelerator key for this label. + The mnemonic accelerator key for this 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. - - - + + + + + Property + + 2.12.0.0 + - GLib.Property("attributes") + GLib.Property("mnemonic-widget") - - - - Event - Gtk.MoveCursorHandler + Gtk.Widget - + + - Emitted when the cursor is moved. + 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") - - - - Event - Gtk.PopulatePopupHandler + Gtk.MoveCursorHandler - Emitted when a right-click pop-up menu is displayed + Emitted when the cursor is moved. - - - GLib.Signal("populate_popup") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + Gtk.Label - - - Emitted when text is copied to the clipboard. - - - - - - GLib.Signal("copy_clipboard") - - - - - - Property - - GLib.GType - - + + + - GType Property. - a - Returns the native value for . + a + Basic constructor. + a + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCopyClipboard", Type=typeof(Gtk.Label)) + + System.Void @@ -562,24 +634,18 @@ Override this method in a subclass to provide a default handler for the event. - - - Method - - System.Void - - - - - - 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.Label)) + + System.Void @@ -589,61 +655,49 @@ - Default handler for the event. a a a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - - - Internal constructor - a - This is not typically used by C# code. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverridePopulatePopup", Type=typeof(Gtk.Label)) - - - - Method - Gtk.Label + System.Void - + - Basic constructor. - a - a - - - - - - Constructor - - - - Creates a new without text. - - + 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 @@ -651,8 +705,8 @@ - Deprecated. a + Deprecated. a Checks the string passed as the parameter for underscores, @@ -664,171 +718,307 @@ - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("pattern") + + - System.Void + System.String - - Deprecated; do not use in new code. - a - 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. - + A string with _ characters in positions correspond to characters in the text to underline. + To be added. + + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("populate_popup") + + - System.Double + Gtk.PopulatePopupHandler - To be added - a - To be added - + Emitted when a right-click pop-up menu is displayed + + + + + + + Property + + 2.12.0.0 + - GLib.Property("angle") + GLib.Property("selectable") - - - - Property System.Boolean - + + - To be added - a - To be added - + 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("single-line-mode") + 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. + + + - - - Property + + + + Method + + 2.12.0.0 + - Pango.EllipsizeMode + System.Void - + + + + - To be added - a - To be added - + 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("ellipsize") + GLib.Property("single-line-mode") - - - - Property - System.Int32 + System.Boolean To be added - a + a To be added - - - GLib.Property("width-chars") - - - - + + + Property + + 2.12.0.0 + - System.Int32 + System.String - + + - To be added - a - To be added - + 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("max-width-chars") + GLib.Property("use-markup") - - - - Method - System.Void + System.Boolean - - - To be added. - To be added. - To be added. - To be added. + 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; + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("use-underline") + + System.Boolean - - - To be added. - To be added. - To be added. - To be added. - To be added. + + 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") + + - Pango.WrapMode + System.Int32 + - Indicates the wrap mode for the label. - a . - - + To be added + a + To be added + + + + + + Property + + 2.12.0.0 + - GLib.Property("wrap-mode") + GLib.Property("wrap") + + System.Boolean + + + + + Whether lines should be wrapped if the text becomes too wide. + whether lines should be wrapped + + + diff --git a/doc/en/Gtk/Layout+LayoutChild.xml b/doc/en/Gtk/Layout+LayoutChild.xml index c3c8beea9..cee081985 100644 --- a/doc/en/Gtk/Layout+LayoutChild.xml +++ b/doc/en/Gtk/Layout+LayoutChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,38 @@ 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") @@ -28,8 +57,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("y") @@ -46,10 +79,4 @@ - - A child of a , used to interact with its container child properties. - - - - diff --git a/doc/en/Gtk/Layout.xml b/doc/en/Gtk/Layout.xml index 63d3bf8eb..68b816f1f 100644 --- a/doc/en/Gtk/Layout.xml +++ b/doc/en/Gtk/Layout.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,109 +8,54 @@ 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. - - Gtk.Container - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Void - - - - - - - Gets the size of the scrollbar area for the . - an object of type - an object of type - - - - - - - Method - - System.Void - - - - - - - Sets the size of the scrollable area for the . - an object of type - an object of type - - - - - - - Method - - System.Void - - - - - - - - Moves a current child of to a new position. - an object of type - an object of type - an object of type - - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Adds to the , at position (, ). - an object of type - an object of type - an object of type - - becomes the new parent container of . + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -117,83 +63,138 @@ + Constructor + + 2.12.0.0 + - Creates a new object. an object of type an object of type + Creates a new object. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.Window - - - The width of the layout. - an object of type - - + The window object for this layout widget. + a + + + + + + Method + + 2.12.0.0 + - GLib.Property("width") + System.Obsolete + + System.Void + + + + Deprecated. Do not use. + + + + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Adjustment + System.Void + + - The for the horizontal position. - an object of type + 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") - - - - Property Gtk.Adjustment - The for the vertical position. + The for the horizontal position. an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("vadjustment") + GLib.Property("height") - - - - Property System.UInt32 @@ -205,57 +206,63 @@ - - - GLib.Property("height") - - - - - Event - - Gtk.ScrollAdjustmentsSetHandler - - - - Raised whenever the scroll adjustment units are set for this widget. - - - - - GLib.Signal("set_scroll_adjustments") - - - - - + + + Property + + 2.12.0.0 + - Gdk.Window + Gtk.Container+ContainerChild + + + - The window object for this layout widget. - a - + To be added. + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + + - GType Property. - a - Returns the native value for . + 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 @@ -264,47 +271,91 @@ - Default handler for the event. a a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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 - + + + + - Deprecated. Do not use. + 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 @@ -316,5 +367,53 @@ + + + + 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 + + + + diff --git a/doc/en/Gtk/LeaveNotifyEventArgs.xml b/doc/en/Gtk/LeaveNotifyEventArgs.xml index e683ecf54..e2904c765 100644 --- a/doc/en/Gtk/LeaveNotifyEventArgs.xml +++ b/doc/en/Gtk/LeaveNotifyEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventCrossing diff --git a/doc/en/Gtk/LeaveNotifyEventHandler.xml b/doc/en/Gtk/LeaveNotifyEventHandler.xml index 9d2701243..0ab30c011 100644 --- a/doc/en/Gtk/LeaveNotifyEventHandler.xml +++ b/doc/en/Gtk/LeaveNotifyEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/LinkButton.xml b/doc/en/Gtk/LinkButton.xml index 2f3ff6c18..1d988205d 100644 --- a/doc/en/Gtk/LinkButton.xml +++ b/doc/en/Gtk/LinkButton.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Gtk.Button + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + System.Obsolete @@ -28,7 +38,11 @@ + Constructor + + 2.12.0.0 + @@ -40,7 +54,11 @@ + Constructor + + 2.12.0.0 + @@ -52,7 +70,11 @@ + Constructor + + 2.12.0.0 + @@ -65,8 +87,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -78,7 +104,11 @@ + Method + + 2.12.0.0 + Gtk.LinkButtonUriFunc @@ -93,8 +123,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("uri") @@ -110,9 +144,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/LinkButtonUriFunc.xml b/doc/en/Gtk/LinkButtonUriFunc.xml index 54a036f69..f8e04e674 100644 --- a/doc/en/Gtk/LinkButtonUriFunc.xml +++ b/doc/en/Gtk/LinkButtonUriFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/LinkClickedArgs.xml b/doc/en/Gtk/LinkClickedArgs.xml index b2597cef6..83bbd0d14 100644 --- a/doc/en/Gtk/LinkClickedArgs.xml +++ b/doc/en/Gtk/LinkClickedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.String diff --git a/doc/en/Gtk/LinkClickedHandler.xml b/doc/en/Gtk/LinkClickedHandler.xml index 91716f71b..f1d6f47eb 100644 --- a/doc/en/Gtk/LinkClickedHandler.xml +++ b/doc/en/Gtk/LinkClickedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ListStore.xml b/doc/en/Gtk/ListStore.xml index 0b4c5f844..80cc4493c 100644 --- a/doc/en/Gtk/ListStore.xml +++ b/doc/en/Gtk/ListStore.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,25 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 {2}", col, row [col]); - } - - - - - GLib.Object @@ -46,123 +28,262 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the 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]); + } + + + + + - - - Method - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + - - 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. + Protected constructor. + + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - - Sets to point to the first child of . - - an object of type - an object of type , - , if has been set to the first child. + 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 - - 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); + 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 + - System.Void + Gtk.TreeIter - Emits a event. - + 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 + - System.Void + Gtk.TreeIter - - + - Sets the column number to sort by. - A , the column number to sort by. - A + 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 + - System.Void + Gtk.TreeIter - - - - + + + + System.ParamArray + + + - Sets a sort function to be used for the column . - A for the column number. - A - ignored - ignored - This overload is obsolete. The two parameter overload is preferred for new code. + 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 - - - - - + - Set the function that will be used by default to sort columns. - A - ignored - ignored - This method is obsolete. The property is preferred for new code. + 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 @@ -173,46 +294,33 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - - + + + Method + + 2.12.0.0 + System.Boolean - - + - Returns true if the row at can - have dropped on it. - A - A - A boolean. - - - - - - Method - - System.Boolean - - - - - - - Drags data received into this object. - A , the destination path of the drag - A , the data that was dragged - A boolean, true if the data was successfully received. + 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 @@ -221,50 +329,44 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the + 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 - A A , true if the operation succeeded. - - - Method - - System.Boolean - - - - - - Returns whether or not a given row can be dragged. - a - A boolean, true if the row is draggable. - - - - - + + + Method + + 2.12.0.0 + System.Boolean - + + - 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 , the path of the data to delete. - A , true if the operation succeeds. + 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 @@ -273,46 +375,38 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - Fires a event. Call this after changing a row so that the view widget for this ListStore will update. 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 - - - - Runs a method on every row of a ListStore. - A to run over every row. - - - - - - Method - - System.Boolean - - - + - Initializes with the first iterator in the ListStore (the top item). - A to reset - A , true if the operation is successful, false if the ListStore is empty. + a to pass to the event. + Fires a event. + Method + + 2.12.0.0 + System.Void @@ -321,402 +415,563 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - Emits a event. This is meant to be called whenever the child state of a node changes. 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 + - Gtk.TreePath + System.Void + - Turns a specified by into a . - a - a + a to pass to the event. + a see cref="T:Gtk.TreeIter" /> to pass to the event. + Fires a event. - - + + Method - System.Boolean + System.Int32 + - Tests whether a given row has a child node. - a - A , always false for ListStores. - This is mandated by + 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 + + - Lets the ListStore reference the row pointed to by . - a - - 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. - + To be added. + To be added. + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + Gtk.TreeModelFlags - - - - 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 - a - FIXME: Why does ListStore.custom call gtk_tree_model_iter_n_children? + 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 - - + - Fires a event. - a to pass to the event. - a see cref="T:Gtk.TreeIter" /> to pass to the event. + A to run over every row. + Runs a method on every row of a ListStore. - - + + + Method + + 2.12.0.0 + - System.Void + GLib.GType - + - Fires a event. - a to pass to the event. + a , the column to check + Gets the type of data stored in column number . + a - - + + + Method + + 2.12.0.0 + - System.Void + System.Collections.IEnumerator - - - - + - Gets the values of child properties for the row pointed to by . - an object of type - a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) - + + 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.Void + System.Boolean - + + - Lets the ListStore unref the row at . - a - - 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. - + 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.Void + System.Boolean - + + + - Removes all data from the store. + 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.Void + System.Boolean - - + + - Sets the values of child properties for the row pointed to by . - an object of type - a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) + 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 + - System.Void + Gtk.TreePath - - - Sets the value of the specified column in the row pointed by . a - a , the column number - a - The type of specified column must be a . + Turns a specified by into a . + a + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.String + + + - The number of columns in this ListStore. - A + a + Marshals the given into a path string. + a - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TreeModelFlags + System.Void + + + + - The flags for this ListStore. - A - Flags are about the shape of this object's data; see the - class documentation for more details. + 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 . + - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Object - + + + + - Raised when the sorting column has changed. + a , the row to look in + a , the column number to look in + Gets the data from row of column + . + a - - - GLib.Signal("sort_column_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowHasChildToggledHandler + System.Void - + + + + + - Raised when the display of a given row's children is toggled. + a + a + a + Gets the value of row of column + and puts it in . + - - - GLib.Signal("row_has_child_toggled") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.RowInsertedHandler + GLib.GType - Raised when a row of data is inserted. - + GType Property. + a + Returns the native value for . - - - GLib.Signal("row_inserted") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.RowDeletedHandler + System.Boolean - Raised when a row is deleted. - + 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. - - - GLib.Signal("row_deleted") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowChangedHandler + Gtk.TreeIter - + + + - Raised when a row has changed. - + 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 . + - - - GLib.Signal("row_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowsReorderedHandler + Gtk.TreeIter - + + + - Raised when the order of rows has changed. - + 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 . + - - - GLib.Signal("rows_reordered") - - - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TreeIter - - + - 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 - a - 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. + 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 + - System.Boolean + 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 - 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. + a + a + a + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + System.Boolean - - Marshals a path string into a object that points to a row in this tree. - a to be set by this method - A path string - A , true if this string is a valid path for this ListStore. - + 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 @@ -725,890 +980,1026 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - - , 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 - - + - Gets an iterator object for the given . - a to set to point to the row. - a - A , true if the row exists - + 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 - - - - - Gets the parent row of . - a to set to point to the row. - a , the child row whose parent we want to get - A , true if the parent exists. Since ListStore objects aren't tree-shaped, this will always return false. - - - - - - Method - - Gtk.TreeIter - - - - - - System.ParamArray - - - + - Appends a new row to the ListStore and puts the objects in in it. - a list , one item for each column of a row. - a pointing to the new row - + 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 + - Gtk.TreeIter + System.Int32 - - - + - Appends a new row to the ListStore and puts the contents of in it. - a with as many elements as the ListStore has columns. - a pointing to the new row - + + 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.String + System.Int32 - Marshals the given into a path string. a - 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.Void + System.Boolean - - + - Move the row pointed to by to the - position after . If - is , - will be moved to point to the start - of the list. - a - a - This only works in unsorted stores. + Advances to the next row. + a for whether the operation succeeded. + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + + - Swaps rows a and b in the store. - a - a - This is only works in unsorted stores. + 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.Void + System.Boolean - - + + + - Move the row pointed to by to the - position before . If - is , - will be moved to point to the end - of the list. - a - a - This only works in unsorted stores. + 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 - - - - Test whether is valid for this ListStore. - a - a , true if is valid. - WARNING: this method is slow and is only intended for - debugging/testing purposes. - - - - - Constructor - - - - - - System.ParamArray - - - + + - Creates a new store. The columns' type specified by the argument. - a - - - -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 . + 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.Boolean + System.Void - - + + - Report on which column is currently being used to sort this ListStore. - a , gets filled with the column number that's currently used for sorting - a , the current type of sort (ascending or descending) - a , false if the default sort column for this ListStore is being used, true if some other sort column is being used. - + 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 - - + - Sets the value of the specified column in the row pointed by iter. a - a - a - The type of specified column must be 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - - - Sets the value of the specified column in the row pointed by iter. - a - a - a - The type of specified column must be a . + The number of columns in this ListStore. + A + - - + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowChanged", Type=typeof(Gtk.ListStore)) + + System.Void + - - - Sets the value of the specified column in the row pointed by iter. + a a - a - a - The type of specified column must be an . + 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 - - - + - Sets the value of the specified column in the row pointed by iter. - a - a - a - The type of specified column must be 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="OverrideRowHasChildToggled", Type=typeof(Gtk.ListStore)) + + System.Void + - - - Sets the value of the specified column in the row pointed by iter. + a a - a - a - The type of specified column must be an + 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 + - - - Sets the value of the specified column in the row pointed by iter. + a a - a - a - The type of specified column must be an . + 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 + - - + - Sets the value of the specified column in the row pointed by iter. + a a - a - a - The type of specified column must be an . + 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.Object + System.Void + - + - Gets the data from row of column - . - a , the row to look in - a , the column number to look in - a + 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. + - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSortColumnChanged", Type=typeof(Gtk.ListStore)) + + - System.Boolean + System.Void - 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. + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + Gtk.TreeIter - GType Property. - a - Returns the native value for . - - - - - Property - - GLib.GType[] - - - The types in each column of a ListStore. - a + Adds a new row to the beginning of the list. + a pointing to the new row. + - 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. - - + 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 - + - Deprecated method to set what types go in each column of a ListStore. - a - See + 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 + - GLib.GType + System.Boolean - + - Gets the type of data stored in column number . - a , the column to check - a - + 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.Void + System.Int32 - - - - - + - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. + Reorders the ListStore. + a . + (FIXME: Does this binding work?) - - + + + Method + + 2.12.0.0 + System.Void - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_deleted") + + - System.Void + Gtk.RowDeletedHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Raised when a row is deleted. + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - Default handler for the event. a - a - Override this method in a subclass to provide a default handler for the event. + Returns whether or not a given row can be dragged. + A boolean, true if the row is draggable. + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + A + A + Returns true if the row at can + have dropped on it. + A boolean. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_has_child_toggled") + + - System.Void + Gtk.RowHasChildToggledHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Raised when the display of a given row's children is toggled. + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("row_inserted") - - - - Constructor - - - - - - System.ParamArray - - - - + + Gtk.RowInsertedHandler + + - Default constructor. - a + Raised when a row of data is inserted. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("rows_reordered") + + - System.Int32 + Gtk.RowsReorderedHandler - Reorders the ListStore. - a . - (FIXME: Does this binding work?) + Raised when the order of rows has changed. + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by ColumnTypes property.") + + - Gtk.TreeIter + System.Void - + - Inserts a new row at position . - a - 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 . - + 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.") + + - Gtk.TreeIter + System.Void - + + + + + - 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 . - + 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 + - Gtk.TreeIter + System.Void - + + - - Inserts a new row before . If - is null, then the row will be appended - to the end of the list. - - a , the row to insert before - 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 . - + A , the column number to sort by. + A + Sets the column number to sort by. + - - + + + Method + + 2.12.0.0 + - Gtk.TreeIter + System.Void - + + - - Inserts a new row after . If - is null, then the row will be appended - to the end of the list. - - a , the row to insert before - 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 . - + 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.") + + - Gtk.TreeIter + System.Void - - - 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 . - + + + + + + + + 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.Int32 + System.Void - + - 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.) + 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.Boolean + System.Void - + + + - Removes a row from the store. a - a - After being removed, is set to be the next valid row, or invalidated if it pointed to the last row in the store. + 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 - + - Gets the value of row of column - and puts it in . - a 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.Boolean + System.Void - + + + - Advances to the next row. a - a for whether the operation succeeded. - - - - - - Constructor - - - - Protected constructor. - - + 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 - - + + + - Sets a sort function to be used for the column . - A for the column number. - A - - + 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.Int32 + System.Void - - - + + - To be added a - a - a - a - a - To be added - + 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.Collections.IEnumerator + System.Void - + + + + + - - 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 . - - + 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 - - + + - 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. - - + 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 + - Gtk.TreeIter + System.Void - - - - - 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. - + 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 @@ -1630,5 +2021,73 @@ The above example creates a new three columns list store. The types of the colum + + + + 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. + + + diff --git a/doc/en/Gtk/LoadState.xml b/doc/en/Gtk/LoadState.xml index bb2712d3f..f99cf6d4a 100644 --- a/doc/en/Gtk/LoadState.xml +++ b/doc/en/Gtk/LoadState.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -7,51 +8,67 @@ System.Enum + + Load State enumeration. + + + - - + + + Field + + 2.12.0.0 + Gtk.LoadState - Loading. + Empty. - - + + + Field + + 2.12.0.0 + Gtk.LoadState - Empty. + Finished. - - + + + Field + + 2.12.0.0 + Gtk.LoadState - Preload. + Loading. - - + + + Field + + 2.12.0.0 + Gtk.LoadState - Finished. + Preload. - - Load State enumeration. - - - diff --git a/doc/en/Gtk/LocationMode.xml b/doc/en/Gtk/LocationMode.xml index 682c4a02c..b7d1a2bb3 100644 --- a/doc/en/Gtk/LocationMode.xml +++ b/doc/en/Gtk/LocationMode.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -7,10 +8,19 @@ System.Enum + + Location Mode enumeration. + This type is a semi-private type, only used in FileChooser implementations. + + + Field + + 2.12.0.0 + Gtk.LocationMode @@ -20,7 +30,11 @@ + Field + + 2.12.0.0 + Gtk.LocationMode @@ -29,9 +43,4 @@ - - Location Mode enumeration. - This type is a semi-private type, only used in FileChooser implementations. - - diff --git a/doc/en/Gtk/Main.xml b/doc/en/Gtk/Main.xml index cd09a31f3..af83f99a1 100644 --- a/doc/en/Gtk/Main.xml +++ b/doc/en/Gtk/Main.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 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. @@ -18,44 +23,48 @@ When widgets receive an event, they frequently emit one or more signals. Signals 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. - - System.Object - - - - - Method - - System.Boolean - - - - + + + + Constructor + + 2.12.0.0 + + + - Runs one iteration of the main loop. - - if you want Gtk# to block if no events are pending. - 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. + Public constructor. + + - - + + + Method + + 2.12.0.0 + - System.UInt32 + System.Void - + + + - 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. + 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 @@ -67,24 +76,51 @@ When your callbacks are invoked, you would typically take some action - for exam 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.Void + System.Boolean - + - Processes a single Gdk Event. - An event to process (normally) passed by GDK. - 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. + + 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 @@ -94,16 +130,5 @@ When your callbacks are invoked, you would typically take some action - for exam This terminates the innermost main loop. - - - Constructor - - - - Public constructor. - - - - diff --git a/doc/en/Gtk/MapChangedArgs.xml b/doc/en/Gtk/MapChangedArgs.xml index 64008091c..35a29f585 100644 --- a/doc/en/Gtk/MapChangedArgs.xml +++ b/doc/en/Gtk/MapChangedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,44 +33,56 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.String + System.UInt32 - The path of the accelerator that changed - a + The key value for the new accelerator + a - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gdk.ModifierType - The key value for the new accelerator - a + The modifier mask for the new accelerator + a - - + + + Property + + 2.12.0.0 + - Gdk.ModifierType + System.String - The modifier mask for the new accelerator - a + The path of the accelerator that changed + a diff --git a/doc/en/Gtk/MapChangedHandler.xml b/doc/en/Gtk/MapChangedHandler.xml index 846c8e850..e76083d19 100644 --- a/doc/en/Gtk/MapChangedHandler.xml +++ b/doc/en/Gtk/MapChangedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/MapEventArgs.xml b/doc/en/Gtk/MapEventArgs.xml index 6cdef38e5..324279fd0 100644 --- a/doc/en/Gtk/MapEventArgs.xml +++ b/doc/en/Gtk/MapEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/MapEventHandler.xml b/doc/en/Gtk/MapEventHandler.xml index 57a8882f0..76ad8d125 100644 --- a/doc/en/Gtk/MapEventHandler.xml +++ b/doc/en/Gtk/MapEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MarkDeletedArgs.xml b/doc/en/Gtk/MarkDeletedArgs.xml index 3e5a80656..ce2a726ce 100644 --- a/doc/en/Gtk/MarkDeletedArgs.xml +++ b/doc/en/Gtk/MarkDeletedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextMark diff --git a/doc/en/Gtk/MarkDeletedHandler.xml b/doc/en/Gtk/MarkDeletedHandler.xml index 2fa45e7d3..ff0958063 100644 --- a/doc/en/Gtk/MarkDeletedHandler.xml +++ b/doc/en/Gtk/MarkDeletedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MarkSetArgs.xml b/doc/en/Gtk/MarkSetArgs.xml index 747e718e5..0ada3c8a1 100644 --- a/doc/en/Gtk/MarkSetArgs.xml +++ b/doc/en/Gtk/MarkSetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - Gtk.TextMark + Gtk.TextIter - The mark that was deleted. - A + The position within the text where the marker was set. + A - - + + + Property + + 2.12.0.0 + - Gtk.TextIter + Gtk.TextMark - The position within the text where the marker was set. - A + The mark that was deleted. + A diff --git a/doc/en/Gtk/MarkSetHandler.xml b/doc/en/Gtk/MarkSetHandler.xml index b03cbff45..a8aacb831 100644 --- a/doc/en/Gtk/MarkSetHandler.xml +++ b/doc/en/Gtk/MarkSetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MatchSelectedArgs.xml b/doc/en/Gtk/MatchSelectedArgs.xml index af371b37a..81f546c5e 100644 --- a/doc/en/Gtk/MatchSelectedArgs.xml +++ b/doc/en/Gtk/MatchSelectedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,30 +33,38 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - Gtk.TreeModel + Gtk.TreeIter - The tree model that contains the selected match. - a + An iterator to point at the selected match within the model. + a - - + + + Property + + 2.12.0.0 + - Gtk.TreeIter + Gtk.TreeModel - An iterator to point at the selected match within the model. - a + The tree model that contains the selected match. + a diff --git a/doc/en/Gtk/MatchSelectedHandler.xml b/doc/en/Gtk/MatchSelectedHandler.xml index 8c2b67c3d..17c9a0a20 100644 --- a/doc/en/Gtk/MatchSelectedHandler.xml +++ b/doc/en/Gtk/MatchSelectedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/MatchType.xml b/doc/en/Gtk/MatchType.xml index e30dc3c9d..4dfb6e2b9 100644 --- a/doc/en/Gtk/MatchType.xml +++ b/doc/en/Gtk/MatchType.xml @@ -1,17 +1,12 @@ + 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. - - Deprecated. Do not use. - - - - System.Enum @@ -20,10 +15,20 @@ GLib.GType(typeof(Gtk.MatchTypeGType)) + + Deprecated. Do not use. + + + + + Field + + 2.12.0.0 + Gtk.MatchType @@ -37,7 +42,11 @@ + Field + + 2.12.0.0 + Gtk.MatchType @@ -49,9 +58,13 @@ - - + + + Field + + 2.12.0.0 + Gtk.MatchType @@ -63,9 +76,13 @@ - - + + + Field + + 2.12.0.0 + Gtk.MatchType @@ -77,9 +94,13 @@ - - + + + Field + + 2.12.0.0 + Gtk.MatchType @@ -91,9 +112,13 @@ - - + + + Field + + 2.12.0.0 + Gtk.MatchType diff --git a/doc/en/Gtk/Menu+MenuChild.xml b/doc/en/Gtk/Menu+MenuChild.xml index 0e30c202f..f98672659 100644 --- a/doc/en/Gtk/Menu+MenuChild.xml +++ b/doc/en/Gtk/Menu+MenuChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,38 @@ 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") @@ -26,62 +55,68 @@ See for more details - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("top-attach") + Gtk.ChildProperty("left-attach") System.Int32 - The row that the top of the menu item is attached to. - the row + 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("left-attach") + Gtk.ChildProperty("right-attach") System.Int32 - The column that the left side of the menu item is attached to. + 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("right-attach") + Gtk.ChildProperty("top-attach") System.Int32 - The column that the right side of the menu item is attached to. - the column + The row that the top of the menu item is attached to. + the row See for more details - - A child of a , used to interact with its container child properties. - - - - diff --git a/doc/en/Gtk/Menu.xml b/doc/en/Gtk/Menu.xml index 7a44db3a0..8808c91e6 100644 --- a/doc/en/Gtk/Menu.xml +++ b/doc/en/Gtk/Menu.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -65,48 +71,169 @@ public class MenuApp - - Gtk.MenuShell - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method + + + + 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 + - System.Void + Gtk.AccelGroup - + + - Detaches the menu from the widget to which it had been attached. + Sets or obtains the which holds global accelerators for the menu. + The associated with the menu. - This function will call the detacher, provided when the function was called. + 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 - + + + + + + + - Removes the menu from the screen. - + 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 @@ -115,9 +242,9 @@ public class MenuApp - Attaches the menu to the widget and provides a detacher. 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. @@ -125,9 +252,141 @@ public class MenuApp + + + + 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 @@ -140,7 +399,11 @@ public class MenuApp + Method + + 2.12.0.0 + System.Void @@ -152,12 +415,12 @@ public class MenuApp - Displays a menu and makes it available for selection. 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. @@ -231,7 +494,16 @@ class PopupSample + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by overload without IntPtr argument") + + System.Void @@ -244,31 +516,23 @@ class PopupSample - Obsolete. Replaced by . 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. - - - - - - Method - - System.Void - - - - Repositions the menu according to its position function. + Obsolete. Replaced by . + Method + + 2.12.0.0 + System.Void @@ -277,86 +541,80 @@ class PopupSample - Moves a to a new position within the . The to move. The new position to place . Positions are numbered from 0 to n-1. + Moves a to a new position within the . - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - A constructor. + Repositions the menu according to its position function. - - + + + Property + + 2.12.0.0 + - Gtk.Widget + Gdk.Screen + - 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 . - - + The physical screen this menu is placed on. + a + - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void + - Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. - void + a + Selects the specified menu item within the menu. - 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. + This is used by the and should not be used by anyone else. - - - Property - - Gtk.Widget - - - Returns the that the menu is attached to. - The that the menu is attached to. - - - - + + Property + + 2.12.0.0 + + + + GLib.Property("tearoff-state") + + System.Boolean @@ -371,33 +629,37 @@ class PopupSample + + + + + Property + + 2.12.0.0 + - GLib.Property("tearoff-state") + GLib.Property("tearoff-title") - - - - Property - Gtk.AccelGroup + System.String - 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. - - + The title of this menu when it is torn off + an object of type + - + + Property + + 2.12.0.0 + System.String @@ -413,150 +675,5 @@ class PopupSample - - - Property - - System.String - - - - - The title of this menu when it is torn off - an object of type - - - - - GLib.Property("tearoff-title") - - - - - - Property - - Gdk.Screen - - - - The physical screen this menu is placed on. - a - - - - - - Method - - System.Void - - - - - - Selects the specified menu item within the menu. - a - - - This is used by the and should not be used by anyone else. - - - - - - - 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.Int32 - - - The number of the monitor on which the menu should be popped up. - a - - - - - - - - Method - - System.Void - - - - - - - - - - Adds a new to a (table) menu. - a , should be a - a - a - a - a - - 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 - - GLib.List - - - - - - To be added - a - a - To be added - - - diff --git a/doc/en/Gtk/MenuBar.xml b/doc/en/Gtk/MenuBar.xml index 301c02794..3408dc6bf 100644 --- a/doc/en/Gtk/MenuBar.xml +++ b/doc/en/Gtk/MenuBar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -53,30 +59,14 @@ - - Gtk.MenuShell - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -84,70 +74,105 @@ - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - - - + + + + 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("pack-direction") + GLib.Property("child-pack-direction") Gtk.PackDirection - Packing direction. - a . - Indicates how menu items are layed out on the menu bar. + 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("child-pack-direction") + GLib.Property("pack-direction") Gtk.PackDirection - Child packing direction. - a . - Indicates how child menu items are layed out on the menu bar's submenus. + Packing direction. + a . + Indicates how menu items are layed out on the menu bar. diff --git a/doc/en/Gtk/MenuCallback.xml b/doc/en/Gtk/MenuCallback.xml index e19a8147d..1b9f53da3 100644 --- a/doc/en/Gtk/MenuCallback.xml +++ b/doc/en/Gtk/MenuCallback.xml @@ -1,25 +1,26 @@ + 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. - - System.Delegate - - - System.Void - - - - diff --git a/doc/en/Gtk/MenuDetachFunc.xml b/doc/en/Gtk/MenuDetachFunc.xml index f73ecae2b..cc457a45c 100644 --- a/doc/en/Gtk/MenuDetachFunc.xml +++ b/doc/en/Gtk/MenuDetachFunc.xml @@ -1,20 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - A delegate for a function that will be called when the user invokes . - (TODO: examples.) - System.Delegate - @@ -22,4 +16,11 @@ System.Void + + To be added. + To be added. + A delegate for a function that will be called when the user invokes . + (TODO: examples.) + + diff --git a/doc/en/Gtk/MenuDirectionType.xml b/doc/en/Gtk/MenuDirectionType.xml index 2a0e88b8c..4fce0e2b6 100644 --- a/doc/en/Gtk/MenuDirectionType.xml +++ b/doc/en/Gtk/MenuDirectionType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by MenuShell. - - - An enumeration used by that represents directional movements within a menu. - - - System.Enum @@ -23,46 +16,70 @@ 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 parent menu shell. + To the submenu, if any, associated with the item. - - + + + Field + + 2.12.0.0 + Gtk.MenuDirectionType - To the submenu, if any, associated with the item. + To the next menu item. - - + + + Field + + 2.12.0.0 + Gtk.MenuDirectionType - To the next menu item. + To the parent menu shell. + Field + + 2.12.0.0 + Gtk.MenuDirectionType diff --git a/doc/en/Gtk/MenuEntry.xml b/doc/en/Gtk/MenuEntry.xml index c5b3226b8..a70af2a0c 100644 --- a/doc/en/Gtk/MenuEntry.xml +++ b/doc/en/Gtk/MenuEntry.xml @@ -1,11 +1,16 @@ + 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. @@ -14,55 +19,48 @@ - - System.ValueType - - - - + + + Field + + 2.12.0.0 + - Gtk.MenuEntry + System.String - An empty menu entry. + An accelerator key sequence - - - Field - - System.String - - - - - The path of this menu item. - For example, "/File/_Open", where the "O" should be a mnemonic underline. - - - - - Field + + + + Property + + 2.12.0.0 + - System.String + Gtk.MenuCallback - - - An accelerator key sequence - - + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + Gtk.MenuEntry @@ -70,16 +68,37 @@ - For internal use only. Do not use. 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 @@ -89,16 +108,22 @@ To be added. - - - Property + + + + Field + + 2.12.0.0 + - Gtk.MenuCallback + Gtk.MenuEntry + + - To be added. - To be added. - To be added. + An empty menu entry. + + diff --git a/doc/en/Gtk/MenuItem.xml b/doc/en/Gtk/MenuItem.xml index c9536c0d2..3aa3bd4a0 100644 --- a/doc/en/Gtk/MenuItem.xml +++ b/doc/en/Gtk/MenuItem.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -24,151 +30,86 @@ - - Gtk.Item - - - - - - Method - - System.Void - - - - Removes the submenu of the , if it has one. - - - - - - Method - - System.Void - - - - Fires the event. - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Fires the event. + A constructor. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Emits the event on the given item. - The allocation to use as signal data. - - - - - - Method - - System.Void - - - - Emits the event on the given item. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - - - A constructor. - - - + Constructor + + 2.12.0.0 + - Creates a new MenuItem containing a label. The label text on the menu item, with an underscore in front of the mnemonic character. + Creates a new MenuItem containing a label. - - - Property - - 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); - - - - - - - GLib.Property("submenu") - - - - + + Property + + 2.12.0.0 + System.String @@ -184,23 +125,34 @@ menuBar.Add (itmFile); - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + - 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. + Emits the event on the given item. + Event + + 2.12.0.0 + + + + GLib.Signal("activate") + + System.EventHandler @@ -209,15 +161,19 @@ menuBar.Add (itmFile); Emitted when the item is activated. - - - GLib.Signal("activate") - - + Event + + 2.12.0.0 + + + + GLib.Signal("activate_item") + + System.EventHandler @@ -226,62 +182,118 @@ menuBar.Add (itmFile); 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.Signal("activate_item") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gtk.MenuItem)) - - - - Event - Gtk.ToggleSizeAllocatedHandler + System.Void - Emitted when size is allocated. - + 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.Signal("toggle_size_allocate") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivateItem", Type=typeof(Gtk.MenuItem)) - - - - Event - Gtk.ToggleSizeRequestedHandler + System.Void - Emitted when size is requested. - + 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.Signal("toggle_size_request") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleSizeAllocated", Type=typeof(Gtk.MenuItem)) - - - - Property - GLib.GType + System.Void - + + + - GType Property. - a - Returns the native value for . + 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 @@ -289,71 +301,152 @@ menuBar.Add (itmFile); - Default handler for the event. 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 + - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Fires the event. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("submenu") + + - System.Void + Gtk.Widget - + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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); + + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + The allocation to use as signal data. + Emits the event on the given item. + + + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("toggle_size_allocate") + + Gtk.ToggleSizeAllocatedHandler + + + + Emitted when size is allocated. + + + Method + + 2.12.0.0 + System.Int32 @@ -364,5 +457,26 @@ menuBar.Add (itmFile); + + + + Event + + 2.12.0.0 + + + + GLib.Signal("toggle_size_request") + + + + Gtk.ToggleSizeRequestedHandler + + + + Emitted when size is requested. + + + diff --git a/doc/en/Gtk/MenuPositionFunc.xml b/doc/en/Gtk/MenuPositionFunc.xml index fe24f2dbd..f4686a7e4 100644 --- a/doc/en/Gtk/MenuPositionFunc.xml +++ b/doc/en/Gtk/MenuPositionFunc.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.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. - A delegate function for positioning a popup menu. - Gets invoked by . - System.Delegate - @@ -26,4 +18,13 @@ 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 . + + diff --git a/doc/en/Gtk/MenuShell.xml b/doc/en/Gtk/MenuShell.xml index 6c6ae863c..3052eab89 100644 --- a/doc/en/Gtk/MenuShell.xml +++ b/doc/en/Gtk/MenuShell.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,49 +21,90 @@ - - Gtk.Container - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Protected constructor. + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Adds a new to the beginning of the menu shell's item list. - The to add. - Activates the menu item within the menu shell. - - Adds a new to the beginning of the menu shell's item list. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method + + + + 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") + + - System.Void + Gtk.ActivateCurrentHandler - Deactivates the menu shell. - - - Typically this results in the menu shell being erased from the screen. - - + An action signal that activates the current menu item within the menu shell. + + Method + + 2.12.0.0 + System.Void @@ -66,9 +113,9 @@ - Activates the menu item within the menu shell. 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. @@ -76,201 +123,271 @@ - - + + + Method + + 2.12.0.0 + System.Void - - Adds a new to the menu shell's item list at the position indicated by . 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 end of the menu shell's item list. - Adds a new to the menu shell's item list at the position indicated by position. + Adds a new to the end of the menu shell's item list. - - + + + 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. - - + 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 - - - + - Adds a new to the end of the menu shell's item list. - The to add. + Deactivates the menu shell. - Adds a new to the end of the menu shell's item list. + 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 - - - + - Selects the menu item from the menu shell. - The to select. + Deselects the currently selected item from the menu shell, if any. - Selects the menu item from the menu shell. + Deselects the currently selected item from the menu shell, if any. - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + GLib.GType + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + GType Property. + a + Returns the native value for . - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ActivateCurrentHandler + System.Void - + + + + - An action signal that activates the current menu item within the menu shell. - + 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. + + - - - GLib.Signal("activate_current") - - + Event - - Gtk.MoveCurrentHandler - - - - An action signal which moves the current menu item in the direction specified by . - - + + 2.12.0.0 + GLib.Signal("move_current") - - - - Event - System.EventHandler + Gtk.MoveCurrentHandler - This signal is emitted when a selection has been completed within a menu shell. + An action signal which moves the current menu item in the direction specified by . + + + + + Event + + 2.12.0.0 + - GLib.Signal("selection-done") + GLib.Signal("move_selected") - - - - Event - System.EventHandler + Gtk.MoveSelectedHandler - - This signal is emitted when a menu shell is deactivated. - + To be added. + To be added. + + + + + + Method + + 2.12.0.0 + - GLib.Signal("deactivate") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivateCurrent", Type=typeof(Gtk.MenuShell)) - - - - Method System.Void - + - Select the first visible or selectable child of the menu shell; - don't select tearoff items unless the only item is a tearoff item. - - a - 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. - + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCanceled", Type=typeof(Gtk.MenuShell)) + + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 @@ -280,21 +397,18 @@ Override this method in a subclass to provide a default handler for the event. - - - Method - - 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 @@ -302,101 +416,156 @@ - Default handler for the event. 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.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + To be added. + To be added. + 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionDone", Type=typeof(Gtk.MenuShell)) - - - - Constructor - + + System.Void + - Protected constructor. - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + - An action signal which cancels the selection within the menu shell.Causes the signal to be emitted. - - + 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("cancel") + GLib.Signal("selection-done") - - - - Method - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - + This signal is emitted when a selection has been completed within a menu shell. + - - + + + Method + + 2.12.0.0 + System.Void - + + + - Emits the Canceled event. - - + 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") @@ -413,39 +582,5 @@ - - - Event - - - GLib.Signal("move_selected") - - - - Gtk.MoveSelectedHandler - - - To be added. - To be added. - - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - diff --git a/doc/en/Gtk/MenuToolButton.xml b/doc/en/Gtk/MenuToolButton.xml index 7cbd4d052..85134ea30 100644 --- a/doc/en/Gtk/MenuToolButton.xml +++ b/doc/en/Gtk/MenuToolButton.xml @@ -1,115 +1,139 @@ + 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. - - To be added - To be added - - Gtk.ToolButton + + To be added + To be added + + - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - - - To be added - a - a - a - To be added - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. - + + Constructor + + 2.12.0.0 + - - + + a To be added - a - a To be added - + + Constructor + + 2.12.0.0 + - + + + a + a To be added - a 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 @@ -121,8 +145,17 @@ - + + Property + + 2.12.0.0 + + + + GLib.Property("menu") + + Gtk.Widget @@ -132,53 +165,75 @@ a To be added + + + + + Method + + 2.12.0.0 + - GLib.Property("menu") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideShowMenu", Type=typeof(Gtk.MenuToolButton)) - - - - Event - System.EventHandler + 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.Signal("show-menu") + System.Obsolete - - - - Property - System.String + System.Void + + + + + - To be added. - To be added. - To be added. - + a + a + a + To be added + To be added - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("show-menu") + + - System.String + System.EventHandler + - To be added. - To be added. - To be added. - + To be added + To be added diff --git a/doc/en/Gtk/MessageDialog.xml b/doc/en/Gtk/MessageDialog.xml index 55d78b30c..65ab0c869 100644 --- a/doc/en/Gtk/MessageDialog.xml +++ b/doc/en/Gtk/MessageDialog.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gtk.Dialog + + + Convenient message window @@ -58,22 +64,57 @@ md.Modal = false; - - Gtk.Dialog - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -81,7 +122,11 @@ md.Modal = false; + Constructor + + 2.12.0.0 + @@ -98,13 +143,13 @@ md.Modal = false; - Creates an instance of 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 @@ -118,7 +163,11 @@ MessageDialog md = new MessageDialog + Constructor + + 2.12.0.0 + @@ -136,7 +185,6 @@ MessageDialog md = new MessageDialog - Creates an instance of the dialog's parent (or ) the the type of message dialog to display @@ -144,31 +192,18 @@ MessageDialog md = new MessageDialog 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 - - Gtk.MessageType - - - The of the - an object of type - The of the - - - - - GLib.Property("message-type") - - - - + + Property + + 2.12.0.0 + GLib.GType @@ -179,27 +214,35 @@ MessageDialog md = new MessageDialog Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("image") + + Gtk.Widget + + + The image displayed in the MessageBox. + a displayed in the image location. + + + - + + Property + + 2.12.0.0 + System.String @@ -210,55 +253,79 @@ MessageDialog md = new MessageDialog - - - Constructor - - + + + + Property + + 2.12.0.0 + + + + GLib.Property("message-type") + + + + Gtk.MessageType + - To be added - To be added + The of the + an object of type + The of the + - - + + + Property + + 2.12.0.0 + - GLib.Property("image") + GLib.Property("secondary-text") - Gtk.Widget + System.String - The image displayed in the MessageBox. - a displayed in the image location. + The secondary message for the MessageBox. + defaults to . - - + + + Property + + 2.12.0.0 + - GLib.Property("use-markup") + GLib.Property("secondary-use-markup") System.Boolean - Indicates if Pango markup is handled in the primary text. + 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") @@ -274,41 +341,27 @@ MessageDialog md = new MessageDialog - - + + + Property + + 2.12.0.0 + - GLib.Property("secondary-use-markup") + GLib.Property("use-markup") System.Boolean - Indicates if Pango markup is handled in the secondary text.. + Indicates if Pango markup is handled in the primary text. if , markup is parsed. See for more info. - - - Property - - - GLib.Property("secondary-text") - - - - System.String - - - The secondary message for the MessageBox. - defaults to . - - - - diff --git a/doc/en/Gtk/MessageType.xml b/doc/en/Gtk/MessageType.xml index 794223d11..047716e08 100644 --- a/doc/en/Gtk/MessageType.xml +++ b/doc/en/Gtk/MessageType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by Gtk.MessageDialog. - - This enumeration defines the type of message being displayed in the dialog. - - System.Enum @@ -21,64 +16,90 @@ 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 - An informational message. + A fatal error message. - - + + + Field + + 2.12.0.0 + Gtk.MessageType - A nonfatal warning message. + An informational message. - - + + + Field + + 2.12.0.0 + Gtk.MessageType - - A question requiring a choice. - + Any other message. + - - + + + Field + + 2.12.0.0 + Gtk.MessageType - A fatal error message. + A question requiring a choice. - - + + + Field + + 2.12.0.0 + Gtk.MessageType + - Any other message. - + A nonfatal warning message. + diff --git a/doc/en/Gtk/MetricType.xml b/doc/en/Gtk/MetricType.xml index 28dd1f71a..8e1ae65aa 100644 --- a/doc/en/Gtk/MetricType.xml +++ b/doc/en/Gtk/MetricType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used to determine which unit of measurement is currently being used. - This enumeration is used by , , and . - System.Enum @@ -19,23 +16,35 @@ 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 pixel unit of measurement. + The centimeter unit of measurement. + Field + + 2.12.0.0 + Gtk.MetricType @@ -46,15 +55,19 @@ - - + + + Field + + 2.12.0.0 + Gtk.MetricType - The centimeter unit of measurement. + The pixel unit of measurement. diff --git a/doc/en/Gtk/Misc.xml b/doc/en/Gtk/Misc.xml index 680bd5163..5a9cbe143 100644 --- a/doc/en/Gtk/Misc.xml +++ b/doc/en/Gtk/Misc.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -21,212 +27,255 @@ - - Gtk.Widget - - - - - - Method - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Sets the alignment of the widget. - The horizontal alignment, from 0 (left) to 1 (right). - The vertical alignment, from 0 (top) to 1 (bottom). - To be added. + Protected constructor. + Protected constructor. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Sets the amount of space to add around the widget. - 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. - To be added. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property + + + + Method + + 2.12.0.0 + - System.Single + System.Void + + - The vertical alignment - The vertical alignment - + 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 . + + - - - GLib.Property("yalign") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Single + System.Void + + - The horizontal alignment - The horizontal alignment - + 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 ). + + - - - GLib.Property("xalign") - - - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - - + - 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. - + GType Property. + a + Returns the native value for . - - - GLib.Property("ypad") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + - 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. - + 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. - - - GLib.Property("xpad") - - - - + + + Method + + 2.12.0.0 + System.Void - - + + - Gets the padding in the X and Y directions of the widget. See ). - Location to store padding in the X direction, or . - Location to store padding in the Y direction, or . - - + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("xalign") + + - System.Void + System.Single - - - Gets the X and Y alignment of the widget within its allocation. See . - Location to store X alignment of misc, or . - Location to store Y alignment of misc, or . - - + The horizontal alignment + The horizontal alignment + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("xpad") + + - GLib.GType + System.Int32 - + + - GType Property. - a - Returns the native value for . + 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. + - - - Constructor - + + + + Property + + 2.12.0.0 + + + + GLib.Property("yalign") + + + + System.Single + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + The vertical alignment + The vertical alignment + + + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("ypad") - - - - Constructor - - + + System.Int32 + + + - Protected constructor. - Protected constructor. + 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. + diff --git a/doc/en/Gtk/MnemonicActivatedArgs.xml b/doc/en/Gtk/MnemonicActivatedArgs.xml index 29dde25bd..43e5f1a01 100644 --- a/doc/en/Gtk/MnemonicActivatedArgs.xml +++ b/doc/en/Gtk/MnemonicActivatedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/MnemonicActivatedHandler.xml b/doc/en/Gtk/MnemonicActivatedHandler.xml index 1a9e32e13..33b58adac 100644 --- a/doc/en/Gtk/MnemonicActivatedHandler.xml +++ b/doc/en/Gtk/MnemonicActivatedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MnemonicHash.xml b/doc/en/Gtk/MnemonicHash.xml index 6a7f79d71..325f5ca93 100644 --- a/doc/en/Gtk/MnemonicHash.xml +++ b/doc/en/Gtk/MnemonicHash.xml @@ -1,32 +1,37 @@ + 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. - - To be added - To be added - - GLib.Opaque + + To be added + To be added + + + Constructor + + 2.12.0.0 + - To be added a + To be added To be added diff --git a/doc/en/Gtk/MnemonicHashForeach.xml b/doc/en/Gtk/MnemonicHashForeach.xml index f66f3575b..7a3a5bd4a 100644 --- a/doc/en/Gtk/MnemonicHashForeach.xml +++ b/doc/en/Gtk/MnemonicHashForeach.xml @@ -1,11 +1,22 @@ + 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. @@ -13,15 +24,5 @@ To be added - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/MotionNotifyEventArgs.xml b/doc/en/Gtk/MotionNotifyEventArgs.xml index 8e2baed17..b1bafb2e3 100644 --- a/doc/en/Gtk/MotionNotifyEventArgs.xml +++ b/doc/en/Gtk/MotionNotifyEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventMotion diff --git a/doc/en/Gtk/MotionNotifyEventHandler.xml b/doc/en/Gtk/MotionNotifyEventHandler.xml index f92093035..38381b2fe 100644 --- a/doc/en/Gtk/MotionNotifyEventHandler.xml +++ b/doc/en/Gtk/MotionNotifyEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MoveArgs.xml b/doc/en/Gtk/MoveArgs.xml index 1cc9b30a9..68527ed64 100644 --- a/doc/en/Gtk/MoveArgs.xml +++ b/doc/en/Gtk/MoveArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.DirectionType diff --git a/doc/en/Gtk/MoveCurrentArgs.xml b/doc/en/Gtk/MoveCurrentArgs.xml index 8235984a6..2ce2648e0 100644 --- a/doc/en/Gtk/MoveCurrentArgs.xml +++ b/doc/en/Gtk/MoveCurrentArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.MenuDirectionType diff --git a/doc/en/Gtk/MoveCurrentHandler.xml b/doc/en/Gtk/MoveCurrentHandler.xml index bfe2dc39c..a9d00bcc4 100644 --- a/doc/en/Gtk/MoveCurrentHandler.xml +++ b/doc/en/Gtk/MoveCurrentHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MoveCursorArgs.xml b/doc/en/Gtk/MoveCursorArgs.xml index f3b4b1de4..9bde6de09 100644 --- a/doc/en/Gtk/MoveCursorArgs.xml +++ b/doc/en/Gtk/MoveCursorArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -37,14 +42,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -53,8 +58,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -65,8 +74,12 @@ - + + Property + + 2.12.0.0 + Gtk.MovementStep diff --git a/doc/en/Gtk/MoveCursorHandler.xml b/doc/en/Gtk/MoveCursorHandler.xml index 9feace54d..ffd331988 100644 --- a/doc/en/Gtk/MoveCursorHandler.xml +++ b/doc/en/Gtk/MoveCursorHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -39,15 +50,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MoveFocusArgs.xml b/doc/en/Gtk/MoveFocusArgs.xml index b7df52b5c..ca190bc5c 100644 --- a/doc/en/Gtk/MoveFocusArgs.xml +++ b/doc/en/Gtk/MoveFocusArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,15 @@ 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. @@ -27,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -43,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gtk.DirectionType @@ -55,9 +69,4 @@ - - - System.Obsolete("Events using this type were replaced by Gtk.Widget keybinding signal") - - diff --git a/doc/en/Gtk/MoveFocusHandler.xml b/doc/en/Gtk/MoveFocusHandler.xml index fbd3ae942..d05bbe174 100644 --- a/doc/en/Gtk/MoveFocusHandler.xml +++ b/doc/en/Gtk/MoveFocusHandler.xml @@ -1,10 +1,26 @@ + 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. @@ -29,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MoveFocusOutArgs.xml b/doc/en/Gtk/MoveFocusOutArgs.xml index 8b587050b..32463219f 100644 --- a/doc/en/Gtk/MoveFocusOutArgs.xml +++ b/doc/en/Gtk/MoveFocusOutArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -27,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -43,8 +48,12 @@ - + + Property + + 2.12.0.0 + Gtk.DirectionType diff --git a/doc/en/Gtk/MoveFocusOutHandler.xml b/doc/en/Gtk/MoveFocusOutHandler.xml index f54857efc..cb18730c4 100644 --- a/doc/en/Gtk/MoveFocusOutHandler.xml +++ b/doc/en/Gtk/MoveFocusOutHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -29,15 +40,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MoveHandleArgs.xml b/doc/en/Gtk/MoveHandleArgs.xml index d5351d6ab..d5fcb8cfe 100644 --- a/doc/en/Gtk/MoveHandleArgs.xml +++ b/doc/en/Gtk/MoveHandleArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.ScrollType diff --git a/doc/en/Gtk/MoveHandleHandler.xml b/doc/en/Gtk/MoveHandleHandler.xml index ea7959561..527307c31 100644 --- a/doc/en/Gtk/MoveHandleHandler.xml +++ b/doc/en/Gtk/MoveHandleHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MoveHandler.xml b/doc/en/Gtk/MoveHandler.xml index ea6924127..e9fbb0527 100644 --- a/doc/en/Gtk/MoveHandler.xml +++ b/doc/en/Gtk/MoveHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MoveSelectedArgs.xml b/doc/en/Gtk/MoveSelectedArgs.xml index 13ba1ad31..f32fb1a36 100644 --- a/doc/en/Gtk/MoveSelectedArgs.xml +++ b/doc/en/Gtk/MoveSelectedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -31,9 +45,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/MoveSelectedHandler.xml b/doc/en/Gtk/MoveSelectedHandler.xml index ac088c2df..7e090c59a 100644 --- a/doc/en/Gtk/MoveSelectedHandler.xml +++ b/doc/en/Gtk/MoveSelectedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/MoveSliderArgs.xml b/doc/en/Gtk/MoveSliderArgs.xml index b87b13ab9..044a0389f 100644 --- a/doc/en/Gtk/MoveSliderArgs.xml +++ b/doc/en/Gtk/MoveSliderArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.ScrollType diff --git a/doc/en/Gtk/MoveSliderHandler.xml b/doc/en/Gtk/MoveSliderHandler.xml index 4bb5341d1..71fa35356 100644 --- a/doc/en/Gtk/MoveSliderHandler.xml +++ b/doc/en/Gtk/MoveSliderHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/MovementStep.xml b/doc/en/Gtk/MovementStep.xml index 3b6fa65e9..5504c9176 100644 --- a/doc/en/Gtk/MovementStep.xml +++ b/doc/en/Gtk/MovementStep.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by to decide how the cursor will move. - - System.Enum @@ -19,88 +16,122 @@ 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 by forward/back graphemes. + The cursor will move to the end of the buffer. - - + + + Field + + 2.12.0.0 + Gtk.MovementStep - The cursor will move by left/right graphemes. + The cursor will move up/down lines (wrapped lines). - - + + + Field + + 2.12.0.0 + Gtk.MovementStep - The cursor will move by forward/back words. + 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). + The cursor will move horizontally by pages. + - - + + + Field + + 2.12.0.0 + Gtk.MovementStep - The cursor will move up/down lines (wrapped lines). + The cursor will move by forward/back graphemes. - - + + + Field + + 2.12.0.0 + Gtk.MovementStep - The cursor will move up/down paragraphs (newline-ended lines). + The cursor will move by pages. + Field + + 2.12.0.0 + Gtk.MovementStep @@ -111,45 +142,55 @@ - - + + + Field + + 2.12.0.0 + Gtk.MovementStep - The cursor will move by pages. + The cursor will move up/down paragraphs (newline-ended lines). - - + + + Field + + 2.12.0.0 + Gtk.MovementStep - The cursor will move to the end of the buffer. + The cursor will move by left/right graphemes. - - + + + Field + + 2.12.0.0 + Gtk.MovementStep - - + - The cursor will move horizontally by pages. + The cursor will move by forward/back words. - diff --git a/doc/en/Gtk/NoExposeEventArgs.xml b/doc/en/Gtk/NoExposeEventArgs.xml index 5339e1175..812c9817a 100644 --- a/doc/en/Gtk/NoExposeEventArgs.xml +++ b/doc/en/Gtk/NoExposeEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/NoExposeEventHandler.xml b/doc/en/Gtk/NoExposeEventHandler.xml index 47bdbe538..7e86a8a2c 100644 --- a/doc/en/Gtk/NoExposeEventHandler.xml +++ b/doc/en/Gtk/NoExposeEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/NodeCellDataFunc.xml b/doc/en/Gtk/NodeCellDataFunc.xml index 099feca6c..d7de5a9ac 100644 --- a/doc/en/Gtk/NodeCellDataFunc.xml +++ b/doc/en/Gtk/NodeCellDataFunc.xml @@ -1,11 +1,23 @@ + 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. @@ -14,16 +26,5 @@ - - System.Delegate - - - System.Void - - - - - - diff --git a/doc/en/Gtk/NodeSelection.xml b/doc/en/Gtk/NodeSelection.xml index ae8bf09ee..c476cb132 100644 --- a/doc/en/Gtk/NodeSelection.xml +++ b/doc/en/Gtk/NodeSelection.xml @@ -1,24 +1,62 @@ + 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 . - - System.Object - - + + + + 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 @@ -26,15 +64,36 @@ - Tests if a specified node is currently selected. 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 @@ -42,15 +101,19 @@ - Tests if a specified path is currently selected. a + Tests if a specified path is currently selected. a + Method + + 2.12.0.0 + System.Void @@ -60,9 +123,50 @@ + + + + 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 @@ -70,14 +174,18 @@ - Selects a specified node in the view. a + Selects a specified node in the view. + Method + + 2.12.0.0 + System.Void @@ -85,14 +193,18 @@ - Selects a node by path. a + Selects a node by path. + Method + + 2.12.0.0 + System.Void @@ -101,15 +213,19 @@ - Selects all the nodes in a specified range. a a + Selects all the nodes in a specified range. + Method + + 2.12.0.0 + System.Void @@ -121,7 +237,11 @@ + Method + + 2.12.0.0 + System.Void @@ -129,14 +249,18 @@ - Unselects a specified node. a + Unselects a specified node. + Method + + 2.12.0.0 + System.Void @@ -144,111 +268,52 @@ - Unselects a specified node by path. a + Unselects a specified node by path. - + + Method + + 2.12.0.0 + System.Void - - + + + a + a Unselects all the nodes in a specified range. - a - a - + + Method + + 2.12.0.0 + System.Void - - + + + a + a Unselects all the nodes in a specified range. - a - a - - - - - - Property - - Gtk.SelectionMode - - - - Selection mode currently is use. - a - - - - - - Property - - Gtk.NodeView - - - - The view associated with this selection object. - a - - - - - - Property - - Gtk.ITreeNode[] - - - - The currently selected nodes. - a - - - - - - Event - - System.EventHandler - - - - The currently selected row(s) changed. - - - Property - - Gtk.ITreeNode - - The Multiple selection mode is in use. - - 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. - - - diff --git a/doc/en/Gtk/NodeStore.xml b/doc/en/Gtk/NodeStore.xml index 5d313a58e..e74e85607 100644 --- a/doc/en/Gtk/NodeStore.xml +++ b/doc/en/Gtk/NodeStore.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 . @@ -64,18 +73,34 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - - GLib.Object - - - - System.Collections.IEnumerable - - + + + + 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 @@ -83,8 +108,8 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - Appends the node to the root level of the tree a + Appends the node to the root level of the tree Adds to the end of the list of root level nodes. @@ -92,7 +117,11 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the + Method + + 2.12.0.0 + System.Void @@ -101,9 +130,9 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - Inserts the node into the root level of the tree 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 . @@ -111,61 +140,71 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - - + + + Method + + 2.12.0.0 + - Gtk.ITreeNode + System.Void - - - + - Returns a node given a . - The path to look up. + Removes all nodes from the store. - Looks up the node corresponding to and returns it, - or null if the node cannot be found. - To be added. - - + + + Method + + 2.12.0.0 + - System.Void + System.Collections.IEnumerator - - - + - Removes a node from the store. - a - - Removes from the list of root level nodes. - + Gets an enumerator for the root nodes. + a + Children of root nodes are not enumerated. You must traverse them independently. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.ITreeNode + - + - NodeStore constructor - a + The path to look up. + Returns a node given a . + To be added. - Creates a for nodes of the specified . - The type provided in must implement . + Looks up the node corresponding to and returns it, + or null if the node cannot be found. - + + Property + + 2.12.0.0 + GLib.GType @@ -177,30 +216,24 @@ Iteration: In new versions of Gtk# (2.0 and up) this class implements the - - - Method - - 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 + System.Void - + + + - Removes all nodes from the store. + a + Removes a node from the store. + Removes from the list of root level nodes. diff --git a/doc/en/Gtk/NodeView.xml b/doc/en/Gtk/NodeView.xml index 4bbb3032d..42d28b410 100644 --- a/doc/en/Gtk/NodeView.xml +++ b/doc/en/Gtk/NodeView.xml @@ -1,51 +1,84 @@ + 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. - - Tree and List view. - - - Gtk.TreeView + + Tree and List view. + + + + + + + Constructor + + 2.12.0.0 + + + + Public Constructor. + + + + Constructor + + 2.12.0.0 + - Constructs a new view for a given . a + Constructs a new view for a given . - - - Property + + + + Method + + 2.12.0.0 + - Gtk.NodeStore + Gtk.TreeViewColumn - + + + + + - The store containing the view's data. - a + a + a + a + Adds a column to the view using a data callback delegate. + a - + + Property + + 2.12.0.0 + Gtk.NodeSelection @@ -56,32 +89,20 @@ - - - Method + + + + Property + + 2.12.0.0 + - Gtk.TreeViewColumn + Gtk.NodeStore - - - - - - - Adds a column to the view using a data callback delegate. - a - a - a - a - - - - - - Constructor - Public Constructor. + The store containing the view's data. + a diff --git a/doc/en/Gtk/Notebook+NotebookChild.xml b/doc/en/Gtk/Notebook+NotebookChild.xml index dab717374..fda4369b8 100644 --- a/doc/en/Gtk/Notebook+NotebookChild.xml +++ b/doc/en/Gtk/Notebook+NotebookChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,29 +9,82 @@ 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("tab-expand") + Gtk.ChildProperty("detachable") System.Boolean - The "expand" property of a tab's label - - if the page's label is set to "expand" - - See for more details. + 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") @@ -46,63 +100,81 @@ - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("menu-label") + Gtk.ChildProperty("reorderable") - System.String + System.Boolean - The page's menu label - the label of the page in the notebook's pop-up menu - - + Indicates if tab is reorderable by user action. + defaults to . + + - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("tab-fill") + Gtk.ChildProperty("tab-expand") System.Boolean - The "fill" property of a tab's label + The "expand" property of a tab's label - if the page's label is set to "fill" + if the page's label is set to "expand" See for more details. - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("tab-pack") + Gtk.ChildProperty("tab-fill") - Gtk.PackType + System.Boolean - The pack type of a page's tab label - the label's + 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") @@ -118,47 +190,26 @@ - - - Property - - - Gtk.ChildProperty("reorderable") - - - - System.Boolean - - - Indicates if tab is reorderable by user action. - defaults to . - - - - - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("detachable") + Gtk.ChildProperty("tab-pack") - System.Boolean + Gtk.PackType - Indicates if tab is detachable by the user. - defaults to . - - + The pack type of a page's tab label + the label's + See for more details. - - A child of a , used to interact with its container child properties. - - - - diff --git a/doc/en/Gtk/Notebook.xml b/doc/en/Gtk/Notebook.xml index cf6772339..def21c481 100644 --- a/doc/en/Gtk/Notebook.xml +++ b/doc/en/Gtk/Notebook.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gtk.Container + + + Notebook widget container. @@ -72,168 +78,263 @@ class NotebookSample elements, and this doc needs a good proofreading.) - - Gtk.Container - - - - - - System.Reflection.DefaultMember("Item") - - - - + + + + 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.String + System.Int32 + - Returns the label caption for the Notebookpage containing the given widget. - The widget in the page. - - - 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 . - - + 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. - 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 . - + 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.String + System.Int32 + + - Returns the label caption for the menu of the notebookpage containing the given widget. - The child widget in the page - - - 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 . - - + 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 - - Retrieves the text of the menu label for the page - containing . - + 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. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("change_current_page") + + - System.Void + Gtk.ChangeCurrentPageHandler - Enables the page-selection popup. + Signaled when a request is made to change the current + page - 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. + This event is raised when a request is made to change the + current page in the notebook. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("create_window") + + - System.Void + Gtk.CreateWindowHandler - - - - - Sets the label for the page containing a widget - The child widget whose label will be changed - The new caption for the tab. - - - Creates a new label and sets it as the tab label for the - page containing . - - + To be added. + To be added. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - + + - Switches to the previous page. - - - Switches to the previous page. Nothing happens if the - current page is the first page. - - + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Widget - - Enables the page-selection popup. + Obtains the widget that represents the current page. + The object in the current page. - Disables the popup menu. Inverse operation of + This property uses and together to + provide a quicker way of getting the current page widget. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("enable-popup") + + - System.Void + System.Boolean - - Removes a page. - The page number to remove starting from - zero. You can use minus one to remove the last page. + 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 - Removes a page from the notebook given its index in the - notebook. + This event is raised when a tab has been focused. + Method + + 2.12.0.0 + Gtk.Widget @@ -241,59 +342,50 @@ class NotebookSample - Returns the label for the menu of the notebookpage containing the given 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.Void + System.String - - Changes the position of a widget in the notebook. - The widget to move. - The new position, or -1 to move to the end - + The child widget in the page + Returns the label caption for the menu of the notebookpage containing the given widget. + - 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. - - - - - - - Method - - Gtk.Widget - - - - - - Returns the for the Notebook page containing the given widget. - The child widget in the page. - The label, or null if the page does not have a tab label other than the default tab label. + 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 . + + -the label of a menu doesn't have to be a . it can be any + Retrieves the text of the menu label for the page + containing . + + Method + + 2.12.0.0 + Gtk.Widget @@ -301,210 +393,188 @@ the label of a menu doesn't have to be a . it can be a - Returns the notebookpage with the given index. 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.Void + System.Boolean - - sets the text of a menu label of a page. - the page. - the text of the label. + To be added. + Gets the detachable property of a child.. + if , the child is detachable. + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.Widget - + + + - - - Switches to the next page. - - + 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. - Switches to the next page. Nothing happens if the - current page is the last page. - +the label of a menu doesn't have to be a . it can be any - - + + + Method + + 2.12.0.0 + - System.Void + System.String - - Sets the menu label of a page. - 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 - + 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.Void + System.Boolean - - - - Sets the packing of the tab label of a page. - a page. - sets true to expand the label. - sets true to fill to fill the allocated area. - sets of the label. + child page. + Gets the tab reorder property of a child. + if , the child is reorderable. + - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Creates a new object. - This is the default constructor for . - - - - - Property - - 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 - - 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. - + + 2.12.0.0 + - GLib.Property("scrollable") + GLib.Property("group") - - - - Property - System.Boolean + System.IntPtr - - - Indicates if the tabs are shown. - Returns true if the tabs are shown and false if not. - Default value is true. + To be added. + To be added. + To be added. + + + + + + Property + + 2.12.0.0 + - GLib.Property("show-tabs") + GLib.Property("group-id") + + + System.Obsolete - - - - Property - System.Boolean + System.Int32 - - - Indicates if the border is shown. - Returns true if the border is shown and false if not. - Default value is true. + Group ID for tab drag and drop. + default value is -1. + + - - - GLib.Property("show-border") - - - - + + + Property + + 2.12.0.0 + - System.UInt32 + GLib.GType - - + - Sets or obtains the width of the horizontal border around the tabs. - Returns the horizontal width of the border. - Default value is 2. + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("tab-hborder") + GLib.Property("homogeneous") System.Obsolete - - - - Property System.Boolean @@ -515,350 +585,436 @@ the label of a menu doesn't have to be a . it can be a 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 + - - GLib.Property("homogeneous") - System.Obsolete + + System.Boolean + + + Whether tabs should have homogeneous sizes. + a + + + + - - - Property + + + + Method + + 2.12.0.0 + - System.UInt32 + System.Int32 + + + - Sets or obtains the width of the vertical border around the tabs. - Returns the vertical width of the border. - Default value is 2. - - - - GLib.Property("tab-vborder") - - - System.Obsolete - - - - - - Property - - 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. + 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. + + + - - - GLib.Property("tab-border") - - - System.Obsolete - - - - - Property + + + + Method + + 2.12.0.0 + System.Int32 + + + + - Sets or obtains the index of the curent page. - Returns the index of the curent page. - use instead. - - - - GLib.Property("page") - - - - - - Property - - Gtk.PositionType - - - - - Sets or obtains The position of the tabs. - the of this notebook. - default is top. + 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. + + + - - - GLib.Property("tab-pos") - - - - + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.Container+ContainerChild + - 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. + To be added. + To be added. + To be added. + To be added. - - - GLib.Property("enable-popup") - - - - + + + Event - - Gtk.SelectPageHandler - - - - Raised when a page of the notebook is selected. - - + + 2.12.0.0 + - GLib.Signal("select_page") + GLib.Signal("move_focus_out") - - - - Event - Gtk.SwitchPageHandler + Gtk.MoveFocusOutHandler - Signaled when the page changes + Signaled when Focus is being moved out. - This signal is raised when the page is changed either by - the user or programatically. + This event is raised before the focus is removed from the + current widget - - - GLib.Signal("switch_page") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.MoveFocusOutHandler + System.Void - Signaled when Focus is being moved out. + + + Switches to the next page. + + - This event is raised before the focus is removed from the - current widget + Switches to the next page. Nothing happens if the + current page is the last page. - - - GLib.Signal("move_focus_out") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.ChangeCurrentPageHandler + System.Int32 - - 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. - - + returns the amount of pages in this notebook. + the amount of pages in the notebook. + + + + + + Method + + 2.12.0.0 + - GLib.Signal("change_current_page") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChangeCurrentPage", Type=typeof(Gtk.Notebook)) - - - - Event - Gtk.FocusTabHandler + System.Void - + + + - Signaled when a Tab is focused - - - This event is raised when a tab has been focused. - - + 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.Signal("focus_tab") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateWindow", Type=typeof(Gtk.Notebook)) - - - - Method - System.Void + Gtk.Notebook - - + + + - Sets the label for the page containing a widget - the page - the to use as label. use null for the default label. - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusTab", Type=typeof(Gtk.Notebook)) + + - System.Int32 + System.Boolean + + + - returns the amount of pages in this notebook. - the amount of pages in the notebook. - + a + Default handler for the event. + a + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocusOut", Type=typeof(Gtk.Notebook)) + + - Gtk.Widget + System.Void + + + - 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. - - + 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 - - - - + + - Query the packing attributes for the tab label of the page containing child. - the page. - indicates if expand is true or false. - indicates if fill is true or false. - returns to which is used. + added page. + index of added page. + Default handler for event. + - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverridePageRemoved", Type=typeof(Gtk.Notebook)) + + - GLib.GType + System.Void - + + + + - GType Property. - a - Returns the native value for . + removed page. + index of removed page. + Default handler for event. + + - - + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverridePageReordered", Type=typeof(Gtk.Notebook)) + + - System.Boolean + System.Void - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -867,49 +1023,63 @@ the label of a menu doesn't have to be a . it can be a - Default handler for the event. a a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("page") + + - System.Boolean + System.Int32 - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Sets or obtains the index of the curent page. + Returns the index of the curent page. + use instead. - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("page_added") + + Gtk.PageAddedHandler + + + Raised when a notebook page is added. + + + + Method + + 2.12.0.0 + System.Int32 @@ -917,58 +1087,103 @@ the label of a menu doesn't have to be a . it can be a - Returns the page number that a child exists on. 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. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("page_removed") + + - System.Boolean + Gtk.PageRemovedHandler - Whether tabs should have homogeneous sizes. - a - - - + Raised when a notebook page is removed. + + + + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("page_reordered") + + Gtk.PageReorderedHandler + + + Raised when a notebook page is reordered. + + + - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - - - - - + - prepends a page, with a custom popup-label. - 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 - a + Enables the page-selection popup. - Don't forget to call the Show method on the widget or else the new page will not be shown. + + 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 @@ -977,9 +1192,9 @@ the label of a menu doesn't have to be a . it can be a - prepends a page. 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. @@ -987,9 +1202,13 @@ the label of a menu doesn't have to be a . it can be a - - + + + Method + + 2.12.0.0 + System.Int32 @@ -997,287 +1216,327 @@ the label of a menu doesn't have to be a . it can be a - - Insert a page into notebook at the given position, with a custom popup-label. - 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 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 - the zero-based position to insert the page. use -1 make it the last page. + 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. - + 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 + System.Void - - - - - + - Inserts a page into the notebook at the given position. - 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. - - a + Switches to the previous page. - Insert a page into the notebook at the given position. + Switches to the previous page. Nothing happens if the + current page is the first page. - -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 + System.Void - - + + + - Appends a page, with a custom popup-label. - 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. - 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. - - + 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.Int32 + System.Void - - + - Appends a page. - 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'. - A specifying the index (starting from 0) of the appended page in the notebook, or -1 if the method fails. + The page number to remove starting from + zero. You can use minus one to remove the last page. + Removes a page. - 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. - + Removes a page from the notebook given its index in the + notebook. + - - - - Event - - - GLib.Signal("page_removed") - - + + + + Method + + 2.12.0.0 + - Gtk.PageRemovedHandler + System.Void + + + + - Raised when a notebook page is removed. - - + 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("page_added") + GLib.Signal("reorder_tab") - Gtk.PageAddedHandler + Gtk.ReorderTabHandler - Raised when a notebook page is added. + Raised when a tab is reordered. - - - Event + + + + Property + + 2.12.0.0 + - GLib.Signal("page_reordered") + GLib.Property("scrollable") - Gtk.PageReorderedHandler + System.Boolean + + - Raised when a notebook page is reordered. - - + 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("reorder_tab") + GLib.Signal("select_page") - Gtk.ReorderTabHandler + Gtk.SelectPageHandler + - Raised when a tab is reordered. + Raised when a page of the notebook is selected. - - - + + + Method + + 2.12.0.0 + System.Void - - + + - removed page. - index of removed page. - Default handler for event. + 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 - - + + - added page. - index of added page. - Default handler for event. + the page. + the text of the label. + sets the text of a menu label of a page. - - - + + + Method + + 2.12.0.0 + System.Void - - + + - reordered page. - index of reordered page. - Default handler for event. + child to update. + if , the child is detachable. + Sets a child's detachable property. - - + + + Method + + 2.12.0.0 + 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. - + 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 - + + + - child to update. - if , the child is detachable. - Sets a child's detachable property. + 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.Boolean + System.Void + - child page. - Gets the tab reorder property of a child. - if , the child is reorderable. - - + 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 @@ -1293,111 +1552,194 @@ Don't forget to call the Show method on the widget or else the new page will not - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("show-border") + + System.Boolean - - To be added. - Gets the detachable property of a child.. - if , the child is detachable. - - + 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("group-id") + 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 + + - System.Obsolete + GLib.Signal("switch_page") - System.Int32 + Gtk.SwitchPageHandler + - Group ID for tab drag and drop. - default value is -1. - - + 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 + + - Gtk.NotebookWindowCreationFunc + System.UInt32 + + - Sets a delegate to create windows for detached tabs. - a . - - + 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. - - - Event + + + + Property + + 2.12.0.0 + - GLib.Signal("create_window") + GLib.Property("tab-hborder") + + + System.Obsolete - Gtk.CreateWindowHandler + System.UInt32 + + - To be added. - To be added. - + 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("group") + GLib.Property("tab-pos") - System.IntPtr + Gtk.PositionType + + - To be added. - To be added. - To be added. - + Sets or obtains The position of the tabs. + the of this notebook. + default is top. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("tab-vborder") + + + System.Obsolete + + - Gtk.Notebook + System.UInt32 - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + 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 . + + diff --git a/doc/en/Gtk/NotebookPage.xml b/doc/en/Gtk/NotebookPage.xml index 436de953a..13c118ccb 100644 --- a/doc/en/Gtk/NotebookPage.xml +++ b/doc/en/Gtk/NotebookPage.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,28 +8,32 @@ 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 - - GLib.Opaque - - - + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gtk/NotebookTab.xml b/doc/en/Gtk/NotebookTab.xml index 5087cb958..1ed6e5388 100644 --- a/doc/en/Gtk/NotebookTab.xml +++ b/doc/en/Gtk/NotebookTab.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration of tabs that can be found in every . - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gtk.NotebookTabGType)) + + An enumeration of tabs that can be found in every . + + + Field + + 2.12.0.0 + Gtk.NotebookTab @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gtk.NotebookTab diff --git a/doc/en/Gtk/NotebookWindowCreationFunc.xml b/doc/en/Gtk/NotebookWindowCreationFunc.xml index 820a41b08..4076132da 100644 --- a/doc/en/Gtk/NotebookWindowCreationFunc.xml +++ b/doc/en/Gtk/NotebookWindowCreationFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Object.xml b/doc/en/Gtk/Object.xml index ca4519889..4eee04be2 100644 --- a/doc/en/Gtk/Object.xml +++ b/doc/en/Gtk/Object.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,149 +20,235 @@ The difference between Gtk.Object and GLib. is a historical one, and it matters little in Gtk#. - - GLib.InitiallyUnowned - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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. - - + Internal. + Internal constructor. - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Removes the floating reference from a , if it exists; otherwise does - nothing. - - See the overview - documentation at the top of the page. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.IntPtr + System.Void + + + + - Helper property to associate information with an object. - - This is not very useful with the Gtk# binding as it is with the C binding. + a + a + a + a + Deprecated. Do not use in new code. + + + - - - GLib.Property("user-data") - - - System.Obsolete - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void + + + + + + + To be added. + To be added. + To be added. + To be added. + + + + + + Method + + 2.12.0.0 + + + System.Void - 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. + 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") - - - - Property - System.IntPtr + System.EventHandler - - Diagnostic method to print the raw object and its reference count - as debug information. - - a , the internal C data underlying this object. - - + 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 - 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. + To be added. + To be added. - - - Constructor - + + + + Method + + 2.12.0.0 + + + + System.Obsolete + + + + System.IntPtr + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 @@ -167,19 +259,13 @@ The object is only destroyed if all the references to the object are released, t Returns the native value for . - - - Constructor - - - - Internal. - Internal constructor. - - - + + Property + + 2.12.0.0 + System.Boolean @@ -190,46 +276,60 @@ The object is only destroyed if all the references to the object are released, t 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 - - - - - - + - Deprecated. Do not use in new code. - a - a - a - a - - - + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.IntPtr - Deprecated. Do not use. + + 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 @@ -242,144 +342,191 @@ The object is only destroyed if all the references to the object are released, t - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - - - - - - - Deprecated. Do not use. - a - a - a - - - - - - - - Method - - System.IntPtr - - Deprecated. Do not use. a - a + Deprecated. Do not use. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - + + a Deprecated. Do not use. - a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - + + a Deprecated. Do not use. - a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - - + + a Deprecated. Do not use. - a - a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - + + + a + a Deprecated. Do not use. - a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - + + + a + a Deprecated. Do not use. - a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - + + + + a + a + a Deprecated. Do not use. - a @@ -387,7 +534,16 @@ The object is only destroyed if all the references to the object are released, t + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -397,64 +553,135 @@ The object is only destroyed if all the references to the object are released, t - Deprecated. Do not use. 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. - a - a - - - Method + + + + 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. - a - a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - + + a Deprecated. Do not use. - a diff --git a/doc/en/Gtk/ObjectDeleteArgs.xml b/doc/en/Gtk/ObjectDeleteArgs.xml index aa5dcdd61..27d959e32 100644 --- a/doc/en/Gtk/ObjectDeleteArgs.xml +++ b/doc/en/Gtk/ObjectDeleteArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp 3.16.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 3.16.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 3.16.0.0 + System.Int32 @@ -31,8 +45,12 @@ - + + Property + + 3.16.0.0 + System.Int32 @@ -43,9 +61,4 @@ - - To be added. - To be added. - - - \ No newline at end of file + diff --git a/doc/en/Gtk/ObjectDeleteHandler.xml b/doc/en/Gtk/ObjectDeleteHandler.xml index 9ef6c06f1..502062f49 100644 --- a/doc/en/Gtk/ObjectDeleteHandler.xml +++ b/doc/en/Gtk/ObjectDeleteHandler.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp 3.16.0.0 @@ -21,4 +22,4 @@ To be added. - \ No newline at end of file + diff --git a/doc/en/Gtk/ObjectInsertedArgs.xml b/doc/en/Gtk/ObjectInsertedArgs.xml index 0827c92ab..0042c3d9f 100644 --- a/doc/en/Gtk/ObjectInsertedArgs.xml +++ b/doc/en/Gtk/ObjectInsertedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp 3.16.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 3.16.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 3.16.0.0 + System.Int32 @@ -31,8 +45,12 @@ - + + Property + + 3.16.0.0 + System.Int32 @@ -43,9 +61,4 @@ - - To be added. - To be added. - - - \ No newline at end of file + diff --git a/doc/en/Gtk/ObjectInsertedHandler.xml b/doc/en/Gtk/ObjectInsertedHandler.xml index 8c591209b..58606c1b3 100644 --- a/doc/en/Gtk/ObjectInsertedHandler.xml +++ b/doc/en/Gtk/ObjectInsertedHandler.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp 3.16.0.0 @@ -21,4 +22,4 @@ To be added. - \ No newline at end of file + diff --git a/doc/en/Gtk/ObjectRequestedArgs.xml b/doc/en/Gtk/ObjectRequestedArgs.xml index c7b867fb5..e4cb58b81 100644 --- a/doc/en/Gtk/ObjectRequestedArgs.xml +++ b/doc/en/Gtk/ObjectRequestedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 3.16.0.0 + + GLib.SignalArgs + + Event data. The event invokes delegates which pass event data via this class. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.HTMLEmbedded diff --git a/doc/en/Gtk/ObjectRequestedHandler.xml b/doc/en/Gtk/ObjectRequestedHandler.xml index eba787ab4..575c9f6ae 100644 --- a/doc/en/Gtk/ObjectRequestedHandler.xml +++ b/doc/en/Gtk/ObjectRequestedHandler.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,6 +8,16 @@ 3.16.0.0 + + System.Delegate + + + + + + + System.Void + To be added. To be added. @@ -17,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/OnCommandArgs.xml b/doc/en/Gtk/OnCommandArgs.xml index 695d3742e..45bc8884e 100644 --- a/doc/en/Gtk/OnCommandArgs.xml +++ b/doc/en/Gtk/OnCommandArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.HTMLCommandType diff --git a/doc/en/Gtk/OnCommandHandler.xml b/doc/en/Gtk/OnCommandHandler.xml index a8466498c..2283b4052 100644 --- a/doc/en/Gtk/OnCommandHandler.xml +++ b/doc/en/Gtk/OnCommandHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/OnUrlArgs.xml b/doc/en/Gtk/OnUrlArgs.xml index 618cc88bf..dcc0d1dc0 100644 --- a/doc/en/Gtk/OnUrlArgs.xml +++ b/doc/en/Gtk/OnUrlArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.String diff --git a/doc/en/Gtk/OnUrlHandler.xml b/doc/en/Gtk/OnUrlHandler.xml index b1eb5b16e..8e5344484 100644 --- a/doc/en/Gtk/OnUrlHandler.xml +++ b/doc/en/Gtk/OnUrlHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/OptionMenu.xml b/doc/en/Gtk/OptionMenu.xml index 4d8d6fd94..cc03aa509 100644 --- a/doc/en/Gtk/OptionMenu.xml +++ b/doc/en/Gtk/OptionMenu.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,16 @@ 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. @@ -79,57 +90,107 @@ class OptionMenuSample - - Gtk.Button - - - - - - System.Obsolete - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Removes the menu from the . - + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + + + System.EventHandler + - Creates a new - This is the default constructor for + 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 @@ -140,8 +201,17 @@ class OptionMenuSample - + + Property + + 2.12.0.0 + + + + GLib.Property("menu") + + Gtk.Widget @@ -152,86 +222,62 @@ class OptionMenuSample an object of type + + + + + Method + + 2.12.0.0 + - GLib.Property("menu") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.OptionMenu)) - - - - Event - System.EventHandler + System.Void - Emitted when the selection is changed. - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - GLib.Signal("changed") - - - - + + + Method + + 2.12.0.0 + System.Void - - - - - Selects the menu item specified by making it the newly selected value for the . - a - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + Removes the menu from the . + - - + + + Method + + 2.12.0.0 + 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. + a + Selects the menu item specified by making it the newly selected value for the . + - - - System.Obsolete - - diff --git a/doc/en/Gtk/Orientation.xml b/doc/en/Gtk/Orientation.xml index 8780369b8..eb6334e23 100644 --- a/doc/en/Gtk/Orientation.xml +++ b/doc/en/Gtk/Orientation.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration storing the current orientation. - - - System.Enum @@ -20,10 +16,19 @@ GLib.GType(typeof(Gtk.OrientationGType)) + + An enumeration storing the current orientation. + + + + Field + + 2.12.0.0 + Gtk.Orientation @@ -36,7 +41,11 @@ + Field + + 2.12.0.0 + Gtk.Orientation diff --git a/doc/en/Gtk/OrientationChangedArgs.xml b/doc/en/Gtk/OrientationChangedArgs.xml index 45914e42d..d37f7c271 100644 --- a/doc/en/Gtk/OrientationChangedArgs.xml +++ b/doc/en/Gtk/OrientationChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Orientation diff --git a/doc/en/Gtk/OrientationChangedHandler.xml b/doc/en/Gtk/OrientationChangedHandler.xml index b355f3e7f..551d1a76d 100644 --- a/doc/en/Gtk/OrientationChangedHandler.xml +++ b/doc/en/Gtk/OrientationChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/OutputArgs.xml b/doc/en/Gtk/OutputArgs.xml index 351a01177..d321ff1c9 100644 --- a/doc/en/Gtk/OutputArgs.xml +++ b/doc/en/Gtk/OutputArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/OutputHandler.xml b/doc/en/Gtk/OutputHandler.xml index ebe5c6ca3..2d558fabc 100644 --- a/doc/en/Gtk/OutputHandler.xml +++ b/doc/en/Gtk/OutputHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/OwnerChangeArgs.xml b/doc/en/Gtk/OwnerChangeArgs.xml index 95dca6089..2b4f83875 100644 --- a/doc/en/Gtk/OwnerChangeArgs.xml +++ b/doc/en/Gtk/OwnerChangeArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventOwnerChange diff --git a/doc/en/Gtk/OwnerChangeHandler.xml b/doc/en/Gtk/OwnerChangeHandler.xml index f999ce190..ec49a0329 100644 --- a/doc/en/Gtk/OwnerChangeHandler.xml +++ b/doc/en/Gtk/OwnerChangeHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/PackDirection.xml b/doc/en/Gtk/PackDirection.xml index acd40bc56..3919cb6ad 100644 --- a/doc/en/Gtk/PackDirection.xml +++ b/doc/en/Gtk/PackDirection.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,30 +13,47 @@ GLib.GType(typeof(Gtk.PackDirectionGType)) + + Menu Item packing directions. + + + - - + + + Field + + 2.12.0.0 + Gtk.PackDirection - Top to bottom. + Bottom to top. - - + + + Field + + 2.12.0.0 + Gtk.PackDirection - Bottom to top. + Left to right. + Field + + 2.12.0.0 + Gtk.PackDirection @@ -43,20 +61,19 @@ Right to left. - - + + + Field + + 2.12.0.0 + Gtk.PackDirection - Left to right. + Top to bottom. - - Menu Item packing directions. - - - diff --git a/doc/en/Gtk/PackType.xml b/doc/en/Gtk/PackType.xml index 7a76c9a99..ed3c9125e 100644 --- a/doc/en/Gtk/PackType.xml +++ b/doc/en/Gtk/PackType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents the packing location of children. (See: , , and ). - - System.Enum @@ -19,28 +16,40 @@ 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 start of the box. + The child is packed into the end of the box - - + + + Field + + 2.12.0.0 + Gtk.PackType - The child is packed into the end of the box + The child is packed into the start of the box. diff --git a/doc/en/Gtk/PageAddedArgs.xml b/doc/en/Gtk/PageAddedArgs.xml index d8dd6df89..4b5ec9d27 100644 --- a/doc/en/Gtk/PageAddedArgs.xml +++ b/doc/en/Gtk/PageAddedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + Args for . + + + + Constructor + + 2.12.0.0 + Public constructor. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -43,9 +61,4 @@ - - Args for . - - - diff --git a/doc/en/Gtk/PageAddedHandler.xml b/doc/en/Gtk/PageAddedHandler.xml index e1fcc031d..07b125381 100644 --- a/doc/en/Gtk/PageAddedHandler.xml +++ b/doc/en/Gtk/PageAddedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PageHorizontallyArgs.xml b/doc/en/Gtk/PageHorizontallyArgs.xml index 7b9e20fe1..24b282fe4 100644 --- a/doc/en/Gtk/PageHorizontallyArgs.xml +++ b/doc/en/Gtk/PageHorizontallyArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - Whether a selection is currently in progress that should be extended by the horizontal-page action. - A , true if a selection is in progress. + How many pages to move horizontally. + A - - + + + Property + + 2.12.0.0 + - System.Int32 + System.Boolean - How many pages to move horizontally. - A + Whether a selection is currently in progress that should be extended by the horizontal-page action. + A , true if a selection is in progress. diff --git a/doc/en/Gtk/PageHorizontallyHandler.xml b/doc/en/Gtk/PageHorizontallyHandler.xml index 1b0e62379..b21cf4fc5 100644 --- a/doc/en/Gtk/PageHorizontallyHandler.xml +++ b/doc/en/Gtk/PageHorizontallyHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/PageOrientation.xml b/doc/en/Gtk/PageOrientation.xml index babcba703..9fda77a75 100644 --- a/doc/en/Gtk/PageOrientation.xml +++ b/doc/en/Gtk/PageOrientation.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PageOrientationGType)) + + Page Orientation enumeration. + + + + Field + + 2.12.0.0 + Gtk.PageOrientation @@ -23,19 +33,27 @@ Landscape Orientation. - - + + + Field + + 2.12.0.0 + Gtk.PageOrientation - Reverse Portrait Orientation. + Portrait Orientation. + Field + + 2.12.0.0 + Gtk.PageOrientation @@ -43,20 +61,19 @@ Reverse Landscape Orientation. - - + + + Field + + 2.12.0.0 + Gtk.PageOrientation - Portrait Orientation. + Reverse Portrait Orientation. - - Page Orientation enumeration. - - - diff --git a/doc/en/Gtk/PageRange.xml b/doc/en/Gtk/PageRange.xml index e21a33a36..95e5f19cd 100644 --- a/doc/en/Gtk/PageRange.xml +++ b/doc/en/Gtk/PageRange.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,21 +9,19 @@ System.ValueType + + Page range structure. + + + - - - Field - - System.Int32 - - - Start page. - - - + Field + + 2.12.0.0 + System.Int32 @@ -31,20 +30,13 @@ - - - Field - - Gtk.PageRange - - - An Empty range. - - - + Method + + 2.12.0.0 + Gtk.PageRange @@ -58,10 +50,35 @@ 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. + + + - - Page range structure. - - - diff --git a/doc/en/Gtk/PageRemovedArgs.xml b/doc/en/Gtk/PageRemovedArgs.xml index d1de87783..cdaff134d 100644 --- a/doc/en/Gtk/PageRemovedArgs.xml +++ b/doc/en/Gtk/PageRemovedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + Arguments for . + + + + Constructor + + 2.12.0.0 + Public constructor. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -43,9 +61,4 @@ - - Arguments for . - - - diff --git a/doc/en/Gtk/PageRemovedHandler.xml b/doc/en/Gtk/PageRemovedHandler.xml index 6afaa65e8..01768a095 100644 --- a/doc/en/Gtk/PageRemovedHandler.xml +++ b/doc/en/Gtk/PageRemovedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PageReorderedArgs.xml b/doc/en/Gtk/PageReorderedArgs.xml index 155b19006..0f535da25 100644 --- a/doc/en/Gtk/PageReorderedArgs.xml +++ b/doc/en/Gtk/PageReorderedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + Arguments for events. + + + + Constructor + + 2.12.0.0 + Public constructor. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + System.UInt32 @@ -43,9 +61,4 @@ - - Arguments for events. - - - diff --git a/doc/en/Gtk/PageReorderedHandler.xml b/doc/en/Gtk/PageReorderedHandler.xml index 25262a3ee..fcca40119 100644 --- a/doc/en/Gtk/PageReorderedHandler.xml +++ b/doc/en/Gtk/PageReorderedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PageSet.xml b/doc/en/Gtk/PageSet.xml index 6492215b4..c8448de2f 100644 --- a/doc/en/Gtk/PageSet.xml +++ b/doc/en/Gtk/PageSet.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PageSetGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.PageSet @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PageSet @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.PageSet @@ -44,9 +62,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PageSetup.xml b/doc/en/Gtk/PageSetup.xml index 187617265..e19e40b47 100644 --- a/doc/en/Gtk/PageSetup.xml +++ b/doc/en/Gtk/PageSetup.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -47,9 +65,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + Gtk.PageSetup @@ -62,7 +100,11 @@ + Method + + 2.12.0.0 + System.Double @@ -78,7 +120,11 @@ + Method + + 2.12.0.0 + System.Double @@ -94,7 +140,11 @@ + Method + + 2.12.0.0 + System.Double @@ -110,7 +160,11 @@ + Method + + 2.12.0.0 + System.Double @@ -126,7 +180,11 @@ + Method + + 2.12.0.0 + System.Double @@ -142,7 +200,11 @@ + Method + + 2.12.0.0 + System.Double @@ -158,7 +220,11 @@ + Method + + 2.12.0.0 + System.Double @@ -174,7 +240,11 @@ + Method + + 2.12.0.0 + System.Double @@ -189,8 +259,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -201,8 +275,12 @@ - + + Property + + 2.12.0.0 + Gtk.PageOrientation @@ -213,8 +291,12 @@ - + + Property + + 2.12.0.0 + Gtk.PaperSize @@ -225,8 +307,12 @@ - + + Property + + 2.12.0.0 + Gtk.PaperSize @@ -238,7 +324,11 @@ + Method + + 2.12.0.0 + System.Void @@ -255,7 +345,11 @@ + Method + + 2.12.0.0 + System.Void @@ -272,7 +366,11 @@ + Method + + 2.12.0.0 + System.Void @@ -289,7 +387,11 @@ + Method + + 2.12.0.0 + System.Void @@ -304,21 +406,13 @@ To be added. - - - Constructor - - - - - To be added. - To be added. - To be added. - - + Method + + 2.12.0.0 + System.Boolean @@ -333,9 +427,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PageSetupDoneFunc.xml b/doc/en/Gtk/PageSetupDoneFunc.xml index 747dfb730..d5c3f4ce1 100644 --- a/doc/en/Gtk/PageSetupDoneFunc.xml +++ b/doc/en/Gtk/PageSetupDoneFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PageSetupUnixDialog.xml b/doc/en/Gtk/PageSetupUnixDialog.xml index edc79e7c9..6bb2fa09d 100644 --- a/doc/en/Gtk/PageSetupUnixDialog.xml +++ b/doc/en/Gtk/PageSetupUnixDialog.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Gtk.Dialog + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + System.Obsolete @@ -28,7 +38,11 @@ + Constructor + + 2.12.0.0 + @@ -40,7 +54,11 @@ + Constructor + + 2.12.0.0 + @@ -53,8 +71,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -65,8 +87,12 @@ - + + Property + + 2.12.0.0 + Gtk.PageSetup @@ -77,8 +103,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintSettings @@ -89,9 +119,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PaginateArgs.xml b/doc/en/Gtk/PaginateArgs.xml index 1d62a3b7a..2ba03b120 100644 --- a/doc/en/Gtk/PaginateArgs.xml +++ b/doc/en/Gtk/PaginateArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/PaginateHandler.xml b/doc/en/Gtk/PaginateHandler.xml index 3591a93f9..deedaf04a 100644 --- a/doc/en/Gtk/PaginateHandler.xml +++ b/doc/en/Gtk/PaginateHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Paned+PanedChild.xml b/doc/en/Gtk/Paned+PanedChild.xml index bf72a4f1e..5e4626131 100644 --- a/doc/en/Gtk/Paned+PanedChild.xml +++ b/doc/en/Gtk/Paned+PanedChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,50 +9,76 @@ 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("shrink") + Gtk.ChildProperty("resize") System.Boolean - Whether or not the child can be shrunk to less than its + Whether or not the child resizes with the parent - if the pane can be adjusted to make the child smaller than its + if the child should be resized as the parent is resized - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("resize") + Gtk.ChildProperty("shrink") System.Boolean - Whether or not the child resizes with the parent + Whether or not the child can be shrunk to less than its - if the child should be resized as the parent is resized + if the pane can be adjusted to make the child smaller than its - - A child of a , used to interact with its container child properties. - - - - diff --git a/doc/en/Gtk/Paned.xml b/doc/en/Gtk/Paned.xml index ebc366e4d..d4252888f 100644 --- a/doc/en/Gtk/Paned.xml +++ b/doc/en/Gtk/Paned.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -34,75 +40,94 @@ public Widget GetExampleFrame() - - Gtk.Container - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor. + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Packs a child widget into the second part of the Paned container, (the bottom or right panes). - 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. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - - + - Packs a child widget into the first part of the Paned container, (the top or left panes). - 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. - + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("accept_position") + + - System.Void + Gtk.AcceptPositionHandler - - - + - Adds a child widget into the second part of the Paned container, (the bottom or right panes), with default packing settings. - A widget for this container to manage. + Emitted when the paned has focus - This is the same as calling with resize set to and shrink set to . + 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 @@ -110,64 +135,64 @@ public Widget GetExampleFrame() - Adds a child widget into the first part of the Paned container, (the top or left panes), with default packing settings. 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 - - - - - - Determines the position of the pane separator based on the - size and shrinkability of the widget's children. - A - A - A - - - - - - - Constructor - - - + - Internal constructor - Pointer to the C object. + 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 an internal constructor, and should not be used by user code. + This is the same as calling with resize set to and shrink set to . - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("cancel_position") + + - Gtk.Widget + Gtk.CancelPositionHandler + - An accessor to the second child widget of this container - The child widget added with or . + + Emitted when the Esc key is pressed while paned has the focus. + - + + Property + + 2.12.0.0 + Gtk.Widget @@ -177,48 +202,85 @@ public Widget GetExampleFrame() - - + + + Property + + 2.12.0.0 + - System.Int32 + Gtk.Widget - - - Manage the position of the splitter bar that separates the 2 child widgets. - The current position ofh + An accessor to the second child widget of this container + The child widget added with or . + + + + + Method + + 2.12.0.0 + - GLib.Property("position") + System.Obsolete - - - - Property - System.Boolean + System.Void + + + - Whether the position property (related to and - ) should be used. - an object of type - + 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.Property("position-set") + 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 @@ -236,123 +298,175 @@ public Widget GetExampleFrame() set reversed to . - - - GLib.Signal("cycle_handle_focus") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.MoveHandleHandler + GLib.GType - - Emitted when paned has the focus and the separator is moved. - - + 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.Signal("move_handle") + GLib.Property("max-position") - - - - Event - Gtk.CancelPositionHandler + System.Int32 - - Emitted when the Esc key is pressed while paned has the focus. - - + 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.Signal("cancel_position") + GLib.Property("min-position") - - - - Event - Gtk.AcceptPositionHandler + System.Int32 - Emitted when the paned has focus + The smallest possible value for the position property. + This property is derived from the size and shrinkability of the widget's children. + + a - 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. + + + + + + Event + + 2.12.0.0 + - GLib.Signal("accept_position") + GLib.Signal("move_handle") - - - - Event - Gtk.ToggleHandleFocusHandler + Gtk.MoveHandleHandler - Emitted when paned has the focus and F8 is pressed to give the focus to or take the focus from the separator handle. + Emitted when paned has the focus and the separator is moved. + + + + + Method + + 2.12.0.0 + - GLib.Signal("toggle_handle_focus") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAcceptPosition", Type=typeof(Gtk.Paned)) - - - - Event - Gtk.CycleChildFocusHandler + System.Boolean - Emitted when F6 or Shift-F6 is pressed while paned has the focus. - + 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.Signal("cycle_child_focus") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancelPosition", Type=typeof(Gtk.Paned)) - - - - Property - GLib.GType + System.Boolean - GType Property. - a - Returns the native value for . + 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 @@ -360,154 +474,199 @@ public Widget GetExampleFrame() - Default handler for the event. 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 - + + + - Default handler for the event. + a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideMoveHandle", Type=typeof(Gtk.Paned)) + + System.Boolean - + + + - Default handler for the event. + a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideToggleHandleFocus", Type=typeof(Gtk.Paned)) + + System.Boolean - Default handler for the event. + Default handler for the event. a - Override this method in a subclass to provide 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.Boolean + System.Void - + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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). + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("position") - - - - Constructor - - + + System.Int32 + + + - Default constructor. + 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.Int32 + System.Boolean - + + - The largest possible value for the position property. - This property is derived from the size and shrinkability of the widget's children. - - a - - - + Whether the position property (related to and + ) should be used. + an object of type + + + + + + Event + + 2.12.0.0 + - GLib.Property("max-position") + GLib.Signal("toggle_handle_focus") - - - - Property - System.Int32 + Gtk.ToggleHandleFocusHandler - The smallest possible value for the position property. - This property is derived from the size and shrinkability of the widget's children. - - a - - - + + Emitted when paned has the focus and F8 is pressed to give the focus to or take the focus from the separator handle. + + - - - GLib.Property("min-position") - - diff --git a/doc/en/Gtk/PaperSize.xml b/doc/en/Gtk/PaperSize.xml index cb13ce67e..f6c181187 100644 --- a/doc/en/Gtk/PaperSize.xml +++ b/doc/en/Gtk/PaperSize.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Opaque + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + @@ -23,7 +33,11 @@ + Constructor + + 2.12.0.0 + @@ -35,7 +49,11 @@ + Constructor + + 2.12.0.0 + @@ -53,7 +71,11 @@ + Constructor + + 2.12.0.0 + @@ -73,7 +95,11 @@ + Method + + 2.12.0.0 + Gtk.PaperSize @@ -85,8 +111,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -97,8 +127,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -108,9 +142,48 @@ 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 @@ -126,7 +199,11 @@ + Method + + 2.12.0.0 + System.Double @@ -142,7 +219,11 @@ + Method + + 2.12.0.0 + System.Double @@ -158,7 +239,11 @@ + Method + + 2.12.0.0 + System.Double @@ -174,7 +259,11 @@ + Method + + 2.12.0.0 + System.Double @@ -188,9 +277,33 @@ 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 @@ -205,8 +318,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -217,8 +334,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -230,7 +351,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -245,8 +370,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -257,8 +386,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -270,7 +403,11 @@ + Method + + 2.12.0.0 + System.Void @@ -287,26 +424,5 @@ To be added. - - - Method - - Gtk.PaperSize[] - - - - - - To be added. - To be added. - To be added. - To be added. - - - - To be added. - To be added. - - diff --git a/doc/en/Gtk/ParentSetArgs.xml b/doc/en/Gtk/ParentSetArgs.xml index d0ff1b3b7..75e3948e7 100644 --- a/doc/en/Gtk/ParentSetArgs.xml +++ b/doc/en/Gtk/ParentSetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/ParentSetHandler.xml b/doc/en/Gtk/ParentSetHandler.xml index 34ebf1e35..d88525d4c 100644 --- a/doc/en/Gtk/ParentSetHandler.xml +++ b/doc/en/Gtk/ParentSetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/PixbufInsertedArgs.xml b/doc/en/Gtk/PixbufInsertedArgs.xml index 9bc86915c..42d42bb1c 100644 --- a/doc/en/Gtk/PixbufInsertedArgs.xml +++ b/doc/en/Gtk/PixbufInsertedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Pixbuf @@ -42,8 +51,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextIter diff --git a/doc/en/Gtk/PixbufInsertedHandler.xml b/doc/en/Gtk/PixbufInsertedHandler.xml index 15b2baafb..6ca4aaae8 100644 --- a/doc/en/Gtk/PixbufInsertedHandler.xml +++ b/doc/en/Gtk/PixbufInsertedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Plug.xml b/doc/en/Gtk/Plug.xml index 165c97fe6..22cf5dad8 100644 --- a/doc/en/Gtk/Plug.xml +++ b/doc/en/Gtk/Plug.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -18,38 +24,58 @@ inside the first applications window. - - Gtk.Window - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Protected constructor. + + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Finish the initialization of for a given identified by socket_id. - an object of type - 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 . + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -57,54 +83,71 @@ + Constructor + + 2.12.0.0 + - Creates a new widget inside the identified by socket_id. 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 . - - - Property - - System.UInt32 - + + + + Constructor + + 2.12.0.0 + + + + + + - 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 . + a + a , the ID of the socket to connect to on . + Public constructor. + + - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + - Raised when the plug window is reparented to the socket window. - - + 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 . - - - GLib.Signal("embedded") - - + Method + + 2.12.0.0 + System.Void @@ -113,33 +156,43 @@ + a + a Finish the initialization of the plug identified by which is currently displayed on . - a - a This method will generally only be used by derived classes. - - - Constructor - - - - - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("embedded") + + + + System.EventHandler + + - Public constructor. - a - a , the ID of the socket to connect to on . + Raised when the plug window is reparented to the socket window. - + + Property + + 2.12.0.0 + GLib.GType @@ -150,50 +203,30 @@ Returns the native value for . - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.UInt32 - - 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 - - - - - - Constructor - - - - Protected constructor. - - + 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") @@ -209,5 +242,26 @@ + + + + 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. + + diff --git a/doc/en/Gtk/PlugRemovedArgs.xml b/doc/en/Gtk/PlugRemovedArgs.xml index b8fe2d638..be561afab 100644 --- a/doc/en/Gtk/PlugRemovedArgs.xml +++ b/doc/en/Gtk/PlugRemovedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/PlugRemovedHandler.xml b/doc/en/Gtk/PlugRemovedHandler.xml index ffdd52a3d..f4216a297 100644 --- a/doc/en/Gtk/PlugRemovedHandler.xml +++ b/doc/en/Gtk/PlugRemovedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/PolicyType.xml b/doc/en/Gtk/PolicyType.xml index 25d594c49..4dd71b2be 100644 --- a/doc/en/Gtk/PolicyType.xml +++ b/doc/en/Gtk/PolicyType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines when a will be visible. - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gtk.PolicyTypeGType)) + + Determines when a will be visible. + + + Field + + 2.12.0.0 + Gtk.PolicyType @@ -34,7 +39,11 @@ + Field + + 2.12.0.0 + Gtk.PolicyType @@ -46,7 +55,11 @@ + Field + + 2.12.0.0 + Gtk.PolicyType diff --git a/doc/en/Gtk/PopulatePopupArgs.xml b/doc/en/Gtk/PopulatePopupArgs.xml index 5a144a879..694e475ef 100644 --- a/doc/en/Gtk/PopulatePopupArgs.xml +++ b/doc/en/Gtk/PopulatePopupArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 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. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -48,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gtk.Menu diff --git a/doc/en/Gtk/PopulatePopupHandler.xml b/doc/en/Gtk/PopulatePopupHandler.xml index 3dd45f3ee..2428bc7a3 100644 --- a/doc/en/Gtk/PopulatePopupHandler.xml +++ b/doc/en/Gtk/PopulatePopupHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/PopupContextMenuArgs.xml b/doc/en/Gtk/PopupContextMenuArgs.xml index 17ae02aee..15fb4f033 100644 --- a/doc/en/Gtk/PopupContextMenuArgs.xml +++ b/doc/en/Gtk/PopupContextMenuArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,43 +33,55 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + System.Int32 - The X location at which the context menu was popped up. + The mouse button number which was used to pop up the context menu. a - - + + + Property + + 2.12.0.0 + System.Int32 - The Y location at which the context menu was popped up. + The X location at which the context menu was popped up. a - - + + + Property + + 2.12.0.0 + System.Int32 - The mouse button number which was used to pop up the context menu. + The Y location at which the context menu was popped up. a diff --git a/doc/en/Gtk/PopupContextMenuHandler.xml b/doc/en/Gtk/PopupContextMenuHandler.xml index 4f7d35f38..69e0f657e 100644 --- a/doc/en/Gtk/PopupContextMenuHandler.xml +++ b/doc/en/Gtk/PopupContextMenuHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/PopupMenuArgs.xml b/doc/en/Gtk/PopupMenuArgs.xml index 80edd83bb..47c1b8760 100644 --- a/doc/en/Gtk/PopupMenuArgs.xml +++ b/doc/en/Gtk/PopupMenuArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/PopupMenuHandler.xml b/doc/en/Gtk/PopupMenuHandler.xml index 523d2d92e..75d7a73e3 100644 --- a/doc/en/Gtk/PopupMenuHandler.xml +++ b/doc/en/Gtk/PopupMenuHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/PositionType.xml b/doc/en/Gtk/PositionType.xml index c48aace21..5e95808bc 100644 --- a/doc/en/Gtk/PositionType.xml +++ b/doc/en/Gtk/PositionType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 . - - System.Enum @@ -21,52 +16,74 @@ 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 on the left. + The relevant item should be placed at the bottom. - - + + + Field + + 2.12.0.0 + Gtk.PositionType - The relevant item should be placed on the right. + The relevant item should be placed on the left. - - + + + Field + + 2.12.0.0 + Gtk.PositionType - The relevant item should be placed at the top. + The relevant item should be placed on the right. - - + + + Field + + 2.12.0.0 + Gtk.PositionType - The relevant item should be placed at the bottom. + The relevant item should be placed at the top. diff --git a/doc/en/Gtk/PostActivateArgs.xml b/doc/en/Gtk/PostActivateArgs.xml index 176d4021e..dfdd22cb2 100644 --- a/doc/en/Gtk/PostActivateArgs.xml +++ b/doc/en/Gtk/PostActivateArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Action diff --git a/doc/en/Gtk/PostActivateHandler.xml b/doc/en/Gtk/PostActivateHandler.xml index bd256d093..760fe734c 100644 --- a/doc/en/Gtk/PostActivateHandler.xml +++ b/doc/en/Gtk/PostActivateHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/PreActivateArgs.xml b/doc/en/Gtk/PreActivateArgs.xml index 2622c5493..93fcbf0f5 100644 --- a/doc/en/Gtk/PreActivateArgs.xml +++ b/doc/en/Gtk/PreActivateArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Action diff --git a/doc/en/Gtk/PreActivateHandler.xml b/doc/en/Gtk/PreActivateHandler.xml index 0353dfa0e..b5c9169cf 100644 --- a/doc/en/Gtk/PreActivateHandler.xml +++ b/doc/en/Gtk/PreActivateHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/PrefixInsertedArgs.xml b/doc/en/Gtk/PrefixInsertedArgs.xml index 00ce359e5..1b7b428c7 100644 --- a/doc/en/Gtk/PrefixInsertedArgs.xml +++ b/doc/en/Gtk/PrefixInsertedArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Gtk/PrefixInsertedHandler.xml b/doc/en/Gtk/PrefixInsertedHandler.xml index b3164a5aa..4b3a36e0b 100644 --- a/doc/en/Gtk/PrefixInsertedHandler.xml +++ b/doc/en/Gtk/PrefixInsertedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/PrepareArgs.xml b/doc/en/Gtk/PrepareArgs.xml index 7f505c93e..2d597b996 100644 --- a/doc/en/Gtk/PrepareArgs.xml +++ b/doc/en/Gtk/PrepareArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/PrepareHandler.xml b/doc/en/Gtk/PrepareHandler.xml index ea9a8a6cd..c11b0aa8a 100644 --- a/doc/en/Gtk/PrepareHandler.xml +++ b/doc/en/Gtk/PrepareHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PreviewArgs.xml b/doc/en/Gtk/PreviewArgs.xml index 3ed47524e..e60aa3dfa 100644 --- a/doc/en/Gtk/PreviewArgs.xml +++ b/doc/en/Gtk/PreviewArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,31 +9,34 @@ 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 - - Gtk.PrintOperationPreview - - - The Print Preview operation. - A . - - - - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -43,8 +47,12 @@ - + + Property + + 2.12.0.0 + Gtk.Window @@ -54,12 +62,21 @@ + + + + Property + + 2.12.0.0 + + + Gtk.PrintOperationPreview + + + The Print Preview operation. + A . + + + - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/PreviewHandler.xml b/doc/en/Gtk/PreviewHandler.xml index 56952a3a7..2a143800c 100644 --- a/doc/en/Gtk/PreviewHandler.xml +++ b/doc/en/Gtk/PreviewHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PreviewType.xml b/doc/en/Gtk/PreviewType.xml index e56701cbd..0bd015c38 100644 --- a/doc/en/Gtk/PreviewType.xml +++ b/doc/en/Gtk/PreviewType.xml @@ -1,17 +1,12 @@ + 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. - - Internal Enum for printing. Do not use. - - - - System.Enum @@ -20,10 +15,20 @@ GLib.GType(typeof(Gtk.PreviewTypeGType)) + + Internal Enum for printing. Do not use. + + + + + Field + + 2.12.0.0 + Gtk.PreviewType @@ -37,7 +42,11 @@ + Field + + 2.12.0.0 + Gtk.PreviewType diff --git a/doc/en/Gtk/Print.xml b/doc/en/Gtk/Print.xml index a11a40817..8ad6c6443 100644 --- a/doc/en/Gtk/Print.xml +++ b/doc/en/Gtk/Print.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,19 +9,49 @@ 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 @@ -38,22 +69,13 @@ For a non-blocking dialog, use . - - - Method - - System.Int32 - - - - Obtains the print operation error quark. - The error quark used for print operation errors. - - - + Method + + 2.12.0.0 + System.Void @@ -73,9 +95,4 @@ - - Global Printing methods. - - - diff --git a/doc/en/Gtk/PrintBackend.xml b/doc/en/Gtk/PrintBackend.xml index 8158852a5..2bd8a555e 100644 --- a/doc/en/Gtk/PrintBackend.xml +++ b/doc/en/Gtk/PrintBackend.xml @@ -1,43 +1,27 @@ - + + gtk-sharp 2.12.0.0 - GLib.Object + GLib.Opaque + + To be added. + To be added. + + - - - Constructor - - - To be added. - To be added. - - - - - Constructor - - - System.Obsolete - - - - - - - To be added. - To be added. - To be added. - - + Constructor + + 2.12.0.0 + @@ -47,311 +31,5 @@ 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. - - - - - Method - - Gtk.Printer - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - Method - - GLib.List - - - - 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. - - - - - 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. - - - - - Event - - - GLib.Signal("printer-added") - - - - Gtk.PrinterAddedHandler - - - To be added. - To be added. - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("printer-list-changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("printer-list-done") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Method - - System.Boolean - - - - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("printer-removed") - - - - Gtk.PrinterRemovedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("printer-status-changed") - - - - Gtk.PrinterStatusChangedHandler - - - To be added. - To be added. - - - - - Method - - System.Void - - - - - - - - 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. - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PrintBackendError.xml b/doc/en/Gtk/PrintBackendError.xml deleted file mode 100644 index 96c617d36..000000000 --- a/doc/en/Gtk/PrintBackendError.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - System.Enum - - - - - Field - - Gtk.PrintBackendError - - - Generic error. - - - - - Print backend error enumeration. - Not typically useful to user code. Exposed for managed backend implementations. - - - diff --git a/doc/en/Gtk/PrintCapabilities.xml b/doc/en/Gtk/PrintCapabilities.xml index a25e3e8b3..f3c46861d 100644 --- a/doc/en/Gtk/PrintCapabilities.xml +++ b/doc/en/Gtk/PrintCapabilities.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -15,10 +16,19 @@ System.Flags + + PrintCapabilites enumeration. + + + + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -28,7 +38,11 @@ + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -38,7 +52,11 @@ + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -48,7 +66,11 @@ + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -56,9 +78,28 @@ Sends documents in Postscript format. + + + + Field + + 2.12.0.0 + + + Gtk.PrintCapabilities + + + To be added. + + + + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -68,7 +109,11 @@ + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -78,7 +123,11 @@ + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -88,7 +137,11 @@ + Field + + 2.12.0.0 + Gtk.PrintCapabilities @@ -96,21 +149,5 @@ Scaled printing is supported. - - - Field - - Gtk.PrintCapabilities - - - To be added. - - - - - PrintCapabilites enumeration. - - - diff --git a/doc/en/Gtk/PrintContext.xml b/doc/en/Gtk/PrintContext.xml index f7a52778a..bc83904c0 100644 --- a/doc/en/Gtk/PrintContext.xml +++ b/doc/en/Gtk/PrintContext.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -48,8 +66,12 @@ - + + Property + + 2.12.0.0 + Cairo.Context @@ -61,7 +83,11 @@ + Method + + 2.12.0.0 + Pango.Context @@ -74,7 +100,11 @@ + Method + + 2.12.0.0 + Pango.Layout @@ -86,8 +116,12 @@ - + + Property + + 2.12.0.0 + System.Double @@ -98,8 +132,12 @@ - + + Property + + 2.12.0.0 + System.Double @@ -110,8 +148,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -122,8 +164,12 @@ - + + Property + + 2.12.0.0 + System.Double @@ -134,8 +180,12 @@ - + + Property + + 2.12.0.0 + Gtk.PageSetup @@ -146,8 +196,12 @@ - + + Property + + 2.12.0.0 + Pango.FontMap @@ -159,7 +213,11 @@ + Method + + 2.12.0.0 + System.Void @@ -177,8 +235,12 @@ - + + Property + + 2.12.0.0 + System.Double @@ -189,9 +251,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PrintDuplex.xml b/doc/en/Gtk/PrintDuplex.xml index a63430036..181334643 100644 --- a/doc/en/Gtk/PrintDuplex.xml +++ b/doc/en/Gtk/PrintDuplex.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PrintDuplexGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.PrintDuplex @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PrintDuplex @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.PrintDuplex @@ -44,9 +62,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PrintError.xml b/doc/en/Gtk/PrintError.xml index 653ee31e6..fcec640eb 100644 --- a/doc/en/Gtk/PrintError.xml +++ b/doc/en/Gtk/PrintError.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PrintErrorGType)) + + Print error enumeration. + + + + Field + + 2.12.0.0 + Gtk.PrintError @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PrintError @@ -33,31 +47,34 @@ Internal error occurred. - - + + + Field + + 2.12.0.0 + Gtk.PrintError - Out of memory. + Invalid File. + - - + + + Field + + 2.12.0.0 + Gtk.PrintError - Invalid File. - + Out of memory. - - Print error enumeration. - - - diff --git a/doc/en/Gtk/PrintFunc.xml b/doc/en/Gtk/PrintFunc.xml index ff29d30b6..dbebcc8bd 100644 --- a/doc/en/Gtk/PrintFunc.xml +++ b/doc/en/Gtk/PrintFunc.xml @@ -1,21 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - To be added. - Delegate for printing. - - - System.Delegate - @@ -23,4 +16,12 @@ System.Void + + To be added. + To be added. + Delegate for printing. + + + + diff --git a/doc/en/Gtk/PrintJob.xml b/doc/en/Gtk/PrintJob.xml index 06db949a0..3ad8849ff 100644 --- a/doc/en/Gtk/PrintJob.xml +++ b/doc/en/Gtk/PrintJob.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ 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 @@ -28,7 +38,11 @@ + Constructor + + 2.12.0.0 + @@ -40,7 +54,11 @@ + Constructor + + 2.12.0.0 + @@ -57,8 +75,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -70,7 +92,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideStatusChanged", Type=typeof(Gtk.PrintJob)) + + System.Void @@ -81,8 +112,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("page-setup") @@ -98,8 +133,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("printer") @@ -116,7 +155,11 @@ + Method + + 2.12.0.0 + System.Void @@ -131,7 +174,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -146,8 +193,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("settings") @@ -163,8 +214,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintStatus @@ -176,7 +231,11 @@ + Event + + 2.12.0.0 + GLib.Signal("status-changed") @@ -191,8 +250,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("title") @@ -208,8 +271,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("track-print-status") @@ -225,9 +292,4 @@ - - 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. - - diff --git a/doc/en/Gtk/PrintJobCompleteFunc.xml b/doc/en/Gtk/PrintJobCompleteFunc.xml index d65649089..298b043bf 100644 --- a/doc/en/Gtk/PrintJobCompleteFunc.xml +++ b/doc/en/Gtk/PrintJobCompleteFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PrintOperation.xml b/doc/en/Gtk/PrintOperation.xml index e5394b602..1eb6c9544 100644 --- a/doc/en/Gtk/PrintOperation.xml +++ b/doc/en/Gtk/PrintOperation.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ Gtk.PrintOperationPreview + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +34,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -41,7 +55,11 @@ + Constructor + + 2.12.0.0 + @@ -52,8 +70,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("allow-async") @@ -70,7 +92,11 @@ + Event + + 2.12.0.0 + GLib.Signal("begin-print") @@ -86,7 +112,11 @@ + Method + + 2.12.0.0 + System.Void @@ -98,7 +128,11 @@ + Event + + 2.12.0.0 + GLib.Signal("create-custom-widget") @@ -113,8 +147,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("current-page") @@ -130,8 +168,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("custom-tab-label") @@ -148,7 +190,11 @@ + Event + + 2.12.0.0 + GLib.Signal("custom-widget-apply") @@ -163,8 +209,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("default-page-setup") @@ -181,7 +231,11 @@ + Event + + 2.12.0.0 + GLib.Signal("done") @@ -197,7 +251,11 @@ + Event + + 2.12.0.0 + GLib.Signal("draw-page") @@ -213,7 +271,11 @@ + Method + + 2.12.0.0 + System.Void @@ -225,7 +287,11 @@ + Event + + 2.12.0.0 + GLib.Signal("end-print") @@ -240,8 +306,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("export-filename") @@ -258,7 +328,11 @@ + Method + + 2.12.0.0 + System.Void @@ -270,7 +344,11 @@ + Event + + 2.12.0.0 + GLib.Signal("got-page-size") @@ -285,8 +363,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -297,8 +379,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -310,7 +396,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -325,8 +415,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("job-name") @@ -342,8 +436,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("n-pages") @@ -360,7 +458,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideBeginPrint", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -375,7 +482,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateCustomWidget", Type=typeof(Gtk.PrintOperation)) + + Gtk.Widget @@ -388,7 +504,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCustomWidgetApply", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -403,7 +528,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDone", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -418,7 +552,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawPage", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -435,7 +578,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEndPrint", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -450,7 +602,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGotPageSize", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -467,7 +628,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverridePaginate", Type=typeof(Gtk.PrintOperation)) + + System.Boolean @@ -483,7 +653,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverridePreview", Type=typeof(Gtk.PrintOperation)) + + System.Boolean @@ -503,7 +682,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideReady", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -518,7 +706,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRequestPageSetup", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -537,7 +734,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideStatusChanged", Type=typeof(Gtk.PrintOperation)) + + System.Void @@ -549,7 +755,11 @@ + Event + + 2.12.0.0 + GLib.Signal("paginate") @@ -565,7 +775,11 @@ + Event + + 2.12.0.0 + GLib.Signal("preview") @@ -580,8 +794,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("print-settings") @@ -598,7 +816,11 @@ + Event + + 2.12.0.0 + GLib.Signal("ready") @@ -614,7 +836,11 @@ + Method + + 2.12.0.0 + System.Void @@ -629,7 +855,11 @@ + Event + + 2.12.0.0 + GLib.Signal("request-page-setup") @@ -645,7 +875,11 @@ + Method + + 2.12.0.0 + Gtk.PrintOperationResult @@ -662,8 +896,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-progress") @@ -679,8 +917,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("status") @@ -697,7 +939,11 @@ + Event + + 2.12.0.0 + GLib.Signal("status-changed") @@ -712,8 +958,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("status-string") @@ -729,8 +979,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("track-print-status") @@ -746,8 +1000,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("unit") @@ -763,8 +1021,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("use-full-page") @@ -780,9 +1042,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PrintOperationAction.xml b/doc/en/Gtk/PrintOperationAction.xml index 6648625f0..e3fac782e 100644 --- a/doc/en/Gtk/PrintOperationAction.xml +++ b/doc/en/Gtk/PrintOperationAction.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PrintOperationActionGType)) + + Print operation action enumeration. + + + + Field + + 2.12.0.0 + Gtk.PrintOperationAction @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PrintOperationAction @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.PrintOperationAction @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.PrintOperationAction @@ -54,9 +76,4 @@ - - Print operation action enumeration. - - - diff --git a/doc/en/Gtk/PrintOperationPreview.xml b/doc/en/Gtk/PrintOperationPreview.xml index ec5be62d0..44e755cfe 100644 --- a/doc/en/Gtk/PrintOperationPreview.xml +++ b/doc/en/Gtk/PrintOperationPreview.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -9,10 +10,19 @@ GLib.IWrapper + + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -24,7 +34,11 @@ + Event + + 2.12.0.0 + Gtk.GotPageSizeHandler @@ -35,7 +49,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -51,7 +69,11 @@ + Event + + 2.12.0.0 + Gtk.ReadyHandler @@ -62,7 +84,11 @@ + Method + + 2.12.0.0 + System.Void @@ -76,9 +102,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PrintOperationPreviewAdapter.xml b/doc/en/Gtk/PrintOperationPreviewAdapter.xml index e765fcbe7..f07bd88f3 100644 --- a/doc/en/Gtk/PrintOperationPreviewAdapter.xml +++ b/doc/en/Gtk/PrintOperationPreviewAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -46,9 +83,33 @@ 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 @@ -66,7 +127,11 @@ + Event + + 2.12.0.0 + GLib.Signal("got-page-size") @@ -80,56 +145,45 @@ To be added. - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("ready") - - + + + + Property + + 2.12.0.0 + - Gtk.ReadyHandler + GLib.GType To be added. + To be added. To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.IntPtr - - - - To be added. To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + Gtk.PrintOperationPreviewImplementor @@ -141,7 +195,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -157,7 +215,11 @@ + Event + + 2.12.0.0 + GLib.Signal("ready") @@ -173,7 +235,11 @@ + Method + + 2.12.0.0 + System.Void @@ -187,9 +253,4 @@ - - PrintOperationPreview interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/PrintOperationPreviewImplementor.xml b/doc/en/Gtk/PrintOperationPreviewImplementor.xml index d3d0b5202..1b64e7177 100644 --- a/doc/en/Gtk/PrintOperationPreviewImplementor.xml +++ b/doc/en/Gtk/PrintOperationPreviewImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.PrintOperationPreviewAdapter)) + + PrintOperationPreview implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Void @@ -29,7 +39,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -45,7 +59,11 @@ + Method + + 2.12.0.0 + System.Void @@ -59,9 +77,4 @@ - - PrintOperationPreview implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/PrintOperationResult.xml b/doc/en/Gtk/PrintOperationResult.xml index a0955319b..17cd6a490 100644 --- a/doc/en/Gtk/PrintOperationResult.xml +++ b/doc/en/Gtk/PrintOperationResult.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PrintOperationResultGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.PrintOperationResult @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PrintOperationResult @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.PrintOperationResult @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.PrintOperationResult @@ -54,9 +76,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PrintPages.xml b/doc/en/Gtk/PrintPages.xml index 1d90a7d97..68ec91650 100644 --- a/doc/en/Gtk/PrintPages.xml +++ b/doc/en/Gtk/PrintPages.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PrintPagesGType)) + + PrintPages enumeration. + + + + Field + + 2.12.0.0 + Gtk.PrintPages @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PrintPages @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.PrintPages @@ -44,9 +62,4 @@ - - PrintPages enumeration. - - - diff --git a/doc/en/Gtk/PrintQuality.xml b/doc/en/Gtk/PrintQuality.xml index 7578a6a55..047012f0f 100644 --- a/doc/en/Gtk/PrintQuality.xml +++ b/doc/en/Gtk/PrintQuality.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PrintQualityGType)) + + Print quality enumeration. + + + + Field + + 2.12.0.0 + Gtk.PrintQuality @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PrintQuality @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.PrintQuality @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.PrintQuality @@ -54,9 +76,4 @@ - - Print quality enumeration. - - - diff --git a/doc/en/Gtk/PrintSettings.xml b/doc/en/Gtk/PrintSettings.xml index bc402ed58..dc5990243 100644 --- a/doc/en/Gtk/PrintSettings.xml +++ b/doc/en/Gtk/PrintSettings.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -47,9 +65,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + - + + Property + + 2.12.0.0 + System.Boolean @@ -61,7 +99,11 @@ + Method + + 2.12.0.0 + Gtk.PrintSettings @@ -73,8 +115,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -85,8 +131,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -97,8 +147,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintDuplex @@ -109,8 +163,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -122,7 +180,11 @@ + Method + + 2.12.0.0 + System.Void @@ -137,7 +199,11 @@ + Method + + 2.12.0.0 + System.String @@ -153,7 +219,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -169,7 +239,11 @@ + Method + + 2.12.0.0 + System.Double @@ -185,7 +259,11 @@ + Method + + 2.12.0.0 + System.Double @@ -203,7 +281,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -219,7 +301,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -237,7 +323,11 @@ + Method + + 2.12.0.0 + System.Double @@ -255,7 +345,11 @@ + Method + + 2.12.0.0 + Gtk.PageRange @@ -271,7 +365,11 @@ + Method + + 2.12.0.0 + System.Double @@ -287,7 +385,11 @@ + Method + + 2.12.0.0 + System.Double @@ -302,8 +404,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -315,7 +421,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -330,8 +440,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -342,8 +456,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -354,8 +472,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -366,8 +488,12 @@ - + + Property + + 2.12.0.0 + Gtk.PageOrientation @@ -378,8 +504,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -390,8 +520,12 @@ - + + Property + + 2.12.0.0 + Gtk.PageSet @@ -402,8 +536,12 @@ - + + Property + + 2.12.0.0 + Gtk.PaperSize @@ -414,8 +552,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -426,8 +568,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintPages @@ -438,8 +584,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintQuality @@ -450,8 +600,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -462,8 +616,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -474,8 +632,12 @@ - + + Property + + 2.12.0.0 + System.Double @@ -487,7 +649,11 @@ + Method + + 2.12.0.0 + System.Void @@ -504,7 +670,11 @@ + Method + + 2.12.0.0 + System.Void @@ -521,7 +691,11 @@ + Method + + 2.12.0.0 + System.Void @@ -538,7 +712,11 @@ + Method + + 2.12.0.0 + System.Void @@ -555,7 +733,11 @@ + Method + + 2.12.0.0 + System.Void @@ -574,7 +756,11 @@ + Method + + 2.12.0.0 + System.Void @@ -591,7 +777,11 @@ + Method + + 2.12.0.0 + System.Void @@ -608,7 +798,11 @@ + Method + + 2.12.0.0 + System.Void @@ -623,65 +817,60 @@ To be added. - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - To be added. + To be added. To be added. + To be added. To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - To be added. - To be added. - To be added. - - - - - Constructor - + - To be added. + To be added. To be added. To be added. - - - Method + + + + Property + + 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. - - diff --git a/doc/en/Gtk/PrintSettingsFunc.xml b/doc/en/Gtk/PrintSettingsFunc.xml index f9b24b60f..cae2a88fe 100644 --- a/doc/en/Gtk/PrintSettingsFunc.xml +++ b/doc/en/Gtk/PrintSettingsFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PrintStatus.xml b/doc/en/Gtk/PrintStatus.xml index 9a0c947dd..22a57d3d6 100644 --- a/doc/en/Gtk/PrintStatus.xml +++ b/doc/en/Gtk/PrintStatus.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.PrintStatusGType)) + + PrintStatus enumeration. + + + + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -65,7 +91,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -75,7 +105,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -85,7 +119,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -95,7 +133,11 @@ + Field + + 2.12.0.0 + Gtk.PrintStatus @@ -104,9 +146,4 @@ - - PrintStatus enumeration. - - - diff --git a/doc/en/Gtk/PrintUnixDialog.xml b/doc/en/Gtk/PrintUnixDialog.xml index 1bcd3f985..645eb3146 100644 --- a/doc/en/Gtk/PrintUnixDialog.xml +++ b/doc/en/Gtk/PrintUnixDialog.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ 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 @@ -28,7 +38,11 @@ + Constructor + + 2.12.0.0 + @@ -40,7 +54,11 @@ + Constructor + + 2.12.0.0 + @@ -54,7 +72,11 @@ + Method + + 2.12.0.0 + System.Void @@ -70,8 +92,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("current-page") @@ -87,8 +113,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -99,8 +129,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintCapabilities @@ -111,8 +145,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("page-setup") @@ -128,8 +166,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("print-settings") @@ -145,8 +187,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("selected-printer") @@ -162,8 +208,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintSettings @@ -174,9 +224,4 @@ - - Unix print dialog. - This class implements a Print dialog for platforms which don't provide a native printing dialog. - - diff --git a/doc/en/Gtk/PrintWin32Devnames.xml b/doc/en/Gtk/PrintWin32Devnames.xml index 83570bc0a..dfa6781b9 100644 --- a/doc/en/Gtk/PrintWin32Devnames.xml +++ b/doc/en/Gtk/PrintWin32Devnames.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,24 @@ System.ValueType + + + System.Obsolete + + + + Internal structure. + Do not use. + + + Field + + 2.12.0.0 + System.String @@ -22,7 +37,11 @@ + Field + + 2.12.0.0 + System.String @@ -33,7 +52,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -44,7 +67,11 @@ + Method + + 2.12.0.0 + System.Void @@ -56,7 +83,11 @@ + Method + + 2.12.0.0 + Gtk.PrintWin32Devnames @@ -72,7 +103,11 @@ + Field + + 2.12.0.0 + System.String @@ -83,7 +118,11 @@ + Field + + 2.12.0.0 + Gtk.PrintWin32Devnames @@ -93,14 +132,4 @@ - - Internal structure. - Do not use. - - - - - System.Obsolete - - diff --git a/doc/en/Gtk/Printer.xml b/doc/en/Gtk/Printer.xml index 404bb5302..d24250ec7 100644 --- a/doc/en/Gtk/Printer.xml +++ b/doc/en/Gtk/Printer.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + System.Obsolete @@ -28,7 +38,11 @@ + Constructor + + 2.12.0.0 + @@ -40,7 +54,11 @@ + Constructor + + 2.12.0.0 + @@ -55,8 +73,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("accepts-pdf") @@ -72,8 +94,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("accepts-ps") @@ -89,8 +115,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("backend") @@ -105,9 +135,29 @@ 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 @@ -122,8 +172,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -135,7 +189,11 @@ + Event + + 2.12.0.0 + GLib.Signal("details-acquired") @@ -151,7 +209,11 @@ + Method + + 2.12.0.0 + System.Void @@ -167,8 +229,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -179,8 +245,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -191,8 +261,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("icon-name") @@ -208,8 +282,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -220,20 +298,12 @@ - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - + + Property + + 2.12.0.0 + System.Boolean @@ -244,8 +314,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("is-virtual") @@ -261,8 +335,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("job-count") @@ -277,9 +355,30 @@ 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") @@ -295,8 +394,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("name") @@ -313,7 +416,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDetailsAcquired", Type=typeof(Gtk.Printer)) + + System.Void @@ -326,73 +438,29 @@ To be added. - - - Method - - System.Boolean - - - - - - 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. - - - - - Method - - System.Boolean - - - - - - To be added. - To be added. - To be added. - To be added. - - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - To be added. To be added. - To be added. To be added. - + + Property + + 2.12.0.0 + GLib.Property("state-message") @@ -407,47 +475,5 @@ To be added. - - - Property - - Gtk.PrintCapabilities - - - To be added. - To be added. - To be added. - - - - - Method - - Gtk.PageSetup[] - - - - To be added. - To be added. - To be added. - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - To be added. - To be added. - - diff --git a/doc/en/Gtk/PrinterAddedArgs.xml b/doc/en/Gtk/PrinterAddedArgs.xml deleted file mode 100644 index 67f76371d..000000000 --- a/doc/en/Gtk/PrinterAddedArgs.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - GLib.SignalArgs - - - - - - Constructor - - - Public Constructor. - Create a new instance with this constructor if you need to invoke a delegate. - - - - - Property - - Gtk.Printer - - - The sdded printer. - a . - - - - - - Event data. - - The event invokes delegates which pass event data via this class. - - - - diff --git a/doc/en/Gtk/PrinterAddedHandler.xml b/doc/en/Gtk/PrinterAddedHandler.xml deleted file mode 100644 index 3ddc66d19..000000000 --- a/doc/en/Gtk/PrinterAddedHandler.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - 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 PrinterAddedHandler instance to the event. The methods referenced by the PrinterAddedHandler instance are invoked whenever the event is raised, until the PrinterAddedHandler is removed from the event. - - - - diff --git a/doc/en/Gtk/PrinterFunc.xml b/doc/en/Gtk/PrinterFunc.xml index b866ba406..f64aaf84e 100644 --- a/doc/en/Gtk/PrinterFunc.xml +++ b/doc/en/Gtk/PrinterFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/PrinterOption.xml b/doc/en/Gtk/PrinterOption.xml deleted file mode 100644 index 1c613766d..000000000 --- a/doc/en/Gtk/PrinterOption.xml +++ /dev/null @@ -1,180 +0,0 @@ - - - - gtk-sharp - 2.12.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. - To be added. - To be added. - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - Method - - System.Boolean - - - - - - To be added. - 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. - - - - - To be added. - To be added. - - - diff --git a/doc/en/Gtk/PrinterOptionSet.xml b/doc/en/Gtk/PrinterOptionSet.xml deleted file mode 100644 index beff26243..000000000 --- a/doc/en/Gtk/PrinterOptionSet.xml +++ /dev/null @@ -1,232 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - GLib.Object - - - - - - Constructor - - - To be added. - To be added. - - - - - Constructor - - - 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 - - - - - 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. - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - Method - - System.Void - - - - - - - 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.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. - To be added. - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - Property - - GLib.GType - - - GType Property. - The native value. - Returns the native value for . - - - - - Method - - System.Void - - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - Method - - Gtk.PrinterOption - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - Printer option set class. - Not typically useful to user code. Exposed for use by managed PrintBackend implementations. - - - diff --git a/doc/en/Gtk/PrinterOptionSetFunc.xml b/doc/en/Gtk/PrinterOptionSetFunc.xml deleted file mode 100644 index 8cdb25a03..000000000 --- a/doc/en/Gtk/PrinterOptionSetFunc.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - System.Delegate - - - - - - System.Void - - - Printer option. - Printer option setting callback delegate. - Used only be backend code. Exposed for use by managed backend implementations. - - - diff --git a/doc/en/Gtk/PrinterOptionType.xml b/doc/en/Gtk/PrinterOptionType.xml deleted file mode 100644 index d92923239..000000000 --- a/doc/en/Gtk/PrinterOptionType.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - System.Enum - - - - - Field - - Gtk.PrinterOptionType - - - Alternative option. - - - - - Field - - Gtk.PrinterOptionType - - - A true/false option. - - - - - Field - - Gtk.PrinterOptionType - - - File save option. - - - - - Field - - Gtk.PrinterOptionType - - - A list option. - - - - - Field - - Gtk.PrinterOptionType - - - String option. - - - - - Field - - Gtk.PrinterOptionType - - - To be added. - - - - - - Field - - Gtk.PrinterOptionType - - - To be added. - - - - - - Field - - Gtk.PrinterOptionType - - - To be added. - - - - - - Field - - Gtk.PrinterOptionType - - - To be added. - - - - - - Field - - Gtk.PrinterOptionType - - - To be added. - - - - - - PrinterOptionType enumeration. - - - - diff --git a/doc/en/Gtk/PrinterOptionWidget.xml b/doc/en/Gtk/PrinterOptionWidget.xml deleted file mode 100644 index 4cb2f894d..000000000 --- a/doc/en/Gtk/PrinterOptionWidget.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - Gtk.HBox - - - - - - 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. - - - - - Event - - - GLib.Signal("changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Property - - Gtk.Widget - - - To be added. - To be added. - To be added. - - - - - Property - - GLib.GType - - - To be added. - To be added. - To be added. - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Method - - System.Void - - - - To be added. - To be added. - - - - - Property - - - GLib.Property("source") - - - - Gtk.PrinterOption - - - To be added. - To be added. - To be added. - - - - - Property - - System.String - - - To be added. - To be added. - To be added. - - - - - To be added. - To be added. - - - diff --git a/doc/en/Gtk/PrinterRemovedArgs.xml b/doc/en/Gtk/PrinterRemovedArgs.xml deleted file mode 100644 index 127e0fe6d..000000000 --- a/doc/en/Gtk/PrinterRemovedArgs.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - GLib.SignalArgs - - - - - - Constructor - - - Public Constructor. - Create a new instance with this constructor if you need to invoke a delegate. - - - - - Property - - Gtk.Printer - - - The removed printer. - A . - - - - - - Event data. - - The event invokes delegates which pass event data via this class. - - - - diff --git a/doc/en/Gtk/PrinterRemovedHandler.xml b/doc/en/Gtk/PrinterRemovedHandler.xml deleted file mode 100644 index 60a422734..000000000 --- a/doc/en/Gtk/PrinterRemovedHandler.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - 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 PrinterRemovedHandler instance to the event. The methods referenced by the PrinterRemovedHandler instance are invoked whenever the event is raised, until the PrinterRemovedHandler is removed from the event. - - - - diff --git a/doc/en/Gtk/PrinterStatusChangedArgs.xml b/doc/en/Gtk/PrinterStatusChangedArgs.xml deleted file mode 100644 index bf8679b18..000000000 --- a/doc/en/Gtk/PrinterStatusChangedArgs.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - gtk-sharp - 2.12.0.0 - - - GLib.SignalArgs - - - - - - Constructor - - - Public Constructor. - Create a new instance with this constructor if you need to invoke a delegate. - - - - - Property - - Gtk.Printer - - - The updated printer. - A . - - - - - - Event data. - - The event invokes delegates which pass event data via this class. - - - - diff --git a/doc/en/Gtk/PrinterStatusChangedHandler.xml b/doc/en/Gtk/PrinterStatusChangedHandler.xml deleted file mode 100644 index ccfb5a5e9..000000000 --- a/doc/en/Gtk/PrinterStatusChangedHandler.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - 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 PrinterStatusChangedHandler instance to the event. The methods referenced by the PrinterStatusChangedHandler instance are invoked whenever the event is raised, until the PrinterStatusChangedHandler is removed from the event. - - - - diff --git a/doc/en/Gtk/ProgressBar.xml b/doc/en/Gtk/ProgressBar.xml index b1a4e60a8..b8b96e74a 100644 --- a/doc/en/Gtk/ProgressBar.xml +++ b/doc/en/Gtk/ProgressBar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -66,157 +72,247 @@ namespace TestGtkAlone - - Gtk.Widget - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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 ). + Creates a new . + Creates a new . - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new . - Creates a new . + a + Public constructor. + + + - - - Property - - Gtk.Adjustment - + + + + Constructor + + 2.12.0.0 + + + - Details about the increments used in updating the ProgressBar. - an object of type - + 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("adjustment") + GLib.Property("activity-blocks") + + + System.Obsolete - - - - Property System.UInt32 - The number of blocks that the is divided into. + The number of blocks used when the is in activity mode. an object of type - The number of blocks that the is divided into when the style is discrete. + 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("discrete-blocks") + GLib.Property("activity-step") System.Obsolete - - - - Property - System.String + System.UInt32 - 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 . + 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("text") + GLib.Property("adjustment") - - - - Property - Gtk.ProgressBarOrientation + Gtk.Adjustment - The current orientation. - an object of type - The current orientation. + Details about the increments used in updating the ProgressBar. + an object of type + + + + + + Property + + 2.12.0.0 + - GLib.Property("orientation") + 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 step value used when the is in activity mode. + The number of blocks that the is divided into. 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. + The number of blocks that the is divided into when the style is discrete. + + + + + Property + + 2.12.0.0 + - GLib.Property("activity-step") - - - System.Obsolete + GLib.Property("ellipsize") + + Pango.EllipsizeMode + + + + To be added + a + To be added + + - + + Property + + 2.12.0.0 + + + + GLib.Property("fraction") + + System.Double @@ -227,62 +323,77 @@ namespace TestGtkAlone an object of type The current fraction of the task that has been completed. - - - GLib.Property("fraction") - - - - + + + Property + + 2.12.0.0 + - System.UInt32 + GLib.GType - - + - 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. + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("activity-blocks") - - - System.Obsolete + GLib.Property("orientation") - - - - Property - Gtk.ProgressBarStyle + Gtk.ProgressBarOrientation - 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. + 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("bar-style") - - - System.Obsolete + GLib.Property("pulse-step") - - - - Property System.Double @@ -293,46 +404,43 @@ namespace TestGtkAlone 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("pulse-step") + GLib.Property("text") - - - - Property - GLib.GType + System.String - - - 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. + 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 - - - - Method System.Void @@ -340,47 +448,13 @@ namespace TestGtkAlone + 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 - a , the percentage completed this bar should display. - - - Constructor - - - - - - Public constructor. - a - - - - - - - - Property - - Pango.EllipsizeMode - - - - To be added - a - To be added - - - - - GLib.Property("ellipsize") - - - diff --git a/doc/en/Gtk/ProgressBarOrientation.xml b/doc/en/Gtk/ProgressBarOrientation.xml index 4792c6c70..2e2d753c1 100644 --- a/doc/en/Gtk/ProgressBarOrientation.xml +++ b/doc/en/Gtk/ProgressBarOrientation.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration representing possible orientations and growth directions for the visible . - An enumeration representing possible orientations and growth directions for the visible . - System.Enum @@ -19,46 +16,66 @@ 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 horizontal growing from left to right. - A horizontal growing from left to right. + 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 right to left. - A horizontal growing from right to left. + A horizontal growing from left to right. + A horizontal growing from left to right. - - + + + Field + + 2.12.0.0 + Gtk.ProgressBarOrientation - A vertical growing from bottom to top. - A vertical growing from bottom to top. + A horizontal growing from right to left. + A horizontal growing from right to left. + Field + + 2.12.0.0 + Gtk.ProgressBarOrientation diff --git a/doc/en/Gtk/ProgressBarStyle.xml b/doc/en/Gtk/ProgressBarStyle.xml index ea156b500..1e0cf5d30 100644 --- a/doc/en/Gtk/ProgressBarStyle.xml +++ b/doc/en/Gtk/ProgressBarStyle.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration representing the styles for drawing the . - An enumeration representing the styles for drawing the . - System.Enum @@ -19,10 +16,18 @@ 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 @@ -34,7 +39,11 @@ + Field + + 2.12.0.0 + Gtk.ProgressBarStyle diff --git a/doc/en/Gtk/PropertyNotifyEventArgs.xml b/doc/en/Gtk/PropertyNotifyEventArgs.xml index 49ec8f1b4..54dfd4cb4 100644 --- a/doc/en/Gtk/PropertyNotifyEventArgs.xml +++ b/doc/en/Gtk/PropertyNotifyEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventProperty diff --git a/doc/en/Gtk/PropertyNotifyEventHandler.xml b/doc/en/Gtk/PropertyNotifyEventHandler.xml index 818ede8e5..7f43ca2ae 100644 --- a/doc/en/Gtk/PropertyNotifyEventHandler.xml +++ b/doc/en/Gtk/PropertyNotifyEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ProximityInEventArgs.xml b/doc/en/Gtk/ProximityInEventArgs.xml index c6e5ed5ed..0a308726e 100644 --- a/doc/en/Gtk/ProximityInEventArgs.xml +++ b/doc/en/Gtk/ProximityInEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventProximity diff --git a/doc/en/Gtk/ProximityInEventHandler.xml b/doc/en/Gtk/ProximityInEventHandler.xml index 4c375a234..01c03c24f 100644 --- a/doc/en/Gtk/ProximityInEventHandler.xml +++ b/doc/en/Gtk/ProximityInEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ProximityOutEventArgs.xml b/doc/en/Gtk/ProximityOutEventArgs.xml index 7aebaea09..c58b28794 100644 --- a/doc/en/Gtk/ProximityOutEventArgs.xml +++ b/doc/en/Gtk/ProximityOutEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventProximity diff --git a/doc/en/Gtk/ProximityOutEventHandler.xml b/doc/en/Gtk/ProximityOutEventHandler.xml index 62916d561..9f3605a06 100644 --- a/doc/en/Gtk/ProximityOutEventHandler.xml +++ b/doc/en/Gtk/ProximityOutEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/QueryTooltipArgs.xml b/doc/en/Gtk/QueryTooltipArgs.xml index 6e366b678..980d5d9a8 100644 --- a/doc/en/Gtk/QueryTooltipArgs.xml +++ b/doc/en/Gtk/QueryTooltipArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + Gtk.Tooltip @@ -43,8 +61,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -55,8 +77,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -67,9 +93,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/QueryTooltipHandler.xml b/doc/en/Gtk/QueryTooltipHandler.xml index 19f6ae1b0..90e1bb6bc 100644 --- a/doc/en/Gtk/QueryTooltipHandler.xml +++ b/doc/en/Gtk/QueryTooltipHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Quit.xml b/doc/en/Gtk/Quit.xml index ca4c9db22..b15ee2e03 100644 --- a/doc/en/Gtk/Quit.xml +++ b/doc/en/Gtk/Quit.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,35 +8,38 @@ 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. - - System.Object - - - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Removes a quit handler by its identifier. - a + Default Constructor + Method + + 2.12.0.0 + System.UInt32 @@ -44,17 +48,48 @@ - Registers a function to be called when an instance of the mainloop is left. 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 @@ -66,12 +101,12 @@ - Registers a function to be called when an instance of the mainloop is left. 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. @@ -79,47 +114,42 @@ - - + + + Method + + 2.12.0.0 + System.Void - + - Removes a quit handler identified by its field. - a + a + Removes a quit handler by its identifier. - - + + + Method + + 2.12.0.0 + System.Void - - + - Trigger destruction of in case the mainloop at level is quit. - a - a - - - - - - - Constructor - - - - Default Constructor + a + Removes a quit handler identified by its field. diff --git a/doc/en/Gtk/RadioAction.xml b/doc/en/Gtk/RadioAction.xml index 42b9fefd6..ec9af4597 100644 --- a/doc/en/Gtk/RadioAction.xml +++ b/doc/en/Gtk/RadioAction.xml @@ -1,74 +1,72 @@ + 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. - - Gtk.ToggleAction - - - - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected constructor. a + Protected constructor. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Constructor for internal use. a , pointer to internal C data. + Constructor for internal use. + Constructor + + 2.12.0.0 + @@ -78,33 +76,73 @@ - Public constructor for general use. 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. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + - GLib.GType + Gtk.ChangedHandler - The of this object. - a + 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 @@ -115,67 +153,71 @@ - - - GLib.Property("group") - - - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - The value returned if this action is activated. - a + The of this object. + a + + + + + Method + + 2.12.0.0 + - GLib.Property("value") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.RadioAction)) - - - - Property - System.Int32 + System.Void - + + + - This action's current value. - a - Should be equivalent to - if this action is selected. + 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("current-value") + GLib.Property("value") - - - - Event - Gtk.ChangedHandler + System.Int32 - This event is raised whenever this radio button is toggled. + The value returned if this action is activated. + a - - - GLib.Signal("changed") - - diff --git a/doc/en/Gtk/RadioActionEntry.xml b/doc/en/Gtk/RadioActionEntry.xml index 12ecee835..ff93c4321 100644 --- a/doc/en/Gtk/RadioActionEntry.xml +++ b/doc/en/Gtk/RadioActionEntry.xml @@ -1,11 +1,16 @@ + 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 @@ -14,108 +19,34 @@ - - System.ValueType - - - - - Field - - System.String - - - - - A unique name for the action. - - - - - - Field - - System.String - - - - - The stock icon displayed in widgets representing this action. - - - - - - Field - - System.String - - - - - The label used for menu items and buttons that activate this action. - - - - - - Field - - System.String - - - - - A tooltip for this action. - - - - - - Field - - System.String - - - - - The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator. - - - - - - Field - - System.Int32 - - - - - Integer representing the value of the . - - - + Constructor + + 2.12.0.0 + - Basic constructor. a a + Basic constructor. + Constructor + + 2.12.0.0 + @@ -125,7 +56,6 @@ - Public constructor with accelerator. a , a unique name for the action a , the stock @@ -136,6 +66,7 @@ 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 @@ -143,7 +74,11 @@ + Constructor + + 2.12.0.0 + @@ -154,7 +89,6 @@ - Public constructor with accelerator and value. a , a unique name for the action a , the stock @@ -168,10 +102,113 @@ 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 . + + + diff --git a/doc/en/Gtk/RadioButton.xml b/doc/en/Gtk/RadioButton.xml index 7789c5a3a..3ad989e7c 100644 --- a/doc/en/Gtk/RadioButton.xml +++ b/doc/en/Gtk/RadioButton.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 + + Gtk.CheckButton + + + A choice from multiple buttons in a group. @@ -15,72 +21,87 @@ 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. - - Gtk.CheckButton - - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Internal constructor a + Internal constructor - - - System.Obsolete - - - + + Constructor + + 2.12.0.0 + - + - Internal constructor - a , pointer to the underlying C object. - Not for general developer use. + a + Creates a new instance. + - + + Constructor + + 2.12.0.0 + - + - Creates a new instance. - a - + a , pointer to the underlying C object. + Internal constructor + Not for general developer use. + Constructor + + 2.12.0.0 + - Creates a new instance. a + Creates a new instance. Creates a new in its own group. + Constructor + + 2.12.0.0 + @@ -106,22 +127,13 @@ - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - + + Property + + 2.12.0.0 + GLib.SList @@ -134,7 +146,16 @@ + Event + + 2.12.0.0 + + + + GLib.Signal("group-changed") + + System.EventHandler @@ -149,15 +170,36 @@ of the group that a button belongs to changes. - - - GLib.Signal("group-changed") - - + + + + + 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 diff --git a/doc/en/Gtk/RadioMenuItem.xml b/doc/en/Gtk/RadioMenuItem.xml index 351de2ae6..9b16d5c48 100644 --- a/doc/en/Gtk/RadioMenuItem.xml +++ b/doc/en/Gtk/RadioMenuItem.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,112 +8,170 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A radio-style control (pick one of a list of options) for a menu. - - 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 + - Internal constructor 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 + - - Constructor - A , the group this item belongs to - A , this item's label. + a + Basic constructor. - - - Property - - GLib.SList - + + + + Constructor + + 2.12.0.0 + + + + - The group the menu item is inside. - A + A , the group this item belongs to + A , this item's label. + Constructor - - - GLib.Property("group") - - - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - + + Constructor + + 2.12.0.0 + - + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + GLib.Property("group") - - - - Constructor - + + GLib.SList + - - Basic constructor. - a + The group the menu item is inside. + A + Event + + 2.12.0.0 + + + + GLib.Signal("group-changed") + + System.EventHandler @@ -127,15 +186,36 @@ of the group that a button belongs to changes. - - - GLib.Signal("group-changed") - - + + + + + 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 @@ -146,39 +226,5 @@ - - - Constructor - - - - - - Basic constructor. - a , group the menu item is inside (XXX: this type looks wrong) - - - - - - - - Constructor - - - - - - - Constructor with support for mnemonic labels. - 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 - - - - - diff --git a/doc/en/Gtk/RadioToolButton.xml b/doc/en/Gtk/RadioToolButton.xml index b92d6fcf0..5a1f7965e 100644 --- a/doc/en/Gtk/RadioToolButton.xml +++ b/doc/en/Gtk/RadioToolButton.xml @@ -1,153 +1,186 @@ + 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. - - Gtk.ToggleToolButton - - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected constructor. a + Protected constructor. - - - System.Obsolete - - - + + Constructor + + 2.12.0.0 + - + - Constructor for internal use only. - a , pointer to underlying C object + 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 + - + - Constructor with support for button groups. - a , an existing - radio button group, or if you are creating - a new group + 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 + - - + - Constructor for stock buttons with groups. - 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. + a , pointer to underlying C object + Constructor for internal use only. - + + Constructor + + 2.12.0.0 + - + + - Create a new button in the same group as another. - a , a button in the same group as the one to be created.. + 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 + - Create a new button in the same group as another from a stock item. 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.GType + GLib.SList - The of this object. - a + The radio button group this button belongs to. + a - - + + + Property + + 2.12.0.0 + - GLib.SList + GLib.GType - The radio button group this button belongs to. - a + The of this object. + a - - - GLib.Property("group") - - diff --git a/doc/en/Gtk/Range.xml b/doc/en/Gtk/Range.xml index b6ae6a96a..fb03a16ae 100644 --- a/doc/en/Gtk/Range.xml +++ b/doc/en/Gtk/Range.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,211 +8,258 @@ 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 . - - Gtk.Widget - - - - - - Method - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Sets the step and page sizes for this range. - Value difference for step movements, (see below). - Value difference for page movements, (see below). - - 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. - + Protected constructor. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Sets the limits of this range. - The minimum acceptable value for this range. - The maximum acceptable value for this range. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("adjust_bounds") + + - System.Double + Gtk.AdjustBoundsHandler - - + - Manage the value of this range. - The current value of this range. + Raised when the bounds of the range are adjusted. - - + + + Property - - 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. - - + + 2.12.0.0 + - GLib.Property("inverted") + GLib.Property("adjustment") - - - - Property - Gtk.UpdateType + Gtk.Adjustment - Manage how often the value label is updated. - The current update policy. + Manipulate the underlying model of this range. + The current underlying this range. + + + + + Event + + 2.12.0.0 + - GLib.Property("update-policy") + GLib.Signal("change_value") - - - - Property - Gtk.Adjustment + Gtk.ChangeValueHandler - - + - Manipulate the underlying model of this range. - The current underlying this range. - + To be added + To be added + + + + + + Property + + 2.12.0.0 + - GLib.Property("adjustment") + GLib.Property("fill-level") + + System.Double + + + To be added. + To be added. + To be added. + + - - - Event + + + + Property + + 2.12.0.0 + - Gtk.MoveSliderHandler + GLib.GType - Raised when the user moves a slider. - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Signal("move_slider") + GLib.Property("inverted") - - - - Event - System.EventHandler + System.Boolean - + + - Raised when the value in this range changes. + Manage whether the control of this range is manipulated in the opposite direction. + Whether visual control of the range is currently inverted. - Connect to this event with a standard to find out when the value changes. + Setting this to causes a widget to move from right to left, instead of left to right. + + + + + Property + + 2.12.0.0 + - GLib.Signal("value_changed") + GLib.Property("lower-stepper-sensitivity") - - - - Event - Gtk.AdjustBoundsHandler + Gtk.SensitivityType - - Raised when the bounds of the range are adjusted. + Sensitivity policy for the lower end of the Range's adjustment. + the . + + + + + + Event + + 2.12.0.0 + - GLib.Signal("adjust_bounds") + GLib.Signal("move_slider") - - - - Property - GLib.GType + Gtk.MoveSliderHandler - GType Property. - a - Returns the native value for . + Raised when the user moves a slider. + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAdjustBounds", Type=typeof(Gtk.Range)) + + System.Void @@ -219,26 +267,51 @@ - Default handler for the event. 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.Void + System.Boolean - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -246,164 +319,204 @@ - Default handler for the event. a + 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.Range)) - - - - Constructor - - - - Protected constructor. - - - - - - Event - Gtk.ChangeValueHandler + 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. + + + + + Property + + 2.12.0.0 + - GLib.Signal("change_value") + GLib.Property("restrict-to-fill-level") + + System.Boolean + + + To be added. + To be added. + To be added. + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. - + 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. + - - - Property - - - GLib.Property("upper-stepper-sensitivity") - - + + + + Method + + 2.12.0.0 + - Gtk.SensitivityType + System.Void + + + + - Sensitivity policy for the upper end of the Range's adjustment. - the . + 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("lower-stepper-sensitivity") + GLib.Property("show-fill-level") - Gtk.SensitivityType + System.Boolean - Sensitivity policy for the lower end of the Range's adjustment. - the . - - + To be added. + To be added. + To be added. + - - + + + Property + + 2.12.0.0 + - GLib.Property("fill-level") + GLib.Property("update-policy") - System.Double + Gtk.UpdateType + + - To be added. - To be added. - To be added. - + Manage how often the value label is updated. + The current update policy. + - - + + + Property + + 2.12.0.0 + - GLib.Property("restrict-to-fill-level") + GLib.Property("upper-stepper-sensitivity") - System.Boolean + Gtk.SensitivityType - To be added. - To be added. - To be added. - + 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.Property("show-fill-level") + GLib.Signal("value_changed") - System.Boolean + System.EventHandler + - To be added. - To be added. - To be added. - + Raised when the value in this range changes. + + Connect to this event with a standard to find out when the value changes. + diff --git a/doc/en/Gtk/Rc.xml b/doc/en/Gtk/Rc.xml index 854014e34..ec112bc99 100644 --- a/doc/en/Gtk/Rc.xml +++ b/doc/en/Gtk/Rc.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,160 +8,231 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - 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. + + - - - Method - - Gtk.Style - - - - + + + + Constructor + + 2.12.0.0 + + + - Finds all matching RC styles for a given widget, composites them together, and then creates a representing the composite appearance. - a - a - (GTK+ actually keeps a cache of previously created styles, so a new style may not be created.) + Public constructor; generates a new RC parser. + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - + + - Parses an rc file into the internal data structure. - a , the file to parse. - + a + a + Deprecated. Do not use. + + + - - + + + Method + + 2.12.0.0 + - System.String + System.Void - + - Searches for a theme engine in the GTK+ search path. This function is not useful for applications and should not be used. - a - a - + 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 - + + - Parses resource information directly from a string. - a to parse. - + 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.Boolean + System.Void - - + + - 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 - a , force reload whether or not anything changed if TRUE - a , TRUE if the files were re-read. - + 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. + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String[] - - Adds a file to the list of files to be parsed at the end of . - a , the filename to add to the parse list - If is not absolute, it is searched in the current directory. + 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.Boolean + System.String - - - 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. - - - - - - Constructor - - + + + - Public constructor; generates a new RC parser. + a + Searches for a theme engine in the GTK+ search path. This function is not useful for applications and should not be used. + a - - - Property + + + + Method + + 2.12.0.0 + - System.String + Gtk.Style + + + - 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.) + 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.) - - - Property + + + + Method + + 2.12.0.0 + - System.String + Gtk.Style + + + + + + - 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. + 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 @@ -171,8 +243,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -183,110 +259,106 @@ (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 - - - 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. + 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 + - Gtk.Style + System.Void - - - - + - 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 , 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 - 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()?) + a , the file to parse. + Parses an rc file into the internal data structure. + - - + + + Method + + 2.12.0.0 + System.Void - - + - - Adds a that will be looked up - by a match against the widget's class pathname. - - a , the style to use for widgets matching - a , the pattern to match - - This is equivalent to a "widget_class PATTERN style STYLE" statement in a RC file. - - + a to parse. + Parses resource information directly from a string. + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - - - + - - Adds a that will be looked up by a match against the widget's pathname. - - a , the style to use for widgets matching - a , the pattern to match - - This is equivalent to a "widget PATTERN style STYLE" statement in a RC file. - - + 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.Void + System.Boolean - - + + - Deprecated. Do not use. - a - a - - - + 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 @@ -294,10 +366,10 @@ + a Recomputes the styles for all widgets that use a particular object. - a There is one GtkSettings object per ; @@ -316,5 +388,21 @@ + + + + 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. + + diff --git a/doc/en/Gtk/RcProperty.xml b/doc/en/Gtk/RcProperty.xml index e07a549e3..45c960105 100644 --- a/doc/en/Gtk/RcProperty.xml +++ b/doc/en/Gtk/RcProperty.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,31 +8,23 @@ 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. - - System.ValueType - - - - - Field - - Gtk.RcProperty - - - - Initialize a new, empty object. - - - + Method + + 2.12.0.0 + Gtk.RcProperty @@ -39,42 +32,19 @@ GTK+ allows style properties to be attached to styles. Because style properties - Constructor for internal use. 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 - - System.Int32 - - - - - The type of this property. - - - - - - - Field - - System.Int32 - - - - - The name of the property. - - - + Field + + 2.12.0.0 + System.String @@ -85,22 +55,13 @@ GTK+ allows style properties to be attached to styles. Because style properties - - - Field - - GLib.Value - - - - - The value of the property. - - - - - + + + Method + + 2.12.0.0 + System.Boolean @@ -110,19 +71,22 @@ GTK+ allows style properties to be attached to styles. Because style properties - - a a a + Internal. Do not use. a - - + + + Method + + 2.12.0.0 + System.Boolean @@ -132,10 +96,10 @@ GTK+ allows style properties to be attached to styles. Because style properties - Internal. Do not use. a a a + Internal. Do not use. a @@ -143,7 +107,11 @@ GTK+ allows style properties to be attached to styles. Because style properties + Method + + 2.12.0.0 + System.Boolean @@ -153,18 +121,22 @@ GTK+ allows style properties to be attached to styles. Because style properties - Internal. Do not use. a a a + Internal. Do not use. a - - + + + Method + + 2.12.0.0 + System.Boolean @@ -174,18 +146,22 @@ GTK+ allows style properties to be attached to styles. Because style properties - Internal. Do not use. a a a + Internal. Do not use. a - - + + + Method + + 2.12.0.0 + System.Boolean @@ -195,14 +171,83 @@ GTK+ allows style properties to be attached to styles. Because style properties - Internal. Do not use. 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. + + + diff --git a/doc/en/Gtk/RcPropertyParser.xml b/doc/en/Gtk/RcPropertyParser.xml index 17181feae..49a3167e9 100644 --- a/doc/en/Gtk/RcPropertyParser.xml +++ b/doc/en/Gtk/RcPropertyParser.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.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. - Delegate class for parsing property values in RC files. - - To be added. - System.Delegate - @@ -25,4 +17,13 @@ System.Boolean + + To be added. + To be added. + To be added. + Delegate class for parsing property values in RC files. + To be added. + + + diff --git a/doc/en/Gtk/RcStyle.xml b/doc/en/Gtk/RcStyle.xml index b5fd31cb6..40fe5636f 100644 --- a/doc/en/Gtk/RcStyle.xml +++ b/doc/en/Gtk/RcStyle.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,57 +8,114 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Method - - Gtk.RcStyle - + + + + Constructor + + 2.12.0.0 + + - Copies this RcStyle object to another new RcStyle object. - an object, a duplicate of this obkect. - + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.RcStyle + - Public constructor - The object returned has no fields set and a refcount of 1. + 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 @@ -68,27 +126,13 @@ 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 + + 2.12.0.0 + System.String @@ -102,8 +146,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -116,8 +164,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -129,20 +181,5 @@ - - - Property - - Pango.FontDescription - - - - The value parsed from the RC style's "font_name" property. - a - - - - - diff --git a/doc/en/Gtk/ReadyArgs.xml b/doc/en/Gtk/ReadyArgs.xml index 97cb9063f..1fd16fafa 100644 --- a/doc/en/Gtk/ReadyArgs.xml +++ b/doc/en/Gtk/ReadyArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/ReadyEvent.xml b/doc/en/Gtk/ReadyEvent.xml index bcf7cae09..f3f1dd20c 100644 --- a/doc/en/Gtk/ReadyEvent.xml +++ b/doc/en/Gtk/ReadyEvent.xml @@ -1,22 +1,23 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Delegate specifying a signature for functions that run whenever is invoked. - See . - System.Delegate - System.Void + + Delegate specifying a signature for functions that run whenever is invoked. + See . + + diff --git a/doc/en/Gtk/ReadyHandler.xml b/doc/en/Gtk/ReadyHandler.xml index 567d5c6b4..7896ec24c 100644 --- a/doc/en/Gtk/ReadyHandler.xml +++ b/doc/en/Gtk/ReadyHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/RecentAction.xml b/doc/en/Gtk/RecentAction.xml index 177fdea85..c4e53861b 100644 --- a/doc/en/Gtk/RecentAction.xml +++ b/doc/en/Gtk/RecentAction.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ Gtk.RecentChooser + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + @@ -27,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -45,7 +59,11 @@ + Constructor + + 2.12.0.0 + @@ -65,7 +83,11 @@ + Method + + 2.12.0.0 + System.Void @@ -79,8 +101,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentInfo @@ -91,8 +117,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -103,8 +133,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("filter") @@ -121,7 +155,11 @@ + Method + + 2.12.0.0 + System.String @@ -135,9 +173,34 @@ 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 @@ -149,7 +212,11 @@ + Event + + 2.12.0.0 + GLib.Signal("item-activated") @@ -164,8 +231,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -176,8 +247,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("limit") @@ -194,7 +269,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -206,8 +285,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("local-only") @@ -224,7 +307,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentAction)) + + System.Void @@ -236,7 +328,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentAction)) + + System.Void @@ -248,7 +349,11 @@ + Method + + 2.12.0.0 + System.Void @@ -263,7 +368,11 @@ + Method + + 2.12.0.0 + System.Void @@ -275,7 +384,11 @@ + Event + + 2.12.0.0 + GLib.Signal("selection-changed") @@ -290,8 +403,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("select-multiple") @@ -308,7 +425,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -324,7 +445,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -339,8 +464,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-icons") @@ -356,8 +485,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-not-found") @@ -373,8 +506,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-numbers") @@ -390,8 +527,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-private") @@ -407,8 +548,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-tips") @@ -424,8 +569,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -436,8 +585,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("sort-type") @@ -454,7 +607,11 @@ + Method + + 2.12.0.0 + System.Void @@ -466,7 +623,11 @@ + Method + + 2.12.0.0 + System.Void @@ -480,9 +641,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentChooser.xml b/doc/en/Gtk/RecentChooser.xml index 9d5f61b15..e04a286af 100644 --- a/doc/en/Gtk/RecentChooser.xml +++ b/doc/en/Gtk/RecentChooser.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -9,10 +10,19 @@ GLib.IWrapper + + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -26,8 +36,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentInfo @@ -38,8 +52,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -50,8 +68,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentFilter @@ -63,7 +85,11 @@ + Method + + 2.12.0.0 + System.String @@ -79,7 +105,11 @@ + Event + + 2.12.0.0 + System.EventHandler @@ -89,8 +119,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -101,8 +135,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -114,7 +152,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -126,8 +168,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -139,7 +185,11 @@ + Method + + 2.12.0.0 + System.Void @@ -154,7 +204,11 @@ + Method + + 2.12.0.0 + System.Void @@ -166,7 +220,11 @@ + Event + + 2.12.0.0 + System.EventHandler @@ -176,8 +234,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -189,7 +251,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -205,7 +271,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -220,8 +290,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -232,8 +306,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -244,8 +322,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -256,8 +338,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -268,8 +354,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -280,8 +370,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -292,8 +386,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortType @@ -305,7 +403,11 @@ + Method + + 2.12.0.0 + System.Void @@ -317,7 +419,11 @@ + Method + + 2.12.0.0 + System.Void @@ -331,9 +437,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentChooserAdapter.xml b/doc/en/Gtk/RecentChooserAdapter.xml index 2fbd78ba2..4726ebc2e 100644 --- a/doc/en/Gtk/RecentChooserAdapter.xml +++ b/doc/en/Gtk/RecentChooserAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -50,8 +87,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentInfo @@ -62,8 +103,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -75,7 +120,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -87,8 +136,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("filter") @@ -104,296 +157,76 @@ - + + Method + + 2.12.0.0 + Gtk.RecentChooser - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - Method - - System.String - - - + - To be added. + To be added. To be added. To be added. To be added. - - - Event - - - GLib.Signal("item-activated") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Property - - GLib.List - - - To be added. - To be added. - To be added. - - - - - Property - - - GLib.Property("limit") - - - - System.Int32 - - - To be added. - To be added. - To be added. - - - - - Method - - GLib.SList - - - - To be added. - To be added. - To be added. - - - - - Property - - - GLib.Property("local-only") - - - - System.Boolean - - - 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. - - - - - Event - - - GLib.Signal("selection-changed") - - - - System.EventHandler - - - To be added. - To be added. - - - - - Property - - - GLib.Property("select-multiple") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.RecentChooser - + + - 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 + System.String - + - To be added. + To be added. To be added. To be added. To be added. - - - Property - - - GLib.Property("show-icons") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Property - - - GLib.Property("show-not-found") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - - System.Obsolete - - - - - + + + Property - - - GLib.Property("show-private") - - + + 2.12.0.0 + - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Property - - - GLib.Property("show-tips") - - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - Property - - Gtk.RecentSortFunc + GLib.GType To be added. @@ -401,16 +234,15 @@ To be added. - - + + + Property - - - GLib.Property("sort-type") - - + + 2.12.0.0 + - Gtk.RecentSortType + System.IntPtr To be added. @@ -418,36 +250,13 @@ To be added. - - - Method - - System.Void - - - - To be added. - To be added. - - - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - + + Property + + 2.12.0.0 + Gtk.RecentChooserImplementor @@ -459,7 +268,11 @@ + Event + + 2.12.0.0 + GLib.Signal("item-activated") @@ -474,8 +287,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -486,8 +303,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("limit") @@ -504,7 +325,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -516,8 +341,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("local-only") @@ -534,7 +363,11 @@ + Method + + 2.12.0.0 + System.Void @@ -549,7 +382,11 @@ + Method + + 2.12.0.0 + System.Void @@ -561,7 +398,11 @@ + Event + + 2.12.0.0 + GLib.Signal("selection-changed") @@ -576,8 +417,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("select-multiple") @@ -594,7 +439,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -610,7 +459,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -625,8 +478,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-icons") @@ -642,8 +499,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-not-found") @@ -659,8 +520,12 @@ - + + Property + + 2.12.0.0 + System.Obsolete @@ -676,8 +541,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-private") @@ -693,8 +562,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-tips") @@ -710,8 +583,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -722,8 +599,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("sort-type") @@ -740,7 +621,11 @@ + Method + + 2.12.0.0 + System.Void @@ -752,7 +637,11 @@ + Method + + 2.12.0.0 + System.Void @@ -766,9 +655,4 @@ - - RecentChooser interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/RecentChooserDefault.xml b/doc/en/Gtk/RecentChooserDefault.xml index a3b4e7a02..759e39d17 100644 --- a/doc/en/Gtk/RecentChooserDefault.xml +++ b/doc/en/Gtk/RecentChooserDefault.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ Gtk.RecentChooser + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +34,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -41,7 +55,11 @@ + Constructor + + 2.12.0.0 + @@ -53,7 +71,11 @@ + Method + + 2.12.0.0 + System.Void @@ -67,8 +89,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentInfo @@ -79,8 +105,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -91,8 +121,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("filter") @@ -109,7 +143,11 @@ + Method + + 2.12.0.0 + System.String @@ -125,7 +163,11 @@ + Event + + 2.12.0.0 + GLib.Signal("item-activated") @@ -140,8 +182,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -152,8 +198,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("limit") @@ -170,7 +220,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -182,8 +236,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("local-only") @@ -200,7 +258,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserDefault)) + + System.Void @@ -212,7 +279,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserDefault)) + + System.Void @@ -224,7 +300,11 @@ + Method + + 2.12.0.0 + System.Void @@ -239,7 +319,11 @@ + Method + + 2.12.0.0 + System.Void @@ -251,7 +335,11 @@ + Event + + 2.12.0.0 + GLib.Signal("selection-changed") @@ -266,8 +354,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("select-multiple") @@ -284,7 +376,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -300,7 +396,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -315,8 +415,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-icons") @@ -332,8 +436,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-not-found") @@ -349,8 +457,17 @@ - + + Property + + 2.12.0.0 + + + + System.Obsolete + + System.Boolean @@ -359,15 +476,14 @@ To be added. To be added. - - - System.Obsolete - - - + + Property + + 2.12.0.0 + GLib.Property("show-private") @@ -383,8 +499,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-tips") @@ -400,8 +520,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -412,8 +536,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("sort-type") @@ -430,7 +558,11 @@ + Method + + 2.12.0.0 + System.Void @@ -442,7 +574,11 @@ + Method + + 2.12.0.0 + System.Void @@ -456,9 +592,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentChooserDialog.xml b/doc/en/Gtk/RecentChooserDialog.xml index 83aacf586..7dedabc9d 100644 --- a/doc/en/Gtk/RecentChooserDialog.xml +++ b/doc/en/Gtk/RecentChooserDialog.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ Gtk.RecentChooser + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +34,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -41,7 +55,11 @@ + Constructor + + 2.12.0.0 + @@ -53,7 +71,11 @@ + Method + + 2.12.0.0 + System.Void @@ -67,8 +89,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentInfo @@ -79,8 +105,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -91,8 +121,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("filter") @@ -109,7 +143,11 @@ + Method + + 2.12.0.0 + System.String @@ -124,8 +162,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -137,7 +179,11 @@ + Event + + 2.12.0.0 + GLib.Signal("item-activated") @@ -152,8 +198,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -164,8 +214,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("limit") @@ -182,7 +236,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -194,8 +252,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("local-only") @@ -212,7 +274,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserDialog)) + + System.Void @@ -224,7 +295,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserDialog)) + + System.Void @@ -236,7 +316,11 @@ + Method + + 2.12.0.0 + System.Void @@ -251,7 +335,11 @@ + Method + + 2.12.0.0 + System.Void @@ -263,7 +351,11 @@ + Event + + 2.12.0.0 + GLib.Signal("selection-changed") @@ -278,8 +370,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("select-multiple") @@ -296,7 +392,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -312,7 +412,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -327,8 +431,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-icons") @@ -344,8 +452,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-not-found") @@ -361,8 +473,17 @@ - + + Property + + 2.12.0.0 + + + + System.Obsolete + + System.Boolean @@ -371,15 +492,14 @@ To be added. To be added. - - - System.Obsolete - - - + + Property + + 2.12.0.0 + GLib.Property("show-private") @@ -395,8 +515,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-tips") @@ -412,8 +536,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -424,8 +552,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("sort-type") @@ -442,7 +574,11 @@ + Method + + 2.12.0.0 + System.Void @@ -454,7 +590,11 @@ + Method + + 2.12.0.0 + System.Void @@ -468,9 +608,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentChooserError.xml b/doc/en/Gtk/RecentChooserError.xml index 32a7eb158..c5e974049 100644 --- a/doc/en/Gtk/RecentChooserError.xml +++ b/doc/en/Gtk/RecentChooserError.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.RecentChooserErrorGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.RecentChooserError @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserError @@ -34,9 +48,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentChooserImplementor.xml b/doc/en/Gtk/RecentChooserImplementor.xml index c14edd9f1..758502b5a 100644 --- a/doc/en/Gtk/RecentChooserImplementor.xml +++ b/doc/en/Gtk/RecentChooserImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.RecentChooserAdapter)) + + RecentChooser implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Void @@ -31,8 +41,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -43,8 +57,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -56,7 +74,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -68,8 +90,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentManager @@ -81,7 +107,11 @@ + Method + + 2.12.0.0 + System.Void @@ -96,7 +126,11 @@ + Method + + 2.12.0.0 + System.Void @@ -108,7 +142,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -124,7 +162,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -139,8 +181,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -152,7 +198,11 @@ + Method + + 2.12.0.0 + System.Void @@ -164,7 +214,11 @@ + Method + + 2.12.0.0 + System.Void @@ -178,9 +232,4 @@ - - RecentChooser implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/RecentChooserMenu.xml b/doc/en/Gtk/RecentChooserMenu.xml index d9880c86e..8a2c321f8 100644 --- a/doc/en/Gtk/RecentChooserMenu.xml +++ b/doc/en/Gtk/RecentChooserMenu.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ Gtk.RecentChooser + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +34,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -41,7 +55,11 @@ + Constructor + + 2.12.0.0 + @@ -53,7 +71,11 @@ + Constructor + + 2.12.0.0 + @@ -65,7 +87,11 @@ + Method + + 2.12.0.0 + System.Void @@ -79,8 +105,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentInfo @@ -91,8 +121,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -103,8 +137,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("filter") @@ -121,7 +159,11 @@ + Method + + 2.12.0.0 + System.String @@ -136,8 +178,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -149,7 +195,11 @@ + Event + + 2.12.0.0 + GLib.Signal("item-activated") @@ -164,8 +214,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -176,8 +230,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("limit") @@ -194,7 +252,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -206,8 +268,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("local-only") @@ -224,7 +290,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserMenu)) + + System.Void @@ -236,7 +311,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserMenu)) + + System.Void @@ -248,7 +332,11 @@ + Method + + 2.12.0.0 + System.Void @@ -263,7 +351,11 @@ + Method + + 2.12.0.0 + System.Void @@ -275,7 +367,11 @@ + Event + + 2.12.0.0 + GLib.Signal("selection-changed") @@ -290,8 +386,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("select-multiple") @@ -308,7 +408,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -324,7 +428,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -339,8 +447,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-icons") @@ -356,8 +468,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-not-found") @@ -373,8 +489,17 @@ - + + Property + + 2.12.0.0 + + + + System.Obsolete + + System.Boolean @@ -383,15 +508,14 @@ To be added. To be added. - - - System.Obsolete - - - + + Property + + 2.12.0.0 + GLib.Property("show-private") @@ -407,8 +531,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-tips") @@ -424,8 +552,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -436,8 +568,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("sort-type") @@ -454,7 +590,11 @@ + Method + + 2.12.0.0 + System.Void @@ -466,7 +606,11 @@ + Method + + 2.12.0.0 + System.Void @@ -480,9 +624,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentChooserProp.xml b/doc/en/Gtk/RecentChooserProp.xml index 94d74393f..2f1010cf2 100644 --- a/doc/en/Gtk/RecentChooserProp.xml +++ b/doc/en/Gtk/RecentChooserProp.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -7,10 +8,19 @@ System.Enum + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -20,7 +30,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -30,7 +44,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -40,7 +58,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -50,7 +72,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -60,7 +86,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -70,7 +100,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -80,7 +114,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -90,7 +128,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -100,7 +142,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -110,7 +156,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -120,7 +170,11 @@ + Field + + 2.12.0.0 + Gtk.RecentChooserProp @@ -129,9 +183,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentChooserWidget.xml b/doc/en/Gtk/RecentChooserWidget.xml index 1e1fd5ce4..f9ec8f651 100644 --- a/doc/en/Gtk/RecentChooserWidget.xml +++ b/doc/en/Gtk/RecentChooserWidget.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ Gtk.RecentChooser + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -24,7 +34,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -41,7 +55,11 @@ + Constructor + + 2.12.0.0 + @@ -53,7 +71,11 @@ + Constructor + + 2.12.0.0 + @@ -65,7 +87,11 @@ + Method + + 2.12.0.0 + System.Void @@ -79,8 +105,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentInfo @@ -91,8 +121,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -103,8 +137,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("filter") @@ -121,7 +159,11 @@ + Method + + 2.12.0.0 + System.String @@ -136,8 +178,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -149,7 +195,11 @@ + Event + + 2.12.0.0 + GLib.Signal("item-activated") @@ -164,8 +214,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -176,8 +230,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("limit") @@ -194,7 +252,11 @@ + Method + + 2.12.0.0 + GLib.SList @@ -206,8 +268,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("local-only") @@ -224,7 +290,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserWidget)) + + System.Void @@ -236,7 +311,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserWidget)) + + System.Void @@ -248,7 +332,11 @@ + Method + + 2.12.0.0 + System.Void @@ -263,7 +351,11 @@ + Method + + 2.12.0.0 + System.Void @@ -275,7 +367,11 @@ + Event + + 2.12.0.0 + GLib.Signal("selection-changed") @@ -290,8 +386,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("select-multiple") @@ -308,7 +408,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -324,7 +428,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -339,8 +447,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-icons") @@ -356,8 +468,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-not-found") @@ -373,8 +489,17 @@ - + + Property + + 2.12.0.0 + + + + System.Obsolete + + System.Boolean @@ -383,15 +508,14 @@ To be added. To be added. - - - System.Obsolete - - - + + Property + + 2.12.0.0 + GLib.Property("show-private") @@ -407,8 +531,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("show-tips") @@ -424,8 +552,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentSortFunc @@ -436,8 +568,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("sort-type") @@ -454,7 +590,11 @@ + Method + + 2.12.0.0 + System.Void @@ -466,7 +606,11 @@ + Method + + 2.12.0.0 + System.Void @@ -480,9 +624,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentData.xml b/doc/en/Gtk/RecentData.xml index 2ef180dce..9efa66d17 100644 --- a/doc/en/Gtk/RecentData.xml +++ b/doc/en/Gtk/RecentData.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ System.ValueType + + To be added. + To be added. + + + Field + + 2.12.0.0 + System.String @@ -22,7 +32,11 @@ + Field + + 2.12.0.0 + System.String @@ -33,7 +47,11 @@ + Field + + 2.12.0.0 + System.String @@ -44,7 +62,11 @@ + Field + + 2.12.0.0 + System.String @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + System.String @@ -66,7 +92,11 @@ + Field + + 2.12.0.0 + System.Boolean @@ -77,7 +107,11 @@ + Field + + 2.12.0.0 + System.String @@ -88,7 +122,11 @@ + Method + + 2.12.0.0 + Gtk.RecentData @@ -104,7 +142,11 @@ + Field + + 2.12.0.0 + Gtk.RecentData @@ -114,9 +156,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentFilter.xml b/doc/en/Gtk/RecentFilter.xml index ed11156c5..b93a9bd2e 100644 --- a/doc/en/Gtk/RecentFilter.xml +++ b/doc/en/Gtk/RecentFilter.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Gtk.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -49,7 +67,11 @@ + Method + + 2.12.0.0 + System.Void @@ -64,7 +86,11 @@ + Method + + 2.12.0.0 + System.Void @@ -79,7 +105,11 @@ + Method + + 2.12.0.0 + System.Void @@ -96,7 +126,11 @@ + Method + + 2.12.0.0 + System.Void @@ -111,7 +145,11 @@ + Method + + 2.12.0.0 + System.Void @@ -126,7 +164,11 @@ + Method + + 2.12.0.0 + System.Void @@ -141,7 +183,11 @@ + Method + + 2.12.0.0 + System.Void @@ -153,7 +199,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -168,8 +218,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -180,8 +234,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -192,8 +250,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -204,9 +266,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentFilterFlags.xml b/doc/en/Gtk/RecentFilterFlags.xml index 518bbea12..3c9dc01b2 100644 --- a/doc/en/Gtk/RecentFilterFlags.xml +++ b/doc/en/Gtk/RecentFilterFlags.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -15,10 +16,19 @@ System.Flags + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -28,7 +38,11 @@ + Field + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -38,7 +52,11 @@ + Field + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -48,7 +66,11 @@ + Field + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -58,7 +80,11 @@ + Field + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -68,7 +94,11 @@ + Field + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -77,9 +107,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentFilterFunc.xml b/doc/en/Gtk/RecentFilterFunc.xml index f2d58fde5..4076133a4 100644 --- a/doc/en/Gtk/RecentFilterFunc.xml +++ b/doc/en/Gtk/RecentFilterFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/RecentFilterInfo.xml b/doc/en/Gtk/RecentFilterInfo.xml index 59aab4436..18e1cf035 100644 --- a/doc/en/Gtk/RecentFilterInfo.xml +++ b/doc/en/Gtk/RecentFilterInfo.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ System.ValueType + + To be added. + To be added. + + + Field + + 2.12.0.0 + System.Int32 @@ -22,7 +32,11 @@ + Field + + 2.12.0.0 + System.String @@ -33,7 +47,11 @@ + Field + + 2.12.0.0 + Gtk.RecentFilterFlags @@ -44,7 +62,11 @@ + Field + + 2.12.0.0 + System.String @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + System.String @@ -66,7 +92,11 @@ + Field + + 2.12.0.0 + System.String @@ -77,7 +107,11 @@ + Method + + 2.12.0.0 + Gtk.RecentFilterInfo @@ -93,7 +127,11 @@ + Field + + 2.12.0.0 + System.String @@ -104,7 +142,11 @@ + Field + + 2.12.0.0 + Gtk.RecentFilterInfo @@ -114,9 +156,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentInfo.xml b/doc/en/Gtk/RecentInfo.xml index cae6a8cb7..89f9a8a77 100644 --- a/doc/en/Gtk/RecentInfo.xml +++ b/doc/en/Gtk/RecentInfo.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Opaque + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + @@ -22,8 +32,12 @@ - + + Property + + 2.12.0.0 + System.DateTime @@ -34,8 +48,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -46,8 +64,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -58,8 +80,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -71,7 +97,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -82,17 +112,37 @@ 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. @@ -106,7 +156,11 @@ + Method + + 2.12.0.0 + System.String @@ -122,7 +176,11 @@ + Method + + 2.12.0.0 + System.String @@ -138,7 +196,11 @@ + Method + + 2.12.0.0 + Gdk.Pixbuf @@ -153,8 +215,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -166,7 +232,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -182,7 +252,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -197,8 +271,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -210,7 +288,11 @@ + Method + + 2.12.0.0 + System.String @@ -223,7 +305,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -238,8 +324,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -250,8 +340,12 @@ - + + Property + + 2.12.0.0 + System.DateTime @@ -262,8 +356,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -273,9 +371,32 @@ 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 @@ -285,9 +406,32 @@ 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 @@ -298,8 +442,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -310,8 +458,12 @@ - + + Property + + 2.12.0.0 + System.DateTime @@ -322,9 +474,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentManager.xml b/doc/en/Gtk/RecentManager.xml index 7f1a6036c..e27e15e0a 100644 --- a/doc/en/Gtk/RecentManager.xml +++ b/doc/en/Gtk/RecentManager.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -49,7 +67,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -67,7 +89,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -83,7 +109,11 @@ + Event + + 2.12.0.0 + GLib.Signal("changed") @@ -98,8 +128,12 @@ - + + Property + + 2.12.0.0 + Gtk.RecentManager @@ -111,7 +145,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -123,8 +161,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("filename") @@ -141,7 +183,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete + + Gtk.RecentManager @@ -156,8 +207,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -169,7 +224,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -184,8 +243,12 @@ - + + Property + + 2.12.0.0 + GLib.List @@ -196,8 +259,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("limit") @@ -214,7 +281,11 @@ + Method + + 2.12.0.0 + Gtk.RecentInfo @@ -230,7 +301,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -248,7 +323,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.RecentManager)) + + System.Void @@ -260,7 +344,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -273,7 +361,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -288,8 +380,17 @@ - + + Property + + 2.12.0.0 + + + + System.Obsolete + + Gdk.Screen @@ -298,15 +399,14 @@ To be added. To be added. - - - System.Obsolete - - - + + Property + + 2.12.0.0 + GLib.Property("size") @@ -322,9 +422,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentManagerError.xml b/doc/en/Gtk/RecentManagerError.xml index 67ba3e109..769def412 100644 --- a/doc/en/Gtk/RecentManagerError.xml +++ b/doc/en/Gtk/RecentManagerError.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.RecentManagerErrorGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.RecentManagerError @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.RecentManagerError @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.RecentManagerError @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.RecentManagerError @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + Gtk.RecentManagerError @@ -65,7 +91,11 @@ + Field + + 2.12.0.0 + Gtk.RecentManagerError @@ -75,7 +105,11 @@ + Field + + 2.12.0.0 + Gtk.RecentManagerError @@ -84,9 +118,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RecentSortFunc.xml b/doc/en/Gtk/RecentSortFunc.xml index 5f1ef727f..d698f4f3f 100644 --- a/doc/en/Gtk/RecentSortFunc.xml +++ b/doc/en/Gtk/RecentSortFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/RecentSortType.xml b/doc/en/Gtk/RecentSortType.xml index a4d218a00..dd656292a 100644 --- a/doc/en/Gtk/RecentSortType.xml +++ b/doc/en/Gtk/RecentSortType.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.RecentSortTypeGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.RecentSortType @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.RecentSortType @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.RecentSortType @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.RecentSortType @@ -54,9 +76,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/RedirectArgs.xml b/doc/en/Gtk/RedirectArgs.xml index f496fc0c3..8c541eaf9 100644 --- a/doc/en/Gtk/RedirectArgs.xml +++ b/doc/en/Gtk/RedirectArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.Int32 @@ -41,8 +50,12 @@ - + + Property + + 3.16.0.0 + System.String diff --git a/doc/en/Gtk/RedirectHandler.xml b/doc/en/Gtk/RedirectHandler.xml index 0994a13c4..c1bed4da1 100644 --- a/doc/en/Gtk/RedirectHandler.xml +++ b/doc/en/Gtk/RedirectHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ReliefStyle.xml b/doc/en/Gtk/ReliefStyle.xml index c5c7cd8a5..0c852a6cd 100644 --- a/doc/en/Gtk/ReliefStyle.xml +++ b/doc/en/Gtk/ReliefStyle.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This enumeration provides the possible values for the - relief style for a . - - System.Enum @@ -20,40 +16,57 @@ 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 normal relief style. + Value for a partial relief style. - - + + + Field + + 2.12.0.0 + Gtk.ReliefStyle - Value for a partial relief style. + Value for a not using relief. - - + + + Field + + 2.12.0.0 + Gtk.ReliefStyle - Value for a not using relief. + Value for a normal relief style. diff --git a/doc/en/Gtk/ReloadState.xml b/doc/en/Gtk/ReloadState.xml index 7e851a34e..977173ec7 100644 --- a/doc/en/Gtk/ReloadState.xml +++ b/doc/en/Gtk/ReloadState.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -7,41 +8,53 @@ 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 - Was Unmapped. + Empty. - - + + + Field + + 2.12.0.0 + Gtk.ReloadState - Empty. + Has Folder. - - + + + Field + + 2.12.0.0 + Gtk.ReloadState - Has Folder. + Was Unmapped. - - Reload State enumeration. - Do not use. This type is exposed as part of the FileChooser implementation internals. - - diff --git a/doc/en/Gtk/RemovedArgs.xml b/doc/en/Gtk/RemovedArgs.xml index 0d83cb061..d4ab97440 100644 --- a/doc/en/Gtk/RemovedArgs.xml +++ b/doc/en/Gtk/RemovedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/RemovedHandler.xml b/doc/en/Gtk/RemovedHandler.xml index 85281d72a..a47a49395 100644 --- a/doc/en/Gtk/RemovedHandler.xml +++ b/doc/en/Gtk/RemovedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ReorderTabArgs.xml b/doc/en/Gtk/ReorderTabArgs.xml index 8b0889aaa..7e23c1a09 100644 --- a/doc/en/Gtk/ReorderTabArgs.xml +++ b/doc/en/Gtk/ReorderTabArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.DirectionType @@ -31,8 +47,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -43,11 +63,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/ReorderTabHandler.xml b/doc/en/Gtk/ReorderTabHandler.xml index 4e577f5da..fe234540f 100644 --- a/doc/en/Gtk/ReorderTabHandler.xml +++ b/doc/en/Gtk/ReorderTabHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/RequestPageSetupArgs.xml b/doc/en/Gtk/RequestPageSetupArgs.xml index c623e4929..4a2361a46 100644 --- a/doc/en/Gtk/RequestPageSetupArgs.xml +++ b/doc/en/Gtk/RequestPageSetupArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + Gtk.PrintContext @@ -31,8 +47,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -43,8 +63,12 @@ - + + Property + + 2.12.0.0 + Gtk.PageSetup @@ -55,11 +79,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/RequestPageSetupHandler.xml b/doc/en/Gtk/RequestPageSetupHandler.xml index c3447bd5f..fa5b86b45 100644 --- a/doc/en/Gtk/RequestPageSetupHandler.xml +++ b/doc/en/Gtk/RequestPageSetupHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/Requisition.xml b/doc/en/Gtk/Requisition.xml index f332ec6ec..3bb76fda4 100644 --- a/doc/en/Gtk/Requisition.xml +++ b/doc/en/Gtk/Requisition.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 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. @@ -16,42 +21,19 @@ How a widget determines its desired size depends on the widget. 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. - - System.ValueType - - - - - Field - - Gtk.Requisition - - - - An empty object. - - - - - - Method - - Gtk.Requisition - - - - - - Constructor. - A , the underlying C object. - A - Not for general developer use. - - + Method + + 2.12.0.0 + + + + System.Obsolete("This is a no-op") + + Gtk.Requisition @@ -63,8 +45,12 @@ The size requisition phase of the widget layout process operates top-down. It st - + + Property + + 2.12.0.0 + GLib.GType @@ -75,63 +61,115 @@ The size requisition phase of the widget layout process operates top-down. It st Returns the native value for . - - + + + Field + + 2.12.0.0 + System.Int32 - The requested width. + The requested height. - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.Requisition + - The requested height. - + A , the underlying C object. + Constructor. + A + Not for general developer use. - + + Method + + 2.12.0.0 + - GLib.Value + Gtk.Requisition - + - To be added. + To be added. To be added. To be added. To be added. - + + Method + + 2.12.0.0 + - Gtk.Requisition + GLib.Value - + - To be added. + 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. + + + diff --git a/doc/en/Gtk/ResizeMode.xml b/doc/en/Gtk/ResizeMode.xml index 51917266b..cc9cae253 100644 --- a/doc/en/Gtk/ResizeMode.xml +++ b/doc/en/Gtk/ResizeMode.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by Container - - - This enumeration is used by to decide how resize behaves. - - - System.Enum @@ -23,51 +16,71 @@ 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 - Resize request is sent to the parent. + Perform the resizes now. - Resize request is sent to the parent. + Perform the resizes now. - - + + + Field + + 2.12.0.0 + Gtk.ResizeMode - Queue resizes are sent to the widget. + Resize request is sent to the parent. - Queue resizes are sent to the widget. + Resize request is sent to the parent. - - + + + Field + + 2.12.0.0 + Gtk.ResizeMode - Perform the resizes now. + Queue resizes are sent to the widget. - Perform the resizes now. + Queue resizes are sent to the widget. diff --git a/doc/en/Gtk/ResponseArgs.xml b/doc/en/Gtk/ResponseArgs.xml index 8bc480e34..4cfd7ec1d 100644 --- a/doc/en/Gtk/ResponseArgs.xml +++ b/doc/en/Gtk/ResponseArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.ResponseType diff --git a/doc/en/Gtk/ResponseHandler.xml b/doc/en/Gtk/ResponseHandler.xml index a17ab1d72..549e5ba67 100644 --- a/doc/en/Gtk/ResponseHandler.xml +++ b/doc/en/Gtk/ResponseHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ResponseType.xml b/doc/en/Gtk/ResponseType.xml index f06a3d1c5..e52824922 100644 --- a/doc/en/Gtk/ResponseType.xml +++ b/doc/en/Gtk/ResponseType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 . @@ -19,47 +28,50 @@ convience. - - System.Enum - - - - GLib.GType(typeof(Gtk.ResponseTypeGType)) - - - - + + + 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. + 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. + Convenience response type to be used in the constructors of the class. - - + + + Field + + 2.12.0.0 + Gtk.ResponseType @@ -71,35 +83,47 @@ - - + + + Field + + 2.12.0.0 + Gtk.ResponseType - This is returned when the dialog is deleted. + + 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. - + This is returned when the dialog is deleted. - - + + + Field + + 2.12.0.0 + Gtk.ResponseType @@ -111,9 +135,13 @@ - - + + + Field + + 2.12.0.0 + Gtk.ResponseType @@ -125,23 +153,32 @@ - - + + + Field + + 2.12.0.0 + Gtk.ResponseType - Convenience response type to be used in the constructors of the class. + 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 @@ -153,23 +190,31 @@ - - + + + Field + + 2.12.0.0 + Gtk.ResponseType - Convenience response type to be used in the constructors of the class. + Convenience response type to be used in the constructors of the class. - - + + + Field + + 2.12.0.0 + Gtk.ResponseType diff --git a/doc/en/Gtk/RetrieveSurroundingArgs.xml b/doc/en/Gtk/RetrieveSurroundingArgs.xml index f1666f0f6..d752f0221 100644 --- a/doc/en/Gtk/RetrieveSurroundingArgs.xml +++ b/doc/en/Gtk/RetrieveSurroundingArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/RetrieveSurroundingHandler.xml b/doc/en/Gtk/RetrieveSurroundingHandler.xml index 1924a79cb..2c6de6270 100644 --- a/doc/en/Gtk/RetrieveSurroundingHandler.xml +++ b/doc/en/Gtk/RetrieveSurroundingHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -18,15 +29,5 @@ - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowActivatedArgs.xml b/doc/en/Gtk/RowActivatedArgs.xml index 930736152..d98031ba5 100644 --- a/doc/en/Gtk/RowActivatedArgs.xml +++ b/doc/en/Gtk/RowActivatedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeViewColumn @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreePath diff --git a/doc/en/Gtk/RowActivatedHandler.xml b/doc/en/Gtk/RowActivatedHandler.xml index 668f69a71..0ae14c9ba 100644 --- a/doc/en/Gtk/RowActivatedHandler.xml +++ b/doc/en/Gtk/RowActivatedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowChangedArgs.xml b/doc/en/Gtk/RowChangedArgs.xml index 813cd3005..a42b7debb 100644 --- a/doc/en/Gtk/RowChangedArgs.xml +++ b/doc/en/Gtk/RowChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -48,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeIter @@ -60,8 +69,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreePath diff --git a/doc/en/Gtk/RowChangedHandler.xml b/doc/en/Gtk/RowChangedHandler.xml index 044d3e9ae..9a7ad6a23 100644 --- a/doc/en/Gtk/RowChangedHandler.xml +++ b/doc/en/Gtk/RowChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowCollapsedArgs.xml b/doc/en/Gtk/RowCollapsedArgs.xml index 77242c703..4ab7be7c0 100644 --- a/doc/en/Gtk/RowCollapsedArgs.xml +++ b/doc/en/Gtk/RowCollapsedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - Gtk.TreePath + Gtk.TreeIter - The path of the row that was expanded. - A + The row that was collapsed. + A - - + + + Property + + 2.12.0.0 + - Gtk.TreeIter + Gtk.TreePath - The row that was collapsed. - A + The path of the row that was expanded. + A diff --git a/doc/en/Gtk/RowCollapsedHandler.xml b/doc/en/Gtk/RowCollapsedHandler.xml index 8b5e23d84..69336c087 100644 --- a/doc/en/Gtk/RowCollapsedHandler.xml +++ b/doc/en/Gtk/RowCollapsedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowDeletedArgs.xml b/doc/en/Gtk/RowDeletedArgs.xml index a63c2d491..773fbcbbb 100644 --- a/doc/en/Gtk/RowDeletedArgs.xml +++ b/doc/en/Gtk/RowDeletedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -48,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreePath diff --git a/doc/en/Gtk/RowDeletedHandler.xml b/doc/en/Gtk/RowDeletedHandler.xml index 8607e312d..0e13f3d41 100644 --- a/doc/en/Gtk/RowDeletedHandler.xml +++ b/doc/en/Gtk/RowDeletedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowExpandedArgs.xml b/doc/en/Gtk/RowExpandedArgs.xml index ee6a5f63e..d3e83ca47 100644 --- a/doc/en/Gtk/RowExpandedArgs.xml +++ b/doc/en/Gtk/RowExpandedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - Gtk.TreePath + Gtk.TreeIter - The path of the row that was expanded. - A + The row that was expanded. + A - - + + + Property + + 2.12.0.0 + - Gtk.TreeIter + Gtk.TreePath - The row that was expanded. - A + The path of the row that was expanded. + A diff --git a/doc/en/Gtk/RowExpandedHandler.xml b/doc/en/Gtk/RowExpandedHandler.xml index da069769c..fd41f8640 100644 --- a/doc/en/Gtk/RowExpandedHandler.xml +++ b/doc/en/Gtk/RowExpandedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowHasChildToggledArgs.xml b/doc/en/Gtk/RowHasChildToggledArgs.xml index dc5091efd..04b5c0ca0 100644 --- a/doc/en/Gtk/RowHasChildToggledArgs.xml +++ b/doc/en/Gtk/RowHasChildToggledArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -48,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeIter @@ -60,8 +69,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreePath diff --git a/doc/en/Gtk/RowHasChildToggledHandler.xml b/doc/en/Gtk/RowHasChildToggledHandler.xml index 8c44f8017..8c7a60bcf 100644 --- a/doc/en/Gtk/RowHasChildToggledHandler.xml +++ b/doc/en/Gtk/RowHasChildToggledHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowInsertedArgs.xml b/doc/en/Gtk/RowInsertedArgs.xml index 3aa45a207..0e1f3e291 100644 --- a/doc/en/Gtk/RowInsertedArgs.xml +++ b/doc/en/Gtk/RowInsertedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -48,8 +53,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeIter @@ -60,8 +69,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreePath diff --git a/doc/en/Gtk/RowInsertedHandler.xml b/doc/en/Gtk/RowInsertedHandler.xml index e906c87c1..3548b018f 100644 --- a/doc/en/Gtk/RowInsertedHandler.xml +++ b/doc/en/Gtk/RowInsertedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/RowsReorderedArgs.xml b/doc/en/Gtk/RowsReorderedArgs.xml index fb1c05c0c..c0e6109b4 100644 --- a/doc/en/Gtk/RowsReorderedArgs.xml +++ b/doc/en/Gtk/RowsReorderedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -47,38 +52,67 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.Int32 + Gtk.TreeIter - The new order of the rows. - A - FIXME: shouldn't this be an array? + 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") - - - - Property - Gtk.TreeIter + System.Int32 - Gets a pointer to the whose rows have been reordered. - A - + The new order of the rows. + A + FIXME: shouldn't this be an array? - + + Property + + 2.12.0.0 + Gtk.TreePath @@ -88,18 +122,5 @@ - - - Property - - 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. - - - diff --git a/doc/en/Gtk/RowsReorderedHandler.xml b/doc/en/Gtk/RowsReorderedHandler.xml index fddd0201f..0b02c36cc 100644 --- a/doc/en/Gtk/RowsReorderedHandler.xml +++ b/doc/en/Gtk/RowsReorderedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Ruler.xml b/doc/en/Gtk/Ruler.xml index 5a2d32a91..6af829e71 100644 --- a/doc/en/Gtk/Ruler.xml +++ b/doc/en/Gtk/Ruler.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,27 +21,69 @@ Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. - - Gtk.Widget - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Draws tickmarks on the ruler. + 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 @@ -45,30 +93,29 @@ - - + + + Method + + 2.12.0.0 + System.Void - - - - - - + - Sets the range information. - 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. + Draws tickmarks on the ruler. + Method + + 2.12.0.0 + System.Void @@ -79,164 +126,170 @@ - Gets the range information. 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. - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - + + + Property + + 2.12.0.0 + - Gtk.MetricType + GLib.GType - - + - 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 . - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("metric") + GLib.Property("lower") - - - - Property System.Double - The upper value to display on the ruler. + The lower limit of the ruler. A + + + + + Property + + 2.12.0.0 + - GLib.Property("upper") + GLib.Property("max-size") - - - - Property System.Double - The position of the mouse mark on the ruler. + The maximum size of the ruler. A + + + + + Property + + 2.12.0.0 + - GLib.Property("position") + GLib.Property("metric") - - - - Property - System.Double + Gtk.MetricType - The maximum size of the ruler. - A - + 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("max-size") + GLib.Property("position") - - - - Property System.Double - The lower limit of the ruler. + The position of the mouse mark on the ruler. A - - - GLib.Property("lower") - - - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - - - 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. + 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 + - System.Obsolete + GLib.Property("upper") - - - - Constructor - - + + System.Double + + + - Protected constructor. + The upper value to display on the ruler. + A diff --git a/doc/en/Gtk/RulerMetric.xml b/doc/en/Gtk/RulerMetric.xml index 8521c69b3..dddea66e2 100644 --- a/doc/en/Gtk/RulerMetric.xml +++ b/doc/en/Gtk/RulerMetric.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,46 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Information about measurement units on objects. - - System.ValueType + + Information about measurement units on objects. + + - - + + + Field + + 2.12.0.0 + - Gtk.RulerMetric - - - - An empty/default RulerMetric. - - - - - - Method - - Gtk.RulerMetric + System.String - - Default constructor. - A , pointer to the underlying C object. - A - For internal use only. + 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 @@ -57,22 +51,33 @@ - - - Field + + + + Method + + 2.12.0.0 + - System.String + Gtk.RulerMetric + - 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. + A , pointer to the underlying C object. + Default constructor. + A + For internal use only. + Field + + 2.12.0.0 + System.Double @@ -85,7 +90,11 @@ + Field + + 2.12.0.0 + System.Double[] @@ -98,7 +107,11 @@ + Field + + 2.12.0.0 + System.Int32[] @@ -109,5 +122,21 @@ + + + + Field + + 2.12.0.0 + + + Gtk.RulerMetric + + + + An empty/default RulerMetric. + + + diff --git a/doc/en/Gtk/Scale.xml b/doc/en/Gtk/Scale.xml index 1f3eade27..6a40a78fc 100644 --- a/doc/en/Gtk/Scale.xml +++ b/doc/en/Gtk/Scale.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,57 +8,108 @@ 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. - - Gtk.Range - - - + + + + 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 + - Internal constructor 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") + + - Gtk.PositionType + System.Int32 - 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. - + Manage the number of decimal places for this slider. + The number of decimal places currently being displayed. + + + + + + Property + + 2.12.0.0 + - GLib.Property("value-pos") + GLib.Property("draw-value") - - - - Property System.Boolean @@ -70,34 +122,19 @@ Use the property to alter the position of displayed value. - - - GLib.Property("draw-value") - - - - - Property - - System.Int32 - - - - - Manage the number of decimal places for this slider. - The number of decimal places currently being displayed. - - + + + + Event + + 2.12.0.0 + - GLib.Property("digits") + GLib.Signal("format_value") - - - - Event Gtk.FormatValueHandler @@ -108,15 +145,44 @@ Note: The signature of this event handler is currently incorrect. - - - GLib.Signal("format_value") - - + + + + + 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 @@ -127,9 +193,37 @@ 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 @@ -137,79 +231,35 @@ - Default handler for the event. a + 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. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("value-pos") - - - - Constructor - - - - Protected constructor. - - - - - - Property - Pango.Layout - - - - Gets the used to display the scale. - a - - - - - - - - Method - - System.Void + Gtk.PositionType - - - - Obtains the coordinates where the scale will draw the - representing the text in the scale. - - a , location to store X offset of layout - a , location to store Y offset of layout + Manage the position of the value, relative to the slider. + Where the value is currently being drawn. - 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. - - + Note: This property is only meaningful if a value is being drawn. To ensure a value is drawn, use the property. + diff --git a/doc/en/Gtk/ScaleButton.xml b/doc/en/Gtk/ScaleButton.xml index d52570f16..a6fbfc0ae 100644 --- a/doc/en/Gtk/ScaleButton.xml +++ b/doc/en/Gtk/ScaleButton.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,35 @@ 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 + @@ -29,21 +55,13 @@ To be added. - - - Constructor - - - - - To be added. - To be added. - To be added. - - - + + Property + + 2.12.0.0 + GLib.Property("adjustment") @@ -59,8 +77,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -71,8 +93,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("icons") @@ -89,7 +115,16 @@ + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.ScaleButton)) + + System.Void @@ -103,8 +138,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("size") @@ -120,8 +159,12 @@ - + + Property + + 2.12.0.0 + GLib.Property("value") @@ -138,7 +181,11 @@ + Event + + 2.12.0.0 + GLib.Signal("value-changed") @@ -153,9 +200,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/ScreenChangedArgs.xml b/doc/en/Gtk/ScreenChangedArgs.xml index 2ae4dc88c..686757be0 100644 --- a/doc/en/Gtk/ScreenChangedArgs.xml +++ b/doc/en/Gtk/ScreenChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Screen diff --git a/doc/en/Gtk/ScreenChangedHandler.xml b/doc/en/Gtk/ScreenChangedHandler.xml index 60ac8bd54..39d393cb3 100644 --- a/doc/en/Gtk/ScreenChangedHandler.xml +++ b/doc/en/Gtk/ScreenChangedHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ScrollAdjustmentsSetArgs.xml b/doc/en/Gtk/ScrollAdjustmentsSetArgs.xml index 44ea0f8fc..d9fb210c2 100644 --- a/doc/en/Gtk/ScrollAdjustmentsSetArgs.xml +++ b/doc/en/Gtk/ScrollAdjustmentsSetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -37,14 +42,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -52,26 +57,34 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + Gtk.Adjustment - The vertical adjustment for the scrolling event. + The horizontal adjustment for the scrolling event. a - - + + + Property + + 2.12.0.0 + Gtk.Adjustment - The horizontal adjustment for the scrolling event. + The vertical adjustment for the scrolling event. a diff --git a/doc/en/Gtk/ScrollAdjustmentsSetHandler.xml b/doc/en/Gtk/ScrollAdjustmentsSetHandler.xml index ee14b4a65..a9a62eb33 100644 --- a/doc/en/Gtk/ScrollAdjustmentsSetHandler.xml +++ b/doc/en/Gtk/ScrollAdjustmentsSetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -39,15 +50,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ScrollArgs.xml b/doc/en/Gtk/ScrollArgs.xml index c16d27e54..05e5a0ecc 100644 --- a/doc/en/Gtk/ScrollArgs.xml +++ b/doc/en/Gtk/ScrollArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -28,9 +33,29 @@ 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 @@ -41,8 +66,12 @@ - + + Property + + 3.16.0.0 + Gtk.ScrollType @@ -52,17 +81,5 @@ - - - Property - - Gtk.Orientation - - - The orientation of the scroller in question, horizontal or vertical. - A - - - diff --git a/doc/en/Gtk/ScrollChildArgs.xml b/doc/en/Gtk/ScrollChildArgs.xml index 13b73013b..c1bdc1a1b 100644 --- a/doc/en/Gtk/ScrollChildArgs.xml +++ b/doc/en/Gtk/ScrollChildArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + Gtk.ScrollType diff --git a/doc/en/Gtk/ScrollChildHandler.xml b/doc/en/Gtk/ScrollChildHandler.xml index 9dc7cab27..525d7f349 100644 --- a/doc/en/Gtk/ScrollChildHandler.xml +++ b/doc/en/Gtk/ScrollChildHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ScrollEventArgs.xml b/doc/en/Gtk/ScrollEventArgs.xml index 757e86e41..e5cb2e396 100644 --- a/doc/en/Gtk/ScrollEventArgs.xml +++ b/doc/en/Gtk/ScrollEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventScroll diff --git a/doc/en/Gtk/ScrollEventHandler.xml b/doc/en/Gtk/ScrollEventHandler.xml index f023976ac..4532e398a 100644 --- a/doc/en/Gtk/ScrollEventHandler.xml +++ b/doc/en/Gtk/ScrollEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ScrollHandler.xml b/doc/en/Gtk/ScrollHandler.xml index dacf279d5..285b66592 100644 --- a/doc/en/Gtk/ScrollHandler.xml +++ b/doc/en/Gtk/ScrollHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ScrollStep.xml b/doc/en/Gtk/ScrollStep.xml index 64d1237af..2fa438372 100644 --- a/doc/en/Gtk/ScrollStep.xml +++ b/doc/en/Gtk/ScrollStep.xml @@ -1,17 +1,12 @@ + 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. - - ScrollStep enum - - - - System.Enum @@ -20,52 +15,74 @@ GLib.GType(typeof(Gtk.ScrollStepGType)) + + ScrollStep enum + + + + - - + + + Field + + 2.12.0.0 + Gtk.ScrollStep - Steps + Ends - - + + + Field + + 2.12.0.0 + Gtk.ScrollStep - Pages + Horizontal Ends - - + + + Field + + 2.12.0.0 + Gtk.ScrollStep - Ends + Horizontal Pages + Field + + 2.12.0.0 + Gtk.ScrollStep @@ -77,30 +94,38 @@ - - + + + Field + + 2.12.0.0 + Gtk.ScrollStep - Horizontal Pages + Pages - - + + + Field + + 2.12.0.0 + Gtk.ScrollStep - Horizontal Ends + Steps diff --git a/doc/en/Gtk/ScrollType.xml b/doc/en/Gtk/ScrollType.xml index 03a3e221b..a090da146 100644 --- a/doc/en/Gtk/ScrollType.xml +++ b/doc/en/Gtk/ScrollType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by ScrolledWindow and Range. - - - This enumeration is used by and to decide how scrolling behaves. - - - System.Enum @@ -23,26 +16,42 @@ 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 - The default setting. Indicates that the scrollbar's slider is not moved. + Sets the scrollbar's slider to the end of the scrollbar. - The default setting. Indicates that the scrollbar's slider is not moved. + Sets the scrollbar's slider to the end of the scrollbar. + Field + + 2.12.0.0 + Gtk.ScrollType @@ -56,31 +65,39 @@ - - + + + Field + + 2.12.0.0 + Gtk.ScrollType - Sets the scrollbar's slider back one step increment from its current position. + The default setting. Indicates that the scrollbar's slider is not moved. - The value of the step increment is taken from the underlying in the scrollbar. + The default setting. Indicates that the scrollbar's slider is not moved. - - + + + Field + + 2.12.0.0 + Gtk.ScrollType - Sets the scrollbar's slider forward one step increment from its current position. + 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. @@ -88,25 +105,30 @@ - - + + + Field + + 2.12.0.0 + Gtk.ScrollType - Sets the scrollbar's slider back one page increment from its current position. + Move the slider a page down. - - The value of the step increment is taken from the underlying in the scrollbar. - + Field + + 2.12.0.0 + Gtk.ScrollType @@ -120,35 +142,53 @@ - - + + + Field + + 2.12.0.0 + Gtk.ScrollType - Move the scroller a step up. + 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 - Move the scroller a step down. + 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 @@ -159,112 +199,137 @@ - - + + + Field + + 2.12.0.0 + Gtk.ScrollType - Move the slider a page down. + 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 to the left from its current position. + Sets the scrollbar's slider back one step increment from its current position. - Sets the scrollbar's slider back one step increment to the left 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 forward one step increment to the right from its current position. + Move the scroller a step down. - - Sets the scrollbar's slider forward one step increment to the right from its current position. - - - + + + 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 forward one step increment from its current position. - Sets the scrollbar's slider back one page increment to the left 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 forward one page increment to the right from its current position. + Sets the scrollbar's slider back one step increment to the left from its current position. - Sets the scrollbar's slider forward one page increment to the right 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 to the beginning of the scrollbar. + Sets the scrollbar's slider forward one step increment to the right from its current position. - Sets the scrollbar's slider to the beginning of the scrollbar. - + Sets the scrollbar's slider forward one step increment to the right from its current position. + - - + + + Field + + 2.12.0.0 + Gtk.ScrollType - Sets the scrollbar's slider to the end of the scrollbar. + Move the scroller a step up. - - Sets the scrollbar's slider to the end of the scrollbar. - diff --git a/doc/en/Gtk/Scrollbar.xml b/doc/en/Gtk/Scrollbar.xml index 9f5953590..bc6f7f69b 100644 --- a/doc/en/Gtk/Scrollbar.xml +++ b/doc/en/Gtk/Scrollbar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,70 +8,86 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Base class for and . - - Gtk.Range + + Base class for and . + + - + + Constructor + + 2.12.0.0 + - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + Default constructor. + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - - + + 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 + - Default constructor. - + GType Property. + a + Returns the native value for . diff --git a/doc/en/Gtk/ScrolledWindow.xml b/doc/en/Gtk/ScrolledWindow.xml index 7b9ce1bdb..b7024ad14 100644 --- a/doc/en/Gtk/ScrolledWindow.xml +++ b/doc/en/Gtk/ScrolledWindow.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -21,89 +27,57 @@ - - Gtk.Bin - - - - - - Method - - System.Void - - - - - - Used to add children without native scrolling capabilities. - A - - - 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 - - System.Void - - - - - + + + + Constructor + + 2.12.0.0 + + + - Sets the scrollbar policy for the horizontal and vertical scrollbars. - Policy for horizontal bar. - Policy for vertical bar. - - - 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). - - + Basic constructor. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Retrieves the current policy values for the horizontal and vertical scrollbars. - 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. - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -111,16 +85,20 @@ + Constructor + + 2.12.0.0 + - Creates a new scrolled window. 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. @@ -128,56 +106,89 @@ - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + - Basic constructor. - + 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. + + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.CornerType + System.Void + + - Determines the location of the child widget with respect to the scrollbars. - + 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. - 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 . - + Retrieves the current policy values for the horizontal and vertical scrollbars. + - - + + + Property + + 2.12.0.0 + - Gtk.PolicyType + GLib.GType - - + - When the horizontal scrollbar is displayed. - A - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("hscrollbar-policy") + GLib.Property("hadjustment") - - - - Property Gtk.Adjustment @@ -188,188 +199,256 @@ 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("hadjustment") + GLib.Property("hscrollbar-policy") - - - - Property Gtk.PolicyType - When the vertical scrollbar is displayed. + When the horizontal scrollbar is displayed. A + + + + + Event + + 2.12.0.0 + - GLib.Property("vscrollbar-policy") + GLib.Signal("move_focus_out") - - - - Property - Gtk.Adjustment + Gtk.MoveFocusOutHandler - - + - Sets or Gets the for the vertical scrollbar. - The vertical GtkAdjustment. + Raised when the focus moves out of the scrolled window. + + + + + Method + + 2.12.0.0 + - GLib.Property("vadjustment") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocusOut", Type=typeof(Gtk.ScrolledWindow)) - - - - Property - Gtk.ShadowType + System.Void + - Gets the shadow type of the scrolled window. - The current shadow type. - + 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.Property("shadow-type") + 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 - Where the contents are located with respect to the scrollbars. - A - + 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 . + + - - - GLib.Property("window-placement") - - + Event - - Gtk.ScrollChildHandler - - - - Raised when the child widget is scrolled. - - + + 2.12.0.0 + GLib.Signal("scroll_child") - - - - Event - Gtk.MoveFocusOutHandler + Gtk.ScrollChildHandler - Raised when the focus moves out of the scrolled window. + Raised when the child widget is scrolled. - - - GLib.Signal("move_focus_out") - - - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + - GType Property. - a - Returns the native value for . + 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). + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("shadow-type") + + - System.Void + Gtk.ShadowType - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Gets the shadow type of the scrolled window. + The current shadow type. + - - + + + Method + + 2.12.0.0 + System.Void - - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Disables explicit window placement. + + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("vadjustment") + + Gtk.Adjustment + + + + + Sets or Gets the for the vertical scrollbar. + The vertical GtkAdjustment. + + - + + Property + + 2.12.0.0 + Gtk.Widget @@ -380,35 +459,59 @@ - - + + + Property + + 2.12.0.0 + + + + GLib.Property("vscrollbar-policy") + + - Gtk.Widget + Gtk.PolicyType + + - Horizontal Scrollbar. - the horizontal if it exists, or . + When the vertical scrollbar is displayed. + A - - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("window-placement") + + - System.Void + Gtk.CornerType - + + - Disables explicit window placement. + Where the contents are located with respect to the scrollbars. + A - - + + Property + + 2.12.0.0 + GLib.Property("window-placement-set") diff --git a/doc/en/Gtk/SelectAllArgs.xml b/doc/en/Gtk/SelectAllArgs.xml index acca6e203..f3db80f2f 100644 --- a/doc/en/Gtk/SelectAllArgs.xml +++ b/doc/en/Gtk/SelectAllArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/SelectAllHandler.xml b/doc/en/Gtk/SelectAllHandler.xml index 3bf0fc5ac..431a85b03 100644 --- a/doc/en/Gtk/SelectAllHandler.xml +++ b/doc/en/Gtk/SelectAllHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SelectCursorParentArgs.xml b/doc/en/Gtk/SelectCursorParentArgs.xml index e2e1aa074..9a980a833 100644 --- a/doc/en/Gtk/SelectCursorParentArgs.xml +++ b/doc/en/Gtk/SelectCursorParentArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/SelectCursorParentHandler.xml b/doc/en/Gtk/SelectCursorParentHandler.xml index d122a80e3..b867f179b 100644 --- a/doc/en/Gtk/SelectCursorParentHandler.xml +++ b/doc/en/Gtk/SelectCursorParentHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SelectCursorRowArgs.xml b/doc/en/Gtk/SelectCursorRowArgs.xml index cdf8adfcd..47a7335aa 100644 --- a/doc/en/Gtk/SelectCursorRowArgs.xml +++ b/doc/en/Gtk/SelectCursorRowArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/SelectCursorRowHandler.xml b/doc/en/Gtk/SelectCursorRowHandler.xml index 0a5f13de2..4b5a06602 100644 --- a/doc/en/Gtk/SelectCursorRowHandler.xml +++ b/doc/en/Gtk/SelectCursorRowHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SelectPageArgs.xml b/doc/en/Gtk/SelectPageArgs.xml index dabede4ec..495acd6a2 100644 --- a/doc/en/Gtk/SelectPageArgs.xml +++ b/doc/en/Gtk/SelectPageArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/SelectPageHandler.xml b/doc/en/Gtk/SelectPageHandler.xml index 10f02f2b3..e854a5058 100644 --- a/doc/en/Gtk/SelectPageHandler.xml +++ b/doc/en/Gtk/SelectPageHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Selection.xml b/doc/en/Gtk/Selection.xml index 928d8d1b0..dccebb756 100644 --- a/doc/en/Gtk/Selection.xml +++ b/doc/en/Gtk/Selection.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,73 +8,91 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Object to represent a selection. - - System.Object + + Object to represent a selection. + + - - - Method - - System.Void - - - - - - - + + + + Constructor + + 2.12.0.0 + + + - Add targets for this widget. - a - a - a - a + Public constructor. - - + + + Method + + 2.12.0.0 + System.Void + + - Remove all targets registered for the given selection for the widget. - a - a representing the selection. - + 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 + + + - Removes all handlers and unsets ownership of all - selections for a widget. Called when widget is being - destroyed. a + a + a + a + Add targets for this widget. + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Boolean @@ -82,61 +101,69 @@ - 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 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.Boolean + System.Void - - - Request the contents of a selection. When received, - a event will - be generated. - 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 - a , true if the request succeeded, false if it couldn't be processed. + a + a representing the selection. + Remove all targets registered for the given selection for the widget. - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - Add the specified target to the list of supported targets for this selection. - a , the widget for which this target applies - a , the selection data - a - a - TODO: this could be better-explained. + 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 @@ -146,17 +173,21 @@ - Claims ownership of a given selection for a particular widget, or if is , release ownership of the selection. 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 @@ -167,22 +198,33 @@ - Claims ownership of a given selection on a given display for a particular widget, or if is , release ownership of the selection. 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. - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + - Public constructor. + a + Removes all handlers and unsets ownership of all + selections for a widget. Called when widget is being + destroyed. diff --git a/doc/en/Gtk/SelectionClearEventArgs.xml b/doc/en/Gtk/SelectionClearEventArgs.xml index 2f3e50a0b..f02e89e16 100644 --- a/doc/en/Gtk/SelectionClearEventArgs.xml +++ b/doc/en/Gtk/SelectionClearEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventSelection diff --git a/doc/en/Gtk/SelectionClearEventHandler.xml b/doc/en/Gtk/SelectionClearEventHandler.xml index 6e0ba212d..a736a6b78 100644 --- a/doc/en/Gtk/SelectionClearEventHandler.xml +++ b/doc/en/Gtk/SelectionClearEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SelectionData.xml b/doc/en/Gtk/SelectionData.xml index 3a32ea618..872ba9f93 100644 --- a/doc/en/Gtk/SelectionData.xml +++ b/doc/en/Gtk/SelectionData.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,30 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A type to represent data that's selected as part of a drag-and-drop or clipboard operation. - - GLib.Opaque + + A type to represent data that's selected as part of a drag-and-drop or clipboard operation. + + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + + - Releases memory that was used by this object. + a , pointer to the underlying C data. + Constructor. + Method + + 2.12.0.0 + Gtk.SelectionData @@ -41,39 +51,104 @@ - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Byte[] - - 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 + 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.String + 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 + - The text stored in the selection. - A . - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + GLib.GType @@ -84,62 +159,91 @@ Returns the native value for . - - + + + Property + + 2.12.0.0 + System.Int32 - The unit length of the data in bits. + The length of the selected data. a - On most systems, this is 8 for a string and 32 for - an integer. + - - + + + Property + + 2.12.0.0 + - System.Int32 + Gdk.Pixbuf - The length of the selected data. - a - + To be added + a + To be added + - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + Gdk.Atom + + - Constructor. - a , pointer to the underlying C data. - + The selected data. + a + + - - - Property + + + + Method + + 2.12.0.0 + - System.Byte[] + System.Void - + + + + + - The data as a sequence of bytes. - a + 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 @@ -150,54 +254,65 @@ - Stores new data into this object. Should only be called from a selection handler callback. 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.Void + System.Boolean - - - + - Stores new data into this object. Should only be called from a selection handler callback. - 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 - + a + To be added + a + To be added + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Atom + System.Boolean - + + + - The selected data. - a - - + a + To be added + a + To be added + - + + Property + + 2.12.0.0 + Gdk.Atom @@ -209,8 +324,12 @@ - + + Property + + 2.12.0.0 + Gdk.Atom[] @@ -222,101 +341,76 @@ - - - Property - - Gdk.Atom - - - - The type of selection data - a - XXX: elaborate on the possible values here. - - - - - Property - - Gdk.Pixbuf - - - - To be added - a - To be added - - - - - - Property - - System.String - - - - To be added - a - To be added - - - - - + + + Method + + 2.12.0.0 + System.Boolean - + + a To be added - a a To be added - - + + + Method + + 2.12.0.0 + System.Boolean - + - To be added - a - a - To be added - + To be added. + Indicates if any targets provide rich text. + + . + + - - + + + Method + + 2.12.0.0 + System.Boolean - - - + - To be added - a + + 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 - To be added - + + Method + + 2.12.0.0 + System.Boolean @@ -328,22 +422,57 @@ - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - To be added. - Indicates if any targets provide rich text. - - . + 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 + diff --git a/doc/en/Gtk/SelectionGetArgs.xml b/doc/en/Gtk/SelectionGetArgs.xml index 94d2281a7..b0011de2a 100644 --- a/doc/en/Gtk/SelectionGetArgs.xml +++ b/doc/en/Gtk/SelectionGetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,39 +33,51 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + System.UInt32 - The time this selection was gotten from the source widget. + An enumerator to identify the specific target for this selection. A - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gtk.SelectionData - An enumerator to identify the specific target for this selection. - A + The data from the selection. + a - - + + + Property + + 2.12.0.0 + - Gtk.SelectionData + System.UInt32 - The data from the selection. - a + The time this selection was gotten from the source widget. + A diff --git a/doc/en/Gtk/SelectionGetHandler.xml b/doc/en/Gtk/SelectionGetHandler.xml index 83af816c6..e3182213e 100644 --- a/doc/en/Gtk/SelectionGetHandler.xml +++ b/doc/en/Gtk/SelectionGetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SelectionMode.xml b/doc/en/Gtk/SelectionMode.xml index a2ebe7b5a..f31084502 100644 --- a/doc/en/Gtk/SelectionMode.xml +++ b/doc/en/Gtk/SelectionMode.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by TreeSelection. - - - This enumeration is used by to decide how selection behaves. - - - System.Enum @@ -23,83 +16,111 @@ 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 - Nothing can be selected. + Only one item can be selected at any given moment. Any item currently having focus will be marked as selected. - Nothing can be 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 - Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. + This is the same as "Multiple", but deprecated. Use Multiple instead. - Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. + Note that extended selection should only be used where all items share the exact same callback routine. - - + + + 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. + 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. - Only one item can be selected at any given moment. Any item currently having focus will be marked as selected. + Note that multiple 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. + Nothing can be selected. - Note that multiple selection should only be used where all items share the exact same callback routine. + Nothing can be selected. - - + + + Field + + 2.12.0.0 + Gtk.SelectionMode - This is the same as "Multiple", but deprecated. Use Multiple instead. + Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. - Note that extended selection should only be used where all items share the exact same callback routine. + Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. diff --git a/doc/en/Gtk/SelectionNotifyEventArgs.xml b/doc/en/Gtk/SelectionNotifyEventArgs.xml index 3099ab70c..44f2426a7 100644 --- a/doc/en/Gtk/SelectionNotifyEventArgs.xml +++ b/doc/en/Gtk/SelectionNotifyEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventSelection diff --git a/doc/en/Gtk/SelectionNotifyEventHandler.xml b/doc/en/Gtk/SelectionNotifyEventHandler.xml index 1671f300a..f4a5ab956 100644 --- a/doc/en/Gtk/SelectionNotifyEventHandler.xml +++ b/doc/en/Gtk/SelectionNotifyEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SelectionReceivedArgs.xml b/doc/en/Gtk/SelectionReceivedArgs.xml index f220fe458..34f4ee94e 100644 --- a/doc/en/Gtk/SelectionReceivedArgs.xml +++ b/doc/en/Gtk/SelectionReceivedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gtk.SelectionData - The time this selection was received from the source widget. - A + The data from the selection. + a - - + + + Property + + 2.12.0.0 + - Gtk.SelectionData + System.UInt32 - The data from the selection. - a + The time this selection was received from the source widget. + A diff --git a/doc/en/Gtk/SelectionReceivedHandler.xml b/doc/en/Gtk/SelectionReceivedHandler.xml index 3c4652fa1..9d5198d30 100644 --- a/doc/en/Gtk/SelectionReceivedHandler.xml +++ b/doc/en/Gtk/SelectionReceivedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SelectionRequestEventArgs.xml b/doc/en/Gtk/SelectionRequestEventArgs.xml index e5ffd1455..a36a36b00 100644 --- a/doc/en/Gtk/SelectionRequestEventArgs.xml +++ b/doc/en/Gtk/SelectionRequestEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventSelection diff --git a/doc/en/Gtk/SelectionRequestEventHandler.xml b/doc/en/Gtk/SelectionRequestEventHandler.xml index 319ce1562..315abfc3b 100644 --- a/doc/en/Gtk/SelectionRequestEventHandler.xml +++ b/doc/en/Gtk/SelectionRequestEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SensitivityType.xml b/doc/en/Gtk/SensitivityType.xml index fb8d511fb..a5b6932b6 100644 --- a/doc/en/Gtk/SensitivityType.xml +++ b/doc/en/Gtk/SensitivityType.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.SensitivityTypeGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.SensitivityType @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.SensitivityType @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.SensitivityType @@ -44,9 +62,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/Separator.xml b/doc/en/Gtk/Separator.xml index d079084e6..e8415bb59 100644 --- a/doc/en/Gtk/Separator.xml +++ b/doc/en/Gtk/Separator.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,70 +8,86 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The widget is an abstract class, used only for deriving the subclasses and . - - Gtk.Widget + + The widget is an abstract class, used only for deriving the subclasses and . + + - + + Constructor + + 2.12.0.0 + - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Property - - GLib.GType - - GType Property. - a - Returns the native value for . + Protected constructor. + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - - + + 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 + - Protected constructor. - + GType Property. + a + Returns the native value for . diff --git a/doc/en/Gtk/SeparatorMenuItem.xml b/doc/en/Gtk/SeparatorMenuItem.xml index eb28ab445..a34ea5da5 100644 --- a/doc/en/Gtk/SeparatorMenuItem.xml +++ b/doc/en/Gtk/SeparatorMenuItem.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,44 +21,73 @@ It displays a horizontal line with a shadow to make it appear sunken into the interface. - - Gtk.MenuItem - - - - + + Constructor + + 2.12.0.0 + + + + + Creates a new . + + Creates a new . + +Gtk.SeparatorMenuItem smi = new Gtk.SeparatorMenuItem (); + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new . + Pointer to the C object. + Internal constructor - Creates a new . - -Gtk.SeparatorMenuItem smi = new Gtk.SeparatorMenuItem (); - + This is an internal constructor, and should not be used by user code. + - + + Property + + 2.12.0.0 + GLib.GType @@ -63,23 +98,5 @@ Gtk.SeparatorMenuItem smi = new Gtk.SeparatorMenuItem (); 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 - - - diff --git a/doc/en/Gtk/SeparatorToolItem.xml b/doc/en/Gtk/SeparatorToolItem.xml index c6d96cb61..c22220659 100644 --- a/doc/en/Gtk/SeparatorToolItem.xml +++ b/doc/en/Gtk/SeparatorToolItem.xml @@ -1,100 +1,121 @@ + 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. - - Gtk.ToolItem - - - - + + Constructor + + 2.12.0.0 + - - - + - Protected constructor. - a + Public constructor. + + + + + Constructor + + 2.12.0.0 + System.Obsolete - - - - Constructor - + - Constructor for internal use only. - a , pointer to underlying C object. + a + Protected constructor. - + + Constructor + + 2.12.0.0 + - + + + - Public constructor. + a , pointer to underlying C object. + Constructor for internal use only. - - + + + Property + + 2.12.0.0 + + + + GLib.Property("draw") + + - GLib.GType + System.Boolean - The of this object. - a + Returns whether this object is drawn as a line (true), or + just blank (false). + a - - + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - Returns whether this object is drawn as a line (true), or - just blank (false). - a + The of this object. + a - - - GLib.Property("draw") - - diff --git a/doc/en/Gtk/SetBaseArgs.xml b/doc/en/Gtk/SetBaseArgs.xml index a44faaea3..4624ee9b2 100644 --- a/doc/en/Gtk/SetBaseArgs.xml +++ b/doc/en/Gtk/SetBaseArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.String diff --git a/doc/en/Gtk/SetBaseHandler.xml b/doc/en/Gtk/SetBaseHandler.xml index c39416c2f..65106fed9 100644 --- a/doc/en/Gtk/SetBaseHandler.xml +++ b/doc/en/Gtk/SetBaseHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SetBaseTargetArgs.xml b/doc/en/Gtk/SetBaseTargetArgs.xml index ba3d80a7c..d2e9b2cb9 100644 --- a/doc/en/Gtk/SetBaseTargetArgs.xml +++ b/doc/en/Gtk/SetBaseTargetArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.String diff --git a/doc/en/Gtk/SetBaseTargetHandler.xml b/doc/en/Gtk/SetBaseTargetHandler.xml index 807ba346e..b48e08cd4 100644 --- a/doc/en/Gtk/SetBaseTargetHandler.xml +++ b/doc/en/Gtk/SetBaseTargetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SetFocusArgs.xml b/doc/en/Gtk/SetFocusArgs.xml index 855f9256f..8f4dfa15c 100644 --- a/doc/en/Gtk/SetFocusArgs.xml +++ b/doc/en/Gtk/SetFocusArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget diff --git a/doc/en/Gtk/SetFocusHandler.xml b/doc/en/Gtk/SetFocusHandler.xml index 273cc2032..8a77dd121 100644 --- a/doc/en/Gtk/SetFocusHandler.xml +++ b/doc/en/Gtk/SetFocusHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Settings.xml b/doc/en/Gtk/Settings.xml index afc0a4c67..c6d59300d 100644 --- a/doc/en/Gtk/Settings.xml +++ b/doc/en/Gtk/Settings.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,199 +8,100 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Maintains application settings for objects attached to a toplevel. - See - GLib.Object + + Maintains application settings for objects attached to a toplevel. + See + - - - Method - - System.Void - - - - - - - Sets up the property parser for reading Rc files. - A , pointer to the underlying C object (TODO: explain) - A - - - - - - Method - - System.Void - - - - - - Installs a property. - A , pointer to an unmanaged C property object. - - - - - - Method - - System.Void - - - - - - - - Sets a property whose content is a . - A - A - A - - - - - - Method - - System.Void - - - - - - - Sets a property whose value is a . - A - A - - - - - - Method - - System.Void - - - - - - + + + + Constructor + + 2.12.0.0 + + + - Sets a property whose value is a . - A - A - A + Default constructor. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Sets a property whose value is a . - A - A - A - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor 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") + + - Gtk.Settings - - - Returns a default settings object. - A - - - - - - Method - - Gtk.Settings + System.IntPtr - - - - Gets the settings for . - a - a + Hashtable to map names to colors. + A pointer to a native GHashtable. + - - - 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 + + 2.12.0.0 + System.Boolean @@ -211,8 +113,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -223,9 +129,29 @@ + + + + Property + + 2.12.0.0 + + + Gtk.Settings + + + Returns a default settings object. + A + + + - + + Property + + 2.12.0.0 + System.Int32 @@ -237,8 +163,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -250,8 +180,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -262,9 +196,50 @@ + + + + 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 @@ -275,9 +250,53 @@ 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 @@ -289,8 +308,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -301,58 +324,128 @@ Defaults to F10. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + + - Whether two cursors should be displayed for mixed left-to-right and right-to-left text. - a + A + A + A + Sets a property whose value is a . - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + + + - Name of the theme RC file to load. - a + A + A + A + Sets a property whose content is a . - - - Constructor - + + + + 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 + - Default constructor. + Whether two cursors should be displayed for mixed left-to-right and right-to-left text. + a - - + + + Property - - - System.Obsolete("Removed from C API, returns IntPtr.Zero") - - + + 2.12.0.0 + - System.IntPtr + System.String + - Hashtable to map names to colors. - A pointer to a native GHashtable. + Name of the theme RC file to load. + a - diff --git a/doc/en/Gtk/SettingsPropertyValue.xml b/doc/en/Gtk/SettingsPropertyValue.xml index 3a03f06dc..f97703c8a 100644 --- a/doc/en/Gtk/SettingsPropertyValue.xml +++ b/doc/en/Gtk/SettingsPropertyValue.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,26 +8,30 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A value for a property. - - GLib.Opaque + + A value for a property. + + + Constructor + + 2.12.0.0 + - Constructor. a , a pointer to the underlying C object. + Constructor. This is not for general developer use; it's mostly internal. diff --git a/doc/en/Gtk/SettingsValue.xml b/doc/en/Gtk/SettingsValue.xml index 089bce6f8..7c6826d24 100644 --- a/doc/en/Gtk/SettingsValue.xml +++ b/doc/en/Gtk/SettingsValue.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,30 +8,22 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Data for . - - System.ValueType + + Data for . + + - - - Field - - Gtk.SettingsValue - - - - An empty value. - - - + Method + + 2.12.0.0 + Gtk.SettingsValue @@ -38,15 +31,19 @@ - Constructor. A , pointer to the underlying C object. + Constructor. A Not for general developer use. + Field + + 2.12.0.0 + System.String @@ -59,7 +56,11 @@ + Field + + 2.12.0.0 + GLib.Value @@ -70,5 +71,21 @@ + + + + Field + + 2.12.0.0 + + + Gtk.SettingsValue + + + + An empty value. + + + diff --git a/doc/en/Gtk/ShadowType.xml b/doc/en/Gtk/ShadowType.xml index 76870185a..4004272f4 100644 --- a/doc/en/Gtk/ShadowType.xml +++ b/doc/en/Gtk/ShadowType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to change the appearance of an outline typically provided by a . - - System.Enum @@ -19,66 +16,90 @@ GLib.GType(typeof(Gtk.ShadowTypeGType)) + + Used to change the appearance of an outline typically provided by a . + + - - + + + Field + + 2.12.0.0 + Gtk.ShadowType - No outline. + The outline itself is an inward bevel, but the frame is an outward bevel. - - + + + Field + + 2.12.0.0 + Gtk.ShadowType - The outline is bevelled inwards. + 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 outwards like a button. - - + The outline is bevelled inwards. + - - + + + Field + + 2.12.0.0 + Gtk.ShadowType - The outline itself is an inward bevel, but the frame is an outward bevel. + No outline. - - + + + Field + + 2.12.0.0 + Gtk.ShadowType - The outline itself is an outward bevel, but the frame is an inward bevel. - + The outline is bevelled outwards like a button. + + diff --git a/doc/en/Gtk/SideType.xml b/doc/en/Gtk/SideType.xml index 2dc759ea9..41b7a64f3 100644 --- a/doc/en/Gtk/SideType.xml +++ b/doc/en/Gtk/SideType.xml @@ -1,17 +1,12 @@ + 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.SideType is deprecated and should not be used in newly-written code. - - - - System.Enum @@ -20,59 +15,81 @@ 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 - SideTop + SideBottom - - + + + Field + + 2.12.0.0 + Gtk.SideType - SideBottom + SideLeft - - + + + Field + + 2.12.0.0 + Gtk.SideType - SideLeft + SideRight - - + + + Field + + 2.12.0.0 + Gtk.SideType - SideRight + SideTop diff --git a/doc/en/Gtk/SignalFunc.xml b/doc/en/Gtk/SignalFunc.xml index 2e213106e..c914f2732 100644 --- a/doc/en/Gtk/SignalFunc.xml +++ b/doc/en/Gtk/SignalFunc.xml @@ -1,22 +1,23 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Deprecated. Do not use. - - - System.Delegate - System.Void + + Deprecated. Do not use. + + + + diff --git a/doc/en/Gtk/SizeAllocatedArgs.xml b/doc/en/Gtk/SizeAllocatedArgs.xml index 40f4b2883..86ff3533b 100644 --- a/doc/en/Gtk/SizeAllocatedArgs.xml +++ b/doc/en/Gtk/SizeAllocatedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Rectangle diff --git a/doc/en/Gtk/SizeAllocatedHandler.xml b/doc/en/Gtk/SizeAllocatedHandler.xml index f20f88337..c6c12e2e9 100644 --- a/doc/en/Gtk/SizeAllocatedHandler.xml +++ b/doc/en/Gtk/SizeAllocatedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SizeChangedArgs.xml b/doc/en/Gtk/SizeChangedArgs.xml index 2cb4c4cc5..2f1c7da66 100644 --- a/doc/en/Gtk/SizeChangedArgs.xml +++ b/doc/en/Gtk/SizeChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,21 @@ GLib.SignalArgs + + Event data. + + The event invokes delegates which pass event data via this class. + + + + Constructor + + 2.12.0.0 + Public Constructor. @@ -19,8 +31,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -31,11 +47,4 @@ - - Event data. - - The event invokes delegates which pass event data via this class. - - - diff --git a/doc/en/Gtk/SizeChangedHandler.xml b/doc/en/Gtk/SizeChangedHandler.xml index 012391720..235edb1ce 100644 --- a/doc/en/Gtk/SizeChangedHandler.xml +++ b/doc/en/Gtk/SizeChangedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/SizeGroup.xml b/doc/en/Gtk/SizeGroup.xml index 63bd6f99e..394959651 100644 --- a/doc/en/Gtk/SizeGroup.xml +++ b/doc/en/Gtk/SizeGroup.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -27,98 +33,93 @@ - - GLib.Object - - - - - - Method - - System.Void - - - - - - Places a widget in this SizeGroup - A Widget whose size should be tied to widgets in a group. - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Removes a widget from this SizeGroup - A Widget whose size should no longer be tied to the widgets in this group. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + - Internal constructor - Pointer to the C object. + The mode to indicate direction(s) that should have their sizes tied together. + Create a new SizeGroup. - This is an internal constructor, and should not be used by user code. + The direction that size is tied can be altered later using the property. - + + Constructor + + 2.12.0.0 + - + - Create a new SizeGroup. - The mode to indicate direction(s) that should have their sizes tied together. + Pointer to the C object. + Internal constructor - The direction that size is tied can be altered later using the property. + This is an internal constructor, and should not be used by user code. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.SizeGroupMode + System.Void + - 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. - - + A Widget whose size should be tied to widgets in a group. + Places a widget in this SizeGroup + - - - GLib.Property("mode") - - - + + Property + + 2.12.0.0 + GLib.GType @@ -129,27 +130,13 @@ 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 + + 2.12.0.0 + GLib.Property("ignore-hidden") @@ -166,9 +153,59 @@ + + + + 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[] diff --git a/doc/en/Gtk/SizeGroupMode.xml b/doc/en/Gtk/SizeGroupMode.xml index 8980fe22b..77b3a9cc2 100644 --- a/doc/en/Gtk/SizeGroupMode.xml +++ b/doc/en/Gtk/SizeGroupMode.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - System.Enum @@ -21,22 +16,36 @@ 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 - Has no effect on widget size requisitions. + Affects widget size requisitions both horizontally and vertically. + Field + + 2.12.0.0 + Gtk.SizeGroupMode @@ -46,27 +55,35 @@ - - + + + Field + + 2.12.0.0 + Gtk.SizeGroupMode - Affects widget size requisitions vertically. + Has no effect on widget size requisitions. - - + + + Field + + 2.12.0.0 + Gtk.SizeGroupMode - Affects widget size requisitions both horizontally and vertically. + Affects widget size requisitions vertically. diff --git a/doc/en/Gtk/SizeRequestedArgs.xml b/doc/en/Gtk/SizeRequestedArgs.xml index e4ee95f1e..11645908e 100644 --- a/doc/en/Gtk/SizeRequestedArgs.xml +++ b/doc/en/Gtk/SizeRequestedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Requisition diff --git a/doc/en/Gtk/SizeRequestedHandler.xml b/doc/en/Gtk/SizeRequestedHandler.xml index a2461bde5..01dccba68 100644 --- a/doc/en/Gtk/SizeRequestedHandler.xml +++ b/doc/en/Gtk/SizeRequestedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Socket.xml b/doc/en/Gtk/Socket.xml index 8d2d3933b..3e4b8240a 100644 --- a/doc/en/Gtk/Socket.xml +++ b/doc/en/Gtk/Socket.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -26,120 +32,152 @@ Console.WriteLine ("The ID of the sockets window is {0}", socket.Id); 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 . - - Gtk.Container - - - - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Adds an XEMBED client, such as a , to the . - an object of type + Default constructor - 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. - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Default constructor + Pointer to the C object. + Internal constructor + This is an internal constructor, and should not be used by user code. - - - Property + + + + Method + + 2.12.0.0 + - System.UInt32 + System.Void + + + - 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. + 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. + - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + GLib.GType - This event is emitted when a client is successfully added to the socket. - - + GType Property. + a + Returns the native value for . - - - GLib.Signal("plug_added") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.PlugRemovedHandler + System.UInt32 - - 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 . + 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.Signal("plug_removed") + GLib.DefaultSignalHandler(ConnectionMethod="OverridePlugAdded", Type=typeof(Gtk.Socket)) - - - - Property - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 @@ -150,39 +188,61 @@ Console.WriteLine ("The ID of the sockets window is {0}", socket.Id); Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("plug_added") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + This event is emitted when a client is successfully added to the socket. + + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Event + + 2.12.0.0 + - System.Obsolete + 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 @@ -190,11 +250,11 @@ Console.WriteLine ("The ID of the sockets window is {0}", socket.Id); + a , the window + ID of an existing toplevel window. Reparents a pre-existing toplevel window into a . - a , the window - ID of an existing toplevel window. This is meant to embed clients that do not know about embedding into a , however doing diff --git a/doc/en/Gtk/SortType.xml b/doc/en/Gtk/SortType.xml index 990bac767..e1d9aaebf 100644 --- a/doc/en/Gtk/SortType.xml +++ b/doc/en/Gtk/SortType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Determines the direction of a sort. - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gtk.SortTypeGType)) + + Determines the direction of a sort. + + + Field + + 2.12.0.0 + Gtk.SortType @@ -34,7 +39,11 @@ + Field + + 2.12.0.0 + Gtk.SortType diff --git a/doc/en/Gtk/SpinButton.xml b/doc/en/Gtk/SpinButton.xml index 36d729cc1..7a53debea 100644 --- a/doc/en/Gtk/SpinButton.xml +++ b/doc/en/Gtk/SpinButton.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -38,142 +44,43 @@ private void OutputValue(object source, System.EventArgs args) - - Gtk.Entry - - - - - - Method - - System.Void - - - - - - - Changes the value of the SpinButton by . - A direction that indicates if the SpinButton should be incremented or decremented. - The amount to adjust the SpinButton by. - - - - - - Method - - System.Void - - - - - - - Find out the minimum and maximum allowed input values. - The minimum value that can be accepted. - The maximum value that can be accepted. - - - - - - Method - - System.Void - - - - - - - - Configures various properties of the SpinButton. - 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. - - An is used to configure a variety of the properties for a SpinButton. See the documentation for the members for more information. - - - - - - Method - - System.Void - - - - Forces the SpinButton to update its value - - - - - - Method - - System.Void - - - - - - - Sets the step and page increments. - 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). - - Changing the values with this method alters how quickly the SpinButton's value changes when its arrows are activated. - - - - - - Method - - System.Void - - - - - - - Alters the minimum and maximum allowable values. - The minimum value that can be entered. - The maximum value that can be entered. - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Retrieve the current step and page increments. - 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). - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -181,7 +88,11 @@ private void OutputValue(object source, System.EventArgs args) + Constructor + + 2.12.0.0 + @@ -189,16 +100,20 @@ private void OutputValue(object source, System.EventArgs args) - Creates a new SpinButton based on the specified . A A A + Creates a new SpinButton based on the specified . + Constructor + + 2.12.0.0 + @@ -206,10 +121,10 @@ private void OutputValue(object source, System.EventArgs args) - Creates a SpinButton without the need for a manually created . 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 * . @@ -217,102 +132,110 @@ private void OutputValue(object source, System.EventArgs args) - - - Property - - System.Int32 - - - Retrieve the current value as an integer. - The value of the SpinButton with integer precision. - - - - - + + + Property + + 2.12.0.0 + + + + GLib.Property("adjustment") + + - System.Boolean + Gtk.Adjustment - Manage whether or not the SpinButton accepts non-numeric input. - Whether the SpinButton currently accepts only numeric input. + The lower/upper/step range of this widget's values. + A + + + + + Event + + 2.12.0.0 + - GLib.Property("numeric") + GLib.Signal("change_value") - - - - Property - System.Double + Gtk.ChangeValueHandler - - + - The acceleration rate when user holds down a button. - A + Raised in order to change the button's value. + + + + + Property + + 2.12.0.0 + GLib.Property("climb-rate") - - - - Property - System.Boolean + System.Double - 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. - + The acceleration rate when user holds down a button. + A + - - - GLib.Property("wrap") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Double + System.Void + + + - The current value of the SpinButton. - The current value of the SpinButton. + 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. - The value of the SpinButton is limited by the precision set with the property. + 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("value") + GLib.Property("digits") - - - - Property System.UInt32 @@ -325,251 +248,478 @@ private void OutputValue(object source, System.EventArgs args) Up to 20 digit precision is allowed. - - - GLib.Property("digits") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + - 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. + 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. - - - GLib.Property("snap-to-ticks") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.SpinButtonUpdatePolicy + System.Void + + - The policy for how to update this SpinButton when its value changes. - A + 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.Property("update-policy") + GLib.Signal("input") + + Gtk.InputHandler + + + + Raised when the user inputs a new value. + + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("numeric") + + - Gtk.Adjustment + System.Boolean - The lower/upper/step range of this widget's values. - A + Manage whether or not the SpinButton accepts non-numeric input. + Whether the SpinButton currently accepts only numeric input. + + + + + Method + + 2.12.0.0 + - GLib.Property("adjustment") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChangeValue", Type=typeof(Gtk.SpinButton)) - - - - Event - Gtk.OutputHandler + System.Void - + + + - Raised when this widget outputs its value. - + 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.Signal("output") + 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. + - - - Event + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideOutput", Type=typeof(Gtk.SpinButton)) + + - System.EventHandler + System.Int32 - This event is raised after the SpinButton's value changes. - + 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.Signal("value_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.SpinButton)) - - - - Event - Gtk.InputHandler + System.Void - Raised when the user inputs a new value. - + 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.Signal("input") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideWrapped", Type=typeof(Gtk.SpinButton)) - - - - Event - Gtk.ChangeValueHandler + System.Void - Raised in order to change the button's value. + Default handler for event. + + + + + + Event + + 2.12.0.0 + - GLib.Signal("change_value") + GLib.Signal("output") - - - - Property - GLib.GType + Gtk.OutputHandler - GType Property. - a - Returns the native value for . + Raised when this widget outputs its value. + - - + + + Method + + 2.12.0.0 + System.Void - + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Int32 + System.Void - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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.Int32 + System.Void - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Forces the SpinButton to update its value + - - - Constructor - + + + + Property + + 2.12.0.0 + + + + GLib.Property("update-policy") + + + + Gtk.SpinButtonUpdatePolicy + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + The policy for how to update this SpinButton when its value changes. + A + + + + + + Property + + 2.12.0.0 + - System.Obsolete + 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("wrapped") + GLib.Signal("value_changed") System.EventHandler + - Raised when the value wraps from min to max, or max to min. + This event is raised after the SpinButton's value changes. - - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("wrap") + + - System.Void + System.Boolean - + + - Default handler for event. + 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. diff --git a/doc/en/Gtk/SpinButtonUpdatePolicy.xml b/doc/en/Gtk/SpinButtonUpdatePolicy.xml index a0162bfb3..446751f93 100644 --- a/doc/en/Gtk/SpinButtonUpdatePolicy.xml +++ b/doc/en/Gtk/SpinButtonUpdatePolicy.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Dictates how a is refreshed when its value is updated. - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gtk.SpinButtonUpdatePolicyGType)) + + Dictates how a is refreshed when its value is updated. + + + Field + + 2.12.0.0 + Gtk.SpinButtonUpdatePolicy @@ -34,7 +39,11 @@ + Field + + 2.12.0.0 + Gtk.SpinButtonUpdatePolicy diff --git a/doc/en/Gtk/SpinType.xml b/doc/en/Gtk/SpinType.xml index 234fe7143..8c34fb73a 100644 --- a/doc/en/Gtk/SpinType.xml +++ b/doc/en/Gtk/SpinType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents a type of spin, used by . - - A 'spin' is a change of a 's value based on this enumerated type. - - System.Enum @@ -21,82 +16,116 @@ 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 forwards by the step value from the SpinButton's . + Spin a to its maximum possible value from the SpinButton's . - - + + + Field + + 2.12.0.0 + Gtk.SpinType - Spin a backwards by the step value from the SpinButton's . + Spin a to its minimum possible value from the SpinButton's . - - + + + Field + + 2.12.0.0 + Gtk.SpinType - Spin a forwards by the page value from the SpinButton's . + Spin a backwards by the page value from the SpinButton's . - - + + + Field + + 2.12.0.0 + Gtk.SpinType - Spin a backwards by the page value from the SpinButton's . + Spin a forwards by the page value from the SpinButton's . - - + + + Field + + 2.12.0.0 + Gtk.SpinType - Spin a to its minimum possible value from the SpinButton's . + Spin a backwards by the step value from the SpinButton's . - - + + + Field + + 2.12.0.0 + Gtk.SpinType - Spin a to its maximum possible value from the SpinButton's . + Spin a forwards by the step value from the SpinButton's . + Field + + 2.12.0.0 + Gtk.SpinType diff --git a/doc/en/Gtk/StartInteractiveSearchArgs.xml b/doc/en/Gtk/StartInteractiveSearchArgs.xml index 2a4b562c7..7d4e1595c 100644 --- a/doc/en/Gtk/StartInteractiveSearchArgs.xml +++ b/doc/en/Gtk/StartInteractiveSearchArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/StartInteractiveSearchHandler.xml b/doc/en/Gtk/StartInteractiveSearchHandler.xml index 5050f7b3f..604c82a24 100644 --- a/doc/en/Gtk/StartInteractiveSearchHandler.xml +++ b/doc/en/Gtk/StartInteractiveSearchHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/StateChangedArgs.xml b/doc/en/Gtk/StateChangedArgs.xml index 966f1ee81..43a5525a9 100644 --- a/doc/en/Gtk/StateChangedArgs.xml +++ b/doc/en/Gtk/StateChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.StateType diff --git a/doc/en/Gtk/StateChangedHandler.xml b/doc/en/Gtk/StateChangedHandler.xml index 271d1aaaf..9709ead08 100644 --- a/doc/en/Gtk/StateChangedHandler.xml +++ b/doc/en/Gtk/StateChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/StateType.xml b/doc/en/Gtk/StateType.xml index e2ea12677..8f8f10086 100644 --- a/doc/en/Gtk/StateType.xml +++ b/doc/en/Gtk/StateType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 . @@ -18,91 +27,103 @@ - - System.Enum - - - - GLib.GType(typeof(Gtk.StateTypeGType)) - - - - + + + Field + + 2.12.0.0 + Gtk.StateType - State during normal operation. + State of a currently active widget, such as a depressed button. - State during normal operation. + State of a currently active widget, such as a depressed button. - - + + + Field + + 2.12.0.0 + Gtk.StateType - State of a currently active widget, such as a depressed button. + State indicating that the widget is unresponsive to user actions. - State of a currently active widget, such as a depressed button. + State indicating that the widget is unresponsive to user actions. - - + + + 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 during normal operation. - State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. + State during normal operation. - - + + + Field + + 2.12.0.0 + Gtk.StateType - State of a selected item, such the selected row in a list. + State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. - State of a selected item, such the selected row in a list. + 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 indicating that the widget is unresponsive to user actions. + State of a selected item, such the selected row in a list. - State indicating that the widget is unresponsive to user actions. + State of a selected item, such the selected row in a list. diff --git a/doc/en/Gtk/StatusIcon.xml b/doc/en/Gtk/StatusIcon.xml index 8ae5e7241..6a167032b 100644 --- a/doc/en/Gtk/StatusIcon.xml +++ b/doc/en/Gtk/StatusIcon.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,48 @@ 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 @@ -28,7 +67,11 @@ + Constructor + + 2.12.0.0 + @@ -38,18 +81,13 @@ For use by language bindings to wrap native instances. - - - Constructor - - - Public constructor. - - - + Constructor + + 2.12.0.0 + @@ -59,21 +97,13 @@ Creates an instance using the specified icon file. - - - Constructor - - - - - An Icon pixbuf. - Public constructor. - Creates an instance using the specified icon pixbuf. - - + Event + + 2.12.0.0 + GLib.Signal("activate") @@ -87,141 +117,166 @@ Raised when the user activates the status icon. This behavior is only provided on platforms that support it. - - - Event + + + + Property + + 2.12.0.0 + - GLib.Signal("size_changed") + GLib.Property("blinking") - Gtk.SizeChangedHandler + System.Boolean - SizeChanged event. - Raised when the icon size changes. + Indicates if the Icon is Blinking. + If , the icon is blinking. + - - - Event + + + + Property + + 2.12.0.0 + - GLib.Signal("popup_menu") + GLib.Property("embedded") - Gtk.PopupMenuHandler + System.Boolean - PopupMenu event. - Raised when the user brings up the context menu. + To be added. + To be added. + To be added. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("file") + + - Gtk.StatusIcon + System.String - - - - To be added. - Creates a status icon with a named icon from the current theme. - A . + Display an icon from a file. + A string containing the filename path. - - - Method + + + + Property + + 2.12.0.0 + + + + System.Obsolete("use the File property instead") + + - Gtk.StatusIcon + System.String - - - - To be added. - Creates a status icon with a stock icon. - A . + Display an icon from a file. + A string containing the filename path. - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - - - - Method + + + + Property + + 2.12.0.0 + + + + System.Obsolete("use the IconName property instead") + + - System.Boolean + System.String - - - - 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. + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + System.Obsolete("use the Pixbuf property instead") + + - System.Void + Gdk.Pixbuf - - - - - 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. + Display a Pixbuf Icon. + A containing the desired icon. + - - - Method + + + + Property + + 2.12.0.0 + + + + System.Obsolete("use the Stock property instead") + + - System.Void + System.String - - - - - - - - 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. + 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 @@ -240,194 +295,231 @@ This method was incorrectly bound and is provided for backward compatibility. Use the overload with out Screen and out Rectangle parameters instead. - - - Property - - - GLib.Property("storage-type") - - + + + + Method + + 2.12.0.0 + - Gtk.ImageType + System.Boolean + + + + + - Image storage type. - A . - + 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 - - - GLib.Property("size") - - + + 2.12.0.0 + - System.Int32 + GLib.GType - Pixel size available for Icon. - An integer pixel size. + Native type value. + a . - - + + + Property + + 2.12.0.0 + - GLib.Property("pixbuf") + GLib.Property("icon-name") - Gdk.Pixbuf + System.String - Display a Pixbuf Icon. - A containing the desired icon. - + 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 - - - GLib.Property("visible") - - + + 2.12.0.0 + System.Boolean - Indicates if the Icon is visible. - To be added. - Doesn't guarantee the icon can be seen by the user. See . + Indicates if the icon is embedded in a notification area. + + if embedded. + - - - Property - - - GLib.Property("stock") - - + + + + Method + + 2.12.0.0 + - System.String + Gtk.StatusIcon + + + - Display a stock Icon. - A value, or other string registered as a stock id. + To be added. + Creates a status icon with a named icon from the current theme. + A . - - - Property - - - GLib.Property("blinking") - - + + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.StatusIcon + + + - Indicates if the Icon is Blinking. - If , the icon is blinking. + To be added. + Creates a status icon with a stock icon. + A . - - - Property + + + + Method + + 2.12.0.0 + - GLib.Property("file") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivate", Type=typeof(Gtk.StatusIcon)) - System.String + System.Void + - Display an icon from a file. - A string containing the filename path. - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + - GLib.Property("icon-name") + GLib.DefaultSignalHandler(ConnectionMethod="OverridePopupMenu", Type=typeof(Gtk.StatusIcon)) - 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 - - System.String + System.Void + + + + - Display an icon from a file. - A string containing the filename path. - + 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. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizeChanged", Type=typeof(Gtk.StatusIcon)) + + System.Boolean + + + - Indicates if the icon is embedded in a notification area. - - if embedded. - - - - - - Property - - System.String - - - Sets the Tooltip. - A tooltip string. - + 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") + + - System.String + Gtk.Orientation - 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. + To be added. + To be added. + To be added. + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("pixbuf") + + Gdk.Pixbuf @@ -437,54 +529,60 @@ - - - Property - - System.String - - - Display a stock Icon. - A value, or other string registered as a stock id. - - - - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("popup_menu") + + - GLib.GType + Gtk.PopupMenuHandler - Native type value. - a . - + PopupMenu event. + Raised when the user brings up the context menu. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + + + + + - 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. + 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 @@ -501,16 +599,20 @@ This method provides an optimized alternative to calling directly, saving a some native/managed marshaling roundtrips. - - + + + Property + + 2.12.0.0 + - GLib.Property("embedded") + GLib.Property("screen") - System.Boolean + Gdk.Screen To be added. @@ -519,46 +621,125 @@ - - + + + Property + + 2.12.0.0 + - GLib.Property("orientation") + GLib.Property("size") - Gtk.Orientation + System.Int32 - To be added. - To be added. - To be added. - + 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("screen") + GLib.Property("stock") - Gdk.Screen + System.String - To be added. + 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. - To be added. - + Doesn't guarantee the icon can be seen by the user. See . - - Status Icon. - A platform independent system tray icon. - - diff --git a/doc/en/Gtk/Statusbar.xml b/doc/en/Gtk/Statusbar.xml index 21031480c..091c0773a 100644 --- a/doc/en/Gtk/Statusbar.xml +++ b/doc/en/Gtk/Statusbar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -73,69 +79,71 @@ class StatusbarSample - - Gtk.HBox - - - - - - Method - - System.UInt32 - - - - - + + + + Constructor + + 2.12.0.0 + + + - Pushes a new message onto the stack. - The new message's context ID, as generated by . - The message to display to the user. - The message's new message id for use with . + The main way to create a new status bar. - Note that the and the returned are equivalent and are both required for to work. + Creates a new Statusbar with an empty message stack. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Forces the removal of a message from a statusbar's stack. - A context identifier. - A message identifier. - - The exact and must be specified. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Removes the message at the top of the Statusbar's stack. - A context identifier - + 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 @@ -143,42 +151,41 @@ class StatusbarSample - Generates an identifier based on the . A description of the message you want to generate an identifier for. + Generates an identifier based on the . An integer identifier - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - + + + + Property + + 2.12.0.0 + + + GLib.GType + - The main way to create a new status bar. - - Creates a new Statusbar with an empty message stack. - + GType Property. + a + Returns the native value for . - + + Property + + 2.12.0.0 + + + + GLib.Property("has-resize-grip") + + System.Boolean @@ -189,114 +196,170 @@ class StatusbarSample Whether or not there is currently a resize grip on the Statusbar. + + + + + Method + + 2.12.0.0 + - GLib.Property("has-resize-grip") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextPopped", Type=typeof(Gtk.Statusbar)) - - - - Event - Gtk.TextPushedHandler + System.Void - + + + + - 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 . - + 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.Signal("text_pushed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextPushed", Type=typeof(Gtk.Statusbar)) - - - - Event - Gtk.TextPoppedHandler + System.Void - + + + + - 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 . - + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - GLib.Signal("text_popped") - - - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + - GType Property. - a - Returns the native value for . + A context identifier + Removes the message at the top of the Statusbar's stack. + - - + + + Method + + 2.12.0.0 + - System.Void + System.UInt32 - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + A context identifier. + A message identifier. + Forces the removal of a message from a statusbar's stack. + + The exact and must be specified. + - - - Constructor - - - - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("text_popped") + + + + Gtk.TextPoppedHandler + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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 . + + diff --git a/doc/en/Gtk/Stock.xml b/doc/en/Gtk/Stock.xml index 821f09e8e..6933cd9ee 100644 --- a/doc/en/Gtk/Stock.xml +++ b/doc/en/Gtk/Stock.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 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 @@ -14,14 +19,14 @@ 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. - - System.Object - - + Constructor + + 2.12.0.0 + @@ -30,529 +35,701 @@ - - + + + Property + + 2.12.0.0 + System.String + - The "Zoom Out" item. - an object of type - - + About stock item + a + + - - + + + Property + + 2.12.0.0 + System.String - The "Zoom In" item. + The "Add" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Zoom to Fit" item. + The "Apply" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Zoom 100%" item. + The "Bold" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Yes" item. + The "Cancel" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Undo" item. + The "CD-Rom" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Underline" item. + The "Clear" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Undelete" item. + The "Close" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Strikethrough" item. - an object of type + The "Color Picker" item. + a - - + + + Property + + 2.12.0.0 + System.String + - The "Stop" item. - an object of type - - + Connect stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String - The "Spell Check" item. + The "Convert" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Descending" item. + The "Copy" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Ascending" item. + The "Cut" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Font" item. + The "Delete" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Color" item. - an object of type - - + DialogAuthentication stock item. + the stock string. + + - - + + + Property + + 2.12.0.0 + System.String - The "Save As" item. + The "Error" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Save" item. - Tan object of type + The "Info" item. + an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Revert" item. + The "Question" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Remove" item. + The "Warning" item. an object of type - - + + + Property + + 2.12.0.0 + System.String + - The "Refresh" item. - an object of type - - + Directory stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String - The "Redo" item. - an object of type - - + Discard stock item. + the stock string. + + - - + + + Property + + 2.12.0.0 + System.String + - The "Quit" item. - an object of type - - + Disconnect stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String - The "Properties" item. + The "Drag-And-Drop" icon. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Print Preview" item. + The "Drag-And-Drop multiple" icon. an object of type - - + + + Property + + 2.12.0.0 + System.String + - The "Print" item. - an object of type - - + Edit stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String - The "Preferences" item. + The "Execute" item. an object of type - - + + + Property + + 2.12.0.0 + System.String + - The "Paste" item. - an object of type - - + File stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String - The "Open" item. + The "Find" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "OK" item. + The "Find and Replace" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "No" item. + The "Floppy" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "New" item. - an object of type - - + Fullscreen stock item. + the stock string. + + - - + + + Property + + 2.12.0.0 + System.String - The "Missing Image" item. + The "Back" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Right" item. + The "Down" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Left" item. + The "Forward" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Fill" item. + The "Bottom" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Center" item. + The "First" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Jump to" item. + The "Last" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Italic" item. + The "Top" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Index" item. + The "Up" item. an object of type - - + + + Property + + 2.12.0.0 + System.String + - The "Home" item. - an object of type + The "Harddisk" item. + a + - + + Property + + 2.12.0.0 + System.String @@ -563,810 +740,1042 @@ - - + + + Property + + 2.12.0.0 + System.String - The "Up" item. + The "Home" item. an object of type - - + + + Property + + 2.12.0.0 + System.String + - The "Forward" item. - an object of type + The "Indent" item. + a + - - + + + Property + + 2.12.0.0 + System.String - The "Down" item. + The "Index" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Back" item. - an object of type - - + Info stock item. + the stock string. + + - - + + + Property + + 2.12.0.0 + System.String - The "Top" item. + The "Italic" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Last" item. + The "Jump to" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "First" item. + The "Center" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Bottom" item. + The "Fill" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Floppy" item. + The "Left" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Find and Replace" item. + The "Right" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Find" item. - an object of type - - + LeaveFullscreen stock item. + the stock string. + + - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.String[] + - The "Execute" item. - an object of type - - + Returns an array which lists all the names of the stock items. + a with the names of the stock items. + - - - Property + + + + Method + + 2.12.0.0 + - System.String + Gtk.StockItem + + + - The "Drag-And-Drop multiple" icon. - an object of type - - + the StockId of the to return. + Looks up a + the with ID if it exists, or otherwise. + + - - + + + Property + + 2.12.0.0 + System.String + - The "Drag-And-Drop" icon. - an object of type - - + Media forward stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String + - The "Warning" item. - an object of type - - + Media next stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String + - The "Question" item. - an object of type - - + Media pause stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String + - The "Info" item. - an object of type - - + Media play stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String + - The "Error" item. - an object of type - - + Media previous stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String + - The "Delete" item. - an object of type - - + Media record stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String + - The "Cut" item. - an object of type - - + Media rewind stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String + - The "Copy" item. - an object of type - - + Media stop stock item. + a + + - - + + + Property + + 2.12.0.0 + System.String - The "Convert" item. + The "Missing Image" item. an object of type - - + + + Property + + 2.12.0.0 + System.String + - The "Close" item. - an object of type + The "Network" item. + a + - - + + + Property + + 2.12.0.0 + System.String - The "Clear" item. + The "New" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "CD-Rom" item. + The "No" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Cancel" item. + The "OK" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Bold" item. + The "Open" item. an object of type - - + + + Property + + 2.12.0.0 + System.String - The "Apply" item. - an object of type - - + Landscape orientation stock item. + the stock string. + + - - + + + Property + + 2.12.0.0 + System.String - The "Add" item. - an object of type - - + Portrait orientation stock item. + the stock string. + + - - + + + Property + + 2.12.0.0 + System.String - The "Color Picker" item. - a - - + Reverse landscape orientation stock item. + the stock string. + + - - - Method + + + + Property + + 2.12.0.0 + - System.String[] + System.String - - Returns an array which lists all the names of the stock items. - a with the names of the stock items. + Reverse portrait orientation stock item. + the stock string. + - - + + + Property + + 2.12.0.0 + System.String - - The "Harddisk" item. - a + The "Paste" item. + an object of type - - - + + + Property + + 2.12.0.0 + System.String - - The "Indent" item. - a + The "Preferences" item. + an object of type - - - + + + Property + + 2.12.0.0 + System.String - - The "Network" item. - a + The "Print" item. + an object of type - - - + + + Property + + 2.12.0.0 + System.String - - The "Unindent" item. - a + The "Print Preview" item. + an object of type - - - - Method + + + + Property + + 2.12.0.0 + - Gtk.StockItem + System.String - - - - Looks up a - the StockId of the to return. - the with ID if it exists, or otherwise. - - + The "Properties" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - About stock item - a - - + The "Quit" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Connect stock item. - a - - + The "Redo" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Directory stock item. - a - - + The "Refresh" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Disconnect stock item. - a - - + The "Remove" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Edit stock item. - a - - + The "Revert" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - File stock item. - a - - + The "Save" item. + Tan object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Media forward stock item. - a - - + The "Save As" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Media next stock item. - a + SelectAll stock item. + the stock string. - + - - + + + Property + + 2.12.0.0 + System.String - - Media pause stock item. - a - - + The "Color" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Media play stock item. - a - - + The "Font" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Media previous stock item. - a - - + The "Ascending" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Media record stock item. - a - - + The "Descending" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Media rewind stock item. - a - - + The "Spell Check" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - - Media stop stock item. - a - - + The "Stop" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - Fullscreen stock item. - the stock string. - - + The "Strikethrough" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - Info stock item. - the stock string. - - + The "Undelete" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - LeaveFullscreen stock item. - the stock string. - - + The "Underline" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - Landscape orientation stock item. - the stock string. - - + The "Undo" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String + - Portrait orientation stock item. - the stock string. - - + The "Unindent" item. + a + + + - - + + + Property + + 2.12.0.0 + System.String - Reverse landscape orientation stock item. - the stock string. - - + The "Yes" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - Reverse portrait orientation stock item. - the stock string. - - + The "Zoom 100%" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - SelectAll stock item. - the stock string. - - + The "Zoom to Fit" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - DialogAuthentication stock item. - the stock string. - - + The "Zoom In" item. + an object of type + + - - + + + Property + + 2.12.0.0 + System.String - Discard stock item. - the stock string. - - + The "Zoom Out" item. + an object of type + + diff --git a/doc/en/Gtk/StockItem.xml b/doc/en/Gtk/StockItem.xml index 0ec38a61e..edae0f9e3 100644 --- a/doc/en/Gtk/StockItem.xml +++ b/doc/en/Gtk/StockItem.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,47 +8,66 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Field - - Gtk.StockItem - - + + + + Constructor + + 2.12.0.0 + + + + + + + + + - An empty - - + a + a + a + a + a + Public constructor + + - - + + + Method + + 2.12.0.0 + Gtk.StockItem - - - + - Returns a new using the given . - an object of type + Makes a copy of the current . an object of type - This is not typically used by user code. + + + Method + + 2.12.0.0 + System.Void @@ -58,36 +78,30 @@ - - - Method - - Gtk.StockItem - - - - Makes a copy of the current . - an object of type - - - - - - + + + Field + + 2.12.0.0 + - System.String + System.UInt32 - The identifying name of the . + Keyboard accelerator. + Field + + 2.12.0.0 + System.String @@ -100,7 +114,11 @@ + Field + + 2.12.0.0 + Gdk.ModifierType @@ -111,22 +129,50 @@ 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.UInt32 + System.String - Keyboard accelerator. + The identifying name of the . + Field + + 2.12.0.0 + System.String @@ -137,26 +183,21 @@ - - - Constructor - - - - - - - - + + + + Field + + 2.12.0.0 + + + Gtk.StockItem + + - Public constructor - a - a - a - a - a - - + An empty + + diff --git a/doc/en/Gtk/StockManager.xml b/doc/en/Gtk/StockManager.xml index fd052de8a..0f0d72ac4 100644 --- a/doc/en/Gtk/StockManager.xml +++ b/doc/en/Gtk/StockManager.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,18 +8,55 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - this class manages the s - - 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 @@ -26,6 +64,7 @@ + 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 @@ -33,24 +72,48 @@ and can be freed. - an array of - - - Constructor - - + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Use the StockItem or StockItem[] overload instead.") + + + + System.Void + + + + + - Do not use. - Do not use + 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 @@ -59,15 +122,19 @@ - Obsolete, do not use. a a + Obsolete, do not use. + Method + + 2.12.0.0 + System.Boolean @@ -76,16 +143,20 @@ - Finds a stock item by stock_id. a a + Finds a stock item by stock_id. a See also + Method + + 2.12.0.0 + System.Boolean @@ -94,44 +165,12 @@ - Finds a stock item by stock_id. a a + Finds a stock item by stock_id. a - - - Method - - System.Void - - - - - - - Adds a stock item. - a - a - This signature is obsolete, but preserved for backward compatibility. Use the single parameter overload for new code. - - - - - Method - - System.Void - - - - - - Adds a stock item. - a - - - diff --git a/doc/en/Gtk/Style.xml b/doc/en/Gtk/Style.xml index 4aebb6430..9de709ddc 100644 --- a/doc/en/Gtk/Style.xml +++ b/doc/en/Gtk/Style.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,85 +8,79 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Methods for drawing widget parts. - - - GLib.Object + + Methods for drawing widget parts. + + + - - - Method - - Gdk.Color - - - - + + + + Constructor + + 2.12.0.0 + + + - Gets the foreground color for a particular state - A , the state being considered - A + Public constructor - - - Method - - Gdk.Color - - - - - - Sets the background of to the background color or pixmap specified by style for the state. - A , the state being considered - A color to be used for the background. - - - - - - - Method - - Gdk.GC - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Gets the graphics context for the background of . - a - a , the graphics context - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - Gdk.GC - + + + + Constructor + + 2.12.0.0 + + - + - Gets the graphics context for the foreground of . - a - a , the graphics context - + 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 @@ -100,7 +95,6 @@ - Sets the default background. A A (TODO: explain) A @@ -109,203 +103,205 @@ 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 + - System.Void + Gtk.Style - - Set the background of to the -color or pixmap specified by this style for . - A - A + + , 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 + - System.Void + Gdk.Color - + + + - Detaches this style from the window it's attached to. - + 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.Pixbuf + Gdk.GC - - - - - - Renders the icon specified by at the given according to the given parameters and returns the result in a pixbuf. - A - A - A - A - A - A - A - TODO: needs an example. + a + Gets the graphics context for the background of . + a , the graphics context + - - - Method + + + + Property + + 2.12.0.0 + - Gtk.Style + Gdk.GC[] - - Copy this style object to a new style object. - A , a duplicate of this style. + Gets the graphics context objects for the background. + A - - - Method + + + + Property + + 2.12.0.0 + - Gtk.IconSet + Gdk.Color[] - - - - Gets the icon set for the given . - A - A + The background colors. + A - - + + + Method + + 2.12.0.0 + - Gtk.Style + Gdk.Color - - - - 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. - - , the window to attach the style to - 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. - - - - - - Constructor - - - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Public constructor + a + Returns the base color for the given state. + a - - + + + Property + + 2.12.0.0 + - Pango.FontDescription + Gdk.Color[] + - The font description used for a widget. - a + The base color set. + a - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gdk.GC + - The Y thickness, which is used for vertical padding. - A + a , the state of the widget to get the GC for + Returns the base graphics context for the widget. + a - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gdk.Pixmap + - The X thickness, which is used for horizontal padding. - An integer. - (FIXME: xthickness and ythickness could be better documented.) + a + Get the background pixmap for a given state. + a + - - + + + Property + + 2.12.0.0 + - Gdk.Color[] - - - The foreground colors - A - - - - - - Property - - Gdk.Color[] + Gdk.Pixmap[] + - The background colors. - A + Gets an array of background pixmaps. + a - + + Property + + 2.12.0.0 + Gdk.Color @@ -315,103 +311,202 @@ color or pixmap specified by this style for . - - + + + Property + + 2.12.0.0 + - Gdk.Color + Gdk.GC - White. - A + Gets a white graphics context. + A - - - Property + + + + Method + + 2.12.0.0 + - Gdk.GC[] + Gtk.Style + - Gets the graphics context objects for the background. - A + Copy this style object to a new style object. + A , a duplicate of this style. - - - Property + + + + Method + + 2.12.0.0 + - Gdk.GC[] + Gdk.Color + + + - Gets the graphics context objects for the foreground. - A + a + Gets the dark color for a given state. + a - - + + + Property + + 2.12.0.0 + - Gdk.GC + Gdk.Color[] + - Gets a white graphics context. - A + Dark colors indexed by state. + a - - - Property + + + + Method + + 2.12.0.0 + Gdk.GC + + + - Gets a black graphics context. - A + 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 - - - - + - Sets the graphics context for the foreground. - a , the state of the widget to set the style for - a + 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 + - System.Void + Gdk.Color - - Sets the graphics context for the background. - a , the state of the widget to set the style for - a + A , the state being considered + Gets the foreground color for a particular state + A - - + + + Method + + 2.12.0.0 + Gdk.GC @@ -419,32 +514,105 @@ color or pixmap specified by this style for . - Returns the base graphics context for the widget. - a , the state of the widget to get the GC for - a + 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 + - System.Void + Gdk.Color - - Sets the graphics context for the background. - a , the state of the widget to set the GC for - a + 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 @@ -452,102 +620,163 @@ color or pixmap specified by this style for . - Returns the graphics context for the widget's text. - a , the state of the widget to get the GC for + 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.Void + System.Boolean - - + + - Sets the graphics context for text. - a , the state of the widget to set the GC for - a + name of color to lookup. + location to put color. + Looks up a color by name.. + if , is filled in. + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.IconSet - - - - - - - - - - - + - Draws a box on the screen with the given parameters. - a - a - a - a - a - a - a - a - a - a - a + A + Gets the icon set for the given . + A - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Color - - - - - - - - - - - + - Draws a check button indicator in the given rectangle on with the given parameters. - a - a - a - a - a - a - a - a - a - a - a + 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 @@ -555,34 +784,42 @@ color or pixmap specified by this style for . + - + + - Draws a resize grip in the given rectangle on using the given parameters. a 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 @@ -590,32 +827,38 @@ color or pixmap specified by this style for . - + - + + - Draws a layout on the screen using the given parameters. a a a - a + a a a a a a - a - 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. + a + a + Draws a box on the screen with the given parameters. + - - + + + Method + + 2.12.0.0 + System.Void @@ -631,10 +874,11 @@ color or pixmap specified by this style for . + + + - Draws a radio button indicator in the given rectangle on with the given parameters. - a a a @@ -646,12 +890,20 @@ color or pixmap specified by this style for . a a a + a + a + a + Draws a gap around a box using the given parameters. - - + + + Method + + 2.12.0.0 + System.Void @@ -667,10 +919,8 @@ color or pixmap specified by this style for . - - Draws a slider widget with the given parameters. a a a @@ -682,13 +932,17 @@ color or pixmap specified by this style for . 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 @@ -706,7 +960,6 @@ color or pixmap specified by this style for . - Draws a diamond in the given rectangle on using the given parameters. a a a @@ -718,12 +971,17 @@ color or pixmap specified by this style for . a a a + Draws a diamond in the given rectangle on using the given parameters. - - + + + Method + + 2.12.0.0 + System.Void @@ -731,34 +989,35 @@ color or pixmap specified by this style for . - - - + - Draws a shadow around the given rectangle in using the given style and state and shadow type. a a - a - a + a a a a a a - a - a - + a + Paints an expander using the style specified. + + - - + + + Method + + 2.12.0.0 + System.Void @@ -766,30 +1025,40 @@ color or pixmap specified by this style for . + - - + + + + - Draws a vertical line from (, ) to (, ) in using the given style and state. a a 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 @@ -807,8 +1076,6 @@ color or pixmap specified by this style for . - Draws an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on using the given parameters. - a a a @@ -820,12 +1087,17 @@ color or pixmap specified by this style for . a a a + Draws a flat box on with the given parameters. + Method + + 2.12.0.0 + System.Void @@ -842,7 +1114,6 @@ color or pixmap specified by this style for . - Draws a focus indicator around the given rectangle on using the given style. a a a @@ -853,12 +1124,17 @@ color or pixmap specified by this style for . a a a + Draws a focus indicator around the given rectangle on using the given style. - - + + + Method + + 2.12.0.0 + System.Void @@ -874,12 +1150,9 @@ color or pixmap specified by this style for . - - - + - Draws a shadow gap around the given widget using the given parameters. a a a @@ -891,15 +1164,18 @@ color or pixmap specified by this style for . 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 @@ -907,36 +1183,34 @@ color or pixmap specified by this style for . - - + + - - - - Draws an extension for the given widget in the given style. a a a - a a 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 @@ -944,34 +1218,36 @@ color or pixmap specified by this style for . - + - - + - Draws a flat box on with the given parameters. a a a - 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 @@ -987,10 +1263,8 @@ color or pixmap specified by this style for . - - Draw a handle graphic for the given widget using the given parameters. a a a @@ -1002,13 +1276,18 @@ color or pixmap specified by this style for . 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 @@ -1020,34 +1299,70 @@ color or pixmap specified by this style for . - + + + + a + a + a + a + a + a + a + a + a + Paint a polygon. + + + + + + + + Method + + 2.12.0.0 + + + System.Void + + + + + + + + + - Draw an arrow at (, ) using the given parameters. a a a - 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 @@ -1055,30 +1370,38 @@ color or pixmap specified by this style for . + - - + + + - Draws a horizontal line from (, ) to (, ) in using the given style and state. a a 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 @@ -1099,7 +1422,6 @@ color or pixmap specified by this style for . - Draws a gap around a box using the given parameters. a a a @@ -1114,101 +1436,58 @@ color or pixmap specified by this style for . a a a + Draws a shadow gap around the given widget using the given parameters. - - - 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 - - Gdk.Color[] - - - - The colors to use for text. - a - - - - - - Property - - Gdk.Color[] - - - - The base color set. - a - - - - - - Method - - Gdk.Color - - - - - - Returns the color for text in the given state. - a - a - - - - - + + + Method + + 2.12.0.0 + - Gdk.Color + System.Void - + + + + + + + + + + + + - Returns the base color for the given state. - a - a + 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 @@ -1216,31 +1495,39 @@ color or pixmap specified by this style for . + - + + - Paints an expander using the style specified. a a - 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 @@ -1248,113 +1535,160 @@ color or pixmap specified by this style for . - - - + + + - Paint a polygon. a a - a - a + a a a a - a - a - - + a + a + a + Draws a vertical line from (, ) to (, ) in using the given style and state. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("realize") + + - Gdk.GC + System.EventHandler - - - + - Returns the graphics context for anti-aliased text. - a , the state of the widget to get the GC for - a - + + 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 + + - System.Void + Gtk.Style - - - - + - Set the graphics context for anti-aliased text. - a , the state of the widget to set the GC for - a - + Deprecated. Do not use. + a + + + - - + + + Method + + 2.12.0.0 + - Gdk.GC + Gdk.Pixbuf + + + + + - Returns a graphics context for light-colored drawing - a , the state of the widget to get the GC for - a - + 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 - - + + - Set the graphics context for light-colored drawing - a , the state of the widget to set the GC for - a + A + A + Set the background of to the +color or pixmap specified by this style for . - - + + + Method + + 2.12.0.0 + - Gdk.GC + System.Void + - Returns a graphics context for dark-colored drawing - a , the state of the widget to get the GC for - a + 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 @@ -1363,31 +1697,40 @@ color or pixmap specified by this style for . - Set the graphics context for dark-colored drawing - a , the state of the widget to set the GC for + a , the state of the widget to set the GC for a + Sets the graphics context for the background. - - + + + Method + + 2.12.0.0 + - Gdk.GC + System.Void + - Returns a graphics context for medium-colored drawing - a , the state of the widget to get the GC for - a + a + a + Sets the background pixmap for a given state. - - + + + Method + + 2.12.0.0 + System.Void @@ -1396,335 +1739,349 @@ color or pixmap specified by this style for . - Set the graphics context for medium-colored drawing a , the state of the widget to set the GC for a + Set the graphics context for dark-colored drawing - - - Property - - 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. - - - - - - System.Obsolete - - - - - - Event - - 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. - - - - - - GLib.Signal("unrealize") - - - - - - Event - - 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. - - - - - - GLib.Signal("realize") - - - - - + + + Method + + 2.12.0.0 + System.Void - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - + 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 - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - + 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 + - Gtk.Style + System.Void - + + + + - Deprecated. Do not use. - a - - - + 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 - + + + + - Deprecated. Do not use. - - - + a , the state of the widget to set the GC for + a + Set the graphics context for anti-aliased text. + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + + - The "xthickness" value of the style. - a - This value is used for various horizontal padding values in Gtk. - + a , the state of the widget to set the GC for + a + Sets the graphics context for text. + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gdk.Color - + + + - The "ythickness" value of the style. - a - This value is used for various vertical padding values in Gtk. - + a + Returns the color for text in the given state. + a + - - - Property + + + + Method + + 2.12.0.0 + - Pango.FontDescription + Gdk.GC - + + + - The value for the style. - a - - - + 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[] - Light colors indexed by state. + The colors to use for text. a - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Color[] + Gdk.GC - + + + - Mid colors indexed by state. - a + a , the state of the widget to get the GC for + Returns the graphics context for the widget's text. + a - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("unrealize") + + - Gdk.Color[] + System.EventHandler - Dark colors indexed by state. - a - + + 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 + + - Gdk.Color + System.Void - - - + - Gets the light color for a given state. - a - a - + Deprecated. Do not use. + + + - - - Method + + + + Property + + 2.12.0.0 + Gdk.Color - - - - Gets the mid color for a given state. - a - a + White. + A - - - Method + + + + Property + + 2.12.0.0 + - Gdk.Color + Gdk.GC - - - - Gets the dark color for a given state. - a - a + Gets a black graphics context. + A - - + + + Property + + 2.12.0.0 + - Gdk.Pixmap[] + System.Int32 - Gets an array of background pixmaps. - a - + The "xthickness" value of the style. + a + This value is used for various horizontal padding values in Gtk. + - - - Method + + + + Property + + 2.12.0.0 + - Gdk.Pixmap + System.Int32 - - Get the background pixmap for a given state. - a - a - + The X thickness, which is used for horizontal padding. + An integer. + (FIXME: xthickness and ythickness could be better documented.) - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - + - Sets the background pixmap for a given state. - a - a - + The "ythickness" value of the style. + a + This value is used for various vertical padding values in Gtk. + - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - name of color to lookup. - location to put color. - Looks up a color by name.. - if , is filled in. + The Y thickness, which is used for vertical padding. + A - diff --git a/doc/en/Gtk/StyleChangedArgs.xml b/doc/en/Gtk/StyleChangedArgs.xml index 09b1fc379..66cd9b42b 100644 --- a/doc/en/Gtk/StyleChangedArgs.xml +++ b/doc/en/Gtk/StyleChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.ToolbarStyle diff --git a/doc/en/Gtk/StyleChangedHandler.xml b/doc/en/Gtk/StyleChangedHandler.xml index 591283b92..0a4ebc6a4 100644 --- a/doc/en/Gtk/StyleChangedHandler.xml +++ b/doc/en/Gtk/StyleChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/StyleSetArgs.xml b/doc/en/Gtk/StyleSetArgs.xml index 2d86c8b9b..ca1a73474 100644 --- a/doc/en/Gtk/StyleSetArgs.xml +++ b/doc/en/Gtk/StyleSetArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.Style diff --git a/doc/en/Gtk/StyleSetHandler.xml b/doc/en/Gtk/StyleSetHandler.xml index de26ad464..5c3d88265 100644 --- a/doc/en/Gtk/StyleSetHandler.xml +++ b/doc/en/Gtk/StyleSetHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SubmenuDirection.xml b/doc/en/Gtk/SubmenuDirection.xml index 59cfdee03..b06926edf 100644 --- a/doc/en/Gtk/SubmenuDirection.xml +++ b/doc/en/Gtk/SubmenuDirection.xml @@ -1,16 +1,12 @@ + 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. - - Enumeration for direction of submenus. - - - System.Enum @@ -19,10 +15,19 @@ GLib.GType(typeof(Gtk.SubmenuDirectionGType)) + + Enumeration for direction of submenus. + + + + Field + + 2.12.0.0 + Gtk.SubmenuDirection @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gtk.SubmenuDirection diff --git a/doc/en/Gtk/SubmenuPlacement.xml b/doc/en/Gtk/SubmenuPlacement.xml index 2074ec44b..a9a488fd5 100644 --- a/doc/en/Gtk/SubmenuPlacement.xml +++ b/doc/en/Gtk/SubmenuPlacement.xml @@ -1,16 +1,12 @@ + 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. - - Enumeration for placement of submenus. - - - System.Enum @@ -19,30 +15,43 @@ GLib.GType(typeof(Gtk.SubmenuPlacementGType)) + + Enumeration for placement of submenus. + + + - - + + + Field + + 2.12.0.0 + Gtk.SubmenuPlacement - Place submenu top-to-bottom. + Place submenu left-to-right. - - + + + Field + + 2.12.0.0 + Gtk.SubmenuPlacement - Place submenu left-to-right. + Place submenu top-to-bottom. diff --git a/doc/en/Gtk/SubmitArgs.xml b/doc/en/Gtk/SubmitArgs.xml index e497c0883..416dc34fd 100644 --- a/doc/en/Gtk/SubmitArgs.xml +++ b/doc/en/Gtk/SubmitArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.String @@ -40,28 +49,36 @@ - - + + + Property + + 3.16.0.0 + System.String - The URL to submit the form data to. + The HTTP method to use for submitting. A - + Usually GET, POST, or PUT. - - + + + Property + + 3.16.0.0 + System.String - The HTTP method to use for submitting. + The URL to submit the form data to. A - Usually GET, POST, or PUT. + diff --git a/doc/en/Gtk/SubmitHandler.xml b/doc/en/Gtk/SubmitHandler.xml index ff07798c2..20432354b 100644 --- a/doc/en/Gtk/SubmitHandler.xml +++ b/doc/en/Gtk/SubmitHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SurroundingDeletedArgs.xml b/doc/en/Gtk/SurroundingDeletedArgs.xml index 4c9a3b75c..1b814a811 100644 --- a/doc/en/Gtk/SurroundingDeletedArgs.xml +++ b/doc/en/Gtk/SurroundingDeletedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gtk/SurroundingDeletedHandler.xml b/doc/en/Gtk/SurroundingDeletedHandler.xml index 9d9ba46cc..b98dbcf86 100644 --- a/doc/en/Gtk/SurroundingDeletedHandler.xml +++ b/doc/en/Gtk/SurroundingDeletedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/SwitchPageArgs.xml b/doc/en/Gtk/SwitchPageArgs.xml index 8aa44e92a..64520b440 100644 --- a/doc/en/Gtk/SwitchPageArgs.xml +++ b/doc/en/Gtk/SwitchPageArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - System.UInt32 + Gtk.NotebookPage - The page number being switched to. - A + The notebook page being switched to. + A - - + + + Property + + 2.12.0.0 + - Gtk.NotebookPage + System.UInt32 - The notebook page being switched to. - A + The page number being switched to. + A diff --git a/doc/en/Gtk/SwitchPageHandler.xml b/doc/en/Gtk/SwitchPageHandler.xml index 9a848b5dd..5c2a51b85 100644 --- a/doc/en/Gtk/SwitchPageHandler.xml +++ b/doc/en/Gtk/SwitchPageHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Table+TableChild.xml b/doc/en/Gtk/Table+TableChild.xml index 36392ab2d..f1fa2ca70 100644 --- a/doc/en/Gtk/Table+TableChild.xml +++ b/doc/en/Gtk/Table+TableChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,46 +9,60 @@ Gtk.Container+ContainerChild + + A child of a , used to interact with its container child properties. + + + + - - - Property - - - Gtk.ChildProperty("bottom-attach") - - - - System.UInt32 - + + + + Constructor + + 2.12.0.0 + + + + + - The table row that the bottom of this child is attached to - the row - - + To be added. + To be added. + To be added. + To be added. - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("top-attach") + Gtk.ChildProperty("bottom-attach") System.UInt32 - The table row that the top of this child is attached to + The table row that the bottom of this child is attached to the row - + + Property + + 2.12.0.0 + Gtk.ChildProperty("left-attach") @@ -64,8 +79,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("right-attach") @@ -81,30 +100,38 @@ - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("y-padding") + Gtk.ChildProperty("top-attach") System.UInt32 - The vertical padding for this child - the padding + The table row that the top of this child is attached to + the row - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("y-options") + Gtk.ChildProperty("x-options") @@ -118,8 +145,12 @@ - + + Property + + 2.12.0.0 + Gtk.ChildProperty("x-padding") @@ -135,12 +166,16 @@ - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("x-options") + Gtk.ChildProperty("y-options") @@ -153,11 +188,27 @@ + + + + Property + + 2.12.0.0 + + + + Gtk.ChildProperty("y-padding") + + + + System.UInt32 + + + The vertical padding for this child + the padding + + + + - - A child of a , used to interact with its container child properties. - - - - diff --git a/doc/en/Gtk/Table.xml b/doc/en/Gtk/Table.xml index 575c04a2b..9d23e8d33 100644 --- a/doc/en/Gtk/Table.xml +++ b/doc/en/Gtk/Table.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -33,107 +39,107 @@ public Widget MakeTableTester() - - Gtk.Container - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Void - - - - - - - Sets the spacing around a specified column. - A zero-indexed column number to adjust the spacing of. - The number of pixels on each side of the . - - To adjust the spacing between all columns, use the property. - - - - - - Method - - System.UInt32 - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - The spacing currently set for a given column. - A zero-indexed column number to retrieve spacing information from. - The number of pixels of spacing assigned to the specified . - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Sets the spacing around a specified row. - A zero-indexed row number to adjust the spacing of. - The number of pixels on each side of the . + Pointer to the C object. + Internal constructor - To adjust the spacing between all rows, use the property. + This is an internal constructor, and should not be used by user code. - - - Method - - System.UInt32 - + + + + Constructor + + 2.12.0.0 + + - + + + - The spacing currently set for a given row. - A zero-indexed row number to retrieve spacing information from. - The number of pixels of spacing assigned to the specified . - + 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 - - + + + + + - Resizes the table so that the specified number of and are available for widget packing. - The new number of rows this table should allow. - The new number of columns this table should allow. - + 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 @@ -149,7 +155,6 @@ public Widget MakeTableTester() - Packs a widget into the table. The to add. The column number to attach the left side of to. The column number to attach the right side of to. @@ -159,74 +164,59 @@ public Widget MakeTableTester() 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("column-spacing") + + - System.Void + System.UInt32 - - - - - - - - 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. - - - - - - Constructor - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + The number of pixels between columns if it isn't the default value. + A . + - - - Constructor - - - - - - + + + + Property + + 2.12.0.0 + + + System.UInt32 + - Creates a new Table widget. - 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). - - The size of the table can be altered after its creation using the method. - + The default number of pixels between columns. + A . + - + + Property + + 2.12.0.0 + System.UInt32 @@ -236,59 +226,75 @@ public Widget MakeTableTester() - - - Property + + + + Method + + 2.12.0.0 + System.UInt32 + + + - The default number of pixels between columns. - A . + 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 . - - - Property + + + + Method + + 2.12.0.0 + System.UInt32 + - The number of pixels between columns if it isn't the default value. - A . + 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 . - - - GLib.Property("column-spacing") - - - - + + + Property + + 2.12.0.0 + - System.UInt32 + GLib.GType - - + - Manage the number of columns in this Table. - The number of columns this table currently has. - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("n-columns") + GLib.Property("homogeneous") - - - - Property System.Boolean @@ -300,35 +306,62 @@ public Widget MakeTableTester() 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("homogeneous") + GLib.Property("n-columns") - - - - Property System.UInt32 - The space between table rows. - - . + Manage the number of columns in this Table. + The number of columns this table currently has. + + + + + Property + + 2.12.0.0 + - GLib.Property("row-spacing") + GLib.Property("n-rows") - - - - Property System.UInt32 @@ -339,42 +372,97 @@ public Widget MakeTableTester() 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("n-rows") + GLib.Property("row-spacing") + + System.UInt32 + + + + + The space between table rows. + + . + + - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + - GType Property. - a - Returns the native value for . + 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. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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. + - - - System.Obsolete - - diff --git a/doc/en/Gtk/TagAddedArgs.xml b/doc/en/Gtk/TagAddedArgs.xml index fd2201483..c1e38ee44 100644 --- a/doc/en/Gtk/TagAddedArgs.xml +++ b/doc/en/Gtk/TagAddedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextTag diff --git a/doc/en/Gtk/TagAddedHandler.xml b/doc/en/Gtk/TagAddedHandler.xml index b7bd4f110..f4ab1ef12 100644 --- a/doc/en/Gtk/TagAddedHandler.xml +++ b/doc/en/Gtk/TagAddedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/TagAppliedArgs.xml b/doc/en/Gtk/TagAppliedArgs.xml index 29e2b475a..964de7c16 100644 --- a/doc/en/Gtk/TagAppliedArgs.xml +++ b/doc/en/Gtk/TagAppliedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextIter @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextIter @@ -53,8 +66,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextTag diff --git a/doc/en/Gtk/TagAppliedHandler.xml b/doc/en/Gtk/TagAppliedHandler.xml index 6cbd1a975..4d469a02e 100644 --- a/doc/en/Gtk/TagAppliedHandler.xml +++ b/doc/en/Gtk/TagAppliedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/TagChangedArgs.xml b/doc/en/Gtk/TagChangedArgs.xml index 2ed1bee83..51433c074 100644 --- a/doc/en/Gtk/TagChangedArgs.xml +++ b/doc/en/Gtk/TagChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -41,8 +50,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextTag diff --git a/doc/en/Gtk/TagChangedHandler.xml b/doc/en/Gtk/TagChangedHandler.xml index d9536f37f..93f5f623a 100644 --- a/doc/en/Gtk/TagChangedHandler.xml +++ b/doc/en/Gtk/TagChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/TagRemovedArgs.xml b/doc/en/Gtk/TagRemovedArgs.xml index c0561a79a..5a07551ce 100644 --- a/doc/en/Gtk/TagRemovedArgs.xml +++ b/doc/en/Gtk/TagRemovedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 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. @@ -27,14 +32,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -43,8 +48,12 @@ - + + Property + + 2.12.0.0 + Gtk.TextTag diff --git a/doc/en/Gtk/TagRemovedHandler.xml b/doc/en/Gtk/TagRemovedHandler.xml index 4cb31e0e3..da5ef97c1 100644 --- a/doc/en/Gtk/TagRemovedHandler.xml +++ b/doc/en/Gtk/TagRemovedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -29,15 +40,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/Target.xml b/doc/en/Gtk/Target.xml index 41ff775e6..3e09cc1b1 100644 --- a/doc/en/Gtk/Target.xml +++ b/doc/en/Gtk/Target.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ System.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Method + + 2.12.0.0 + System.Void @@ -37,7 +51,11 @@ + Method + + 2.12.0.0 + Gtk.TargetEntry @@ -54,9 +72,4 @@ - - To be added. - To be added. - - - \ No newline at end of file + diff --git a/doc/en/Gtk/TargetEntry.xml b/doc/en/Gtk/TargetEntry.xml index e2bea88a3..5a72e7fd0 100644 --- a/doc/en/Gtk/TargetEntry.xml +++ b/doc/en/Gtk/TargetEntry.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,30 +8,77 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A potential target for a drag-and-drop operation; one row in a . - - 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.TargetEntry + Gtk.TargetFlags - + + - An empty/default TargetEntry. + 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 @@ -38,32 +86,19 @@ - Constructor. Not for use by developers. A , pointer to the underlying C object. + Constructor. Not for use by developers. A - - - Constructor - - - - - - - - Constructor. - a - a - a - - - + Field + + 2.12.0.0 + System.String @@ -76,29 +111,19 @@ application may define its own targets. - - - Field - - Gtk.TargetFlags - - - - - The flags that constrain what can be dragged to this target. - - - - - + + + Field + + 2.12.0.0 + - System.UInt32 + Gtk.TargetEntry - - + - A unique identifier for a target. + An empty/default TargetEntry. diff --git a/doc/en/Gtk/TargetFlags.xml b/doc/en/Gtk/TargetFlags.xml index 54a9287ea..12cd92ba5 100644 --- a/doc/en/Gtk/TargetFlags.xml +++ b/doc/en/Gtk/TargetFlags.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The enumeration is used to specify constraints on an entry in a . - - - System.Enum @@ -23,10 +19,19 @@ System.Flags + + The enumeration is used to specify constraints on an entry in a . + + + + Field + + 2.12.0.0 + Gtk.TargetFlags @@ -37,22 +42,28 @@ - - + + + Field + + 2.12.0.0 + Gtk.TargetFlags - - If this is set, the target will only be selected for drags within a single widget. - - + To be added. + - - + + + Field + + 2.12.0.0 + Gtk.TargetFlags @@ -61,15 +72,21 @@ - - + + + Field + + 2.12.0.0 + Gtk.TargetFlags + - To be added. - + If this is set, the target will only be selected for drags within a single widget. + + diff --git a/doc/en/Gtk/TargetList.xml b/doc/en/Gtk/TargetList.xml index ede90e495..93be5c151 100644 --- a/doc/en/Gtk/TargetList.xml +++ b/doc/en/Gtk/TargetList.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,18 +8,22 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A list of potential targets for a paste or drag-and-drop operation. - - GLib.Opaque + + A list of potential targets for a paste or drag-and-drop operation. + + + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ + Constructor + + 2.12.0.0 + - Constructor an array of + Constructor + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor This is an internal constructor, and should not be used by user code. @@ -56,7 +69,11 @@ + Method + + 2.12.0.0 + System.Void @@ -66,16 +83,20 @@ - Add a target type to the target list 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 @@ -85,16 +106,67 @@ - Add a target type to the target list 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 @@ -102,14 +174,76 @@ - Add entries to the target list 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 @@ -118,9 +252,9 @@ - Find a given target type 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 @@ -128,7 +262,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -137,144 +275,125 @@ - Find a given target type 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 - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - - Remove an entry from the target list - the target to remove, as a - + Native GType. + + For internal use by language bindings. + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TargetEntry[] - + - Remove an entry from the target list - the target to remove, as a string + A . + Converts a to an array of . + An equivalent array of . - - + + + Method + + 2.12.0.0 + System.Void - + - Adds the target types for URIs to the target list - application-defined ID for these target types - Appends the URI targets supported by to the target list. All targets are - added with the same . - + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + System.Void - - + - Adds the target types for images to the target list - application-defined ID for these target types - if , only add the target types for which Gtk knows how to convert a to the format. - Appends the image targets supported by to the target list. All targets are - added with the same . - + the target to remove, as a + Remove an entry from the target list + - - + + + Method + + 2.12.0.0 + System.Void - - - - Adds the target types for text to the target list - application-defined ID for these target types - Appends the text targets supported by to the target list. All targets are - added with the same . - - - - - - Method - - Gtk.TargetEntry[] - - - + - A . - Converts a to an array of . - An equivalent array of . + the target to remove, as a string + Remove an entry from the target list - - + + + 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. - - - - - - Property - - GLib.GType - - - Native GType. - - For internal use by language bindings. - + To be added. + To be added. + To be added. diff --git a/doc/en/Gtk/TargetPair.xml b/doc/en/Gtk/TargetPair.xml index 0e9e6228a..9555de5c5 100644 --- a/doc/en/Gtk/TargetPair.xml +++ b/doc/en/Gtk/TargetPair.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,30 +8,56 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Do not use. - - System.ValueType + + Do not use. + + - - + + + Field + + 2.12.0.0 + - Gtk.TargetPair + System.UInt32 - + + - An empty target. + Do not use. + + + + + + + Field + + 2.12.0.0 + + + System.UInt32 + + + + + Do not use. + Method + + 2.12.0.0 + Gtk.TargetPair @@ -38,60 +65,42 @@ - Constructor for internal use only. a , pointer to the underlying C structure. + Constructor for internal use only. a - + + Property - - Gdk.Atom - - - - - Do not use. - a - - + + 2.12.0.0 + System.Obsolete("Replaced by Target property.") - - - - Field - - System.UInt32 - - - - - Do not use. - - - - - - Field - System.UInt32 + Gdk.Atom Do not use. + a - + + Property + + 2.12.0.0 + Gdk.Atom @@ -101,5 +110,21 @@ To be added. + + + + Field + + 2.12.0.0 + + + Gtk.TargetPair + + + + An empty target. + + + diff --git a/doc/en/Gtk/Targets.xml b/doc/en/Gtk/Targets.xml index 67d3e1a86..b0b440ed4 100644 --- a/doc/en/Gtk/Targets.xml +++ b/doc/en/Gtk/Targets.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ System.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -40,7 +54,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -60,7 +78,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -78,7 +100,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -95,9 +121,4 @@ - - To be added. - To be added. - - - \ No newline at end of file + diff --git a/doc/en/Gtk/TearoffMenuItem.xml b/doc/en/Gtk/TearoffMenuItem.xml index c99baa292..2b0b093b6 100644 --- a/doc/en/Gtk/TearoffMenuItem.xml +++ b/doc/en/Gtk/TearoffMenuItem.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -28,40 +34,69 @@ - - Gtk.MenuItem - - - - + + + Constructor + + 2.12.0.0 + + + + + Creates a new + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new - + 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 @@ -72,23 +107,5 @@ 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 - - - diff --git a/doc/en/Gtk/TestCollapseRowArgs.xml b/doc/en/Gtk/TestCollapseRowArgs.xml index 78e86c0d3..a763baf6b 100644 --- a/doc/en/Gtk/TestCollapseRowArgs.xml +++ b/doc/en/Gtk/TestCollapseRowArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - Gtk.TreePath + Gtk.TreeIter - The path of the row being tested for collapsability. - A + The row being tested for collapsability. + A - - + + + Property + + 2.12.0.0 + - Gtk.TreeIter + Gtk.TreePath - The row being tested for collapsability. - A + The path of the row being tested for collapsability. + A diff --git a/doc/en/Gtk/TestCollapseRowHandler.xml b/doc/en/Gtk/TestCollapseRowHandler.xml index 47cf85257..9ef6ff261 100644 --- a/doc/en/Gtk/TestCollapseRowHandler.xml +++ b/doc/en/Gtk/TestCollapseRowHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/TestExpandRowArgs.xml b/doc/en/Gtk/TestExpandRowArgs.xml index 897371c6f..4a006101c 100644 --- a/doc/en/Gtk/TestExpandRowArgs.xml +++ b/doc/en/Gtk/TestExpandRowArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,27 +33,35 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - Gtk.TreePath + Gtk.TreeIter - The path of the row being tested for expandability. - A + The row being tested for expandability. + A - - + + + Property + + 2.12.0.0 + - Gtk.TreeIter + Gtk.TreePath - The row being tested for expandability. - A + The path of the row being tested for expandability. + A diff --git a/doc/en/Gtk/TestExpandRowHandler.xml b/doc/en/Gtk/TestExpandRowHandler.xml index 458da8e85..d4c799d24 100644 --- a/doc/en/Gtk/TestExpandRowHandler.xml +++ b/doc/en/Gtk/TestExpandRowHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/TextAppearance.xml b/doc/en/Gtk/TextAppearance.xml index f074b6095..45fde731b 100644 --- a/doc/en/Gtk/TextAppearance.xml +++ b/doc/en/Gtk/TextAppearance.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,140 +8,173 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This is used by for color and position details about text. - - System.ValueType + + This is used by for color and position details about text. + + - - - Field + + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by BgStipple property.") + + - Gtk.TextAppearance + Gdk.Pixmap - + + - A default/empty TextAppearance. + A stipple (dotted) pattern for the background color. + a + - - - Method + + + + Field + + 2.12.0.0 + - Gtk.TextAppearance + Gdk.Color - - Internal constructor; not for developer use. - an , pointer to the underlying C object - a new + The background color of this text. - - + + + Property + + 2.12.0.0 + Gdk.Pixmap - - - A stipple (dotted) pattern for the foreground color. - a - - + To be added. + To be added. + To be added. + + + + + Property + + 2.12.0.0 + System.Obsolete("Replaced by FgStipple property.") - - - - Property Gdk.Pixmap - A stipple (dotted) pattern for the background color. + A stipple (dotted) pattern for the foreground color. a - - - System.Obsolete("Replaced by BgStipple property.") - - - - + + + Field + + 2.12.0.0 + Gdk.Color - The background color of this text. + The foreground color of this text. - - - Field + + + + Property + + 2.12.0.0 + - Gdk.Color + Gdk.Pixmap - - - The foreground color of this text. - + To be added. + To be added. + To be added. - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.TextAppearance + - Offset of text in pixels above the baseline (if positive) or below the baseline (if negative). + an , pointer to the underlying C object + Internal constructor; not for developer use. + a new - - - Property + + + + Field + + 2.12.0.0 + - Pango.Underline + System.Int32 - Style of underlining for this text. + Offset of text in pixels above the baseline (if positive) or below the baseline (if negative). - To be added. - - + + Property + + 2.12.0.0 + System.Boolean @@ -152,28 +186,39 @@ - - + + + Property + + 2.12.0.0 + - Gdk.Pixmap + Pango.Underline + + - To be added. + Style of underlining for this text. To be added. - To be added. + + - - - Property + + + + Field + + 2.12.0.0 + - Gdk.Pixmap + Gtk.TextAppearance + - To be added. - To be added. - To be added. + A default/empty TextAppearance. + diff --git a/doc/en/Gtk/TextAttributes.xml b/doc/en/Gtk/TextAttributes.xml index 04c1a00cf..11fb9df21 100644 --- a/doc/en/Gtk/TextAttributes.xml +++ b/doc/en/Gtk/TextAttributes.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,100 +8,85 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An object to represent the possible attributes of text in a - - GLib.Opaque + + An object to represent the possible attributes of text in a + + - - - Field - - Gtk.TextAttributes - - - - Obsolete: use . - - - - - System.Obsolete("Gtk.TextAttributes is a reference type now, use null") - - - + Constructor + + 2.12.0.0 + Public constructor. - - - Method - - Gtk.TextAttributes - - - - Obsolete, replaced by normal constructor - A new - - - + Constructor + + 2.12.0.0 + - Constructor for internal use only. An , a pointer to the C object. + Constructor for internal use only. - - - Method + + + + Property + + 2.12.0.0 + - Gtk.TextAttributes + Gtk.TextAppearance - - - - Obsolete constructor for internal use only. - An , a pointer to the C object. - a new - + The appearance of this text: colors, underlining, etc. + To be added. + See for more details. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Boolean - - - + - Copy the values in this object to and free the values in this object.. - A new + Whether background is fit to full line height + a + + Method + + 2.12.0.0 + Gtk.TextAttributes @@ -111,102 +97,137 @@ FIXME: elaborate the difference between this and Copy, and see if the differences in the underlying C library carry over to the C# library - - - Property + + + + Method + + 2.12.0.0 + - Pango.Language + System.Void + + + - The language of this text. + A new + Copy the values in this object to and free the values in this object.. - To be added. - - + + + Property + + 2.12.0.0 + - Pango.Language + Gtk.TextDirection - - - The language of this text. - a + Whether this text runs right-to-left or left-to-right. + To be added. - - - System.Obsolete("Replaced by Language property.") - - - - + + + Property + + 2.12.0.0 + - Pango.TabArray + System.Boolean + - The tab stops for this text. + Whether or not the text is editable. + a - To be added. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.TabArray + System.Void - - + - The tab stops for this text. - a - + To be added. + To be added. + + + + + Property + + 2.12.0.0 + - System.Obsolete("Replaced by Tabs property.") + System.Obsolete("Replaced by Font property.") - - - - Property Pango.FontDescription + + The font for this text. + a - To be added. - - + + + Property + + 2.12.0.0 + Pango.FontDescription - - The font for this text. - a + To be added. - - - System.Obsolete("Replaced by Font property.") - - + + + + + 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 @@ -217,192 +238,352 @@ Returns the native value for . - - + + + Property + + 2.12.0.0 + - Gtk.TextAppearance + System.Int32 - The appearance of this text: colors, underlining, etc. - See for more details. + 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.") + + - Gtk.TextDirection + Pango.Language + + - Whether this text runs right-to-left or left-to-right. + The language of this text. + a - To be added. - - + + + Property + + 2.12.0.0 + - System.Double + Pango.Language - The scale of this text. - For more information about font scaling, see + The language of this text. To be added. + - + + Property + + 2.12.0.0 + System.Int32 The size of the left margin. - To be added. + - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by TextAttributes() constructor") + + - System.Int32 + Gtk.TextAttributes + - The size of the indent. + Obsolete, replaced by normal constructor + A new - To be added. - - - Property + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by TextAttributes(IntPtr) constructor") + + - System.Int32 + Gtk.TextAttributes + + + - The size of the right margin. + An , a pointer to the C object. + Obsolete constructor for internal use only. + a new - To be added. - + + 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 + - Gtk.WrapMode + System.Boolean + - The line-wrapping style for this text. + Whether or not the attribute is fully-realized. + a - 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 + System.Int32 - - Whether or not the text should be hidden. - a + The size of the right margin. + To be added. - - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Tabs property.") + + - System.Boolean + Pango.TabArray - + + - Whether background is fit to full line height - a + The tab stops for this text. + a - - - + + + Property + + 2.12.0.0 + - System.Boolean + Pango.TabArray - - Whether or not the text is editable. - a + 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 + - System.Boolean + 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 - Whether or not the attribute is fully-realized. - a + Obsolete: use . - diff --git a/doc/en/Gtk/TextBuffer.xml b/doc/en/Gtk/TextBuffer.xml index 75fd58470..f07acf811 100644 --- a/doc/en/Gtk/TextBuffer.xml +++ b/doc/en/Gtk/TextBuffer.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 . @@ -63,72 +69,113 @@ public class TextBufferExample - - GLib.Object - - - - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Clears the contents of the buffer + 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 - + + - Deletes the mark named ; the mark must exist. - the name of a mark in buffer - - - See for more details. - - + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + System.Void - - + - - Retrieves the first and last iterators in the buffer, i.e. the entire buffer. - - - A object to store the location - of the beginning of the buffer. - - - A object to store the location - of the end of the buffer. - - + 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 @@ -138,252 +185,228 @@ public class TextBufferExample - - Fires the events - and removes all occurrences of from - the given range - - the to remove - the beginning of the range - the end of the range + a + the beginning of the range to be tagged + the end of the range to be tagged + Fires the events on buffer. - Fires the - event. The default handler for the signal removes all - occurrences of tag from the given range. and . + 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 - Removes all tags in the range between and . + Fires the event on buffer. The default handler + for the signal applies tag to the given range. - The beginning of the range - The end of the range - 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. + The order for and is not important. - - + + + Method + + 2.12.0.0 + - Gtk.TextMark + System.Boolean - + + + - - Returns the mark named name in buffer buffer, or if no such mark exists in the buffer. - - the name of a mark - - Returns the mark named name in buffer buffer, or if no such mark exists in the buffer. - - + a + a + a + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + System.Void - Should be paired with a call to . - See for an explanation. + 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. + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + - System.Void + System.EventHandler - - - - + - Inserts a child widget anchor into the text buffer. - location to insert the anchor - a . - - - 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. - - - + Emitted when the text in the buffer has been changed. + - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - - Returns if some text is selected - the location of the beginning of the selection - the location of the end of the selection - Returns if the selection has nonzero length + The number of characters in the buffer + The number of characters in the buffer - - 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. - + The result of this method is cached, so it is very fast. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("insert_child_anchor") + + - System.Void + Gtk.ChildAnchorInsertedHandler - 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. - - + Emitted when a ChildAnchor has been inserted in the buffer. + - - + + + Method + + 2.12.0.0 + System.Void - - - - - + - - Pastes the contents of a clipboard at the insertion point, - or at . - - the to paste from - - the location to insert pasted text, or for at the cursor - - - whether the buffer is editable by default - + Clears the contents of the buffer - 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.) - - - + + + Method + + 2.12.0.0 + System.Void - - + - a . - To be added. - Moves mark to the new location . + The to copy the text to. + Copies the buffer's selected text to the given . - - Moves mark to the new location where. Fires the event as notification of the move. - + 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); +} + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("copy-target-list") + + - System.String + Gtk.TargetList - - - - - - - Returns the text from to . - - the start of a range - the end of the range - whether to include invisible text - - 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. - - + Obtains the copy TargetList. + a . + + + Method + + 2.12.0.0 + Gtk.TextChildAnchor @@ -391,12 +414,12 @@ public class TextBufferExample + 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 location in the buffer the created child anchor @@ -409,118 +432,158 @@ public class TextBufferExample - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TextMark - - - + + + - Fires the events on buffer. - a - the beginning of the range to be tagged - the end of the range to be tagged + name for mark, or . + To be added. + whether the mark has left gravity + Creates a mark at position . + a new object - The default handler for the signal applies tag to the - given range. and do not have to be in order. + 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 - - - + + - - Copies text, tags, and pixbufs between - and and inserts the copy at . - - a position in buffer - - a position in the source - - a position in the source - - - 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. - - - + 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 - - - Calls on the buffer's tag table to get a , then calls - - the name of the tag - the beginning of the buffer to be untagged - the end of the buffer to be untagged - + 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.Boolean + System.Void - - + + - Deletes the currently-selected text - whether the deletion is caused by user interaction - whether the buffer is editable by default - - whether there was a non-empty selection to delete - + a position in the buffer + a position in the buffer + + Deletes text between and . + - 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). + 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 @@ -530,10 +593,10 @@ public class TextBufferExample - Deletes all editable text in the given range. 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 @@ -547,953 +610,1213 @@ public class TextBufferExample - - + + + Method + + 2.12.0.0 + System.Void - + - Removes a added with . - an object of type - + + 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 - - + - - Deletes text between and . - - a position in the buffer - a position in the buffer + the name of a mark in buffer + Deletes the mark named ; the mark must exist. - 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. + 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.Void + System.Boolean - + + - Moves the "insert" and "selection_bound" marks simultaneously. - where to put the cursor + 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 + - 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. + 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.Void + System.Boolean - + + + + + - Adds to the list of clipboards in which the selection contents of buffer are available. - an object of type - In most cases, clipboard will be the of type for a view of buffer. + buffer to deserialize content. + MIME type format. + insertion point. + serialized data. + length of serialized data. + Deserialize content. + a . + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Atom[] - - - - Deletes mark, so that it is no longer located anywhere in the buffer. - - a in the buffer to be deleted. - - - - 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. - - + The supported MIME type formats for deserialization. + an array of MIME type Atoms. + - - + + + Method + + 2.12.0.0 + - Gtk.TextMark + System.Boolean - - - + - 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. - - + 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 - + + - Copies the buffer's selected text to the given . - The to copy the text to. - - 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); -} - - + 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 - - - - + - 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. - + Should be paired with a call to . + See for an explanation. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - - + + - - Same as , but does nothing if the insertion point is not editable. - - a position in buffer - a position in the source + A object to store the location + of the beginning of the buffer. + - a position in the source - - whether the text is editable at if no tags enclosing - iter affect editability + A object to store the location + of the end of the buffer. - - 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. - - - + + Retrieves the first and last iterators in the buffer, i.e. the entire buffer. + + - - + + + Method + + 2.12.0.0 + - System.String + Gtk.TextIter - - - + - Returns the text from a specified range - the beginning of the specified range - the end of the specified range - whether to include invisible text - 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 . - - + A at the current buffer. + Gets the location of the specific anchor. + The location at . + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TextIter - - - + - - Fires the event on buffer. The default handler - for the signal applies tag to the given range. - - the name of the tag - the location of the beginning of the range - the location of the end of the range - - - The order for and is not important. - - + 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 + - System.Void + Gtk.TextIter - - + + - - Inserts an image into the text buffer at . - - The location to insert the image - The image to be inserted + 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 . - 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 . - + 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 + - System.Void + Gtk.TextIter - - + + - Copies the currently-selected text to a clipboard, then deletes said text if it is editable. - an object of type - an object of type + a + a + Gets the location of a specific point. + The location at the location specified by and . - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.TextIter + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + The specified mark. + Gets the location of the specified mark. + The location of . + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.TextIter + - + - Creates a new text buffer. - a tag table, or to create a new one + The requested character offset + Returns the location at a particular character offset + The location at - - - Property + + + + Method + + 2.12.0.0 + - System.String + Gtk.TextMark + - The complete contents of the buffer - The contents of the current buffer + 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. + - - - GLib.Property("text") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + + + + - Obtains the number of lines in the buffer. - The number of lines in the buffer + 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 - The results of this method is cached, so this is very fast. + 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. - - - Property - - Gtk.TextIter - - - The end of the buffer - The location of the end of the buffer - - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.String + + + - Whether or not the buffer has been modified - - if the buffer has - been modified, otherwise. - + 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 - Whenever the buffer is saved to disk, set this property to - . When the buffer is modified, it - will automatically toggled 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. - Whenever this property is changed, the event is raised. + Contrast this with . - - + + + Property + + 2.12.0.0 + - Gtk.TextTagTable + GLib.GType + - The tag table of the current buffer - The current of the buffer + 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 + - GLib.Property("tag-table") + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TextMark + System.Void + + + + - Returns the mark that represents the selection bound. - a + + 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 - 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 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. + - 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. + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TextMark + System.Boolean + + + + + - Returns the mark that represents the cursor (insertion point). - The mark of the insert point. + 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 - This is equivelant to calling for the - mark named "insert". + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + + + + - The number of characters in the buffer - The number of characters in the buffer + 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 - The result of this method is cached, so it is very fast. + See for more details. - - + + + Property + + 2.12.0.0 + - Gtk.TextIter + Gtk.TextMark - The location of the beginning of the buffer - The location of the beginning of the buffer + Returns the mark that represents the cursor (insertion point). + The mark of the insert point. - This is the equivelant to calling to get the iter at character offset 0. + This is equivelant to calling for the + mark named "insert". - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + - Emitted when a UserAction ends on the buffer. - - - - - GLib.Signal("end_user_action") - - - - - - Event - - Gtk.TagRemovedHandler - - - - Emitted when a tag is removed from the buffer. - - - - - GLib.Signal("remove_tag") - - - - - - Event - - System.EventHandler - - - - Emitted when a UserAction is begun on the buffer. - + 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 . + + + - - - GLib.Signal("begin_user_action") - - - - - Event - - Gtk.MarkSetHandler - - - - Emitted when a mark is set in the buffer. - - + + + + Method + + 2.12.0.0 + - GLib.Signal("mark_set") + System.Obsolete("Replaced by 'ref TextIter iter' overload") - - - - Event - Gtk.TagAppliedHandler + System.Void - + + + + + - Emitted when a tag is applied to the buffer. - + 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. - - - GLib.Signal("apply_tag") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ChildAnchorInsertedHandler + System.Void - + + + + + - Emitted when a ChildAnchor has been inserted in the buffer. - + 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. + + + - - - GLib.Signal("insert_child_anchor") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.MarkDeletedHandler + System.Boolean - + + + + + + - Emitted when a mark has been deleted from the buffer. - + 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. + + + - - - GLib.Signal("mark_deleted") - - - - + + + Event - - Gtk.DeleteRangeHandler - - - - Emitted when a range of text has been deleted from the buffer. - - + + 2.12.0.0 + - GLib.Signal("delete_range") + GLib.Signal("insert_text") - - - - Event - Gtk.PixbufInsertedHandler + Gtk.InsertTextHandler - Emitted when a Pixbuf is inserted into the buffer. + Emitted when text is inserted into the buffer. - - - GLib.Signal("insert_pixbuf") - - - - - Event - - System.EventHandler - - - - Emitted when the text in the buffer has been changed. - - + + + + Method + + 2.12.0.0 + - GLib.Signal("changed") + System.Obsolete("Replaced by 'ref TextIter iter' overload") - - - - Event - Gtk.InsertTextHandler + System.Void - + + + + + + + System.ParamArray + + + + - Emitted when text is inserted into the buffer. - + To be added. + To be added. + To be added. + Inserts text with tag information. + The overload is obsolete, replace by the ref TextIter overload. - - - GLib.Signal("insert_text") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + + + + System.ParamArray + + + + - Emitted when the Modified status of the buffer is changed. - + 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. + - - - GLib.Signal("modified_changed") - - - - + + + Method + + 2.12.0.0 + - Gtk.TextIter + System.Void - + + + + + + System.ParamArray + + + - Returns the location at a particular character offset - The requested character offset - The location at - + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - Insert text into the current cursor position - The text to be inserted + Obtains the number of lines in the buffer. + The number of lines in the buffer - The event is - raised when a call to this method is made. + The results of this method is cached, so this is very fast. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("mark_deleted") + + - System.Void + Gtk.MarkDeletedHandler - - - - + - Insert text at a specific point - - The location for to be - inserted - - The text to be inserted + Emitted when a mark has been deleted from the buffer. - - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("mark_set") + + - System.Boolean + Gtk.MarkSetHandler - - - - + - Insert text at cursor position if the location is editable - The text to be inserted - The default editability of the buffer - Whether or not was inserted - - See for more details. - + Emitted when a mark is set in the buffer. + - - - Method + + + + Property + + 2.12.0.0 + System.Boolean - - - - - Insert text if the cursor is at an editable point in - the buffer - - a location in the buffer - the text to be inserted - the default editability of buffer - whether text was actually inserted + Whether or not the buffer has been modified + + if the buffer has + been modified, otherwise. + - 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). + Whenever the buffer is saved to disk, set this property to + . When the buffer is modified, it + will automatically toggled to . - indicates the editability of text that - does not have a tag affecting editability applied to - it. Typically the result of - is appropriate here. + Whenever this property is changed, the event is raised. - - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("modified_changed") + + - System.Void + System.EventHandler - - - + - Set the contents of the buffer - The new contents of the buffer - - - This is equivelant to using the setter of the - property. - - + Emitted when the Modified status of the buffer is changed. + - - + + + Method + + 2.12.0.0 + System.Void - + + - Pastes the contents of a clipboard at the insertion point. - a - - - - - - 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. + 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 - - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -1503,26 +1826,44 @@ public class TextBufferExample 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 - + - Default handler for the event. a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -1531,15 +1872,50 @@ public class TextBufferExample - Default handler for the event. 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 @@ -1547,79 +1923,124 @@ public class TextBufferExample - Default handler for the event. 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 - - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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. - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -1629,612 +2050,701 @@ public class TextBufferExample - Default handler for the event. 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. + 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideUserActionEnded", Type=typeof(Gtk.TextBuffer)) - - - - Method - Gtk.TextIter + System.Void - - - - + - Gets the location of a specific point. - a - a - The location at the location specified by and . - + 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.TextIter + System.Void - + - Gets the location of a particular line. - The specified line number. - The location at the beginning fo the line as specified by . + a + Pastes the contents of a clipboard at the insertion point. - - + + + Method + + 2.12.0.0 + - Gtk.TextIter + System.Void - + + + - Gets the location of the specified mark. - The specified mark. - The location of . - + 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.) + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("paste-target-list") + + - Gtk.TextIter + Gtk.TargetList - - - - Gets the location of the specific anchor. - A at the current buffer. - The location at . + Obtains the paste TargetList. + a . + - - - Method - - Gtk.TextIter - - - - - - - Obtains an iterator pointing to within the given line. - A line number for the current buffer, counting from 0. - The byte index from start of 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 + + + + Event + + 2.12.0.0 + + + + GLib.Signal("insert_pixbuf") + + - System.Void + Gtk.PixbufInsertedHandler - - - - - - - System.ParamArray - - - - + - Inserts into buffer at , applying the list of to the newly-inserted text. - location to insert the text - text to insert - tags to apply to - Equivalent to calling , then on the inserted text; It is just a convenience function. - + Emitted when a Pixbuf is inserted into the buffer. + - - + + + Method + + 2.12.0.0 + System.Void - - - - - - System.ParamArray - - - + - Inserts into buffer at , applying the list of tags with names to the newly-inserted text. - location to insert the text - text to insert - names of the tags to apply to - Equivalent to calling , then on the inserted text; It is just a convenience function. - + 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 + - System.Void + Gdk.Atom - - + + - This function moves the and - marks simultaneously. - - a - a - - 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. - - + 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 + - System.Boolean + Gdk.Atom - - - + - To be added - a - a - a - a - To be added - + name of tagset, or . + Registers TextBuffer's internal serialization format. + The newly registered format's mime type. + + - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Atom - - - - - - 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. + A MIME type target. + Serialization formatter for the specified . + Registers a serialization formatter for a given MIME type. + + + - - + + + Method + + 2.12.0.0 + - System.Void + Gdk.Atom - - + - To be added. - To be added. - Inserts text. - The overload is obsolete, replace by the ref TextIter overload. + name of tagset, or . + Registers TextBuffer's internal serialization format. + The newly registered format's mime type. + + - - + + + Method + + 2.12.0.0 + 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. + 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 - - + - 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. + an object of type + Removes a added with . + - - + + + Method + + 2.12.0.0 + System.Void - + + + - format to unregister. - Removes a Serialization format from the registry. - - + 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 + - Gdk.Atom + System.Void - + + + - name of tagset, or . - Registers TextBuffer's internal serialization format. - The newly registered format's mime type. + 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 + - - - - Method + + + + Property + + 2.12.0.0 + - Gdk.Atom + Gtk.TextMark - - - - - A MIME type target. - Serialization formatter for the specified . - Registers a serialization formatter for a given MIME type. - - - + 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 + - Gdk.Atom + System.Void - + + - name of tagset, or . - Registers TextBuffer's internal serialization format. - The newly registered format's mime type. - - + 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 + - Gdk.Atom + System.Byte[] - - + + + + - a MIME type target. - Serialization formatter for the specified . - Registers a deserialization handler for a given MIME type. - an atom representing the MIME type. + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Atom[] - - - - format Atom for a MIME type. - Removes a registered MIME type handler from the buffer. + 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.Boolean + System.Void - + - a MIME type Atom. - Determines if tag creation is supported for a MIME type deserializer. - if , tag creation is supported. - - + The new contents of the buffer + Set the contents of the buffer + + + This is equivelant to using the setter of the + property. + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.TextIter - - - - - 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. - + 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. + + - - - Property + + + + Event + + 2.12.0.0 + - GLib.Property("cursor-position") + GLib.Signal("apply_tag") - System.Int32 + Gtk.TagAppliedHandler + - Position of the insert mark. - a representing the offset to the cursor from the beginning of the buffer. + Emitted when a tag is applied to the buffer. - - - - Property + + + + Event + + 2.12.0.0 + - GLib.Property("paste-target-list") + GLib.Signal("remove_tag") - Gtk.TargetList + Gtk.TagRemovedHandler + - Obtains the paste TargetList. - a . + Emitted when a tag is removed from the buffer. - - - + + + Property + + 2.12.0.0 + - GLib.Property("has-selection") + GLib.Property("tag-table") - System.Boolean + Gtk.TextTagTable - Indicates presence of a selection. - if , there is text selected currently. + The tag table of the current buffer + The current of the buffer - - - + + + Property + + 2.12.0.0 + - GLib.Property("copy-target-list") + GLib.Property("text") - Gtk.TargetList + System.String + + - Obtains the copy TargetList. - a . + The complete contents of the buffer + The contents of the current buffer - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - - - buffer to deserialize content. - MIME type format. - insertion point. - serialized data. - length of serialized data. - Deserialize content. - a . + format Atom for a MIME type. + Removes a registered MIME type handler from the buffer. - - + + + Method + + 2.12.0.0 + - System.Byte[] + System.Void - - - - 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. + format to unregister. + Removes a Serialization format from the registry. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("begin_user_action") + + - Gdk.Atom[] + System.EventHandler + - The supported MIME type formats for deserialization. - an array of MIME type Atoms. + Emitted when a UserAction is begun on the buffer. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("end_user_action") + + - Gdk.Atom[] + System.EventHandler + - The supported MIME type formats for Serialization. - an array of MIME type Atoms. + Emitted when a UserAction ends on the buffer. - - - - - - Method - - System.Void - - - - - - - To be added. - To be added. - To be added. - To be added. - diff --git a/doc/en/Gtk/TextBufferDeserializeFunc.xml b/doc/en/Gtk/TextBufferDeserializeFunc.xml index 61eaa7076..3066666df 100644 --- a/doc/en/Gtk/TextBufferDeserializeFunc.xml +++ b/doc/en/Gtk/TextBufferDeserializeFunc.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -11,10 +12,9 @@ - + - System.Boolean @@ -26,7 +26,6 @@ To be added. To be added. To be added. - To be added. To be added. To be added. To be added. diff --git a/doc/en/Gtk/TextBufferSerializeFunc.xml b/doc/en/Gtk/TextBufferSerializeFunc.xml index f7a2b76a1..db7151fbf 100644 --- a/doc/en/Gtk/TextBufferSerializeFunc.xml +++ b/doc/en/Gtk/TextBufferSerializeFunc.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -15,7 +16,7 @@ - System.Byte + System.Byte[] To be added. diff --git a/doc/en/Gtk/TextBufferTargetInfo.xml b/doc/en/Gtk/TextBufferTargetInfo.xml index a879a0a1d..ba56a9643 100644 --- a/doc/en/Gtk/TextBufferTargetInfo.xml +++ b/doc/en/Gtk/TextBufferTargetInfo.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.TextBufferTargetInfoGType)) + + To be added. + To be added. + + + Field + + 2.12.0.0 + Gtk.TextBufferTargetInfo @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.TextBufferTargetInfo @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.TextBufferTargetInfo @@ -44,9 +62,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/TextCharPredicate.xml b/doc/en/Gtk/TextCharPredicate.xml index d62665e73..ff0868e02 100644 --- a/doc/en/Gtk/TextCharPredicate.xml +++ b/doc/en/Gtk/TextCharPredicate.xml @@ -1,24 +1,25 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - A delegate to be run over each character of a text buffer. - Used by and . Generally, it's a search function of some sort. - To be added. - 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. + + diff --git a/doc/en/Gtk/TextChildAnchor.xml b/doc/en/Gtk/TextChildAnchor.xml index ca35fd974..0791d9633 100644 --- a/doc/en/Gtk/TextChildAnchor.xml +++ b/doc/en/Gtk/TextChildAnchor.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,34 +8,23 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -48,9 +38,54 @@ + + + + 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 @@ -63,8 +98,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -75,27 +114,13 @@ 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 + + 2.12.0.0 + Gtk.Widget[] diff --git a/doc/en/Gtk/TextDeletedArgs.xml b/doc/en/Gtk/TextDeletedArgs.xml index e34030d5e..20ce64f66 100644 --- a/doc/en/Gtk/TextDeletedArgs.xml +++ b/doc/en/Gtk/TextDeletedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -48,8 +53,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -60,8 +69,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gtk/TextDeletedHandler.xml b/doc/en/Gtk/TextDeletedHandler.xml index d57ec8c89..e75ef76da 100644 --- a/doc/en/Gtk/TextDeletedHandler.xml +++ b/doc/en/Gtk/TextDeletedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/TextDirection.xml b/doc/en/Gtk/TextDirection.xml index 12242d24b..2203be51a 100644 --- a/doc/en/Gtk/TextDirection.xml +++ b/doc/en/Gtk/TextDirection.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used to indicate the reading direction of a . - See to change the text direction of a widget. - System.Enum @@ -19,36 +16,52 @@ 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 - No specific text direction; will be used. + Left to right. - - + + + Field + + 2.12.0.0 + Gtk.TextDirection - Left to right. + No specific text direction; will be used. + Field + + 2.12.0.0 + Gtk.TextDirection diff --git a/doc/en/Gtk/TextEventArgs.xml b/doc/en/Gtk/TextEventArgs.xml index 95e2fe1cc..29bf056b5 100644 --- a/doc/en/Gtk/TextEventArgs.xml +++ b/doc/en/Gtk/TextEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,35 +33,47 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - GLib.Object + Gdk.Event - The object that triggered this event. - a + The Gdk event related to the TextEvent. + a - - + + + Property + + 2.12.0.0 + - Gdk.Event + GLib.Object - The Gdk event related to the TextEvent. - a + The object that triggered this event. + a - + + Property + + 2.12.0.0 + Gtk.TextIter diff --git a/doc/en/Gtk/TextEventHandler.xml b/doc/en/Gtk/TextEventHandler.xml index addadefb9..d91dbb895 100644 --- a/doc/en/Gtk/TextEventHandler.xml +++ b/doc/en/Gtk/TextEventHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,16 @@ 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. @@ -17,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/TextInsertedArgs.xml b/doc/en/Gtk/TextInsertedArgs.xml index de26cec15..0212c740f 100644 --- a/doc/en/Gtk/TextInsertedArgs.xml +++ b/doc/en/Gtk/TextInsertedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + GLib.SignalArgs + + Event data. @@ -32,14 +37,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -47,34 +52,46 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + 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. + The length of the inserted text. + An integer, the length of the inserted text. - - - + + + Property + + 2.12.0.0 + System.Int32 - The length of the inserted text. - An integer, the length of the inserted text. + 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 diff --git a/doc/en/Gtk/TextInsertedHandler.xml b/doc/en/Gtk/TextInsertedHandler.xml index 4be933c85..b8ae016dd 100644 --- a/doc/en/Gtk/TextInsertedHandler.xml +++ b/doc/en/Gtk/TextInsertedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -34,15 +45,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/TextIter.xml b/doc/en/Gtk/TextIter.xml index ab30abea7..bf8d452c5 100644 --- a/doc/en/Gtk/TextIter.xml +++ b/doc/en/Gtk/TextIter.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,135 +8,149 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Text buffer iterator - - System.ValueType + + Text buffer iterator + + - - - Field - - Gtk.TextIter - - - - Returns an empty - - - - - + + + Method + + 2.12.0.0 + - Gtk.TextIter + System.Boolean - - - + - Internal method - a - a new - This is an internal method and should not be used by user code. + 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 - + - Moves backward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is . - a or - 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 - - Gtk.TextIter - - - - Creates a dynamically-allocated copy of an iterator. - a - + 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 - Moves backward to the previous word start. + Like , but moves backward. - 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). + if we moved + - - + + + Method + + 2.12.0.0 + System.Boolean - + + + - Moves forward to the next sentence end. + number of positions to move + Moves back cursor positions. - 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). + if we moved and the new position is dereferenceable + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + + - Swaps the value of first and second if second comes before first in the buffer. - another - 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. + 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 - + + + - Moves back cursor positions. - number of positions to move - - if we moved and the new position is dereferenceable + 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 @@ -146,144 +161,179 @@ 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.String + System.Boolean - + - Like , but invisible text is not included. - iterator at end of range - slice of text from the buffer - Invisible text is usually invisible because a with the "invisible" attribute turned on has been applied to it. + 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.String + System.Boolean - + + + + + - Returns the text in the given range. - iterator at end of a 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. + 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 forward to the next word end. + 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 - (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). + 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 - - + - Advances the iterator, calling on each character. - A to call on each character. - search limit, or for none - 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. + 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 - - - + - Obsolete. Replaced by . - A to call on each character. - Ignored - search limit, or for none - whether a match was found - + 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 - 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). + 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 - + - Returns whether the character at iter is within an editable region of text. - - if text is editable by default - 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. - - + 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 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. + 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 @@ -291,28 +341,46 @@ You do not want to use this function to decide whether text can be inserted at i - Moves the iterator back a number of lines. - number of lines to move backwards. - 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. + 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 - 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. + + 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 @@ -320,407 +388,561 @@ You do not want to use this function to decide whether text can be inserted at i - Calls up to times, or until it returns . - number of sentences to move - - if iter moved and is not the end iterator - If is negative, moves forward instead of backward. + 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.Void + System.Boolean - Moves iter forward to the "end iterator," which points one past the last valid character in the buffer. - + 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 - - + - Same as , but goes backward from iter. - A to call on each character. - search limit, or for none - whether a match was found + 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 - - - + - Obsolete. Replaced by . - A to call on each character. - Ignored - search limit, or for none - whether a match was found + 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 - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - Moves up cursor positions. - number of positions to move - - if we moved and the new position is dereferenceable - See for details. + 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 - + - Tests whether two iterators are equal, using the fastest possible mechanism. - another - - 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 . + + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - - - whether tag is either toggled on or off at iter - a or - whether tag is toggled on or off at iter - + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - 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). + Number of characters in the TextIter's line. + Returns the number of characters in the TextIter's current line, including the paragraph delimiters. + None. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.TextChildAnchor - - - - Moves forward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is . - a or - 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. + 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.Boolean + System.Int32 - + + + - Returns if iter begins a paragraph. - whether iter begins a line - + 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") + + - System.Boolean + Gtk.TextIter - Like , but moves backward. - - if we moved + Creates a dynamically-allocated copy of an iterator. + a - - + + + Method + + 2.12.0.0 + System.Boolean - + - Computes the effect of any tags applied to this spot in the text. - a s - - if values was modified + + 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 -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 . +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. - will modify values, applying the effects of any tags present at iter. If any tags affected values, the function returns . +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.String + System.Boolean - - - + - Returns text in the given range. - iterator at end of a 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 . + 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 - Moves iter forward by a single cursor position. + Determines whether iter ends a sentence. - 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. + 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 - + - 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). - number of lines to move forward - 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. + 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 - 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. + 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 - + - Moves the iterator back a number of characters. - number of characters to move backwards. - 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 . + 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 - + - Returns if iter is within a range tagged with tag. - a - whether iter is tagged with tag - + 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 backward to the previous sentence start; if iter is already at the start of a sentence, moves backward to the next one. + Moves iter forward by a single cursor position. - 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). + 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 - + + + - Determines whether iter begins a natural-language word. + number of positions to move + Moves up cursor positions. - 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). + if we moved and the new position is dereferenceable + See for details. - - + + + Method + + 2.12.0.0 + System.Boolean - + + - Returns if tag is toggled on at exactly this point. - a or - 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. + 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.String + System.Boolean - + + + - Like , but invisible text is not included. - iterator at end of range - 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. + 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 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 . + 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 - + + + - 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). + 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 - + + + + + - Calls times (or until it returns ). - number of sentences to move - - if iter moved and is not the end iterator - If is negative, moves backward instead of forward. + 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 - 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). + Moves forward to the next sentence end. - 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). + 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 @@ -728,29 +950,54 @@ The values parameter should be initialized to the default settings you wish to u - Calls up to times. - number of times to move + 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 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. + 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 @@ -758,364 +1005,421 @@ The values parameter should be initialized to the default settings you wish to u - Returns if tag is toggled off at exactly this point. a or - 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. + 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 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). - number of characters to move, may be negative - 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 . + Moves the iterator forward to the next visible cursor position. + a + See for details. + - - + + + Method + + 2.12.0.0 + System.Boolean - + - Considering the default editability of the buffer, and tags that affect editability, determines whether text inserted at iter would be editable. - - if text is editable by default - 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. - - - - - Method - - System.Int32 - - - - - - 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. - another - -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. + 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 - Determines whether iter is inside a natural-language word (as opposed to say inside some whitespace). + Moves to the start of the next visible line. - 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). + 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 - - + - Checks whether iter falls in the range (start, end). - start of range - end of range + The number of lines to move. + Moves forward by a specified number of visible lines. - if iter is in the range - - and must be in ascending order. + 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 - - - + - Calls up to times. - number of times to move - - if iter moved and is not the end iterator - + + 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). + + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - 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 - - Gtk.TextChildAnchor - - - If the location at iter contains a child anchor, the anchor is returned. Otherwise, is returned. - the anchor at iter - + 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). + + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - Number of characters in the TextIter's line. - Returns the number of characters in the TextIter's current line, including the paragraph delimiters. - None. + 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). - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - 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 - - System.Int32 - - - Returns the number of bytes in the line containing iter, including the paragraph delimiters. - number of bytes in the line + number of times to move + Calls up to times. + + if iter moved and is not the end iterator - - - Property - - 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 + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - Manipulates the offset from the start of the buffer. - Returns the offset of the iter from the start of the buffer. - None. + 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 . + + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Pixbuf + System.String + + + - 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. + 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. - - - Property + + + + Method + + 2.12.0.0 + - Pango.Language + System.String + + + - 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 . + 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 . - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.TextTag[] + - 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. + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.String + - 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. + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.String + - 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 - + 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 + - Gtk.TextBuffer + GLib.GType + - Obtains the buffer the iter is in - containing buffer - + GType Property. + a + Returns the native value for . - - + + + Method + + 2.12.0.0 + System.Boolean - - - - - + - Same as , but moves backward. - 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 - whether a match was found + a + Returns if iter is within a range tagged with tag. + whether iter is tagged with tag - - + + + Method + + 2.12.0.0 + System.Boolean - - - - - + + - Searches forward for . - 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 - whether a match was found + start of range + end of range + Checks whether iter falls in the range (start, end). + + if iter is in the range - -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. - - + and must be in ascending order. - - - Property + + + + Method + + 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. + 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). - - - Property + + + + Method + + 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 - + 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 @@ -1126,215 +1430,192 @@ If the GTK_TEXT_SEARCH_VISIBLE_ONLY flag is present, the match may have invisibl returns true if this iterator equals the iterator returned by - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - + + + Property + + 2.12.0.0 + - Gtk.TextMark[] + System.Boolean - 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. + 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 + - Gtk.TextTag[] + System.Boolean - Returns an array of tags that apply to iter, in ascending order of priority (highest-priority tags are last). - a + 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 - - - Method - - Gtk.TextTag[] - - - - - - Returns an array of that are toggled on or off at this point. - a - 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 + + + + Property + + 2.12.0.0 + - System.Boolean + Pango.Language - - - - Moves up to visible cursor positions. - - a - a , true if the iter was moved and is in a dereferenceable position. - - See for details. - - + 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 . - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - Calls up to times. - a - a , true if the iterator moved and is not at the end of the text. - - + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - + + - Moves the iterator forward to the next visible cursor position. - a - See for details. - + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - Moves backward up to visible cursor positions. - a - a , true if the cursor was moved and is in a dereferenceable position. - See for details. - + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.TextMark[] - - 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). - - + 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 + - System.Boolean + Gtk.TextIter - + + + - 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. - + a + Internal method + a new + This is an internal method and should not be used by user code. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - 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 - 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). - - + 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 + - System.Boolean + Gtk.TextIter - + + + - - 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). - - + To be added. + Converts from a native GValue. + a TextIter. + Internal. Provided for bindings. + Method + + 2.12.0.0 + GLib.Value @@ -1348,86 +1629,181 @@ If the GTK_TEXT_SEARCH_VISIBLE_ONLY flag is present, the match may have invisibl Internal. Provided for bindings. - - + + + Method + + 2.12.0.0 + - Gtk.TextIter + System.Void - + - To be added. - Converts from a native GValue. - a TextIter. - Internal. Provided for bindings. + 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 - 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.). - + Returns if iter begins a paragraph. + whether iter begins a line + - - + + + Method + + 2.12.0.0 + System.Boolean - - - + - The number of lines to move. - Moves backward by a specified number of visible lines. + Determines whether iter begins a sentence. - 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. - + 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 - Moves to the start of the next visible line. + Determines whether iter begins a natural-language word. - 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. - + 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 - + - 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. - + 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 + diff --git a/doc/en/Gtk/TextMark.xml b/doc/en/Gtk/TextMark.xml index ba0d72b38..eba88da6b 100644 --- a/doc/en/Gtk/TextMark.xml +++ b/doc/en/Gtk/TextMark.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -35,50 +41,108 @@ - - GLib.Object - - - + + + + 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 + - Internal constructor 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 + - System.String + Gtk.TextBuffer - The name of the mark - - Returns the name of the mark and if - it's an anonymous mark - - + + Gets the buffer where this mark is located + + The buffer where this mark is applied + + is returned if the mark has been deleted. + - - - GLib.Property("name") - - - + + Property + + 2.12.0.0 + System.Boolean @@ -94,9 +158,35 @@ + + + + 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 @@ -113,15 +203,38 @@ left when displayed. + + + + + Property + + 2.12.0.0 + - GLib.Property("left-gravity") + 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 @@ -142,77 +255,5 @@ - - - Property - - 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 - - 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 - - - - Default constructor - - - - - - Constructor - - - - - - To be added. - To be added. - Public constructor. - To be added. - - - diff --git a/doc/en/Gtk/TextPendingScroll.xml b/doc/en/Gtk/TextPendingScroll.xml index cbee9efcb..a887e6794 100644 --- a/doc/en/Gtk/TextPendingScroll.xml +++ b/doc/en/Gtk/TextPendingScroll.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,26 +8,30 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Do not use. - Do not use - GLib.Opaque + + Do not use. + Do not use + + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gtk/TextPoppedArgs.xml b/doc/en/Gtk/TextPoppedArgs.xml index 25bce5d57..7b2964a92 100644 --- a/doc/en/Gtk/TextPoppedArgs.xml +++ b/doc/en/Gtk/TextPoppedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,18 +8,22 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Passes data to handlers of events. - - GLib.SignalArgs + + Passes data to handlers of events. + + + Constructor + + 2.12.0.0 + @@ -26,27 +31,35 @@ - - + + + Property + + 2.12.0.0 + - System.String + System.UInt32 - Retrieve the text that was 'popped'. - The string removed from the top of the Statusbar's message stack + Retrieve the context identifier for the message that was removed. + An integer context ID. - - + + + Property + + 2.12.0.0 + - System.UInt32 + System.String - Retrieve the context identifier for the message that was removed. - An integer context ID. + Retrieve the text that was 'popped'. + The string removed from the top of the Statusbar's message stack diff --git a/doc/en/Gtk/TextPoppedHandler.xml b/doc/en/Gtk/TextPoppedHandler.xml index 78cc7fa70..5fab87602 100644 --- a/doc/en/Gtk/TextPoppedHandler.xml +++ b/doc/en/Gtk/TextPoppedHandler.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - System.Delegate - @@ -24,4 +16,13 @@ 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. + + + diff --git a/doc/en/Gtk/TextPushedArgs.xml b/doc/en/Gtk/TextPushedArgs.xml index 1353484c2..f46401706 100644 --- a/doc/en/Gtk/TextPushedArgs.xml +++ b/doc/en/Gtk/TextPushedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,18 +8,22 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Passes data to handlers of events. - - GLib.SignalArgs + + Passes data to handlers of events. + + + Constructor + + 2.12.0.0 + @@ -26,27 +31,35 @@ - - + + + Property + + 2.12.0.0 + - System.String + System.UInt32 - Retrieve the text that was 'pushed'. - The string added to the top of the Statusbar's message stack + Retrieve the context identifier for the message that was added. + An integer context ID. - - + + + Property + + 2.12.0.0 + - System.UInt32 + System.String - Retrieve the context identifier for the message that was added. - An integer context ID. + Retrieve the text that was 'pushed'. + The string added to the top of the Statusbar's message stack diff --git a/doc/en/Gtk/TextPushedHandler.xml b/doc/en/Gtk/TextPushedHandler.xml index 52919989c..108f0e6ce 100644 --- a/doc/en/Gtk/TextPushedHandler.xml +++ b/doc/en/Gtk/TextPushedHandler.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - System.Delegate - @@ -24,4 +16,13 @@ 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. + + + diff --git a/doc/en/Gtk/TextSearchFlags.xml b/doc/en/Gtk/TextSearchFlags.xml index fbe10e6e7..b6d6c080a 100644 --- a/doc/en/Gtk/TextSearchFlags.xml +++ b/doc/en/Gtk/TextSearchFlags.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Flags for searching text. - - System.Enum @@ -22,28 +19,40 @@ System.Flags + + Flags for searching text. + + - - + + + Field + + 2.12.0.0 + Gtk.TextSearchFlags - search only in visible sections + search only the text - - + + + Field + + 2.12.0.0 + Gtk.TextSearchFlags - search only the text + search only in visible sections diff --git a/doc/en/Gtk/TextTag.xml b/doc/en/Gtk/TextTag.xml index e5cbb783b..e14b6f5bd 100644 --- a/doc/en/Gtk/TextTag.xml +++ b/doc/en/Gtk/TextTag.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -19,42 +25,43 @@ Tags should be in the for a given - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Fires a signal on this Gtk.TextTag. - a , the object that received the event. - a , the event to fire - a , the location where the event was received - A , true if the event was handled. - TODO: show an example. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -62,211 +69,244 @@ Tags should be in the for a given + Constructor + + 2.12.0.0 + - Creates a new 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.Int32 + System.Boolean - - - 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. - - + To be added. + To be added. + To be added. + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("background") + + - System.Boolean + System.String - Whether to strike through the text - Whether to strike through the text + Background color + + + + + + Property + + 2.12.0.0 + - GLib.Property("strikethrough") + GLib.Property("background-full-height") - - - - Property System.Boolean - Whether this text is hidden. - Whether or not this text is hidden + 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("invisible") + GLib.Property("background_full_height_set") - - - - Property - Gdk.Pixmap + System.Boolean - - - Bitmap to use as a mask when drawing the text foreground. - a bitmap + Indicates if the BackgroundFullHeight property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("foreground-stipple") + GLib.Property("background-gdk") - - - - Property - System.Int32 + Gdk.Color - 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. + + Background color as a (possibly unallocated) . + + The background color + + + + + + Property + + 2.12.0.0 + - GLib.Property("rise") + GLib.Property("background_set") - - - - Property - System.Int32 + System.Boolean - - - Width of the right margin - Width of the right margin + Indicates if the Background property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("right-margin") + GLib.Property("background-stipple") - - - - Property - System.String + Gdk.Pixmap - Name of the font family - The name of the font family - - - Name of the font family, e.g. Sans, Helvetica, Times, Monospace. - - + Bitmap to use as a mask when drawing the text background. + The background bitmap + + + + + + Property + + 2.12.0.0 + - GLib.Property("family") + GLib.Property("background_stipple_set") - - - - Property - System.String + System.Boolean - - - Font description - the font description as a string - Font description as a string, e.g. "Sans Italic 12". + Indicates if the BackgroundStipple property holds a value. + + if the property is set. + + + + + + + Property + + 2.12.0.0 + - GLib.Property("font") + GLib.Property("direction") - - - - Property - Pango.Stretch + Gtk.TextDirection - Font stretch - font stretch + Text direction, e.g. right-to-left or left-to-right. + The text direction + + + + + Property + + 2.12.0.0 + - GLib.Property("stretch") + GLib.Property("editable") - - - - Property System.Boolean @@ -277,210 +317,272 @@ Tags should be in the for a given + + + Property + + 2.12.0.0 + - GLib.Property("editable") + 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") + + - Gtk.Justification + System.String - Text justification - the justification of the current text + Name of the font family + The name of the font family - Left, right, or center justification. + Name of the font family, e.g. Sans, Helvetica, Times, Monospace. + + + + + Property + + 2.12.0.0 + - GLib.Property("justification") + GLib.Property("family_set") - - - - Property - System.Int32 + System.Boolean - - - Pixels of blank space between wrapped lines in a paragraph - An integer + Indicates if the Family property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("pixels-inside-wrap") + GLib.Property("font") - - - - Property - System.Int32 + System.String - Pixels of blank space below paragraphs. - Pixels of blank space below paragraphs. - + 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("pixels-below-lines") + GLib.Property("font-desc") - - - - Property - Gdk.Pixmap + Pango.FontDescription - Bitmap to use as a mask when drawing the text background. - The background bitmap + The FontDescription for the tag. + a + + + + + Property + + 2.12.0.0 + - GLib.Property("background-stipple") + GLib.Property("foreground") - - - - Property - System.Int32 + System.String - Width of the left margin in pixels. - The width of the margin + Foreground color + the foreground color + + + + + Property + + 2.12.0.0 + - GLib.Property("left-margin") + GLib.Property("foreground-gdk") - - - - Property - System.Double + Gdk.Color - Font size in points. - The font size + + Foreground color as a (possibly unallocated) . + + The foreground color + + + + + Property + + 2.12.0.0 + - GLib.Property("size-points") + GLib.Property("foreground_set") - - - - Property - Gtk.TextDirection + System.Boolean - - - Text direction, e.g. right-to-left or left-to-right. - The text direction + Indicates if the Foreground property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("direction") + GLib.Property("foreground-stipple") - - - - Property - System.Int32 + Gdk.Pixmap - Pixels of blank space above paragraphs. - The blank space above the paragraphs in pixels + Bitmap to use as a mask when drawing the text foreground. + a bitmap + + + + + Property + + 2.12.0.0 + - GLib.Property("pixels-above-lines") + GLib.Property("foreground_stipple_set") - - - - Property - Gtk.WrapMode + System.Boolean - - - Whether to wrap lines never, at word boundaries, or at character boundaries. - a + Indicates if the ForegroundStipple property holds a value. + + if the property is set. + - - - GLib.Property("wrap-mode") - - - - + + + Property + + 2.12.0.0 + - System.String + GLib.GType + - The name of this tag - - The name of this name, or if it's an - anonymous tag - - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("name") + GLib.Property("indent") - - - - Property System.Int32 @@ -491,140 +593,140 @@ Tags should be in the for a given + + + Property + + 2.12.0.0 + - GLib.Property("indent") + GLib.Property("indent_set") - - - - Property - System.String + System.Boolean - - - Foreground color - the foreground color + Indicates if the Indent property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("foreground") + GLib.Property("invisible") - - - - Property - Gdk.Color + System.Boolean - - Background color as a (possibly unallocated) . - - The background color + Whether this text is hidden. + Whether or not this text is hidden + + + + + Property + + 2.12.0.0 + - GLib.Property("background-gdk") + GLib.Property("invisible_set") - - - - Property - Gdk.Color + System.Boolean - - - - Foreground color as a (possibly unallocated) . - - The foreground color + Indicates if the Invisible property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("foreground-gdk") + GLib.Property("justification") - - - - Property - Pango.TabArray + Gtk.Justification - Custom tabs for this text. - the custom tabs for this text - + Text justification + the justification of the current text + + + Left, right, or center justification. + + + + + + + Property + + 2.12.0.0 + - GLib.Property("tabs") + GLib.Property("justification_set") - - - - Property - Pango.Underline + System.Boolean - - - Style of underline for this text. - The underline style for this text + Indicates if the Justification property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("underline") + GLib.Property("language") - - - - Property - 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 . - - - - - - GLib.Property("scale") - - - - - - Property - - System.String + System.String @@ -633,467 +735,613 @@ Tags should be in the for a given + + + Property + + 2.12.0.0 + - GLib.Property("language") + GLib.Property("language_set") - - - - Property - System.Int32 + System.Boolean - - - Font size - The font size in Pango units + Indicates if the Language property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("size") + GLib.Property("left-margin") - - - - Property - Pango.Style + System.Int32 - Font style - the font style of this text + Width of the left margin in pixels. + The width of the margin + + + + + Property + + 2.12.0.0 + - GLib.Property("style") + GLib.Property("left_margin_set") - - - - Property - Pango.Variant + System.Boolean - - - Font variant - The font variant of this text + Indicates if the LeftMargin property holds a value. + + if the property is set. + + + + + + Property + + 2.12.0.0 + - GLib.Property("variant") + GLib.Property("name") - - - - Property System.String - - - Background color - + The name of this tag + + The name of this name, or if it's an + anonymous tag + + + + + + Method + + 2.12.0.0 + - GLib.Property("background") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextEvent", Type=typeof(Gtk.TextTag)) - - - - Property - Pango.FontDescription + System.Boolean + + + - The FontDescription for the tag. - a - + 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("font-desc") + GLib.Property("paragraph-background") - - - - Property - System.Boolean + System.String - - - 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. + Paragraph background color. + Background color as a . + + + + + + Property + + 2.12.0.0 + - GLib.Property("background-full-height") + GLib.Property("paragraph-background-gdk") - - - - Property - Pango.Weight + Gdk.Color - - Font weight as an integer. - a - - -see predefined values in ; for example, . - - -Allowed values: >= 0 - - -Default value: 400 - - + Paragraph background color as a . + a . + The color returned may be unallocated. + - - - Event + + + + Property + + 2.12.0.0 + + + + GLib.Property("pixels-above-lines") + + - Gtk.TextEventHandler + System.Int32 - + + - Raised whenever this text tag explicitly fires an event; general-purpose event. + Pixels of blank space above paragraphs. + The blank space above the paragraphs in pixels + + + + + Property + + 2.12.0.0 + - GLib.Signal("event") + GLib.Property("pixels_above_lines_set") - - - - Property - GLib.GType + System.Boolean - - GType Property. - a - Returns the native value for . + Indicates if the PixelsAboveLines property holds a value. + + if the property is set. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("pixels-below-lines") + + - System.Boolean + System.Int32 - - - - - - Default handler for the event. - a - a - a - 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. + Pixels of blank space below paragraphs. + Pixels of blank space below paragraphs. + - - - System.Obsolete - - - - + + + Property + + 2.12.0.0 + - GLib.Property("weight_set") + GLib.Property("pixels_below_lines_set") System.Boolean - Indicates if the Weight property holds a value. + Indicates if the PixelsBelowLines property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("pixels_above_lines_set") + GLib.Property("pixels-inside-wrap") - System.Boolean + System.Int32 + + - Indicates if the PixelsAboveLines property holds a value. - - if the property is set. + Pixels of blank space between wrapped lines in a paragraph + An integer - - - + + + Property + + 2.12.0.0 + - GLib.Property("variant_set") + GLib.Property("pixels_inside_wrap_set") System.Boolean - Indicates if the Variant property holds a value. + Indicates if the PixelsInsideWrap property holds a value. - if the property is set. + 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("background_full_height_set") + GLib.Property("right-margin") - System.Boolean + System.Int32 + + - Indicates if the BackgroundFullHeight property holds a value. - - if the property is set. + Width of the right margin + Width of the right margin - - - + + + Property + + 2.12.0.0 + - GLib.Property("rise_set") + GLib.Property("right_margin_set") System.Boolean - Indicates if the Rise property holds a value. + Indicates if the RightMargin property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("style_set") + GLib.Property("rise") - System.Boolean + System.Int32 + + - Indicates if the Style property holds a value. - - if the property is set. - - + 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("tabs_set") + GLib.Property("rise_set") System.Boolean - Indicates if the Tabs property holds a value. + Indicates if the Rise property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("wrap_mode_set") + GLib.Property("scale") - System.Boolean + System.Double + + - Indicates if the WrapMode property holds a value. - - if the property is set. - - + 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("family_set") + GLib.Property("scale_set") System.Boolean - Indicates if the Family property holds a value. + Indicates if the Scale property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("left_margin_set") + GLib.Property("size") - System.Boolean + System.Int32 + + - Indicates if the LeftMargin property holds a value. - - if the property is set. + Font size + The font size in Pango units - - - + + + Property + + 2.12.0.0 + - GLib.Property("strikethrough_set") + GLib.Property("size-points") - System.Boolean + System.Double + + - Indicates if the Strikethrough property holds a value. - - if the property is set. + Font size in points. + The font size - - - + + + Property + + 2.12.0.0 + - GLib.Property("editable_set") + GLib.Property("size_set") System.Boolean - Indicates if the Editable property holds a value. + Indicates if the Size property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("scale_set") + GLib.Property("stretch") - System.Boolean + Pango.Stretch + + - Indicates if the Scale property holds a value. - - if the property is set. + Font stretch + font stretch - - + + Property + + 2.12.0.0 + GLib.Property("stretch_set") @@ -1110,305 +1358,351 @@ Default value: 400 - - + + + Property + + 2.12.0.0 + - GLib.Property("size_set") + GLib.Property("strikethrough") System.Boolean + + - Indicates if the Size property holds a value. - - if the property is set. + Whether to strike through the text + Whether to strike through the text - - - + + + Property + + 2.12.0.0 + - GLib.Property("pixels_below_lines_set") + GLib.Property("strikethrough_set") System.Boolean - Indicates if the PixelsBelowLines property holds a value. + Indicates if the Strikethrough property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("foreground_set") + GLib.Property("style") - System.Boolean + Pango.Style + + - Indicates if the Foreground property holds a value. - - if the property is set. + Font style + the font style of this text - - - + + + Property + + 2.12.0.0 + - GLib.Property("background_set") + GLib.Property("style_set") System.Boolean - Indicates if the Background property holds a value. + Indicates if the Style property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("right_margin_set") + GLib.Property("tabs") - System.Boolean + Pango.TabArray + + - Indicates if the RightMargin property holds a value. - - if the property is set. + Custom tabs for this text. + the custom tabs for this text - - - + + + Property + + 2.12.0.0 + - GLib.Property("underline_set") + GLib.Property("tabs_set") System.Boolean - Indicates if the Underline property holds a value. + Indicates if the Tabs property holds a value. - if the property is set. + if the property is set. - - - Property + + + + Event + + 2.12.0.0 + - GLib.Property("language_set") + GLib.Signal("event") - System.Boolean + Gtk.TextEventHandler + - Indicates if the Language property holds a value. - - if the property is set. + Raised whenever this text tag explicitly fires an event; general-purpose event. - - - + + + Property + + 2.12.0.0 + - GLib.Property("justification_set") + GLib.Property("underline") - System.Boolean + Pango.Underline + + - Indicates if the Justification property holds a value. - - if the property is set. + Style of underline for this text. + The underline style for this text - - - + + + Property + + 2.12.0.0 + - GLib.Property("pixels_inside_wrap_set") + GLib.Property("underline_set") System.Boolean - Indicates if the PixelsInsideWrap property holds a value. + Indicates if the Underline property holds a value. - if the property is set. + if the property is set. - - + + + Property + + 2.12.0.0 + - GLib.Property("background_stipple_set") + GLib.Property("variant") - System.Boolean + Pango.Variant + + - Indicates if the BackgroundStipple property holds a value. - - if the property is set. + Font variant + The font variant of this text - - - + + + Property + + 2.12.0.0 + - GLib.Property("indent_set") + GLib.Property("variant_set") System.Boolean - Indicates if the Indent property holds a value. + Indicates if the Variant property holds a value. - if the property is set. + if the property is set. - - + + + Property - - - GLib.Property("foreground_stipple_set") - - + + 2.12.0.0 + - System.Boolean + Pango.Weight + - Indicates if the ForegroundStipple property holds a value. - - if the property is set. - - + 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("invisible_set") + GLib.Property("weight_set") System.Boolean - Indicates if the Invisible property holds a value. + Indicates if the Weight property holds a value. - if the property is set. + if the property is set. - - - Property - - - 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("paragraph-background") + GLib.Property("wrap-mode") - System.String + Gtk.WrapMode + + - Paragraph background color. - Background color as a . + Whether to wrap lines never, at word boundaries, or at character boundaries. + a - - - + + + Property + + 2.12.0.0 + - GLib.Property("accumulative-margin") + GLib.Property("wrap_mode_set") System.Boolean - To be added. - To be added. - To be added. - + Indicates if the WrapMode property holds a value. + + if the property is set. + + diff --git a/doc/en/Gtk/TextTagTable.xml b/doc/en/Gtk/TextTagTable.xml index 135302273..82ca9b8ac 100644 --- a/doc/en/Gtk/TextTagTable.xml +++ b/doc/en/Gtk/TextTagTable.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -18,30 +24,69 @@ tag table can be shared between multiple buffers, however. - - GLib.Object - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Remove a tag from the table. - the tag to be removed - + 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 @@ -49,8 +94,8 @@ - Add a tag to the table. The tag is assigned the highest priority in the table. 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 @@ -63,25 +108,13 @@ - - - Method - - Gtk.TextTag - - - - - - Finds a by its name - the name of a tag - The tag, or if none by that name is in the table. - - - + Method + + 2.12.0.0 + System.Void @@ -89,115 +122,60 @@ - Calls func on each tag in table a + Calls func on each tag in table - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Default constructor - - - - - + + + Property + + 2.12.0.0 + - System.Int32 - - - The size of the table - The number of the tags in this table - - - - - - Event - - Gtk.TagRemovedHandler + GLib.GType - Emitted when a tag is removed from the table - + GType Property. + a + Returns the native value for . - - - GLib.Signal("tag_removed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.TagChangedHandler + Gtk.TextTag - + + + - Emitted when a tag in the table is changed + the name of a tag + Finds a by its name + The tag, or if none by that name is in the table. - - - GLib.Signal("tag_changed") - - - - - Event - - Gtk.TagAddedHandler - - - - Emitted when a tag is added to the table - - + + + + Method + + 2.12.0.0 + - GLib.Signal("tag_added") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTagAdded", Type=typeof(Gtk.TextTagTable)) - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Method System.Void @@ -205,14 +183,23 @@ - Default handler for the event. 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 @@ -221,15 +208,24 @@ - Default handler for the event. 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 @@ -237,28 +233,108 @@ - Default handler for the event. a + Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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 + + diff --git a/doc/en/Gtk/TextTagTableForeach.xml b/doc/en/Gtk/TextTagTableForeach.xml index a4136c82c..b991113a8 100644 --- a/doc/en/Gtk/TextTagTableForeach.xml +++ b/doc/en/Gtk/TextTagTableForeach.xml @@ -1,23 +1,24 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - A delegate function to be run on every in a . - Callable by - System.Delegate - System.Void + + To be added. + A delegate function to be run on every in a . + Callable by + + diff --git a/doc/en/Gtk/TextView.xml b/doc/en/Gtk/TextView.xml index c7f73ad0e..2c5cbfd25 100644 --- a/doc/en/Gtk/TextView.xml +++ b/doc/en/Gtk/TextView.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -58,163 +64,191 @@ class TextViewSample - - Gtk.Container - - - - - - Method - - System.Void - - - - - - - - + + + + Constructor + + 2.12.0.0 + + + - - Converts specified buffer coordinates to coordinates - for window - - - 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 + Creates a new TextView - Note that you can't convert coordinates for a nonexisting - window (see . + 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 + . - - - Method - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Gets the width of the specified border window. - a window to return size from - the width of the window - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - + - Moves the given iter backward by one display (wrapped) line - the given - - if was moved and is not on the end iterator + the buffer to be displayed + Creates a new TextView displaying a specified buffer. - 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 . + 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 + - Gdk.Window + System.Void - + + - Retrieves the corresponding to an area of the text view - window to get - - 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. - - + any + + a in the current + Adds a child widget in the text buffer, at the given anchor + - - + + + Method + + 2.12.0.0 + System.Void - - + + + + - - Sets the width of - or , or the height of - or . - - the window to affect - the width or height of the window - - - 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 . - - + 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. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("backspace") + + - System.Boolean + System.EventHandler - Moves the cursor to the currently visible region of the buffer if it isn't there already. - - if the cursor had to be moved - + To be added + To be added + - - + + + Method + + 2.12.0.0 + System.Boolean @@ -222,48 +256,33 @@ class TextViewSample - Moves forward to the next display line end - a + 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 forward to the next display line - end. A display line is different from a + 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 - . + views, since they depend on the contents of the . - - - Method - - System.Void - - - - - - - Adds a child widget in the text buffer, at the given anchor - any - - a in the current - - - + Method + + 2.12.0.0 + System.Boolean @@ -271,8 +290,8 @@ class TextViewSample - Moves the given backward to the next display line start the given + Moves the given backward to the next display line start if was moved and is not on the end iterator @@ -290,473 +309,541 @@ class TextViewSample - - - Method - - System.Boolean - - - - - - Moves the given forward by one display (wrapped) line - the given - - 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 + + + + Property + + 2.12.0.0 + + + + GLib.Property("buffer") + + - System.Void + Gtk.TextBuffer - - - - Gets the y coordinate of the top of the line - containing , and the height of the line + The displayed by the text view - the given - return location for the y coordinate - return location for the height - - 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 . - + 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 - Scrolls the view so that is on the - screen in the position indicated by and - 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 - + Converts specified buffer coordinates to coordinates + for window + - 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 . + Note that you can't convert coordinates for a nonexisting + window (see . - - - Method + + + + 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 - - Determines whether iter is at the start of a display line - the given - - 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. - - + Whether the insertion point is displayed + whether the insertion point is visible + Defaults to true. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("cut_clipboard") + + - Gtk.TextWindowType + System.EventHandler - - - + - Used for finding out which window an event corresponds to - a window type - the window type + Raised whenever a selection is cut to the clipboard. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.TextAttributes - - - - - Move the iterator a given number of characters visually, treating it as the strong cursor position - the given - the number of characters to move (negative moves left, positive moves right) - - if iter moved and is not on the end iterator + The default text attributes + a s - 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. + 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. - 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. + The return valuea is a copy owned by the caller of this + function, and should be freed. - - - - Method + + + + 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 - - Moves within the buffer so that it's located within the currently-visible text area - a - - if the mark moved (wasn't already onscreen) - + 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 - - - - - + - - Scrolls the text view so that is on - the screen in the position indicated by and 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 + Moves the given forward by one display (wrapped) line - if scrolling occurred + if was moved and is not on the end iterator - 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. + 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 + - 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. + 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.Void + System.Int32 - + - - Scrolls the text view the minimum distance such that is contained within the visible area of - the widget - - - a mark in the current + a window to return size from + Gets the width of the specified border window. + the width of the window - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TextIter - - - - - + + - Converts coordinates on the window to buffer coordinates - - 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 - - - Note that you can't convert coordinates for a nonexisting - window (see . - - + 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 . - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Int32 + - + + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + a + a + To be added + a + To be added + - - - Constructor - - + + + + Method + + 2.12.0.0 + + + Gdk.Rectangle + + + + - 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 - . - - + 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Creates a new TextView displaying a specified buffer. - the buffer to be displayed - - - Creates a new widget - displaying the buffer. One - buffer can be shared among many widgets. - - + 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. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TextAttributes + System.Void + + + + + - The default text attributes - a s + 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 + - - 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. - + 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 . - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TextBuffer + Gdk.Window + - - The displayed by the text view - - the current buffer that is displayed - + 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. + + - - - GLib.Property("buffer") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TextWindowType + - Whether the insertion point is displayed - whether the insertion point is visible - Defaults to true. + a window type + Used for finding out which window an event corresponds to + the window type + - - - GLib.Property("cursor-visible") - - - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - - + - The default left margin - The left margin. - + GType Property. + a + Returns the native value for . - - - GLib.Property("left-margin") - - - - + + + Property - - System.Int32 - - - - - The default right margin - the right margin - - + + 2.12.0.0 + - GLib.Property("right-margin") + GLib.Property("indent") - - - - Property System.Int32 - The default number of blank pixels above paragraphs - the number of pixels above paragraphs + The default indentation for paragraphs + The number of pixels of indentation. - Tags in the may - override the defaults. + Tags in the may override the default. + + + + + Event + + 2.12.0.0 + - GLib.Property("pixels-above-lines") + 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 @@ -772,687 +859,953 @@ class TextViewSample + + + + + Property + + 2.12.0.0 + - GLib.Property("justification") + GLib.Property("left-margin") - - - - Property System.Int32 - The default indentation for paragraphs - The number of pixels of indentation. - - - Tags in the may override the default. - - + The default left margin + The left margin. + - - - GLib.Property("indent") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + - Whether the text can be modified by the user - Whether or not the text can be edited by the user. - Defaults to true. + 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.Property("editable") + GLib.Signal("move_cursor") - - - - Property - Gtk.WrapMode + Gtk.MoveCursorHandler - - + - Whether to wrap lines never, at word boundaries, or at character boundaries. - the of the text view + Raised whenever the cursor is moved. + + + + + Event + + 2.12.0.0 + - GLib.Property("wrap-mode") + GLib.Signal("move_focus") + + + System.Obsolete("Replaced by keybinding signal on Gtk.Widget") - - - - Property - Pango.TabArray + Gtk.MoveFocusHandler - - + - Custom tabs for this text - custom tabes for this text + Raised when the keyboard focus changes. - - - GLib.Property("tabs") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - 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. - - + a + Moves within the buffer so that it's located within the currently-visible text area + + if the mark moved (wasn't already onscreen) + - - - GLib.Property("pixels-below-lines") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + + - 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 + 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 - Tags in the may - override this default. + 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. + - - - GLib.Property("pixels-inside-wrap") - - - - - Event - - Gtk.ScrollAdjustmentsSetHandler - - - - Raised whenever the adjustment values for the scrollbars are set. - - + + + + Method + + 2.12.0.0 + - GLib.Signal("set_scroll_adjustments") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideBackspace", Type=typeof(Gtk.TextView)) - - - - Event - System.EventHandler + System.Void - Raised whenever an anchor (e.g. ) is set within the TextView. - + 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.Signal("set_anchor") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCopyClipboard", Type=typeof(Gtk.TextView)) - - - - Event - Gtk.MoveCursorHandler + System.Void - Raised whenever the cursor is moved. - + 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.Signal("move_cursor") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCutClipboard", Type=typeof(Gtk.TextView)) - - - - Event - Gtk.PopulatePopupHandler + System.Void - Raised when the popup dialog on this object needs to be filled with data. - + 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.Signal("populate_popup") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeleteFromCursor", Type=typeof(Gtk.TextView)) - - - - Event - Gtk.DeleteFromCursorHandler + System.Void - + + + + - Raised when text is deleted from the cursor (usually by hitting Backspace or Delete). - + 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.Signal("delete_from_cursor") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertAtCursor", Type=typeof(Gtk.TextView)) - - - - Event - System.EventHandler + System.Void - + + + - Raised when text is copied to the clipboard. - + 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.Signal("copy_clipboard") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.TextView)) - - - - Event - Gtk.MoveFocusHandler + System.Void - + + + + + - Raised when the keyboard focus changes. - + 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.Signal("move_focus") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocus", Type=typeof(Gtk.TextView)) System.Obsolete("Replaced by keybinding signal on Gtk.Widget") - - - - Event - Gtk.PageHorizontallyHandler + System.Void - + + + - Raised when the user scrolls horizontally in this widget. - + 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.Signal("page_horizontally") + GLib.DefaultSignalHandler(ConnectionMethod="OverridePageHorizontally", Type=typeof(Gtk.TextView)) - - - - Event - System.EventHandler + System.Void - + + + + - Raised whenever the insert/overwrite flag is toggled. - + 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.Signal("toggle_overwrite") + GLib.DefaultSignalHandler(ConnectionMethod="OverridePasteClipboard", Type=typeof(Gtk.TextView)) - - - - Event - System.EventHandler + System.Void - Raised whenever a selection is cut to the clipboard. - + 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.Signal("cut_clipboard") + GLib.DefaultSignalHandler(ConnectionMethod="OverridePopulatePopup", Type=typeof(Gtk.TextView)) - - - - Event - Gtk.InsertAtCursorHandler + System.Void - + + + - Raised whenever text is inserted at the cursor. - + 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.Signal("insert_at_cursor") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollAdjustmentsSet", Type=typeof(Gtk.TextView)) - - - - Event - System.EventHandler + System.Void - + + + + - Raised whenever text is pasted from the clipboard. - + 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.Signal("paste_clipboard") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSetAnchor", Type=typeof(Gtk.TextView)) - - - - Method System.Void - - - - - + - This method should be fixed - a - a y coordinate - return location for top coordinate of the line - 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. + 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 - - - - - + - Updates the position of a child - child widget already added to the text view - new X position in window coordinates - new Y position in window coordinates - + 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. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("page_horizontally") + + - System.Void + Gtk.PageHorizontallyHandler - - - - - - + - Adds a child at fixed coordinates in one of the text widget's windows. - a - a - a - a - 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. + Raised when the user scrolls horizontally in this widget. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("paste_clipboard") + + - GLib.GType + System.EventHandler - GType Property. - a - Returns the native value for . + Raised whenever text is pasted from the clipboard. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("pixels-above-lines") + + - System.Void + System.Int32 - + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + The default number of blank pixels above paragraphs + the number of pixels above paragraphs + + + Tags in the may + override the defaults. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("pixels-below-lines") + + - System.Void + System.Int32 - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("pixels-inside-wrap") + + - System.Void + System.Int32 - + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Moves the cursor to the currently visible region of the buffer if it isn't there already. + + if the cursor had to be moved + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("populate_popup") + + - System.Void + Gtk.PopulatePopupHandler - - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Raised when the popup dialog on this object needs to be filled with data. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("right-margin") + + - System.Void + System.Int32 - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + The default right margin + the right margin + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("set_scroll_adjustments") + + - System.Void + Gtk.ScrollAdjustmentsSetHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Raised whenever the adjustment values for the scrollbars are set. + - - + + + Method + + 2.12.0.0 + System.Void - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + + 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.Void + System.Boolean - + + + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - - - + + + + + - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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 . + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("set_anchor") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Raised whenever an anchor (e.g. ) is set within the TextView. + - - + + + Method + + 2.12.0.0 + System.Void - - - - - Default handler for the event. - a - 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. + 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 . + + - - - System.Obsolete - - - - + + + Method + + 2.12.0.0 + - Gtk.TextIter + System.Boolean - - + - Retrieves the iterator at buffer coordinates and . - x position, in buffer coordinates - y position, in buffer coordinates - 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 . + 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. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("tabs") + + - Gdk.Rectangle + Pango.TabArray - - Gets a rectangle which roughly contains the character at iter. - a - 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. + Custom tabs for this text + custom tabes for this text + - - - Property - - System.Boolean - - - - Whether Tab will result in a tab character being entered. - a - Defaults to true. - - + + + + Event + + 2.12.0.0 + - GLib.Property("accepts-tab") + GLib.Signal("toggle_overwrite") - - - - Property - System.Boolean + System.EventHandler - Whether entered text overwrites existing contents. - a - Defaults to false. - + Raised whenever the insert/overwrite flag is toggled. + - - - GLib.Property("overwrite") - - - + + Property + + 2.12.0.0 + Gdk.Rectangle @@ -1465,56 +1818,60 @@ class TextViewSample - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + + + + - To be added - To be added - + + 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.Signal("backspace") + GLib.Property("wrap-mode") - - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - - - - - Method - System.Int32 + Gtk.WrapMode - - - - To be added - a - a - a - a - To be added - + Whether to wrap lines never, at word boundaries, or at character boundaries. + the of the text view + diff --git a/doc/en/Gtk/TextWindow.xml b/doc/en/Gtk/TextWindow.xml index b7610ff36..0cc5e1423 100644 --- a/doc/en/Gtk/TextWindow.xml +++ b/doc/en/Gtk/TextWindow.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,26 +8,30 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A basic window type that contains text. - FIXME: this class may be for internal use only. - GLib.Opaque + + A basic window type that contains text. + FIXME: this class may be for internal use only. + + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gtk/TextWindowType.xml b/doc/en/Gtk/TextWindowType.xml index 1093e3ef1..696ac96b7 100644 --- a/doc/en/Gtk/TextWindowType.xml +++ b/doc/en/Gtk/TextWindowType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used to identify areas of the . - - System.Enum @@ -19,75 +16,103 @@ GLib.GType(typeof(Gtk.TextWindowTypeGType)) + + An enumeration used to identify areas of the . + + - - + + + Field + + 2.12.0.0 + Gtk.TextWindowType - A private text window that can't be gotten from the text view. + The window at the bottom of the text window. - - + + + Field + + 2.12.0.0 + Gtk.TextWindowType - The overall widget window. + The window on the left hand side of the text window. - - + + + Field + + 2.12.0.0 + Gtk.TextWindowType - The window that displays the text buffer. + A private text window that can't be gotten from the text view. - - + + + Field + + 2.12.0.0 + Gtk.TextWindowType - The window on the left hand side of the text window. + The window on the right hand side of the text window. - - + + + Field + + 2.12.0.0 + Gtk.TextWindowType - The window on the right hand side of the text window. + The window that displays the text buffer. + Field + + 2.12.0.0 + Gtk.TextWindowType @@ -98,15 +123,19 @@ - - + + + Field + + 2.12.0.0 + Gtk.TextWindowType - The window at the bottom of the text window. + The overall widget window. diff --git a/doc/en/Gtk/ThemeEngine.xml b/doc/en/Gtk/ThemeEngine.xml index e05b7e590..53b5a00a2 100644 --- a/doc/en/Gtk/ThemeEngine.xml +++ b/doc/en/Gtk/ThemeEngine.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,26 +8,30 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An object wrapper for a Gtk theme engine. - - GLib.Opaque + + An object wrapper for a Gtk theme engine. + + + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Gtk/ThreadNotify.xml b/doc/en/Gtk/ThreadNotify.xml index e2fcd3a86..797cd7eea 100644 --- a/doc/en/Gtk/ThreadNotify.xml +++ b/doc/en/Gtk/ThreadNotify.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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. @@ -51,43 +60,31 @@ class Demo { - - System.Object - - - - System.IDisposable - - - - - Method - - 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. - - + Constructor + + 2.12.0.0 + - ThreadNotify constructor 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 @@ -99,7 +96,11 @@ class Demo { + Method + + 2.12.0.0 + System.Void @@ -107,10 +108,58 @@ class Demo { - 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.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. + + diff --git a/doc/en/Gtk/Timeout.xml b/doc/en/Gtk/Timeout.xml index 15de109ba..61fdcafa7 100644 --- a/doc/en/Gtk/Timeout.xml +++ b/doc/en/Gtk/Timeout.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Registers a method to be called periodically. - - - System.Object @@ -21,10 +17,38 @@ 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 @@ -33,9 +57,9 @@ - Registers a to be called periodically. 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. @@ -45,7 +69,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by GLib.Timeout.Add") + + System.UInt32 @@ -57,19 +90,28 @@ - Registers a to be called periodically. 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 @@ -77,21 +119,11 @@ - Removes the given timeout destroying all information about it. a + Removes the given timeout destroying all information about it. - - - Constructor - - - - Internal Constructor - This should not be called directly by typical applications. - - diff --git a/doc/en/Gtk/TitleChangedArgs.xml b/doc/en/Gtk/TitleChangedArgs.xml index 91acd4959..e064b83ef 100644 --- a/doc/en/Gtk/TitleChangedArgs.xml +++ b/doc/en/Gtk/TitleChangedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + System.String diff --git a/doc/en/Gtk/TitleChangedHandler.xml b/doc/en/Gtk/TitleChangedHandler.xml index 2327e7a37..7e8774d86 100644 --- a/doc/en/Gtk/TitleChangedHandler.xml +++ b/doc/en/Gtk/TitleChangedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ToggleAction.xml b/doc/en/Gtk/ToggleAction.xml index 0b1673c13..3bd3cacd1 100644 --- a/doc/en/Gtk/ToggleAction.xml +++ b/doc/en/Gtk/ToggleAction.xml @@ -1,82 +1,70 @@ + 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 - - Gtk.Action - - - - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - Fires the event. - - - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected Constructor. a + Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor This is not typically used by C# code. + Constructor + + 2.12.0.0 + @@ -85,31 +73,50 @@ - Public constructor. 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") + + - GLib.GType + System.Boolean - GType Property. - a - Returns the native value for . + Sets the checked state on the toggle action. + a , if checked + + - + + Property + + 2.12.0.0 + + + + GLib.Property("draw-as-radio") + + System.Boolean @@ -122,34 +129,74 @@ + + + + + Property + + 2.12.0.0 + + + GLib.GType + + + + GType Property. + a + Returns the native value for . + + + + + + Method + + 2.12.0.0 + - GLib.Property("draw-as-radio") + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - Sets the checked state on the toggle action. - a , if checked + Fires the event. - - - GLib.Property("active") - - + Event + + 2.12.0.0 + + + + GLib.Signal("toggled") + + System.EventHandler @@ -159,11 +206,6 @@ - - - GLib.Signal("toggled") - - diff --git a/doc/en/Gtk/ToggleActionEntry.xml b/doc/en/Gtk/ToggleActionEntry.xml index 2578904d0..1a1f46ed2 100644 --- a/doc/en/Gtk/ToggleActionEntry.xml +++ b/doc/en/Gtk/ToggleActionEntry.xml @@ -1,11 +1,16 @@ + 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 @@ -14,66 +19,110 @@ - - System.ValueType - - - - - Field - - System.String - + + + + Constructor + + 2.12.0.0 + + + + - A unique name for the action. - + a , a unique name for the action + a , the stock icon to display in widgets representing the action + Public constructor + + - - - Field - - System.String - + + + + Constructor + + 2.12.0.0 + + + + + - The stock icon displayed in widgets representing this action. - + 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 + + - - - Field - - System.String - + + + + Constructor + + 2.12.0.0 + + + + + + - The label used for menu items and buttons that activate this action. - + 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 + + - - - Field - - System.String - + + + + Constructor + + 2.12.0.0 + + + + + + + + + - A tooltip for this action. - + 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 @@ -86,7 +135,11 @@ + Field + + 2.12.0.0 + System.EventHandler @@ -99,7 +152,11 @@ + Field + + 2.12.0.0 + System.Boolean @@ -110,84 +167,72 @@ - - - Constructor - + + + + Field + + 2.12.0.0 + + + System.String + - - - Public constructor - a , a unique name for the action - a , the stock icon to display in widgets representing the action - - + The label used for menu items and buttons that activate this action. + - - - Constructor - + + + + Field + + 2.12.0.0 + + + System.String + - - - - Public constructor - 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 unique name for the action. + - - - Constructor - + + + + Field + + 2.12.0.0 + + + System.String + - - - - - Public constructor - 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 - - + The stock icon displayed in widgets representing this action. + - - - Constructor - + + + + Field + + 2.12.0.0 + + + System.String + - - - - - - - - Public constructor - 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 - - + A tooltip for this action. + diff --git a/doc/en/Gtk/ToggleButton.xml b/doc/en/Gtk/ToggleButton.xml index a944181b4..cecdee6ef 100644 --- a/doc/en/Gtk/ToggleButton.xml +++ b/doc/en/Gtk/ToggleButton.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -65,58 +71,14 @@ public class ToggleButtonApp { - - Gtk.Button - - - - - - Method - - Gtk.ToggleButton - - - - - - Creates a new with a text label. - a containing the message to be placed in the toggle button. - a new . - Creates a new with a text label. - - - - - Method - - System.Void - - - - Emits the event - Emits the event on the . There is no good reason for an application ever to call this function. - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - + Constructor + + 2.12.0.0 + @@ -140,70 +102,76 @@ btn.Add(label); - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Creates a new with a text label. - a containing the message to be placed in the toggle button. - Creates a new with a text label. - ToggleButton btn = new ToggleButton ("ToggleButton"); + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Property - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + - The Mode of the - an object of type + Pointer to the C object. + Internal constructor - 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. - + This is an internal constructor, and should not be used by user code. - - - Property - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + - 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 . - - + 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("inconsistent") + GLib.Property("active") - - - - Property System.Boolean @@ -239,15 +207,19 @@ btn.Active = true; + + + + + Property + + 2.12.0.0 + - GLib.Property("active") + GLib.Property("draw-indicator") - - - - Property System.Boolean @@ -260,54 +232,112 @@ btn.Active = true; or look like a normal . - - - GLib.Property("draw-indicator") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + GLib.GType - 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 -} - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Signal("toggled") + 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 + - GLib.GType + System.Boolean - + + - GType Property. - a - Returns the native value for . + 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 @@ -317,23 +347,51 @@ void btn_toggled (object obj, EventArgs args) Override this method in a subclass to provide a default handler for the event. - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + System.Void + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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 +} + + diff --git a/doc/en/Gtk/ToggleCursorRowArgs.xml b/doc/en/Gtk/ToggleCursorRowArgs.xml index 0507c6021..236cf4f7e 100644 --- a/doc/en/Gtk/ToggleCursorRowArgs.xml +++ b/doc/en/Gtk/ToggleCursorRowArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/ToggleCursorRowHandler.xml b/doc/en/Gtk/ToggleCursorRowHandler.xml index e34425cf0..a1dca8226 100644 --- a/doc/en/Gtk/ToggleCursorRowHandler.xml +++ b/doc/en/Gtk/ToggleCursorRowHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ToggleHandleFocusArgs.xml b/doc/en/Gtk/ToggleHandleFocusArgs.xml index 265a78a70..0d53dc051 100644 --- a/doc/en/Gtk/ToggleHandleFocusArgs.xml +++ b/doc/en/Gtk/ToggleHandleFocusArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/ToggleHandleFocusHandler.xml b/doc/en/Gtk/ToggleHandleFocusHandler.xml index 6d65857c8..074ce5546 100644 --- a/doc/en/Gtk/ToggleHandleFocusHandler.xml +++ b/doc/en/Gtk/ToggleHandleFocusHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ToggleSizeAllocatedArgs.xml b/doc/en/Gtk/ToggleSizeAllocatedArgs.xml index 2b6745c44..1e7695f1d 100644 --- a/doc/en/Gtk/ToggleSizeAllocatedArgs.xml +++ b/doc/en/Gtk/ToggleSizeAllocatedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gtk/ToggleSizeAllocatedHandler.xml b/doc/en/Gtk/ToggleSizeAllocatedHandler.xml index c0371b99b..222fe6f18 100644 --- a/doc/en/Gtk/ToggleSizeAllocatedHandler.xml +++ b/doc/en/Gtk/ToggleSizeAllocatedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ToggleSizeRequestedArgs.xml b/doc/en/Gtk/ToggleSizeRequestedArgs.xml index c153874ba..3ea7cb2cb 100644 --- a/doc/en/Gtk/ToggleSizeRequestedArgs.xml +++ b/doc/en/Gtk/ToggleSizeRequestedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gtk/ToggleSizeRequestedHandler.xml b/doc/en/Gtk/ToggleSizeRequestedHandler.xml index 2a61cc519..f3f324c1b 100644 --- a/doc/en/Gtk/ToggleSizeRequestedHandler.xml +++ b/doc/en/Gtk/ToggleSizeRequestedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ToggleToolButton.xml b/doc/en/Gtk/ToggleToolButton.xml index 31442d375..8213779f3 100644 --- a/doc/en/Gtk/ToggleToolButton.xml +++ b/doc/en/Gtk/ToggleToolButton.xml @@ -1,129 +1,172 @@ + 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. - - Gtk.ToolButton - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Public constructor. + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected constructor. a + Protected constructor. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Constructor for internal use. a , pointer to underlying C object. - - - - - - - Constructor - - - - Public constructor. + Constructor for internal use. + Constructor + + 2.12.0.0 + - Public constructor for use with stock items. 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") + + - GLib.GType + System.Boolean - The of this object. - a + 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 + - System.Boolean + GLib.GType - The current state of the toggle button. - a , true if button is pressed in and false if it is raised. + The of this object. + a + + + + + Method + + 2.12.0.0 + - GLib.Property("active") + 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 @@ -133,11 +176,6 @@ - - - GLib.Signal("toggled") - - diff --git a/doc/en/Gtk/ToggledArgs.xml b/doc/en/Gtk/ToggledArgs.xml index af0966ffb..e1bcab635 100644 --- a/doc/en/Gtk/ToggledArgs.xml +++ b/doc/en/Gtk/ToggledArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Gtk/ToggledHandler.xml b/doc/en/Gtk/ToggledHandler.xml index dc5b8eae8..d9d55a140 100644 --- a/doc/en/Gtk/ToggledHandler.xml +++ b/doc/en/Gtk/ToggledHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/ToolButton.xml b/doc/en/Gtk/ToolButton.xml index e4e3a1736..9e658463e 100644 --- a/doc/en/Gtk/ToolButton.xml +++ b/doc/en/Gtk/ToolButton.xml @@ -1,101 +1,133 @@ + 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. - - Gtk.ToolItem - - - - - - Method - - System.Void - - - - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - Protected constructor. a + Protected constructor. - - - System.Obsolete - - + Constructor + + 2.12.0.0 + - Constructor for internal use only. a , pointer to underlying C object. + Constructor for internal use only. - + + Constructor + + 2.12.0.0 + - - + - Public constructor - a , a widget that will be used as icon widget, or - a , a label for this button, or + a , the name of the stock item + Public constructor that uses a stock item. - + + Constructor + + 2.12.0.0 + - + + - Public constructor that uses a stock item. - a , the name of the stock item + 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 @@ -107,47 +139,86 @@ - - + + + 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 label for this button. - a + The icon for this button, in widget form. + a + + + + + Property + + 2.12.0.0 + GLib.Property("label") - - - - Property System.String - If this is a stock item, the ID for the stock item. + The label for this button. a + + + + + Property + + 2.12.0.0 + - GLib.Property("stock-id") + GLib.Property("label-widget") - - - - Property Gtk.Widget @@ -158,34 +229,63 @@ + + + + + Method + + 2.12.0.0 + - GLib.Property("label-widget") + 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") + + - Gtk.Widget + System.String - The icon for this button, in widget form. - a + If this is a stock item, the ID for the stock item. + a + + + + + Property + + 2.12.0.0 + - GLib.Property("icon-widget") + GLib.Property("use-underline") - - - - Property System.Boolean @@ -207,48 +307,6 @@ - - - GLib.Property("use-underline") - - - - - - Event - - System.EventHandler - - - - This signal is emitted when the tool button is clicked with - the mouse or activated with the keyboard. - - - - - - GLib.Signal("clicked") - - - - - - Property - - - GLib.Property("icon-name") - - - - System.String - - - Accesses the icon as a name in an Icon theme. - a name in an Icon theme. - - - diff --git a/doc/en/Gtk/ToolItem.xml b/doc/en/Gtk/ToolItem.xml index 522f40a2f..95273bde5 100644 --- a/doc/en/Gtk/ToolItem.xml +++ b/doc/en/Gtk/ToolItem.xml @@ -1,93 +1,153 @@ + 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 . - - Gtk.Bin - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Public constructor. + - - - Method - - System.Boolean - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + a + Protected constructor. + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + - - - + - Default handler for the event. - a - a - a - a - Override this method in a subclass to provide a default handler for the event. + a , pointer to the underlying C object. + Constructor for internal use. Do not use. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("create_menu_proxy") + + - System.Void + Gtk.CreateMenuProxyHandler - - - - + - Sets the used in the toolbar overflow menu. + 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. - a - a - The is used to identify the caller of this function and - should also be used with . + + 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 @@ -95,13 +155,13 @@ Current inheritors are: and + a If matches the string passed to , return the corresponding . - a a Custom subclasses of should use this @@ -113,175 +173,167 @@ Current inheritors are: and - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - - - + - - 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. - - a - a , the tooltip text for the item - a , the private text + The of this object. + a - - - Method + + + + Property + + 2.12.0.0 + - Gtk.Widget + System.Boolean - Returns the that was last set by - ; that is, the - that is going to appear in the - overflow menu. + Whether this toolitem is to be allocated the same size as other + homogeneous items. - a - - - - - - Constructor - - - - - - Protected constructor. - a - - - - - System.Obsolete - - - - - - Constructor - - - - - - Constructor for internal use. Do not use. - a , pointer to the underlying C object. - - - - - - Constructor - - - - Public constructor. - + 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 + - GLib.GType + Gtk.IconSize - The of this object. - a + 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 visible when the toolbar is in a horizontal orientation. + 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.Property("visible-horizontal") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateMenuProxy", Type=typeof(Gtk.ToolItem)) - - - - Property System.Boolean - Whether the toolbar item is visible when the toolbar is in a vertical orientation. - 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.Property("visible-vertical") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideToolbarReconfigured", Type=typeof(Gtk.ToolItem)) - - - - Property - System.Boolean + System.Void - Whether the toolbar item is considered important. - a - - When TRUE, toolbar buttons show text when the toolbar is in - mode. - + 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.Property("is-important") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTooltipSet", Type=typeof(Gtk.ToolItem)) - - - - Property - Gtk.ToolbarStyle + System.Boolean - + + + + + - Sets some display styles for this toolbar; see - for details. - a - + 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 @@ -292,42 +344,30 @@ Current inheritors are: and - - Property - - Gtk.IconSize - - - - The size of icons in this toolbar. See . - a - - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - 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. - + To be added + To be added + - + + Property + + 2.12.0.0 + Gtk.ReliefStyle @@ -345,48 +385,98 @@ Current inheritors are: and - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.Widget - Whether this toolitem is allocated extra space when there - is more room on the toolbar then needed for the items. + Returns the that was last set by + ; that is, the + that is going to appear in the + overflow menu. - a - - If true, the effect is that the item gets bigger when the - toolbar gets bigger and smaller when the toolbar gets smaller. - + a + - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + + a + a - Whether this toolitem is to be allocated the same size as other - homogeneous items. + Sets the used in the toolbar overflow menu. - a - If true, the effect is that all homogeneous items will have - the same width as the widest of the items. + 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 @@ -408,85 +498,116 @@ Current inheritors are: and + + + 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("toolbar_reconfigured") + GLib.Signal("set_tooltip") + + Gtk.TooltipSetHandler + + + + + This signal is emitted when the toolitem's tooltip changes. + + + - - - Event + + + + Property + + 2.12.0.0 + - Gtk.CreateMenuProxyHandler + System.Boolean - 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. + Whether this toolitem has a drag window. + a - - 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# - + 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.Signal("create_menu_proxy") + GLib.Property("visible-horizontal") - - - - Event - Gtk.TooltipSetHandler + System.Boolean - - This signal is emitted when the toolitem's tooltip changes. - + Whether the toolbar item is visible when the toolbar is in a horizontal orientation. + a + + + + + Property + + 2.12.0.0 + - GLib.Signal("set_tooltip") + GLib.Property("visible-vertical") - - - - Method - System.Void + System.Boolean - To be added - To be added - + Whether the toolbar item is visible when the toolbar is in a vertical orientation. + a + + diff --git a/doc/en/Gtk/Toolbar+ToolbarChild.xml b/doc/en/Gtk/Toolbar+ToolbarChild.xml index 4ecd3ea85..c3b961fcd 100644 --- a/doc/en/Gtk/Toolbar+ToolbarChild.xml +++ b/doc/en/Gtk/Toolbar+ToolbarChild.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,48 +9,74 @@ 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("homogeneous") + Gtk.ChildProperty("expand") System.Boolean - Whether or not the child should be the same size as other (homogeneous) items + Whether or not the child should receive extra space as the toolbar grows. a - - + + + Property + + 2.12.0.0 + - Gtk.ChildProperty("expand") + Gtk.ChildProperty("homogeneous") System.Boolean - Whether or not the child should receive extra space as the toolbar grows. + Whether or not the child should be the same size as other (homogeneous) items a - - A child of a , used to interact with its container child properties. - - - - diff --git a/doc/en/Gtk/Toolbar.xml b/doc/en/Gtk/Toolbar.xml index 89274ca4f..7e5f4179b 100644 --- a/doc/en/Gtk/Toolbar.xml +++ b/doc/en/Gtk/Toolbar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -27,98 +33,144 @@ - - Gtk.Container - - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Deprecated. - Adds a new space to the beginning of the toolbar. + Creates a new toolbar. + - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - Unsets a toolbar style set with . - Unsets a toolbar style set with , so that user preferences will be used to determine the toolbar style. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + + - - Unsets toolbar icon size set with . - - + 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") + + - System.Void + Gtk.Widget + + - + + + a + a + a + a + a + a + a Deprecated. - 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. - Inserts a widget in the toolbar at the given position. + a + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by ToolItem API") + + - System.Void + Gtk.Widget - + + + + a + a + a + a + a Deprecated. - A to add to the toolbar. - The tooltip for the element. - Used for context-sensitive help about this toolbar element. - Adds a widget to the end of the given toolbar. + a + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void @@ -128,83 +180,144 @@ 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. - The index of the space to remove. - Removes a space from the specified position. + Adds a widget to the end of the given toolbar. - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - - - + + - Deprecated. - a to add to the toolbar. - The tooltip for the element. - Used for context-sensitive help about this toolbar element. - Adds a widget to the beginning of the given toolbar. + 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.Void + System.Int32 - + - Deprecated. Do not use. - The number of widgets after which a space should be inserted. - Inserts a new space in the toolbar at the specified position. + a + + Returns the position of on the toolbar, + starting from 0. + + a + + It is an error if is not a child of + the toolbar. + + - - - Constructor - + + + + Method + + 2.12.0.0 + + + Gtk.ToolItem + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Returns the th item on the toolbar, + or if the toolbar does not contain an + th item. + a + + - - - Constructor - + + + + Property + + 2.12.0.0 + + + GLib.GType + - Creates a new toolbar. - + GType Property. + a + Returns the native value for . - + + Property + + 2.12.0.0 + + + + GLib.Property("icon-size") + + Gtk.IconSize @@ -215,149 +328,71 @@ The icon size for the toolbar. + + + + + Property + + 2.12.0.0 + - GLib.Property("icon-size") + GLib.Property("icon-size-set") - - - - Property System.Boolean - - - Sets if the tooltips of a toolbar should be active or not. - Whether tooltips are enabled. - - - - - GLib.Property("tooltips") - - - - - - Property - - Gtk.ToolbarStyle - - - - - Alters the view of toolbar to display either icons only, text only, or both. - The current style of toolbar. + Indicates if an Icon size is set. + a . + - - - GLib.Property("toolbar-style") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Orientation + System.Void + + - Sets the of the toolbar to either or . - The orientation of the toolbar. - - - - - GLib.Property("orientation") - - - - - - Event - - Gtk.StyleChangedHandler - - - - Used if you wish to perform an action when the orientation of a toolbar is changed. - + 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. + + - - - GLib.Signal("style-changed") - - - - - Event - - 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. - + + + + Method + + 2.12.0.0 + - GLib.Signal("orientation-changed") + System.Obsolete("Replaced by ToolItem API") - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method Gtk.Widget @@ -369,19 +404,10 @@ + + - - - 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 type of widget to add a , the widget itself a , a label for the widget @@ -389,28 +415,8 @@ If type == , widget is used as the n 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 - To be added. - - - - - Method - - Gtk.Widget - - - - - - - - - - - - - + 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. @@ -422,22 +428,22 @@ If type == , widget is used as the n 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 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. a , the new toolbar element. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by ToolItem API") + + Gtk.Widget @@ -447,21 +453,58 @@ If type == , widget is used as the n + + - Deprecated. 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 @@ -470,169 +513,275 @@ If type == , widget is used as the n - - Deprecated. a a a a - a a + Deprecated a - + Replaced by ToolItem API. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by ToolItem API") + + Gtk.Widget - + - - Deprecated. - a + a a a - a a a a + Deprecated. a - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - Gtk.Widget + 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. - a - a - a - a - a - a - + Inserts a widget in the toolbar at the given position. - - - Method + + + + Property + + 2.12.0.0 + - Gtk.Widget + Gtk.Container+ContainerChild - - - - - - - + - Deprecated. - a - a - a - a - a - a - a - a + 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 + - - - Constructor - + + + + 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 + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + GLib.DefaultSignalHandler(ConnectionMethod="OverridePopupContextMenu", Type=typeof(Gtk.Toolbar)) - - - - Property System.Boolean - + + + + + - Whether to show an arrow if the toolbar doesn't fit. - 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.Property("show-arrow") + 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.ReliefStyle + Gtk.Orientation - + + - The relief style of buttons on the toolbar. - a + Sets the of the toolbar to either or . + The orientation of the toolbar. - - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("orientation-changed") + + - System.Int32 + Gtk.OrientationChangedHandler - The number of items on the toolbar. - a - - + 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 @@ -646,170 +795,185 @@ If type == , widget is used as the n + + + + + Method + + 2.12.0.0 + - GLib.Signal("popup_context_menu") + System.Obsolete("Replaced by ToolItem API") - - - - Method - System.Boolean + Gtk.Widget - - - + + + + + + + - Default handler for the event. - a - a - a - a - Override this method in a subclass to provide a default handler for the event. - + 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.ToolItem + Gtk.Widget - + + + + + - Returns the th item on the toolbar, - or if the toolbar does not contain an - th item. - a - a + a + a + a + a + a + Deprecated. + a - - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - - - - - - - Insert a into the toolbar at position - . - - a - a - - 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 - - System.Int32 - - - - + - - Returns the position of on the toolbar, - starting from 0. - - a - a - - It is an error if is not a child of - the toolbar. - - + Deprecated. + Adds a new space to the beginning of the toolbar. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Int32 + System.Void - - + + + - - Returns the position corresponding to the indicated point on - the toolbar. - - a - a - 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. - - + 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 + - System.Int32 + Gtk.ReliefStyle - The number of items in the toolbar. - The number of itesm. - - + The relief style of buttons on the toolbar. + a + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - Gtk.Widget + System.Void - - - - - Deprecated - a - a - a - a - a - a - Replaced by ToolItem API. + The index of the space to remove. + Deprecated. + Removes a space from the specified position. + Method + + 2.12.0.0 + System.Void @@ -818,29 +982,135 @@ If type == , widget is used as the n - To be added a a + To be added To be added - - + + + Property + + 2.12.0.0 + - GLib.Property("icon-size-set") + GLib.Property("show-arrow") System.Boolean + - Indicates if an Icon size is set. - a . + 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. diff --git a/doc/en/Gtk/ToolbarChildType.xml b/doc/en/Gtk/ToolbarChildType.xml index 5df36abee..04dfd7d2d 100644 --- a/doc/en/Gtk/ToolbarChildType.xml +++ b/doc/en/Gtk/ToolbarChildType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 . - System.Enum @@ -20,62 +16,87 @@ 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 blank space to the toolbar. + Add buttons to the toolbar. - - + + + Field + + 2.12.0.0 + Gtk.ToolbarChildType - Add buttons to the toolbar. + Add radio buttons to the toolbar. - - + + + Field + + 2.12.0.0 + Gtk.ToolbarChildType - Add toggle buttons to the toolbar. + Add blank space to the toolbar. - - + + + Field + + 2.12.0.0 + Gtk.ToolbarChildType - Add radio buttons to the toolbar. + Add toggle buttons to the toolbar. + Field + + 2.12.0.0 + Gtk.ToolbarChildType diff --git a/doc/en/Gtk/ToolbarStyle.xml b/doc/en/Gtk/ToolbarStyle.xml index 0a60d84e7..23fb89e74 100644 --- a/doc/en/Gtk/ToolbarStyle.xml +++ b/doc/en/Gtk/ToolbarStyle.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - - System.Enum @@ -23,66 +16,90 @@ 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 only icons in the toolbar. + Buttons display text and icons in the toolbar. - Buttons display only icons in the toolbar. + Buttons display text and icons in the toolbar. - - + + + Field + + 2.12.0.0 + Gtk.ToolbarStyle - Buttons display only text labels in the toolbar. + Buttons display icons and text alongside each other, rather than vertically stacked. - Buttons display only text labels in the toolbar. + + Buttons display icons and text alongside each other, rather than vertically stacked. + - - + + + Field + + 2.12.0.0 + Gtk.ToolbarStyle - Buttons display text and icons in the toolbar. + Buttons display only icons in the toolbar. - Buttons display text and icons in the toolbar. + Buttons display only 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 only text labels in the toolbar. - - Buttons display icons and text alongside each other, rather than vertically stacked. - + Buttons display only text labels in the toolbar. diff --git a/doc/en/Gtk/Tooltip.xml b/doc/en/Gtk/Tooltip.xml index 83636fee1..de997ce4c 100644 --- a/doc/en/Gtk/Tooltip.xml +++ b/doc/en/Gtk/Tooltip.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,36 +9,32 @@ GLib.Object + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. To be added. - - - Constructor - - - System.Obsolete - - - - - - - To be added. - To be added. - To be added. - - + Constructor + + 2.12.0.0 + @@ -48,8 +45,12 @@ - + + Property + + 2.12.0.0 + Gtk.Widget @@ -60,8 +61,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -72,8 +77,12 @@ - + + Property + + 2.12.0.0 + Gdk.Pixbuf @@ -84,8 +93,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -97,7 +110,11 @@ + Method + + 2.12.0.0 + System.Void @@ -113,8 +130,12 @@ - + + Property + + 2.12.0.0 + System.String @@ -125,8 +146,12 @@ - + + Property + + 2.12.0.0 + Gdk.Rectangle @@ -138,7 +163,11 @@ + Method + + 2.12.0.0 + System.Void @@ -152,9 +181,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/TooltipSetArgs.xml b/doc/en/Gtk/TooltipSetArgs.xml index f8106699f..7fbbcab66 100644 --- a/doc/en/Gtk/TooltipSetArgs.xml +++ b/doc/en/Gtk/TooltipSetArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -28,22 +33,31 @@ Create a new instance with this constructor if you need to invoke a delegate. - - + + + Property + + 2.12.0.0 + - Gtk.Tooltips + System.String - The tooltips group. - a - (XXX: should this be the entire tooltips group, or just the tooltip that was set?) + The private/detail tooltip text that was set. + a + + - + + Property + + 2.12.0.0 + System.String @@ -55,18 +69,21 @@ - - + + + Property + + 2.12.0.0 + - System.String + Gtk.Tooltips - The private/detail tooltip text that was set. - a - - + The tooltips group. + a + (XXX: should this be the entire tooltips group, or just the tooltip that was set?) diff --git a/doc/en/Gtk/TooltipSetHandler.xml b/doc/en/Gtk/TooltipSetHandler.xml index 615c835da..4cf196eb8 100644 --- a/doc/en/Gtk/TooltipSetHandler.xml +++ b/doc/en/Gtk/TooltipSetHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/Tooltips.xml b/doc/en/Gtk/Tooltips.xml index c12b28430..3d5f8e259 100644 --- a/doc/en/Gtk/Tooltips.xml +++ b/doc/en/Gtk/Tooltips.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,16 @@ 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. @@ -64,143 +75,138 @@ class ToolTipsExample - - Gtk.Object - - - - - - Method - - 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 - - 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 - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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.) + 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. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Adds a tooltip containing the specified message to the specified . - an object of type - an object of type - an object of type - Adds a tooltip containing the specified message to the specified . + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - + + + + Property + + 2.12.0.0 + + + System.UInt32 + - 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. + Number of milliseconds of mouse-hover before tooltips pop up. + a + + + - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 . - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + System.Void + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + Allows the user to see your tooltips as they navigate your application. + Allows the user to see your tooltips as they navigate your application. - - - System.Obsolete - - - - - Property + + + + Method + + 2.12.0.0 + - System.UInt32 + System.Void + - Number of milliseconds of mouse-hover before tooltips pop up. - a - - - + 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 @@ -210,11 +216,11 @@ class ToolTipsExample - Determines the tooltips and the widget they belong - to from the window in which they are displayed. 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 @@ -222,10 +228,45 @@ class ToolTipsExample + + + + 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 . + + - - - System.Obsolete - - diff --git a/doc/en/Gtk/TooltipsData.xml b/doc/en/Gtk/TooltipsData.xml index 3e932f7bf..7be15a1b2 100644 --- a/doc/en/Gtk/TooltipsData.xml +++ b/doc/en/Gtk/TooltipsData.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,32 +8,28 @@ 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. - - System.ValueType - - - - - Field - - Gtk.TooltipsData - - - - A with default values. - - - - + Method + + 2.12.0.0 + Gtk.TooltipsData @@ -40,8 +37,8 @@ - Gets the associated with . an object of type + Gets the associated with . an object of type @@ -49,7 +46,11 @@ + Method + + 2.12.0.0 + Gtk.TooltipsData @@ -57,54 +58,40 @@ - Creates a new TooltipsData object. an object of type + Creates a new TooltipsData object. an object of type This is not typically used directly by applications. - - - Property + + + + Field + + 2.12.0.0 + - Gtk.Widget + System.String - The that this is associated with. - an object of type + 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?) + - - - System.Obsolete("Replaced by Widget property.") - - - - - - Property - - Gtk.Tooltips - - - - - Generates a Tooltips object out of this data. - an object of type - To be added. - - - - System.Obsolete("Replaced by Tooltips property.") - - + Field + + 2.12.0.0 + System.String @@ -115,26 +102,36 @@ - - - Field + + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Tooltips property.") + + - System.String + Gtk.Tooltips - 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?) - - + Generates a Tooltips object out of this data. + an object of type + To be added. - + + Property + + 2.12.0.0 + Gtk.Tooltips @@ -144,9 +141,37 @@ 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 @@ -156,10 +181,22 @@ To be added. + + + + Field + + 2.12.0.0 + + + Gtk.TooltipsData + + + + A with default values. + + + + - - - System.Obsolete - - diff --git a/doc/en/Gtk/TranslateFunc.xml b/doc/en/Gtk/TranslateFunc.xml index ce7414480..9f1a3cbd2 100644 --- a/doc/en/Gtk/TranslateFunc.xml +++ b/doc/en/Gtk/TranslateFunc.xml @@ -1,24 +1,25 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - Delegate used by to translate path elements before they are displayed. - TODO: Add an example here. - To be added. - 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. + + diff --git a/doc/en/Gtk/TrayIcon.xml b/doc/en/Gtk/TrayIcon.xml index f0eb6c107..b15fe25b6 100644 --- a/doc/en/Gtk/TrayIcon.xml +++ b/doc/en/Gtk/TrayIcon.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,32 @@ 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 @@ -28,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -38,18 +65,29 @@ For use by language bindings. - - - Constructor - + + + + Property + + 2.12.0.0 + + + GLib.GType + - Protected constructor. - Do not use this type. See instead. + Native GType value. + a . + For use by language bindings. - + + Property + + 2.12.0.0 + GLib.Property("orientation") @@ -64,22 +102,5 @@ - - - Property - - GLib.GType - - - Native GType value. - a . - For use by language bindings. - - - - Private X11-only TrayIcon type. - Use instead for a platform independent status icon. - - diff --git a/doc/en/Gtk/Tree.xml b/doc/en/Gtk/Tree.xml index b96514adc..c5c45a110 100644 --- a/doc/en/Gtk/Tree.xml +++ b/doc/en/Gtk/Tree.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,10 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + System.Object + + A tree . @@ -18,34 +23,14 @@ - - System.Object - - - - - Method - - System.Boolean - - - - - - - - Deprecated. - a - a - a - a - - - + Constructor + + 2.12.0.0 + @@ -55,7 +40,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -65,14 +54,38 @@ - Gets row information from a Drag Selection. a a a + Gets row information from a Drag Selection. a + + + + Method + + 2.12.0.0 + + + System.Boolean + + + + + + + + a + a + a + Deprecated. + a + + + diff --git a/doc/en/Gtk/TreeCellDataFunc.xml b/doc/en/Gtk/TreeCellDataFunc.xml index f32ee8981..e8ab9a5ea 100644 --- a/doc/en/Gtk/TreeCellDataFunc.xml +++ b/doc/en/Gtk/TreeCellDataFunc.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.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. - 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. - System.Delegate - @@ -26,4 +18,13 @@ 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. + + diff --git a/doc/en/Gtk/TreeDestroyCountFunc.xml b/doc/en/Gtk/TreeDestroyCountFunc.xml index b26a75104..581a38a8f 100644 --- a/doc/en/Gtk/TreeDestroyCountFunc.xml +++ b/doc/en/Gtk/TreeDestroyCountFunc.xml @@ -1,21 +1,14 @@ + gtk-sharp 2.12.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. - Delegate class for use by . Almost never used; see that method's docs to find out why you might want to use it. - - System.Delegate - @@ -24,4 +17,12 @@ 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. + + + diff --git a/doc/en/Gtk/TreeDragDest.xml b/doc/en/Gtk/TreeDragDest.xml index e5f25d464..3346a8d88 100644 --- a/doc/en/Gtk/TreeDragDest.xml +++ b/doc/en/Gtk/TreeDragDest.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,54 +8,62 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An interface to represent the rows of a tree when something is drag-and-dropped onto them. - - 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 + 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. - + 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 + 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. + 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. + diff --git a/doc/en/Gtk/TreeDragDestAdapter.xml b/doc/en/Gtk/TreeDragDestAdapter.xml index effdd9a71..28b7b4df5 100644 --- a/doc/en/Gtk/TreeDragDestAdapter.xml +++ b/doc/en/Gtk/TreeDragDestAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Boolean @@ -52,9 +89,33 @@ 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 @@ -70,27 +131,45 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - - - - - To be added. - 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. - + + Property + + 2.12.0.0 + Gtk.TreeDragDestImplementor @@ -102,7 +181,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -119,9 +202,4 @@ - - TreeDragDest interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/TreeDragDestImplementor.xml b/doc/en/Gtk/TreeDragDestImplementor.xml index c28eb456f..7d12fb421 100644 --- a/doc/en/Gtk/TreeDragDestImplementor.xml +++ b/doc/en/Gtk/TreeDragDestImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.TreeDragDestAdapter)) + + TreeDragDest implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Boolean @@ -35,7 +45,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -52,9 +66,4 @@ - - TreeDragDest implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/TreeDragSource.xml b/doc/en/Gtk/TreeDragSource.xml index 52480e9a8..883f32295 100644 --- a/doc/en/Gtk/TreeDragSource.xml +++ b/doc/en/Gtk/TreeDragSource.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,53 +8,67 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An interface to represent the rows of a tree when one of them is dragged to another location. - - 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 - - Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. - a - a object to fill with data - 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. + 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 + - Check whether the row at is draggable. If the source doesn't implement this method, the row is assumed to be draggable. a - A boolean, true if this row can be dragged. - + 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 @@ -61,11 +76,9 @@ - - 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 to delete - A boolean for whether the deletion succeeded. + 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. diff --git a/doc/en/Gtk/TreeDragSourceAdapter.xml b/doc/en/Gtk/TreeDragSourceAdapter.xml index 74be99822..f842f7878 100644 --- a/doc/en/Gtk/TreeDragSourceAdapter.xml +++ b/doc/en/Gtk/TreeDragSourceAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Boolean @@ -52,7 +89,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -68,9 +109,33 @@ 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 @@ -86,25 +151,45 @@ To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - - - - 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. - + + Property + + 2.12.0.0 + Gtk.TreeDragSourceImplementor @@ -116,7 +201,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -131,9 +220,4 @@ - - TreeDragSource interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/TreeDragSourceImplementor.xml b/doc/en/Gtk/TreeDragSourceImplementor.xml index 04fc64230..99f0a3b97 100644 --- a/doc/en/Gtk/TreeDragSourceImplementor.xml +++ b/doc/en/Gtk/TreeDragSourceImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.TreeDragSourceAdapter)) + + TreeDragSource implementor interface. + The implementable portion of the interface. + + + Method + + 2.12.0.0 + System.Boolean @@ -33,7 +43,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -51,7 +65,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -66,9 +84,4 @@ - - TreeDragSource implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/TreeIter.xml b/doc/en/Gtk/TreeIter.xml index fcaf8dc82..fffc6c4f0 100644 --- a/doc/en/Gtk/TreeIter.xml +++ b/doc/en/Gtk/TreeIter.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,59 +8,81 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Field + + + + Method + + 2.12.0.0 + + + + System.Obsolete("This is a no-op") + + Gtk.TreeIter - Makes a new TreeIter with empty/default values. + Copy the TreeIter by value. + the copy of the - - + + + Method + + 2.12.0.0 + - Gtk.TreeIter + System.Boolean - + - Creates a new object. - an object of type , a pointer to the underlying C object. - an object of type - This is usually called indirectly by other methods. Not for use by application developers. + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - Gtk.TreeIter + System.Int32 - Copy the TreeIter by value. - the copy of the - + To be added. + To be added. + To be added. - + + Property + + 2.12.0.0 + GLib.GType @@ -70,54 +93,90 @@ Returns the native value for . - - - Field + + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.TreeIter + - A unique stamp to catch invalid iterators. - + 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 + - GLib.Value + Gtk.TreeIter - + - To be added. + To be added. To be added. To be added. To be added. - + + Method + + 2.12.0.0 + - Gtk.TreeIter + GLib.Value - + - To be added. + 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 @@ -127,5 +186,21 @@ 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. + + + diff --git a/doc/en/Gtk/TreeIterCompareFunc.xml b/doc/en/Gtk/TreeIterCompareFunc.xml index 51bcbeec2..0a5efd13f 100644 --- a/doc/en/Gtk/TreeIterCompareFunc.xml +++ b/doc/en/Gtk/TreeIterCompareFunc.xml @@ -1,15 +1,28 @@ + 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. @@ -107,18 +120,6 @@ public class SortableTreeView : TreeView { } - To be added. - - System.Delegate - - - - - - - - System.Int32 - diff --git a/doc/en/Gtk/TreeModel.xml b/doc/en/Gtk/TreeModel.xml index 352efceb5..a4bc591ce 100644 --- a/doc/en/Gtk/TreeModel.xml +++ b/doc/en/Gtk/TreeModel.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 @@ -36,44 +42,55 @@ - - - GLib.IWrapper - - - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + + - 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. + an object of type + an object of type + Emits the signal. + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + - Sets the TreeIter object pointed to by to point to the first child of this tree. - an object of type - an object of type , true if the iter has been set to the first child. - + 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 @@ -82,166 +99,244 @@ - Emits the signal. 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 - + + - Calls on each node in model in a depth-first fashion. - an object of type - If func returns , then the tree ceases to be walked, and this method returns. + an object of type , path of the inserted row. + an object of type , points to the inserted row. + Emits the event. + + - - + + Method - System.Boolean + System.Int32 - + + - Gets the first iterator in the tree (the one at the path "0") and returns . - an object of type - an object of type - Returns if the tree is empty. + 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 + - Emits the event. - an object of type - an object of type - This should be called by models after the child state of a node changes. + 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 + - Gtk.TreePath + System.Void - + - Gets the of . - an object of type - an object of type - - + 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 - + + - Returns if has children, otherwise. 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.Void + System.Boolean - + - Lets the tree ref the node. an object of type - - 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. - + 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.Int32 + System.Boolean - + + - Returns the number of children that has. an object of type - an object of type - As a special case, if is , then the number of toplevel nodes is returned. + an object of type + Gets the at . + an object of type + Otherwise, is left invalid and is returned. - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreePath - - Emits the event. - an object of type , path of the inserted row. - an object of type , points to the inserted row. + an object of type + Gets the of . + an object of type - - + + + Method + + 2.12.0.0 + - System.Void + System.String - + - Emits the event. - an object of type - 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. + 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 @@ -250,120 +345,184 @@ - Gets the values of child properties for the row pointed to by . 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.Void + System.Object + - Lets the tree unref the node. - an object of type - 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. + a + a + Gets the value stored in column of the row pointed to by . + a + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + + + + - Returns the number of columns supported by the . - an object of type - - + a + a + a + Gets the value stored in column of the row pointed to by and stores it in + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TreeModelFlags + System.Boolean + + + - 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 . + 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. + - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowHasChildToggledHandler + System.Boolean - + + + + - Emitted when a child of a row is toggled. - - + 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. - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowInsertedHandler + System.Boolean - + + + - Emitted when a row has been inserted into the model. + an object of type + Returns if has children, otherwise. + an object of type - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowDeletedHandler + System.Int32 - Emitted when a row is deleted. - - + 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. - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowChangedHandler + System.Int32 - + + + - Emitted when a row has changed. - - + 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. - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowsReorderedHandler + System.Boolean - + + + - Emitted when a row is re-ordered - - + 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 @@ -372,16 +531,20 @@ - Sets to be the child of the root node, using the given index. 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 @@ -391,106 +554,168 @@ - Sets to be the child of , using the given index. 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 - + - Gets the at . an object of type - an object of type + an object of type + Sets to be the parent of . an object of type - Otherwise, is left invalid and is returned. + 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 + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - - Sets to point to the first child of . - an object of type - an object of type - 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. + Returns the number of columns supported by the . + an object of type + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + - Sets to a valid iterator pointing to . an object of type - an object of type - 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 + + + + Event + + 2.12.0.0 + - System.Boolean + Gtk.RowChangedHandler - - - - + - Sets to be the parent of . - an object of type - an object of type - 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. + Emitted when a row has changed. + + - - - Method + + + + Event + + 2.12.0.0 + - System.String + Gtk.RowDeletedHandler - - - + - Generates a string representation of the path of . - a - a - This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. + 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 @@ -500,16 +725,20 @@ - Sets the value of column in the row pointed to by to if the value is a boolean. 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 @@ -519,16 +748,20 @@ - Sets the value of column in the row pointed to by to if the value is a . 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 @@ -538,35 +771,43 @@ - Sets the value of column in the row pointed to by to if the value is an . 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 - + - Sets the value of column in the row pointed to by to if the value is an . a 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 @@ -576,136 +817,76 @@ - Sets the value of column in the row pointed to by to if the value is an . 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 - + - Sets the value of column in the row pointed to by to if the value is an . a a - a - To be added. + 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 - - - - Sets the value of column in the row pointed to by to if the value is an . - a - a - a - - - - - - Method - - System.Object - - - - + - Gets the value stored in column of the row pointed to by . a a - a - - - - - - Method - - GLib.GType - - - - - - Returns the type of the column at the given index. - a , the column number. - a - - - - - - 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. - + 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 - - - - - Gets the value stored in column of the row pointed to by and stores it in - a - a - a - - - - - - Method - - System.Boolean - - - - Sets to point to the node following it at the current level. an object of type - an object of type - If there is no next iter, is returned and iter is set to be invalid. + 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. diff --git a/doc/en/Gtk/TreeModelAdapter.xml b/doc/en/Gtk/TreeModelAdapter.xml index 242cedd6d..41dc53cfc 100644 --- a/doc/en/Gtk/TreeModelAdapter.xml +++ b/doc/en/Gtk/TreeModelAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -53,7 +90,11 @@ + Method + + 2.12.0.0 + System.Void @@ -68,7 +109,11 @@ + Method + + 2.12.0.0 + System.Void @@ -85,7 +130,11 @@ + Method + + 2.12.0.0 + System.Void @@ -101,26 +150,35 @@ - + + Method + + 2.12.0.0 + - System.Int32 + System.Void + To be added. To be added. + To be added. To be added. - To be added. To be added. - + + Property + + 2.12.0.0 + Gtk.TreeModelFlags @@ -132,7 +190,11 @@ + Method + + 2.12.0.0 + System.Void @@ -147,7 +209,11 @@ + Method + + 2.12.0.0 + GLib.GType @@ -163,7 +229,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -181,7 +251,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -197,7 +271,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -213,9 +291,33 @@ 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 @@ -233,7 +335,11 @@ + Method + + 2.12.0.0 + Gtk.TreePath @@ -249,7 +355,11 @@ + Method + + 2.12.0.0 + System.String @@ -265,7 +375,11 @@ + Method + + 2.12.0.0 + System.Void @@ -282,7 +396,11 @@ + Method + + 2.12.0.0 + System.Object @@ -300,7 +418,11 @@ + Method + + 2.12.0.0 + System.Void @@ -317,162 +439,15 @@ To be added. - - - Method - - System.Boolean - - - - - - 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. - - - - - Method - - System.Boolean - - - - - - 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. - - - - - Method - - System.Boolean - - - - - - 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. - To be added. - - - - - Method - - System.Boolean - - - - - - - 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 + + 2.12.0.0 + - System.Int32 + GLib.GType To be added. @@ -480,252 +455,29 @@ To be added. - - - Method - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - - Event - - - GLib.Signal("row_changed") - - - - Gtk.RowChangedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("row_deleted") - - - - Gtk.RowDeletedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("row_has_child_toggled") - - - - Gtk.RowHasChildToggledHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("row_inserted") - - - - Gtk.RowInsertedHandler - - - To be added. - To be added. - - - - - Event - - - GLib.Signal("rows_reordered") - - - - Gtk.RowsReorderedHandler - - - To be added. - To be added. - - - - - Method - - System.Void - - - - - - - - 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. - - - - - Method - - System.Void - - - - - - - - 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. - - - - - Method - - System.Void - - - - - - - - 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. - - - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.IntPtr - - - - To be added. To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + Gtk.TreeModelImplementor @@ -737,7 +489,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -753,7 +509,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -771,7 +531,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -787,7 +551,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -800,7 +568,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -816,7 +588,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -831,19 +607,21 @@ - + + Method + + 2.12.0.0 + System.Boolean - To be added. - To be added. To be added. To be added. To be added. @@ -851,17 +629,23 @@ - + + Method + + 2.12.0.0 + System.Boolean + To be added. + To be added. To be added. To be added. To be added. @@ -870,7 +654,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -887,8 +675,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -900,7 +692,11 @@ + Method + + 2.12.0.0 + System.Void @@ -915,7 +711,11 @@ + Event + + 2.12.0.0 + GLib.Signal("row_changed") @@ -931,7 +731,11 @@ + Event + + 2.12.0.0 + GLib.Signal("row_deleted") @@ -947,7 +751,11 @@ + Event + + 2.12.0.0 + GLib.Signal("row_has_child_toggled") @@ -963,7 +771,11 @@ + Event + + 2.12.0.0 + GLib.Signal("row_inserted") @@ -979,7 +791,11 @@ + Event + + 2.12.0.0 + GLib.Signal("rows_reordered") @@ -995,7 +811,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1014,7 +834,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1033,7 +857,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1052,7 +880,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1071,7 +903,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1090,7 +926,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1109,7 +949,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1128,7 +972,11 @@ + Method + + 2.12.0.0 + System.Void @@ -1142,9 +990,4 @@ - - TreeModel interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/TreeModelFilter.xml b/doc/en/Gtk/TreeModelFilter.xml index 788e0a87a..3de372765 100644 --- a/doc/en/Gtk/TreeModelFilter.xml +++ b/doc/en/Gtk/TreeModelFilter.xml @@ -1,11 +1,23 @@ + 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. @@ -84,21 +96,117 @@ public class MyWindow : Window - - GLib.Object - - - - Gtk.TreeDragSource - - - Gtk.TreeModel - - + + + + 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 @@ -106,27 +214,19 @@ public class MyWindow : Window - Sets the filter's iterator to point to the row that corresponds to . a + Sets the filter's iterator to point to the row that corresponds to . a - - - Method - - 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 + Gtk.TreePath @@ -134,8 +234,8 @@ public class MyWindow : Window - Converts to a path relative to this filter. 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 @@ -146,7 +246,11 @@ public class MyWindow : Window + Method + + 2.12.0.0 + Gtk.TreeIter @@ -154,35 +258,20 @@ public class MyWindow : Window + a Returns a new iterator that points to the row pointed to by . - a a - - - Method - - 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.TreePath @@ -190,8 +279,8 @@ public class MyWindow : Window - Converts to a path on the child model of this filter. a + Converts to a path on the child model of this filter. a points to a location in this @@ -202,228 +291,283 @@ public class MyWindow : Window - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - Decrements the reference count for the node at . - a - + 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 + - GLib.GType + System.Boolean - + + - Gets the data type stored in the column at . - a - a + 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 + - - Gets the values of child properties for the row pointed to by - a - a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) + a , points to the changed row + a , points to the changed row + Emits an event + for . - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + - Gets the next row to be filtered. - a - a + a + Emits an event + for . - - + + + Method + + 2.12.0.0 + - System.String + System.Void + - Generates a string representation of the path of . - a - a - This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. + 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.Boolean + System.Void - - + + - Sets to be the parent of . - an object of type - an object of type - 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. + a + a , points to the inserted row. + Emits an event + for . + - - + + Method - System.Void + System.Int32 + - Emits an event + Emits an event for . a + a + a + - - + + + Method + + 2.12.0.0 + System.Void + - Emits an event - for . - a - a , points to the inserted row. - + To be added. + To be added. + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - Gtk.TreePath + Gtk.TreeModelFlags - - - + - Gets the of . - an object of type - an object of type + Flag values for this tree model; see for possible values. + a - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + - Sets to a valid iterator pointing to . - an object of type - an object of type - an object of type + a + Calls a function on each row of a tree. - - + + + Method + + 2.12.0.0 + - System.Boolean + GLib.GType - - + - 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. + a + Gets the data type stored in the column at . + a - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + + - Returns the number of children that has. an object of type - an object of type - As a special case, if is , then the number of toplevel nodes is returned. + an object of type + Sets to a valid iterator pointing to . + an object of type + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - Lets the tree ref the node. an object of type - - 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. - + 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 @@ -432,87 +576,103 @@ public class MyWindow : Window - Gets the at . 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 + - System.Boolean + Gtk.TreePath - Returns if has children, otherwise. an object of type - an object of type + Gets the of . + an object of type - - + + + Method + + 2.12.0.0 + - System.Int32 + System.String - - Emits an event - for . - a a - 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.Boolean + System.Void - - - + + - 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. + 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.Boolean + System.Object - + + - Gets the first iterator in the tree (the one at the path "0") and returns . - an object of type - an object of type - Returns if the tree is empty. + 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 @@ -529,679 +689,833 @@ public class MyWindow : Window - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - - + - Emits an event - for . - a , points to the changed row - a , points to the changed row - This should be called by models after the child state of - a node changes. + The of this object. + a + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - Calls a function on each row of a tree. - a + 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.Void + System.Boolean - - + + - Emits an event - for . - a , points to the changed row - a , points to the changed row + 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.Void + System.Boolean - - - Emits the "rows_reordered" signal for this tree model. - - 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]. - This should be called by models when their rows have been reordered. + an object of type + Returns if has children, otherwise. + an object of type + - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - - - - + - Emits the "row_changed" signal for this model. - a - a - This should be called by models when their rows have been reordered. + 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.Void + System.Int32 - + - Emits the signal for this model. - a - This should be called by models when their rows have been reordered. + 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.Void - - - - - - - Emits the signal for this model. - a - a - This should be called by models when a row has been inserted. - - - - - Method - - System.Void + System.Boolean - - + - Emits the signal for this model. - a a - This should be called by models when a row's child has been toggled on or off. + Gets the next row to be filtered. + a + - - + + + Method + + 2.12.0.0 + System.Boolean - + + - This method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere. - a , the path of the row that was dragged - a - This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason. + 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 - + + + - Checks to see whether a given row can be used as a source for a drag-and-drop operation. - a , the row being checked - a , TRUE if the row is draggable. - If the object does not implement this method, the row is assumed to be draggable. + 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 - - + + - Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. - a - a object to fill with data - A see cref="T:System.Boolean" />; true if data of the required type was provided. - + 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 + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.TreeModel - - - + - Sets the TreeIter object pointed to by to point to the first child of this tree. - an object of type - an object of type , true if the iter has been set to the first child. + Gets the this filter is being applied to. + a - - - Method + + + + Property + + 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. + The number of columns in the model. + a + - - + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowChanged", Type=typeof(Gtk.TreeModelFilter)) + + - System.Boolean + System.Void - - + + - Sets to be the child of the root node, using the given index. - an object of type - an object of type - an object of type - In this case, the nth root node is set. + 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 - - - + - Sets the value of column in the row pointed to by to if the value is a boolean. - a - a - a - + 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 + - - - Sets the value of column in the row pointed to by to if the value is a . + a a - 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 + - - - Sets the value of column in the row pointed to by to if the value is a . + a a - 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 + - - + - Sets the value of column in the row pointed to by to if the value is a . - a - a - a - + 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 + - - + - Sets the value of column in the row pointed to by to if the value is a . - a - a - a + 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 - - - - - + - Sets the value of column in the row pointed to by to if the value is a . - a - a - a - + 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 - - - Sets the value of column in the row pointed to by to if the value is a . - a - a - a - + 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 + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_changed") + + - System.Object + Gtk.RowChangedHandler - - - - + - Sets the value of column in the row pointed to by to if the value is a . - a - a - a + Event that happens when a row in the model is changed. - - - Constructor - - - - - - Basic constructor. - a - - + + + + Event + + 2.12.0.0 + - System.Obsolete + GLib.Signal("row_deleted") - - - - Constructor - - - - + + Gtk.RowDeletedHandler + + - Constructor. For internal use. - a , pointer to the underlying C object. + Event that happens when a row is deleted. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - - + - Constructor - 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. - + 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. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_has_child_toggled") + + - GLib.GType + Gtk.RowHasChildToggledHandler - The of this object. - a + Event that happens when a row's child visibility is turned on or off. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_inserted") + + - Gtk.TreePath + Gtk.RowInsertedHandler - The virtual root (relative to the child model) for this object. - a + Event that happens when a row is inserted. + + + + + Event + + 2.12.0.0 + - GLib.Property("virtual-root") + GLib.Signal("rows_reordered") - - - - Property - System.Int32 + Gtk.RowsReorderedHandler + - The column of the model where this filter should look for visibility information. - a + Event that happens when rows in the model change order. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TreeModel + System.Void - + + + + + - Gets the this filter is being applied to. - a - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TreeModelFlags + System.Void - + + + + + - Flag values for this tree model; see for possible values. - a + a + a + a + Sets the value of column in the row pointed to by to if the value is a boolean. - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + + + - The number of columns in the model. - a + a + a + a + Sets the value of column in the row pointed to by to if the value is a . - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowsReorderedHandler + System.Void - + + + + + - Event that happens when rows in the model change order. + a + a + a + Sets the value of column in the row pointed to by to if the value is a . - - - GLib.Signal("rows_reordered") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowChangedHandler + System.Void - + + + + + - Event that happens when a row in the model is changed. + a + a + a + Sets the value of column in the row pointed to by to if the value is a . - - - GLib.Signal("row_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowDeletedHandler + System.Void - + + + + + - Event that happens when a row is deleted. + a + a + a + Sets the value of column in the row pointed to by to if the value is a . - - - GLib.Signal("row_deleted") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowInsertedHandler + System.Void - + + + + + - Event that happens when a row is inserted. + a + a + a + Sets the value of column in the row pointed to by to if the value is a . - - - GLib.Signal("row_inserted") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowHasChildToggledHandler + System.Void - + + + + + - Event that happens when a row's child visibility is turned on or off. + a + a + a + Sets the value of column in the row pointed to by to if the value is a . - - - GLib.Signal("row_has_child_toggled") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TreeModel + System.Void - + + + - Child tree data model. - a + a + Decrements the reference count for the node at . + + + + + Property + + 2.12.0.0 + - GLib.Property("child-model") + GLib.Property("virtual-root") - - - - Property - Gtk.TreeModelFilterVisibleFunc + Gtk.TreePath + - The function used to determine whether or not a row should be visible - a + The virtual root (relative to the child model) for this object. + a - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - - - Sets a function to modify the display of the model. - a - an array of - a - - 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. - + The column of the model where this filter should look for visibility information. + a + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.TreeModelFilterVisibleFunc - - - - - - 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. + The function used to determine whether or not a row should be visible + a - diff --git a/doc/en/Gtk/TreeModelFilterModifyFunc.xml b/doc/en/Gtk/TreeModelFilterModifyFunc.xml index a7f73a1d5..65fdad995 100644 --- a/doc/en/Gtk/TreeModelFilterModifyFunc.xml +++ b/doc/en/Gtk/TreeModelFilterModifyFunc.xml @@ -1,11 +1,24 @@ - + + 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. @@ -15,17 +28,5 @@ Used primarily as a parameter for . See that method's documentation for more details. - - System.Delegate - - - System.Void - - - - - - - diff --git a/doc/en/Gtk/TreeModelFilterVisibleFunc.xml b/doc/en/Gtk/TreeModelFilterVisibleFunc.xml index f27a8a196..3081b4809 100644 --- a/doc/en/Gtk/TreeModelFilterVisibleFunc.xml +++ b/doc/en/Gtk/TreeModelFilterVisibleFunc.xml @@ -1,30 +1,31 @@ + 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. - To be added. - - System.Delegate - - - System.Boolean - - - - - diff --git a/doc/en/Gtk/TreeModelFlags.xml b/doc/en/Gtk/TreeModelFlags.xml index f81bc9a7a..5c06312c1 100644 --- a/doc/en/Gtk/TreeModelFlags.xml +++ b/doc/en/Gtk/TreeModelFlags.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - These flags indicate various properties of a . - These flags are returned through the property and must be static for the lifetime of the object. - System.Enum @@ -22,10 +19,18 @@ 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 @@ -38,7 +43,11 @@ + Field + + 2.12.0.0 + Gtk.TreeModelFlags diff --git a/doc/en/Gtk/TreeModelForeachFunc.xml b/doc/en/Gtk/TreeModelForeachFunc.xml index 526aaf227..d0f1e509f 100644 --- a/doc/en/Gtk/TreeModelForeachFunc.xml +++ b/doc/en/Gtk/TreeModelForeachFunc.xml @@ -1,23 +1,14 @@ + gtk-sharp 2.12.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. - A delegate class for functions that can be run on every row of a . - This class specifies the standard interface for functions used -as parameters to . - To be added. - System.Delegate - @@ -26,4 +17,14 @@ as parameters to . 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 . + + diff --git a/doc/en/Gtk/TreeModelImplementor.xml b/doc/en/Gtk/TreeModelImplementor.xml index d46ef33fe..6e411f044 100644 --- a/doc/en/Gtk/TreeModelImplementor.xml +++ b/doc/en/Gtk/TreeModelImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,19 @@ GLib.GInterface(typeof(Gtk.TreeModelAdapter)) + + TreeModel implementor interface. + The implementable portion of the interface. + + - + + Property + + 2.12.0.0 + Gtk.TreeModelFlags @@ -29,7 +39,11 @@ + Method + + 2.12.0.0 + GLib.GType @@ -45,7 +59,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -63,7 +81,11 @@ + Method + + 2.12.0.0 + Gtk.TreePath @@ -79,7 +101,11 @@ + Method + + 2.12.0.0 + System.Void @@ -98,7 +124,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -116,7 +146,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -132,7 +166,11 @@ + Method + + 2.12.0.0 + System.Int32 @@ -148,7 +186,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -164,7 +206,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -184,7 +230,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -201,8 +251,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -214,7 +268,11 @@ + Method + + 2.12.0.0 + System.Void @@ -229,7 +287,11 @@ + Method + + 2.12.0.0 + System.Void @@ -243,9 +305,4 @@ - - TreeModel implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/TreeModelSort.xml b/doc/en/Gtk/TreeModelSort.xml index 56136695b..335911c65 100644 --- a/doc/en/Gtk/TreeModelSort.xml +++ b/doc/en/Gtk/TreeModelSort.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A class that makes an underlying sortable. - - GLib.Object @@ -25,40 +22,102 @@ Gtk.TreeSortable + + A class that makes an underlying sortable. + + - - - Method - - System.Int32 - - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + + + + - 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. + 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 + - System.Boolean + Gtk.TreeIter - + + + + System.ParamArray + + + - Returns the rows of this tree. - A to fill with 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. + 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 @@ -68,66 +127,109 @@ node is always the parent. 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 + - - + - Sets which column is to be used to sort the data in the tree. - A , the sort column index. - A , the kind of sort to use + a + Returns the row in the TreeModel that corresponds to the row pointed to by . + a - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreePath - - - - + - Sets a function to sort a particular column. - A , the index of the column to be sorted - A , the function to use for sorting - ignored - ignored - This overload is obsolete. The two parameter overload is preferred for new code. + 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 + - System.Void + Gtk.TreeIter - - - + - Sets a function that should be used to be sort columns by default if not otherwise specified by . - A , the function to use for sorting - ignored - ignored - This method is obsolete. The property is preferred for new code. + 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 @@ -138,57 +240,97 @@ node is always the parent. - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - Emits a signal for the row in . - A pointing to the changed row. - A pointing to the changed row. + 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 - + + - Run on every row in the TreeModel. - A + 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.Boolean + System.Void - + - Gets the first iterator in the tree (the one at the path "0") and returns . - an object of type - an object of type - Returns if the tree is empty. + 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 @@ -197,359 +339,508 @@ node is always the parent. - Emits the event. 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 + - Gtk.TreePath + System.Void + - Gets the of . - an object of type - an object of type + an object of type , path of the inserted row. + an object of type , points to the inserted row. + Emits the event. - - + + Method - System.Boolean + System.Int32 + - Returns if iter has children, otherwise. - an object of type - an object of type - - - - - - + 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 + + - Lets the tree ref the node. - an object of type - - 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. - + 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.Int32 + System.Void - + - Returns the number of children that has. - an object of type - an object of type - As a special case, if is , then the number of toplevel nodes is returned. + A + Run on every row in the TreeModel. + - - + + + Method + + 2.12.0.0 + - System.Void + GLib.GType - - + - Emits the event. - an object of type , path of the inserted row. - an object of type , points to the inserted row. - - + a , the column number. + Returns the type of the column at the given index. + a + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean + - Emits the event. + an object of type an object of type - 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. + Sets to a valid iterator pointing to . + an object of type + + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + - Gets the values of child properties for the row pointed to by . an object of type - a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) - + 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.Void + System.Boolean - + + - Lets the tree unref the node. an object of type - 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. + 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 - + - Converts to a path on the child model of this TreeModelSort object. (In other words, points to a location within this objectable.) - A - 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. - + an object of type + Gets the of . + an object of type + + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + + + + - * 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. + 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.Void + System.String - + + + - Clear the default sort function. - + 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 + - Gtk.TreePath + System.Void - + + - 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 - A + 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 . - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Object + - + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + a + Gets the value stored in column of the row pointed to by . + a + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Constructor. - A , the child model for the new object. - FIXME: needs more explanation. + a + a + a + Gets the value stored in column of the row pointed to by and stores it in + - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType + - The number of columns supported by the object. - An integer count of the columns. - + GType Property. + a + Returns the native value for . - - + + + Property + + 2.12.0.0 + - Gtk.TreeModelFlags + System.Boolean + - 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. + 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. - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + - Raised when the sort column is changed. - + 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. - - - GLib.Signal("sort_column_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowHasChildToggledHandler + System.Boolean - + + + + - Raised when the child state of a row is toggled. - + 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. - - - GLib.Signal("row_has_child_toggled") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowInsertedHandler + System.Boolean - + + + - Raised when a new row is inserted into the tree. - + an object of type + Returns if iter has children, otherwise. + an object of type + + - - - GLib.Signal("row_inserted") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowDeletedHandler + System.Boolean - + + + - Raised when a row is deleted from the tree. + a + Tests whether is a valid iterator for this TreeModel. + a - - - GLib.Signal("row_deleted") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowChangedHandler + System.Int32 - Raised when a tree row is changed. - + 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. - - - GLib.Signal("row_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowsReorderedHandler + System.Int32 - + + + - Raised when rows are reordered or moved around. - + 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. - - - GLib.Signal("rows_reordered") - - + Method + + 2.12.0.0 + System.Boolean @@ -558,16 +849,20 @@ node is always the parent. - Sets to be the child of the root node, using the given index. 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 @@ -577,660 +872,722 @@ node is always the parent. - Sets to be the child of , using the given index. 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 - + - Gets the at . an object of type - an object of type + an object of type + Sets to be the parent of . an object of type - Otherwise, is left invalid and is returned. + 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 + + + + Property + + 2.12.0.0 + + + + GLib.Property("model") + + - System.Boolean + Gtk.TreeModel - - - - + - Sets to point to the first child of . - an object of type - an object of type - 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. - + 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.Boolean + System.Void - + - Sets to a valid iterator pointing to . - an object of type - an object of type - an object of type - - + 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.Boolean + System.Void - - + - Sets to be the parent of . - an object of type - an object of type - 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. + 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.String + System.Void + - Generates a string representation of the path of . + a a - a - This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. + 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.Boolean + System.Void + - Tests whether is a valid iterator for this TreeModel. + a a - a - - - - - - Method - - System.Boolean - - - - - - - Returns the index of the column currently being used to sort the model data. - a , an integer to put the results in - a , an object to put the type of sort into - 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 + - - + - Sets the value of column in the row pointed to by to if the value is a boolean. + 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="OverrideRowsReordered", Type=typeof(Gtk.TreeModelSort)) + + System.Void + - - + - Sets the value of column in the row pointed to by to if the value is a . - a - a - a + 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 - - - - - + - Sets the value of column in the row pointed to by to if the value is an . - 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 - - - Sets the value of column in the row pointed to by to if the value is an . - a - a - a - + 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 - - - - - + - Sets the value of column in the row pointed to by to if the value is an . - a - a - a + Clear the default sort function. - - - Method - - System.Void - - - - - - - - Sets the value of column in the row pointed to by to if the value is an . - a - a - a - To be added. - - - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_changed") + + - System.Void + Gtk.RowChangedHandler - - - - - + - Sets the value of column in the row pointed to by to if the value is an . - a - a - a + Raised when a tree row is changed. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_deleted") + + - Gtk.TreeIter + Gtk.RowDeletedHandler - - - - - System.ParamArray - - - - + - Add the list of objects in to the model; there should be enough objects to fill one row of the model. - a - a + Raised when a row is deleted from the tree. - - + + + Method + + 2.12.0.0 + - System.Object + System.Boolean - - + - Gets the value stored in column of the row pointed to by . - a - a - a - + 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. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_has_child_toggled") + + - System.Boolean + Gtk.RowHasChildToggledHandler - 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. + Raised when the child state of a row is toggled. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_inserted") + + - GLib.GType + Gtk.RowInsertedHandler - GType Property. - a - Returns the native value for . - - - - - Method - - GLib.GType - - - - - - Returns the type of the column at the given index. - a , the column number. - a + Raised when a new row is inserted into the tree. - - - Method - - System.Void - - - - - - - - Default handler for the event. - a - a - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("rows_reordered") + + - System.Void + Gtk.RowsReorderedHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Raised when rows are reordered or moved around. + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by DefaultSortFunc property.") + + System.Void - - + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - - + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - - - 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. + 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 + System.Obsolete("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.") - - - - Method - Gtk.TreeIter + System.Void - + + + + - Returns the row in the TreeModel that corresponds to the row pointed to by . - a - a - + 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 + - Gtk.TreeIter + System.Void - + + + - Returns an iter that points to the row pointed to by . - a - a + 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.Int32 + System.Void - + + - 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. + 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 - + - Gets the value stored in column of the row pointed to by and stores it in a 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.Boolean + System.Void - + + + - Sets to point to the node following it at the current level. - an object of type - an object of type - If there is no next iter, is returned and iter is set to be invalid. + 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.Boolean + System.Void - + + + - This method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere. - a , the path of the row that was dragged - a - This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason. - + 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.Boolean + System.Void - + + + - Checks to see whether a given row can be used as a source for a drag-and-drop operation. - a , the row being checked - a , TRUE if the row is draggable. - If the object does not implement this method, the row is assumed to be draggable. - + 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.Boolean + System.Void - - + + + - Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. - a - a object to fill with data - A ; true if data of the required type was provided. - - + a + a + a + Sets the value of column in the row pointed to by to if the value is an . + To be added. - - - Property - - Gtk.TreeModel - - - - Tree data model. - a - - + + + + Event + + 2.12.0.0 + - GLib.Property("model") + GLib.Signal("sort_column_changed") - - - - Method - System.Void + System.EventHandler - - - - + - Sets a function to sort a particular column. - A , the index of the column to be sorted - A , the function to use for sorting - This method is meant to be used together with . - + Raised when the sort column is changed. + - - + + + Method + + 2.12.0.0 + 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. - - + 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. diff --git a/doc/en/Gtk/TreeNode.xml b/doc/en/Gtk/TreeNode.xml index a10a30ef4..083984377 100644 --- a/doc/en/Gtk/TreeNode.xml +++ b/doc/en/Gtk/TreeNode.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 @@ -50,54 +59,14 @@ public class MyTreeNode : TreeNode { - - System.Object - - - - Gtk.ITreeNode - - - - - System.Reflection.DefaultMember("Item") - - - - - Method - - System.Int32 - - - - - - IndexOf method - a - a - - Returns the child index of - or -1 if is not a child of this . - - - - - - Method - - System.Void - - - - OnChanged method - Raises the Changed event. Call this method if any column values of the node change. - - + Constructor + + 2.12.0.0 + @@ -105,54 +74,61 @@ public class MyTreeNode : TreeNode { Default constructor.. - - - Property - - System.Int32 - - - - ID property - a - Read-only. Provides a unique identifier for all instances. - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + - ChildCount - a - Read-only. The number of children of this node. + 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. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.ITreeNode + System.Void - + + - Child indexer - a - a - - Returns the child at position in the list of children - for this . - + 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 @@ -167,7 +143,11 @@ public class MyTreeNode : TreeNode { + Event + + 2.12.0.0 + Gtk.TreeNodeAddedHandler @@ -177,9 +157,30 @@ public class MyTreeNode : TreeNode { 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 @@ -189,62 +190,109 @@ public class MyTreeNode : TreeNode { Raised when a child is removed from the node. - - + + + Property + + 2.12.0.0 + - Gtk.ITreeNode + System.Int32 - Parent property - a - Read-only. The parent for this node. + ID property + a + Read-only. Provides a unique identifier for all instances. - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - + - Appends a child to the node - a - 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. + a + IndexOf method + a + + Returns the child index of + or -1 if is not a child of this . + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.ITreeNode - - + - Inserts a child at the given position - a - Position among the node's children to insert - 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. - + 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 @@ -252,8 +300,8 @@ public class MyTreeNode : TreeNode { - RemoveChild method a + RemoveChild method Removes the specified from this . The property of is set to and the event is raised. diff --git a/doc/en/Gtk/TreeNodeAddedHandler.xml b/doc/en/Gtk/TreeNodeAddedHandler.xml index 4ed2adb7b..b9f016458 100644 --- a/doc/en/Gtk/TreeNodeAddedHandler.xml +++ b/doc/en/Gtk/TreeNodeAddedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,21 +8,21 @@ 2.12.0.0 - - To be added. - To be added. - TreeNodeAddedHandler delegate - Event handler for notification of the addition of a to node . - System.Delegate - - - System.Void - + + System.Void + + + To be added. + To be added. + TreeNodeAddedHandler delegate + Event handler for notification of the addition of a to node . + + diff --git a/doc/en/Gtk/TreeNodeAttribute.xml b/doc/en/Gtk/TreeNodeAttribute.xml index 81c794306..23aa0b2dd 100644 --- a/doc/en/Gtk/TreeNodeAttribute.xml +++ b/doc/en/Gtk/TreeNodeAttribute.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,15 @@ 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. @@ -40,19 +50,14 @@ - - System.Attribute - - - - - System.AttributeUsage(System.AttributeTargets.Class) - - + Constructor + + 2.12.0.0 + @@ -61,8 +66,17 @@ - + + Property + + 2.12.0.0 + + + + System.Obsolete("This is no longer needed; it gets detected by Gtk#") + + System.Int32 @@ -77,15 +91,14 @@ the individual column values. - - - System.Obsolete("This is no longer needed; it gets detected by Gtk#") - - - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Gtk/TreeNodeRemovedHandler.xml b/doc/en/Gtk/TreeNodeRemovedHandler.xml index e3cd4f0d2..2e1d0d0ac 100644 --- a/doc/en/Gtk/TreeNodeRemovedHandler.xml +++ b/doc/en/Gtk/TreeNodeRemovedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,17 @@ 2.12.0.0 + + System.Delegate + + + + + + + + System.Void + To be added. To be added. @@ -18,16 +30,5 @@ former position of in the child list of . - - System.Delegate - - - System.Void - - - - - - diff --git a/doc/en/Gtk/TreeNodeValueAttribute.xml b/doc/en/Gtk/TreeNodeValueAttribute.xml index 3ffc9b36b..fc6067ffd 100644 --- a/doc/en/Gtk/TreeNodeValueAttribute.xml +++ b/doc/en/Gtk/TreeNodeValueAttribute.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,15 @@ 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. @@ -30,19 +40,14 @@ - - System.Attribute - - - - - System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=true) - - + Constructor + + 2.12.0.0 + @@ -51,8 +56,12 @@ - + + Property + + 2.12.0.0 + System.Int32 diff --git a/doc/en/Gtk/TreePath.xml b/doc/en/Gtk/TreePath.xml index 5b4939c19..1cd64d282 100644 --- a/doc/en/Gtk/TreePath.xml +++ b/doc/en/Gtk/TreePath.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,77 +8,163 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Method - - Gtk.TreePath - + + + + Constructor + + 2.12.0.0 + + - Creates a new GtkTreePath. - an object of type - The string representation of this path is "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 + - Gtk.TreePath + System.Void - + + + - Copies a TreePath into a new TreePath object. - an object of type , the new copy + 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.Boolean + System.Int32 - + - Tests whether this TreePath is a descendant of a particular TreePath. - an object of type , the potential ancestor to test - an object of type , true if this TreePath is the other TreePath's descendant. + 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 + - System.Boolean + Gtk.TreePath - - - + - Tests whether this TreePath is an ancestor of a given TreePath - an object of type , the potential descendant - an object of type , returns true if this TreePath is an ancestor of the given 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 @@ -87,25 +174,54 @@ FIXME: make sure this is right. - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - + - 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 , the path to compare - an object of type - + 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 @@ -115,112 +231,139 @@ - - + + + Method + + 2.12.0.0 + System.Void - + + + - Moves the TreePath to point to the next node at the current depth. - + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - 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. - + GType Property. + a + Returns the native value for . - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32[] - 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. + 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 - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Constructor; builds an empty TreePath. + 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + - Creates a new object. - an object of type - The is expressed in the form "3:2:5". The toplevel or root path would thus be "0". + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.TreePath + - Returns the current depth of the TreePath. - an object of type - + Creates a new GtkTreePath. + an object of type + The string representation of this path is "0". - - + + + Method + + 2.12.0.0 + System.Void - - - + - Prepends a new index to a path. As a result, the depth of the path is increased. - a , the index to prepend + Moves the TreePath to point to the next node at the current depth. - - + + + Method + + 2.12.0.0 + System.Void @@ -228,49 +371,60 @@ - Appends a new index to a path. As a result, the depth of the path is increased. - a , the index to append + a , the index to prepend + Prepends a new index to a path. As a result, the depth of the path is increased. - - - Property + + + + Method + + 2.12.0.0 + - System.Int32[] + System.Boolean - 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 + 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. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.String - GType Property. - a - Returns the native value for . + To be added. + To be added. + To be added. - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + System.Boolean + + - Creates a path for a set of indices. - a + 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. - diff --git a/doc/en/Gtk/TreeRowReference.xml b/doc/en/Gtk/TreeRowReference.xml index 29bb07221..73cc7fb84 100644 --- a/doc/en/Gtk/TreeRowReference.xml +++ b/doc/en/Gtk/TreeRowReference.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,36 +8,99 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Internal struct. Do not use. - Do not use. - GLib.Opaque + + Internal struct. Do not use. + Do not use. + - - - Method - - System.Void - + + + + 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 @@ -45,28 +109,40 @@ - Do not use. an object of type an object of type + Do not use. Do not use. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - Do not use. - an object of type - Do not use. + To be added. + To be added. + Method + + 2.12.0.0 + + + + System.Obsolete("Gtk.TreeRowReference is now freed automatically") + + System.Void @@ -76,94 +152,102 @@ Do not use. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added. + To be added. + To be added. - - - Constructor - - - - - + + + + Property + + 2.12.0.0 + + + GLib.GType + + - Do not use. - an object of type - an object of type - Do not use. + GType Property. + a + Returns the native value for . - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - - Do not use. an object of type - an object of type an object of type + Do not use. Do not use. - - + + + Property + + 2.12.0.0 + - Gtk.TreePath + Gtk.TreeModel Do not use. - an object of type + Do not use. Do not use. - - - Method + + + + Property + + 2.12.0.0 + - Gtk.TreeRowReference + Gtk.TreePath - Do not use. - a + an object of type Do not use. - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . - - + Method + + 2.12.0.0 + System.Int32 @@ -173,23 +257,28 @@ - Do not use. a a a + Do not use. a Do not use. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.TreeModel + System.Boolean + Do not use. - Do not use. + an object of type Do not use. diff --git a/doc/en/Gtk/TreeSelection.xml b/doc/en/Gtk/TreeSelection.xml index f1237cb6c..82f172283 100644 --- a/doc/en/Gtk/TreeSelection.xml +++ b/doc/en/Gtk/TreeSelection.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 . @@ -63,497 +69,610 @@ class Selection - - GLib.Object - - - - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Selects the specified row that represents. - A row to be selected. + Protected constructor. - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Determines whether a has been selected in this . - The path to a node whose selected status should be checked. - - if is selected, otherwise. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Deselects the specified position in the tree. - The tree position that should be deselected. + Pointer to the C object. + Internal constructor - See also, and . + This is an internal constructor, and should not be used by user code. - - -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 + + + + Event + + 2.12.0.0 + + + + GLib.Signal("changed") + + - System.Boolean + System.EventHandler - - - + - Determine if the iter is selected. - The tree location to check - - if the tree node specified by is selected, otherwise. + Raised when the selection (may have) changed. - See also . + 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.Void + System.Int32 - Selects every node in this . - - The must be set to for this method to work. - + Get the number of selected rows. + The number of selected rows + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - Deselects the tree node that refers to. - A node in the tree. - - See also . - + 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.Void + System.Boolean - - + + - Selects all the nodes that appear between and . - The first node to select on the tree. - The last node to select on the tree. - + 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 + - System.Void + Gtk.TreePath[] - Sets all nodes in the as unselected. + Returns an array of s representing the selected rows. + Selected rows in an array of s + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreePath[] - + - Invokes the delegate passed in by for each selected row in the . - The delegate that should be called for each selected row. - - 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. - + 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.Void + System.Boolean - - - + - Add a hook into selection and unselection. - A delegate to invoke before a node is (un)selected. - ignored - ignored - This method is obsolete. New code should use the property. + 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.TreeSelectionFunc + Gtk.SelectionMode + + - A hook into selection and unselection - a + Manages the way rows can be selected. + The current mode dictating selection behaviour. - 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. + 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 - - - + - Selects the specified . - Indicates which row to select. - - See also and . - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Boolean + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + The path to a node whose selected status should be checked. + Determines whether a has been selected in this . + + if is selected, otherwise. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.SelectionMode + System.Void - - + - Manages the way rows can be selected. - The current mode dictating selection behaviour. + Selects every node in this . - Rows may be deselected by changing this property. For example, if rows are selected and the mode is changed to or . + The must be set to for this method to work. - - - Property + + + + Method + + 2.12.0.0 + - System.IntPtr + System.Void + + + - Get the data associated with the that has been setup for this . - The raw data that was set when was called. - + 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.TreeView + Gtk.TreeSelectionFunc - Get the that this is associated with. - The that this is tied to. + A hook into selection and unselection + a - A object can only be retrieved from a . That is done with its property. + 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. + - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + - Raised when the selection (may have) changed. + Indicates which row to select. + Selects the specified . - 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. + See also and . - - - GLib.Signal("changed") - - - - + + + Method + + 2.12.0.0 + System.Void - - + - Unselects everything between one path and another. - - to begin range. - - to end range. + A row to be selected. + Selects the specified row that represents. - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + + - Get the number of selected rows. - The number of selected rows + 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.Boolean + System.Void - - + + + - Get information about the currently selected node. - A convenient accessor to the that this TreeSelection's is associated with. - The position that was selected. - - if a row was selected. - - This method will not work if the TreeSelection has been set to . In that case you should use . - + 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 + - GLib.GType + Gtk.TreeView - - GType Property. - a - Returns the native value for . + 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 - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Sets all nodes in the as unselected. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 (); + } +} + + - - - System.Obsolete - - - - + + + Method + + 2.12.0.0 + - Gtk.TreePath[] + System.Void - + - Returns an array of s representing the selected rows. - The model the is bound to. - Selected rows in an array of s - - - - - - Constructor - - - - Protected constructor. - + A node in the tree. + Deselects the tree node that refers to. + + See also . + - - + + + Method + + 2.12.0.0 + - Gtk.TreePath[] + System.Void - + + + + - Returns an array of s representing the selected rows. - Selected rows in an array of s + + to begin range. + + to end range. + Unselects everything between one path and another. - - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + System.IntPtr - - - - 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. + Get the data associated with the that has been setup for this . + The raw data that was set when was called. + diff --git a/doc/en/Gtk/TreeSelectionForeachFunc.xml b/doc/en/Gtk/TreeSelectionForeachFunc.xml index facb844af..4354f8577 100644 --- a/doc/en/Gtk/TreeSelectionForeachFunc.xml +++ b/doc/en/Gtk/TreeSelectionForeachFunc.xml @@ -1,23 +1,14 @@ + gtk-sharp 2.12.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. - A delegate class for functions that can be run on every element - of a . - See for how to - invoke a delegate of this type. - System.Delegate - @@ -26,4 +17,14 @@ 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. + + diff --git a/doc/en/Gtk/TreeSelectionFunc.xml b/doc/en/Gtk/TreeSelectionFunc.xml index b8b508305..66e0b8fcb 100644 --- a/doc/en/Gtk/TreeSelectionFunc.xml +++ b/doc/en/Gtk/TreeSelectionFunc.xml @@ -1,23 +1,14 @@ + gtk-sharp 2.12.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. - A delegate for specifying the shape of functions passed as parameters to . - 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. - To be added. - System.Delegate - @@ -27,4 +18,14 @@ 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. + + diff --git a/doc/en/Gtk/TreeSortable.xml b/doc/en/Gtk/TreeSortable.xml index 00a171193..e382f75a8 100644 --- a/doc/en/Gtk/TreeSortable.xml +++ b/doc/en/Gtk/TreeSortable.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,19 +8,23 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An interface for specifying a tree model that is sortable. - See for a working example of a sortable TreeView. - 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 @@ -29,47 +34,74 @@ 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.Void + System.Boolean - - + + - Sets which column is to be used to sort the data in the tree. - A , the sort column index. - A , the kind of sort to use + 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 + + + + Property + + 2.12.0.0 + - System.Void + System.Boolean - - - - - - + - Sets a function that should be used to be sort a particular column. - A , the index of the column to be sorted - A , the function to use for sorting - ignored - ignored - This overloaded method is obsolete. It is replaced by the SetSortFunc (int, TreeIterCompareFunc) overload." />. + 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 @@ -79,85 +111,100 @@ - Sets a function to sort columns by default if not otherwise specified by . 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. - - - Property - - Gtk.TreeIterCompareFunc - - - Function to sort columns by default if not otherwise specified by . - a - This method is meant to be used together with - - - - - - Event - - System.EventHandler - - - - Raised when the sort column is changed. - - - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + + - Returns the index of the column currently being used to sort the model data. - a , an integer to put the results in - a , an object to put the type of sort into - a + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + - 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. + 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 + + - Sets a function that should be used to be sort a particular column. A , the index of the column to be sorted A , the function to use for sorting - This method is meant to be used together with - + 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. + diff --git a/doc/en/Gtk/TreeSortableAdapter.xml b/doc/en/Gtk/TreeSortableAdapter.xml index 9ea0fc669..61e03cd06 100644 --- a/doc/en/Gtk/TreeSortableAdapter.xml +++ b/doc/en/Gtk/TreeSortableAdapter.xml @@ -1,5 +1,6 @@ - + + gtk-sharp 2.12.0.0 @@ -8,14 +9,26 @@ 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. @@ -24,7 +37,11 @@ + Constructor + + 2.12.0.0 + @@ -34,9 +51,29 @@ To be added. + + + + Constructor + + 2.12.0.0 + + + + + + To be added. + To be added. + To be added. + + + Method + + 2.12.0.0 + System.Void @@ -47,8 +84,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeIterCompareFunc @@ -58,9 +99,33 @@ 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 @@ -78,7 +143,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -94,11 +163,15 @@ To be added. - - + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType To be added. @@ -106,99 +179,29 @@ To be added. - - - Method - - System.Void - - - - - - - - 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. - - - - - 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. - - - - - Event - - - GLib.Signal("sort_column_changed") - - + + + + Property + + 2.12.0.0 + - System.EventHandler + System.IntPtr To be added. + To be added. To be added. - + + Property + + 2.12.0.0 + System.Boolean @@ -209,8 +212,12 @@ - + + Property + + 2.12.0.0 + Gtk.TreeSortableImplementor @@ -222,7 +229,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by DefaultSortFunc property.") + + System.Void @@ -241,7 +257,11 @@ + Method + + 2.12.0.0 + System.Void @@ -258,7 +278,11 @@ + Method + + 2.12.0.0 + System.Void @@ -275,7 +299,16 @@ + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.") + + System.Void @@ -296,7 +329,11 @@ + Event + + 2.12.0.0 + GLib.Signal("sort_column_changed") @@ -311,9 +348,4 @@ - - TreeSortable interface adapter. - Adapts a implementation to expose the complete interface API. - - diff --git a/doc/en/Gtk/TreeSortableImplementor.xml b/doc/en/Gtk/TreeSortableImplementor.xml index 6a335cfff..a70d18fb9 100644 --- a/doc/en/Gtk/TreeSortableImplementor.xml +++ b/doc/en/Gtk/TreeSortableImplementor.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -14,10 +15,35 @@ 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 @@ -34,8 +60,12 @@ - + + Property + + 2.12.0.0 + System.Boolean @@ -45,28 +75,13 @@ To be added. - - - Method - - System.Void - - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - - + Method + + 2.12.0.0 + System.Void @@ -82,30 +97,25 @@ - + + 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. - - TreeSortable implementor interface. - The implementable portion of the interface. - - diff --git a/doc/en/Gtk/TreeStore.xml b/doc/en/Gtk/TreeStore.xml index 4392aeaf2..632c9a06c 100644 --- a/doc/en/Gtk/TreeStore.xml +++ b/doc/en/Gtk/TreeStore.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - GLib.Object @@ -28,54 +25,161 @@ 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. + - - - Method - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + - 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. + Protected constructor. + + - - - Method - - System.Boolean - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Sets the TreeIter object pointed to by the iter param to point to the first child of this tree. - an object of type - an object of type - + 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") + + - System.Void + Gtk.TreeIter - + - Prepends a new row to the . - an object of type - 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 . + 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 @@ -83,8 +187,8 @@ - Appends a new row to the . 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 . @@ -92,179 +196,281 @@ - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreeIter - Fires a event. - Designed to be called by routines that change the sort of the tree. + Appends a root node to the store. + a + + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreeIter - - + - Sets which column is to be used to sort the data in the tree. - A , the sort column index. - A , the kind of sort to use + a + Appends a child to an existing node. + a + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreeIter - - - - + - Sets a function that should be used to be sort a particular column. - A , the index of the column to be sorted - A , the function to use for sorting - ignored - ignored - This overload is obsolete. The two parameter is preferred for new code. + a with the data for the row. + Appends a new row to the . + a + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreeIter - - - + + + + System.ParamArray + + + - Sets a function that should be used to be sort columns by default if not otherwise specified by . - A , the function to use for sorting - ignored - ignored - This method is obsolete. The property is preferred for new code. - - - - - Property - - 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 . - + a with the data for the row. + Appends a new row to the . + a + - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TreeIter - - + + - Tests whether can be dropped on . - a , potential drop destination - a , potential data to be dropped. - a , true if drop is allowed - + 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.Boolean + Gtk.TreeIter - - - - - Drags data received into this object. - A , the destination path of the drag - A , the data that was dragged - A boolean, true if the data was successfully received. - + + + + + 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 - - 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 - A - A , true if the operation succeeded. + 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 + - Returns whether or not a given row can be dragged. a - A boolean, true if the row is draggable. + 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 - + + - 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 , the path of the data to delete. - A , true if the operation succeeds. + 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 @@ -273,47 +479,39 @@ - Emits the event. an object of type an object of type + Emits the event. - - + + + Method + + 2.12.0.0 + System.Void - - - - Calls on each node in model in a depth-first fashion. - an object of type - If func returns , then the tree ceases to be walked, and this method returns. - - - - - Method - - System.Boolean - - - + - Gets the first iterator in the tree (the one at the path "0") and returns . - an object of type - an object of type - Returns if the tree is empty. + 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 @@ -322,420 +520,530 @@ - Emits the event. an object of type an object of type + Emits the event. - - + + + Method + + 2.12.0.0 + - Gtk.TreePath + System.Void + - Gets the of . + an object of type an object of type - an object of type + Emits the event. - - + + Method - System.Boolean + System.Int32 + - Returns if iter has children, otherwise. - an object of type - an object of type - - + Emits the event. + a + a + a + + - - + + + Method + + 2.12.0.0 + System.Void + + - Lets the tree ref the node. - an object of type - - 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. - + To be added. + To be added. + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + Gtk.TreeModelFlags - - - - Returns the number of children that has. - an object of type - an object of type - As a special case, if is , then the number of toplevel nodes is returned. + 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 - - + - Emits the event. - an object of type - an object of type - - + 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 + - System.Void + GLib.GType - + - Emits the event. - an object of type - 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. + a , the column to check + Gets the type of data stored in column number . + a + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + + - Gets the values of child properties for the row pointed to by . an object of type - a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) - + an object of type + Sets to a valid iterator pointing to . + an object of type + + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - + - Lets the tree unref the node. an object of type - 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. + 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.Void + System.Boolean - + + + + - Removes all rows from the - - + 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 + - System.Void + Gtk.TreePath - - Sets the values of child properties for the row pointed to by . an object of type - a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) - + Gets the of . + an object of type + + - - + + + Method + + 2.12.0.0 + System.Boolean - - + + - Returns if is an ancestor of . - an object of type - an object of type - an object of type - That is, is the parent (or grandparent or great-grandparent) of . + 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.Void + System.String - - - Sets the data in the cell specified by and . - an object of type - an object of type - an object of type - The type of value must be convertible to the type of the column. + a + Marshals the given into a path string. + a + - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + - Returns the depth of . an object of type - an object of type - This will be 0 for anything on the root level, 1 for anything down a level, etc. + 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 . + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Object + - + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + a + Gets a value at row and column . + a + - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + + + + - Returns the number of columns supported by the . - an object of type - - + a + a + a + Gets the value of row of column + and puts it in . + + - - + + + Property + + 2.12.0.0 + - Gtk.TreeModelFlags + GLib.GType + - 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 . + GType Property. + a + Returns the native value for . - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.Boolean - Emitted when the sort column of the has changed. - - + 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 + - GLib.Signal("sort_column_changed") + System.Obsolete("Replaced by InsertNode") - - - - Event - Gtk.RowHasChildToggledHandler + Gtk.TreeIter - + + + + - Emitted when a child of a row is toggled. - - + 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 + - GLib.Signal("row_has_child_toggled") + System.Obsolete("Replaced by InsertNode") - - - - Event - Gtk.RowInsertedHandler + System.Void - + + + + - Emitted when a row is inserted into the . - - + 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 + - GLib.Signal("row_inserted") + System.Obsolete("Replaced by InsertNodeAfter") - - - - Event - Gtk.RowDeletedHandler + Gtk.TreeIter - + + + + - Emitted when a row is deleted from the . + 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 + - GLib.Signal("row_deleted") + System.Obsolete("Replaced by InsertNodeAfter") - - - - Event - Gtk.RowChangedHandler + System.Void - + + + + - Emitted when a row is in the is changed. + 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. + - - - GLib.Signal("row_changed") - - - - - Event - - Gtk.RowsReorderedHandler - - - - Emitted when the rows of the are re-ordered. - - - + + + + Method + + 2.12.0.0 + - GLib.Signal("rows_reordered") + System.Obsolete("Replaced by InsertNodeBefore") - - - - Method - - System.Boolean - - - - - - - Sets to be the child of the root node, using the given index. - an object of type - an object of type - an object of type - In this case, the nth root node is set. - - - - - Method - System.Void + Gtk.TreeIter - + - Inserts a new row after . - an object of type - an object of type + a + a + Inserts a new row before . + 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. - + 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 @@ -744,135 +1052,156 @@ - Inserts a new row before . 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 + - System.Void + Gtk.TreeIter - - Creates a new row at . - an object of type - an object of type - 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 . + a + Inserts a root node. + a + + - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TreeIter - - + - Sets to be the child of , using the given index. - an object of type - an object of type - an object of type - 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. + a + a + Inserts a child of an existing node. + a + + - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TreeIter - - + - Gets the at . - an object of type - an object of type - 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. - - + a + Inserts a root node after a sibling. + a + + - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TreeIter - + - Sets to point to the first child of . - an object of type - an object of type - 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. + a + a + Inserts a child of an existing node after a sibling. + a + + - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TreeIter - - + - Sets to a valid iterator pointing to . - an object of type - an object of type - an object of type - - + a + Inserts a root node before a sibling. + a + + - - + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.TreeIter - - + + - Sets to be the parent of . - an object of type - an object of type - 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. + a + a + Inserts a child of an existing node before a sibling. + a + + - - + + + Method + + 2.12.0.0 + Gtk.TreeIter + @@ -882,36 +1211,27 @@ path_string "0:0" represent the first child of the first node, "0:1" the second - Appends a new row to the . - a with the data for the row. - a - - - - - - Method - - Gtk.TreeIter - - - - - - Appends a new row to the . - a with the data for the row. - a - + 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 + @@ -921,111 +1241,127 @@ path_string "0:0" represent the first child of the first node, "0:1" the second - Appends a new row to the . - the parent row to attach the new row under. - a with the data for the row. - a - To append the new row to the toplevel, use the + 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 + - Gtk.TreeIter + System.Boolean - - + + - Appends a new row to the . - the parent row to attach the new row under. - a with the data for the row. - a - To append the new row to the toplevel, use the + 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.String + System.Boolean - + - Marshals the given into a path string. - a - a + 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.Void + System.Boolean - - + + - Move the row pointed to by to the - position after . If - is , - will be moved to point to the start - of the list. - - a - a - This only works in unsorted stores. + 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.Void + System.Int32 - - + - Swaps rows a and b in the store. - a - a - This is only works in unsorted stores. + 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.Void + System.Boolean - - Move the row pointed to by to the - position before . If - is , - will be moved to point to the end - of the list. - - a - a - This only works in unsorted stores. + an object of type + Returns if iter has children, otherwise. + an object of type + + + Method + + 2.12.0.0 + System.Boolean @@ -1033,301 +1369,269 @@ path_string "0:0" represent the first child of the first node, "0:1" the second - Test whether is valid for this TreeStore. 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. - - - Constructor - - - - - - System.ParamArray - - - - - - Creates a new instance. - a - - - - -Treestore store; -store = new TreeStore (typeof (int), typeof (string)); - - - - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Int32 - - - - + - Report on which column is currently being used to sort this TreeStore. - a , gets filled with the column number that's currently used for sorting - a , the current type of sort (ascending or descending) - a , false if the default sort column for this TreeStore is being used, true if some other sort column is being used. - + 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.Void + System.Int32 - - - Sets the value of the specified column in the row pointed by iter. - a - a - a - The type of specified column must be a . + 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.Void + System.Boolean - - - + - Sets the value of the specified column in the row pointed by iter. - a - a - a - The type of specified column must be a . + 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.Void + System.Boolean - - - + + - Sets the value of the specified column in the row pointed by iter. - a - a - a - The type of specified column must be an . + 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.Void + System.Boolean - - - + + + - Sets the value of the specified column in the row pointed by iter. - a - a - a - The type of specified column must be a . + 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.Void + System.Boolean - - - + + - Sets the value of the specified column in the row pointed by iter. - a - a - a - The type of specified column must be an + 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 - - + - Sets the value of the specified column in the row pointed by iter. a - a - a - The type of specified column must be an . + 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 - - + - Sets the value of the specified column in the row pointed by iter. a - a - a - The type of specified column must be an . - - - - - Method - - System.Object - - - - - - - Gets a value at row and column . - a - a - a - - - - - - Property - - 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 . - - - - - Property - - GLib.GType - - - - GType Property. - a - Returns the native value for . + 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 + - GLib.GType[] + System.Int32 - To be added - a - To be added - + 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 - - - - Deprecated method to set what types go in each column of a TreeStore. - a - See - - - - - Method - - GLib.GType - - - + + - Gets the type of data stored in column number . - a , the column to check - 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="OverrideRowDeleted", Type=typeof(Gtk.TreeStore)) + + System.Void - - - Default handler for the event. a - a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -1336,64 +1640,110 @@ store = new TreeStore (typeof (int), typeof (string)); - Default handler for the event. a a - Override this method in a subclass to provide a default handler for the event. + 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 + - Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + 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 + - Default handler for the event. a a - Override this method in a subclass to provide a default handler for the event. + 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 + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 @@ -1403,464 +1753,655 @@ store = new TreeStore (typeof (int), typeof (string)); Override this method in a subclass to provide a default handler for the event. - - - Constructor - + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by PrependNode") + + + + Gtk.TreeIter + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + System.Obsolete("Replaced by PrependNode") - - - - Constructor - + + System.Void + - - - - System.ParamArray - - - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Boolean + Gtk.TreeIter - - - + - Removes a row from the store. - a - a - After being removed, is set to be the next valid row, or invalidated if it pointed to the last row in the store. + Prepends a root node. + a + + - - + + + Method + + 2.12.0.0 + - System.Int32 + Gtk.TreeIter - To be added. - Reorders the TreeStore. - a . - (FIXME: Does this binding work?) + a + Prepends a child of an existing node. + a + + - - + + + Method + + 2.12.0.0 + - Gtk.TreeIter + System.Void - - + - 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 . - + 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 + - Gtk.TreeIter + System.Boolean - + - 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 . - + 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 + - Gtk.TreeIter + System.Int32 - - Inserts a new row before . - a - a - 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. - - + To be added. + Reorders the TreeStore. + a . + (FIXME: Does this binding work?) - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_changed") + + - Gtk.TreeIter + Gtk.RowChangedHandler - - - - + - Inserts a new row after . - a - a - a + Emitted when a row is in the is changed. - - 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 + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_deleted") + + - Gtk.TreeIter + Gtk.RowDeletedHandler - - - + - Appends a new row to the . - a - a + Emitted when a row is deleted from the . - - If parent is , then the row will be prepended to the toplevel. - - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean - - Emits the event. a - a - 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.Void + System.Boolean - - - + + - Gets the value of row of column - and puts it in . - - a - a - a + a , potential drop destination + a , potential data to be dropped. + Tests whether can be dropped on . + a , true if drop is allowed - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_has_child_toggled") + + - System.Boolean + Gtk.RowHasChildToggledHandler - - - + - Sets to point to the node following it at the current level. - an object of type - an object of type - If there is no next iter, is returned and iter is set to be invalid. + Emitted when a child of a row is toggled. + + - - - Constructor - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row_inserted") + + + + Gtk.RowInsertedHandler + - Protected constructor. + Emitted when a row is inserted into the . - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("rows_reordered") + + - Gtk.TreeIter + Gtk.RowsReorderedHandler - Appends a root node to the store. - a - - + Emitted when the rows of the are re-ordered. + + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by ColumnTypes property.") + + - Gtk.TreeIter + System.Void - + - Appends a child to an existing node. - a - a - - + 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.") + + - Gtk.TreeIter + System.Void - - + + + - Inserts a child of an existing node. - a - a - a + 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.") + + - Gtk.TreeIter + 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 + + + + - Inserts a root node. - a - a + 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 + - Gtk.TreeIter + System.Void - + + + - Prepends a child of an existing node. - a - a - - + 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 + - Gtk.TreeIter + System.Void - + + + + + - Prepends a root node. - a - - + 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 + - Gtk.TreeIter + System.Void - + + + - Inserts a root node before a sibling. - a - a - - + 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 + - Gtk.TreeIter + System.Void - - + + + - Inserts a child of an existing node before a sibling. - a - a - a - - + 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 + - Gtk.TreeIter + System.Void - + + + - Inserts a root node after a sibling. - a - a - - + 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 + - Gtk.TreeIter + System.Void - - + + + - Inserts a child of an existing node after a sibling. - a - a - a - - + 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 - - + + + - Sets a function that should be used to be sort a particular column. - A , the index of the column to be sorted - A , the function to use for sorting - This method is meant to be used together with - + 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 - - + + - 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. - - + 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 + - Gtk.TreeIter + System.Void - - + @@ -1870,62 +2411,73 @@ store = new TreeStore (typeof (int), typeof (string)); - 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. - + 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 + - Gtk.TreeIter + System.Void - - - - - 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. - + a + a + Swaps rows a and b in the store. + This is only works in unsorted stores. - - + + + 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. - - + 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. diff --git a/doc/en/Gtk/TreeView.xml b/doc/en/Gtk/TreeView.xml index a3968a80b..e443ca92e 100644 --- a/doc/en/Gtk/TreeView.xml +++ b/doc/en/Gtk/TreeView.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -202,226 +208,276 @@ public class TreeViewDemo { For a example how to handle selection events, or to determine the currently selected row, see . - - Gtk.Container - - - - - - Method - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + + + + Creates a new object. + This is the default constructor for + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Removes from . - an object of type - an object of type - - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete("Use NodeView with NodeStores") + + + - - - + - Sets a user function for determining where a column may be dropped when dragged. - an object of type - ignored - ignored - This method is obsolete. New code should use the property. + a + TreeView constructor + Creates a with as + its . + - - - Property - - Gtk.TreeViewColumnDropFunc - + + + + Constructor + + 2.12.0.0 + + + + + - 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. - + 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 - - - - Moves the alignments of the to the position specified by and . an object of type an object of type - an object of type - an object of type - an object of type + Activates the cell determined 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 + - Gdk.Pixmap + System.Int32 - + - This image is used for a drag icon. - an object of type - an object of type - Creates a representation of the row at . + an object of type + Appends to the list of columns. + an object of type + + - - + + + Method + + 2.12.0.0 + - System.Void + Gtk.TreeViewColumn - + + + + + - Recursively collapses all visible and expanded nodes. - - + 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 + - System.Void + Gtk.TreeViewColumn - - + + + - Moves to be after to . - an object of type - an object of type - If is , then is placed in the first position. + 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 + - System.Void + Gtk.TreeViewColumn - - - + + + + + + System.ParamArray + + + - Sets the current keyboard focus to be at , and selects it. - an object of type - an object of type - an object of type - 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. + 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.Rectangle + Gdk.Window - - 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. + 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 - - - + - Obsolete (and non-functional). Replaced by . - an object of type - + Recursively collapses all visible and expanded nodes. + + - - - Method - - System.Int32 - - - - - - - This inserts the into the at . - an object of type - an object of type - an object of type - If is -1, then the is inserted at the end. - - - - - Method - - System.Void - - - - - - - Activates the cell determined by and . - an object of type - an object of type - - - - - - + + + Method + + 2.12.0.0 + System.Boolean @@ -429,356 +485,432 @@ public class TreeViewDemo { - Returns if the node pointed to by is expanded. an object of type + Collapses a row (hides its child rows, if they exist). an object of type - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.TreeViewColumnDropFunc - - - - - - 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. - an object of type - ignored - ignored - 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. + 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.TreeDestroyCountFunc + Gtk.TreeViewColumn[] + - 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. - + A list of all the columns currently in this TreeView. + a + - - + + + Method + + 2.12.0.0 + System.Void - - - - - + - Sets the compare function for the interactive search capabilities. - The to invoke. - ignored - ignored - This method is obsolete. New code should use the property. + Resizes all columns to their optimal width. + Only works after the has been realized. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("columns-changed") + + - Gtk.TreeViewSearchEqualFunc + System.EventHandler - The compare function for the interactive search capabilities. - a + Raised when the columns of this tree change. - - - + + + Method + + 2.12.0.0 + System.Void - + + + + + + - Disables the TreeView as a drag-and-drop destination. + 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 + System.Void - + + + + - Appends to the list of columns. - an object of type - an object of type - - + 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 - - + + + + - Sets the row that is highlighted for drag-and-drop feedback. - 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. - + 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 - - - Disables the TreeView as a drag source for automatic drag and drop actions. - - - - - - Method - - System.Boolean - - + + + + - Collapses a row (hides its child rows, if they exist). - an object of type - an object of type - - + 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 - + + + + + + - Recursively expands all nodes. - - + 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 - + + + + - Calls the given function on all expanded rows. - a to execute on every expanded row. - + 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 + Gdk.Pixmap - - + - Scrolls the such that the top-left corner of the visible area is , , where and are specified in tree window coordinates. - an object of type - an object of type - The must be realized before this function is called. If it is not, you probably want to be using . - - - - - Method - - Gtk.TreeViewColumn - - - - - - Gets the at the given position in the . - an object of type - an object of type - - - - - - - Method - - System.Boolean - - - - - - - Opens the row so its children are visible. an object of type - an object of type - an object of type - - + This image is used for a drag icon. + an object of type + Creates a representation of the row at . - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("cursor-changed") + + - System.Void + System.EventHandler - Resizes all columns to their optimal width. - Only works after the has been realized. - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. + Raised when the cursor changes (rows). - This is an internal constructor, and should not be used by user code. + + +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)); + } +} + + - - - Constructor - - - - Creates a new object. - This is the default constructor for - - - - - Constructor - - - - - - Creates a new object. - an object of type - In this constructor the is set from . - - - - + + + Property + + 2.12.0.0 + - Gtk.TreeModel + Gtk.TreeDestroyCountFunc - - - The model for the TreeView. - an object of type - - + 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("model") + GLib.Property("enable-grid-lines") - - - - Property - Gtk.TreeSelection + Gtk.TreeViewGridLines - Gets the associated with the TreeView. - an object of type - - + Indicates which grid lines are drawn. + a set of flags. + + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Window + System.Void + + + + - 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. + 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. + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + - 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). - - + 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("rules-hint") + GLib.Property("enable-search") - - - - Property System.Boolean @@ -790,798 +922,896 @@ This property tells GTK# that the user interface for your application requires u + + + + + Property + + 2.12.0.0 + - GLib.Property("enable-search") + GLib.Property("enable-tree-lines") - - - - Property System.Boolean - - - Show the column header buttons. - an object of type - - + Indicates if connecting lines are drawn for expanders. + if , connecting lines are drawn. + + - - - GLib.Property("headers-visible") - - - - + + + Property + + 2.12.0.0 + - Gtk.TreeViewColumn + Gdk.Color - - - Set the column for the expander column. - an object of type - + 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.Property("expander-column") + 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") + + - System.Boolean + Gtk.TreeViewColumn - Allows to reorder rows in the view (this enables the internal drag and drop of TreeView rows). - an object of type + Set the column for the expander column. + an object of type - - - GLib.Property("reorderable") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Adjustment + System.Boolean + + - Horizontal Adjustment for the widget. - an object of type + 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("hadjustment") + GLib.Property("fixed-height-mode") - - - - Property System.Boolean - Column headers respond to click events. + Whether or not to assume all rows are the same height. a - - + This is an optimization; set to for fastest performance. + - - - GLib.Property("headers-clickable") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Adjustment + Gdk.Rectangle + + - Vertical Adjustment for the widget. - an object of type + 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. + - - - GLib.Property("vadjustment") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + Gdk.Rectangle + + - Model column to search through when searching through code. - an object of type + 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. + - - - GLib.Property("search-column") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ScrollAdjustmentsSetHandler + Gtk.TreeViewColumn - + + + - Raised whenever the scrollbar adjustment units are set. - + an object of type + Gets the at the given position in the . + an object of type + + - - - GLib.Signal("set_scroll_adjustments") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowExpandedHandler + System.Void - + + + + - Raised whenever a row of the TreeView is expanded. + 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. - - - GLib.Signal("row-expanded") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.MoveCursorHandler + System.Boolean - + + + + + + - Raised whenever the cursor is moved on this TreeView. + 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 - - - GLib.Signal("move_cursor") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.TestExpandRowHandler + System.Void - + + + + - Raised when the widget wants to find out whether a row can be expanded or not. + a to put the highlighted path into. + a to put the drop position into. + Gets information about the row that is highlighted for feedback. - - - GLib.Signal("test-expand-row") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.SelectCursorRowHandler + System.Boolean - + + + + + - Raised when the row the cursor is on is selected. - - - - - GLib.Signal("select_cursor_row") - - - - - - Event - - Gtk.RowCollapsedHandler - - - - Raised whenever a row is collapsed. - + 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. - - - GLib.Signal("row-collapsed") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + + + + - Raised when the columns of this tree change. - + 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. - - - GLib.Signal("columns-changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ExpandCollapseCursorRowHandler + System.Boolean - + + + + + + + + - Raised when the row where the cursor is is expanded or collapsed. - + 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. + - - - GLib.Signal("expand_collapse_cursor_row") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.RowActivatedHandler + System.Boolean - + + + - Raised when a row is activated; see . + an object of type + Returns if the node pointed to by is expanded. + an object of type - - - 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 (); - } -} - - - - - - GLib.Signal("row_activated") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.TestCollapseRowHandler + System.Boolean - + + + + + + + + - Raised when the system wants to know whether a particular row can be collapsed. - + 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. + - - - GLib.Signal("test-collapse-row") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Boolean - + + + + - 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)); - } -} - - - + 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 + - GLib.Signal("cursor-changed") + System.Obsolete("Replaced by VisibleRect property.") - - - - Method - System.Boolean + System.Void - - - + - Finds the path at the point (x, y), relative to widget coordinates. - an object of type - an object of type - an object of type - 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. + an object of type + Obsolete (and non-functional). Replaced by . + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - - - - + - Converts widget coordinates to coordinates for the tree window (the full scrollable area of the tree). - an object of type - an object of type - an object of type - an object of type - - + GType Property. + a + Returns the native value for . - - - Event + + + + Property + + 2.12.0.0 + + + + GLib.Property("hadjustment") + + - Gtk.ToggleCursorRowHandler + Gtk.Adjustment - + + - Raised when the cursor toggles a row. - (FIXME: explain in more detail.) + Horizontal Adjustment for the widget. + an object of type + + + + + + + Property + + 2.12.0.0 + - GLib.Signal("toggle_cursor_row") + GLib.Property("headers-clickable") - - - - Event - Gtk.StartInteractiveSearchHandler + System.Boolean - Raised when the user begins a search of the tree. + Column headers respond to click events. + a + + + + + + Property + + 2.12.0.0 + - GLib.Signal("start_interactive_search") + GLib.Property("headers-visible") - - - - Event - Gtk.SelectAllHandler + System.Boolean - + + - Raised whenever all rows of the TreeView are selected. - + Show the column header buttons. + an object of type + + + + + + + Property + + 2.12.0.0 + - GLib.Signal("select_all") + GLib.Property("hover-expand") - - - - Event - Gtk.SelectCursorParentHandler + System.Boolean - Raised when the parent row of the current row is selected. - (FIXME: explain in more detail. + To be added + a + To be added + + + + + + Property + + 2.12.0.0 + - GLib.Signal("select_cursor_parent") + GLib.Property("hover-selection") - - - - Event - Gtk.UnselectAllHandler + System.Boolean - Raised whenever all rows of the TreeView are specifically deselected. - + Whether a row should be highlighted when the cursor is over it. + a + To be added + - - - GLib.Signal("unselect_all") - - - - + + + Method + + 2.12.0.0 + - Gtk.TreeViewColumn + System.Int32 - - - - - - System.ParamArray - - - + + - Adds a with a specific column title and attributes. - column title - cell renderer - 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); - - - + 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 + - Gtk.TreeViewColumn + System.Int32 + - Adds a new to the TreeView and returns it. - a - a - a - 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. + 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.Void + System.Int32 - - - - + + + + + + + System.ParamArray + + + - Sets the current keyboard focus to be on the given . This is useful for getting the user's attention to a particular row. - a - a - a - a - - 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. - + 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. + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Boolean - - - - Expands the treeview so the Path specified is visible. - - to expand to. + 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 - - + - Gets information about the row that is highlighted for feedback. - a to put the highlighted path into. - a to put the drop position into. + a to execute on every expanded row. + Calls the given function on all expanded rows. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("model") + + - System.Boolean + Gtk.TreeModel - - - - - 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 , 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. - a - + The model for the TreeView. + an object of type + + - - + + + Method + + 2.12.0.0 + System.Void - - - - + + - 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. - 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 - + an object of type + an object of type + Moves to be after to . + If is , then is placed in the first position. - - - Constructor - - - - - - TreeView constructor - a - Creates a with as - its . - - + + + + Event + + 2.12.0.0 + - System.Obsolete("Use NodeView with NodeStores") + GLib.Signal("move_cursor") - - - - Method - System.Void + Gtk.MoveCursorHandler - - - - - + - Allows the TreeView to be used as a source for drag-and-drop actions. - 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. + Raised whenever the cursor is moved on this TreeView. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Color - - - - - Turns this TreeView object into a destination for automatic drag-and-drop. - a [], a table of targets this TreeView will support. - a , a bitmap of possible actions for a drag to this target + This property contains the background color that is used for all even rows. + a + - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideColumnsChanged", Type=typeof(Gtk.TreeView)) + + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 @@ -1591,27 +1821,74 @@ tree_view.AppendColumn ("title", text, "text", 0); 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 - - + + + - Default handler for the event. - 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. + 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 @@ -1620,60 +1897,124 @@ tree_view.AppendColumn ("title", text, "text", 0); - Default handler for the event. 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.Boolean + System.Void - - - + + - Default handler for the event. - a - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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. + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideSelectCursorParent", Type=typeof(Gtk.TreeView)) + + System.Boolean @@ -1684,55 +2025,92 @@ tree_view.AppendColumn ("title", text, "text", 0); 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.Void + System.Boolean - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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. + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideTestCollapseRow", Type=typeof(Gtk.TreeView)) + + System.Boolean - + + - Default handler for the event. - a + a + a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideTestExpandRow", Type=typeof(Gtk.TreeView)) + + System.Boolean @@ -1741,616 +2119,859 @@ tree_view.AppendColumn ("title", text, "text", 0); - Default handler for the event. 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. + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideUnselectAll", Type=typeof(Gtk.TreeView)) + + System.Boolean - - - - + - Default handler for the event. - a - a + Default handler for the event. a - Override this method in a subclass to provide 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 + System.Int32 - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + an object of type + Removes from . + an object of type + + - - - Method + + + + 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 + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 (); + } +} + + + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row-collapsed") + + - System.Void + Gtk.RowCollapsedHandler - - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Raised whenever a row is collapsed. + - - - Constructor - - - - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("row-expanded") + + + + Gtk.RowExpandedHandler + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + 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 + - System.Obsolete + 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.TreeViewColumn[] + Gtk.ScrollAdjustmentsSetHandler - A list of all the columns currently in this TreeView. - a + Raised whenever the scrollbar adjustment units are set. - - + + + Method + + 2.12.0.0 + - Gdk.Rectangle + System.Void + + + - Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . - a - a - a + 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 , 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. - + 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 + - Gdk.Rectangle + System.Void - - + + - Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . - a - a - 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. - - + 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 . - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("search-column") + + - System.Boolean + System.Int32 - - - - - - - Finds the path at the point (x, y), relative to widget coordinates. - 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. - a , true if a row exists at (x,y). + Model column to search through when searching through code. + an object of type - 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 + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.Entry - - - - - - - Finds the path at the point (x, y), relative to widget coordinates. - 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 , 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. + 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 + - System.Boolean + Gtk.TreeViewSearchEqualFunc - Whether or not to assume all rows are the same height. - a - This is an optimization; set to for fastest performance. - - - - - GLib.Property("fixed-height-mode") - - - - - - Method - - System.Int32 - - - - - - - - - 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). - 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 - 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 . - + The compare function for the interactive search capabilities. + a + - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + Gtk.TreeViewSearchPositionFunc - - - - - - - - System.ParamArray - - - - - Convenience function that inserts a new column into the tree view - with the given cell renderer and attribute bindings for the cell renderer. - - 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 - The number of columns in the tree view after the insertion. + Delegate to use when positioning the search dialog for the view. + a search position delegate. - + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("select_all") + + - Gtk.TreeViewColumn + Gtk.SelectAllHandler - - - - - + - Adds a new to the TreeView and returns it. - a - a - a - 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. + Raised whenever all rows of the TreeView are selected. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("select_cursor_parent") + + - System.Boolean + Gtk.SelectCursorParentHandler - To be added - a - To be added - + Raised when the parent row of the current row is selected. + (FIXME: explain in more detail. + + + + + Event + + 2.12.0.0 + - GLib.Property("hover-expand") + GLib.Signal("select_cursor_row") - - - - Property - System.Boolean + Gtk.SelectCursorRowHandler - Whether a row should be highlighted when the cursor is over it. - a - To be added - + Raised when the row the cursor is on is selected. + - - - GLib.Property("hover-selection") - - - - + + + Property + + 2.12.0.0 + - Gtk.TreeViewRowSeparatorFunc + Gtk.TreeSelection - - Callback function to indicate whether or not a given row of the tree view should be rendered as a separator. - a - - + Gets the associated with the TreeView. + an object of type + + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by ColumnDragFunction property.") + + 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. - + 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.Boolean + System.Void - - + + + - 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. - + 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. - - - Property - - - GLib.Property("show-expanders") - - + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + + + + - Indicates if expanders are shown. - defaults to . - - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - GLib.Property("level-indentation") + System.Obsolete("Replaced by DestroyCountFunc property.") - System.Int32 + System.Void + + + + + - Extra indentation amount for each level of the hierarchy. - defaults to 0. - - + 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. - - - Property - - - GLib.Property("enable-grid-lines") - - + + + + Method + + 2.12.0.0 + - Gtk.TreeViewGridLines + System.Void + + + + - Indicates which grid lines are drawn. - a set of flags. + 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. - - - - Property + + + + Method + + 2.12.0.0 + - GLib.Property("rubber-banding") + System.Obsolete("Replaced by SearchEqualFunc property.") - System.Boolean + System.Void + + + + + - Indicates if Rubberbanding multi-selection is supported. - if , rubberbanding is active. - - + The to invoke. + ignored + ignored + Sets the compare function for the interactive search capabilities. + This method is obsolete. New code should use the property. - - - Property - - - GLib.Property("enable-tree-lines") - - + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + + + + - Indicates if connecting lines are drawn for expanders. - if , connecting lines are drawn. - - + To be added. + To be added. + To be added. + To be added. + To be added. + To be added. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Entry + System.Void + + + + - 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. - + To be added. + To be added. + To be added. + To be added. + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("show-expanders") + + - Gtk.TreeViewSearchPositionFunc + System.Boolean - Delegate to use when positioning the search dialog for the view. - a search position delegate. + Indicates if expanders are shown. + defaults to . - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("start_interactive_search") + + - Gdk.Color + Gtk.StartInteractiveSearchHandler + - This property contains the background color that is used for all even rows. - a + Raised when the user begins a search of the tree. - - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("test-collapse-row") + + - Gdk.Color + Gtk.TestCollapseRowHandler + - 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. - + Raised when the system wants to know whether a particular row can be collapsed. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("test-expand-row") + + - System.Void + Gtk.TestExpandRowHandler - - - - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + Raised when the widget wants to find out whether a row can be expanded or not. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("toggle_cursor_row") + + - System.Void + Gtk.ToggleCursorRowHandler - - - - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + Raised when the cursor toggles a row. + (FIXME: explain in more detail.) - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("tooltip-column") + + - System.Void + System.Int32 - - - - - - - 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.Obsolete + + System.Void @@ -2361,156 +2982,138 @@ tree_view.AppendColumn ("title", text, "text", 0); - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + 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. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("unselect_all") + + - System.Void + Gtk.UnselectAllHandler - - - - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + Raised whenever all rows of the TreeView are specifically deselected. + - - + + + Method + + 2.12.0.0 + System.Void - - - - - - + - To be added. - To be added. - To be added. - To be added. - To be added. + Disables the TreeView as a drag-and-drop destination. To be added. - - - + + + Method + + 2.12.0.0 + - System.Boolean + 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. - + Disables the TreeView as a drag source for automatic drag and drop actions. + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("vadjustment") + + - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - Method - - System.Void + Gtk.Adjustment - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + Vertical Adjustment for the widget. + an object of type + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Rectangle - - - - + - To be added. - To be added. - To be added. - To be added. - + 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. - - - Property + + + + Method + + 2.12.0.0 + - GLib.Property("tooltip-column") + System.Obsolete - System.Int32 + System.Void + + + + + + - To be added. - To be added. - To be added. - + 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). + + - \ No newline at end of file + diff --git a/doc/en/Gtk/TreeViewColumn.xml b/doc/en/Gtk/TreeViewColumn.xml index fca3cbb3f..45ec0a6bd 100644 --- a/doc/en/Gtk/TreeViewColumn.xml +++ b/doc/en/Gtk/TreeViewColumn.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A visible column in a widget. - - - Gtk.Object @@ -20,818 +16,947 @@ Gtk.CellLayout + + A visible column in a widget. + + + - - - Method - - System.Boolean - - - - Whether to display the column. - an object of type - - - - - - - Method - - System.Void - - - - - - - - - Sets the cell renderer based on the and . - an object of type - an object of type - an object of type - an object of type - 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 - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Emit the clicked event on the column. + Creates a new object. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - - + - Sets the to use for the column. - an object of type - an object of type - an object of type - an object of type - 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. + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor 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 + - + + + + + - Creates a new object. + a + a + a + Creates a new - - - Property - - System.Int32 - + + + + Constructor + + 2.12.0.0 + + + + + + + + System.ParamArray + + + - The column that the model sorts on when this column is selected for sorting. - an object of type + a + a + a + Creates a new - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + + - The number of pixels to place between s packed into the column. - an object of type - - + 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("spacing") + GLib.Property("alignment") - - - - Property - System.Boolean + System.Single - The visibility of the . - an object of type + X Alignment of the column header text or widget. + an object of type - - - GLib.Property("visible") - - - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + + + - Whether the column can be reordered by the end user dragging the header. - an object of type - - + 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. - - - GLib.Property("reorderable") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + + + + - Maximum allowed width of the column. - an object of type - - + a + a + a + a + a + Obtains the width and height needed to render the column. + This is used primarily by the . - - - GLib.Property("max-width") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + - Current width of the column. - an object of type + Whether to display the column. + an object of type - - - GLib.Property("width") - - - - + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.CellRenderer[] - - + - Whether to show a sort indicator. - an object of type - - + Returns a list of all the s in the column, in no particular order. + An array of s. + - - - GLib.Property("sort-indicator") - - - - + + + Property + + 2.12.0.0 + - Gtk.TreeViewColumnSizing + Gtk.CellRenderer[] - + + Cells property. + An array of cell renderers packed in the column. + + + + + + + + Method + + 2.12.0.0 + + + System.Void + + + + + + - Resize mode of the column. - an object of type + 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 . - - - GLib.Property("sizing") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.SortType + System.Void + - Sort direction the sort indicator should indicate. - an object of type + 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("sort-order") + GLib.Property("clickable") - - - - Property - System.Int32 + System.Boolean - Minimum allowed width of the column. - an object of type + Whether the header can be clicked. + an object of type + + + + + Event + + 2.12.0.0 + - GLib.Property("min-width") + GLib.Signal("clicked") - - - - Property - System.Single + System.EventHandler - - + - X Alignment of the column header text or widget. - an object of type + Emitted when the column is clicked. + + + + + Property + + 2.12.0.0 + - GLib.Property("alignment") + GLib.Property("expand") - - - - Property - System.String + System.Boolean - - + - Title to appear in column header. - an object of type + Whether this column gets share of extra width allocated to the widget. + a + + + + + + Property + + 2.12.0.0 + - GLib.Property("title") + GLib.Property("fixed-width") - - - - Property - Gtk.Widget + System.Int32 - Widget to put in column header button instead of column title. - an object of type + Current fixed width of the column. + an object of type - - - GLib.Property("widget") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - Whether the header can be clicked. - an object of type + 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("clickable") + GLib.Property("max-width") - - - - Property System.Int32 - Current fixed width of the column. + Maximum allowed width of the column. an object of type + + + + + Property + + 2.12.0.0 + - GLib.Property("fixed-width") + GLib.Property("min-width") - - - - Property - System.Boolean + System.Int32 - Whether column is user-resizable. - an object of type + Minimum allowed width of the column. + an object of type + + + + + Method + + 2.12.0.0 + - GLib.Property("resizable") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideClicked", Type=typeof(Gtk.TreeViewColumn)) - - - - Event - System.EventHandler + System.Void - Emitted when the column is clicked. - - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - GLib.Signal("clicked") - - - - + + + Method + + 2.12.0.0 + System.Void - + - Sets the to use for a renderer. - a - a - 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. - + 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 + - Sets the current keyboard focus to be at , if the column contains 2 or more editable and activatable cells. - a - - + 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 . - - - Constructor - - - - - - + + + + Method + + 2.12.0.0 + + + System.Void + + - Creates a new - a - a - a - - - - - - - Constructor - - - - - - - - System.ParamArray - - - - - - Creates a new - a - a - a - - - - - - - Method - - System.Boolean - - - - - - - - Obtains the horizontal position and size of a cell in a column. - a - a - a - a - If the cell is not found in the column, and are not changed and is returned. + Flags the column and its cell renderers for size renegotiation. + + - - + + + Method + + 2.12.0.0 + System.Void - - - - - + + - Obtains the width and height needed to render the column. - a - a - a - a - a - This is used primarily by the . + a + a + Re-inserts at . + The given cell must already be packed into the layout for this method to work properly. + - - + + + 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. - + + 2.12.0.0 + - System.Obsolete + GLib.Property("reorderable") - - - - Property - Gtk.CellRenderer[] + System.Boolean - + + - Returns a list of all the s in the column, in no particular order. - An array of s. - + 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 this column gets share of extra width allocated to the widget. - a + Whether column is user-resizable. + an object of type - - - - GLib.Property("expand") - - - - + + + Method + + 2.12.0.0 + System.Void - + + + + System.ParamArray + + + - Re-inserts at . a - a - The given cell must already be packed into the layout for this method to work properly. + 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 - + - Adds the to end of the column. - an object of type - an object of type - 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 . + 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 - - + + - Packs the cell into the beginning of the column. - an object of type - an object of type - 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 . + a + a + Set the data func used to set cell renderer attributes. + + - - + + + Method + + 2.12.0.0 + System.Void - - - + + - Adds an mapping to the list in . - an object of type - an object of type - an object of type - 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. - + 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 - + + + + - Clears all existing attributes. - an object of type - - - + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("sizing") + + - System.Void + Gtk.TreeViewColumnSizing - + + - Unsets all the mappings on all renderers on the . + Resize mode of the column. + an object of type - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - Set the data func used to set cell renderer attributes. - a - a - - + The column that the model sorts on when this column is selected for sorting. + an object of type + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("sort-indicator") + + - System.Void + System.Boolean - - - - - System.ParamArray - - - - Sets the attribute to model column bindings for a renderer. - a - a - The array should consist of pairs of attribute name and column index. - + Whether to show a sort indicator. + an object of type + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("sort-order") + + - System.Void + Gtk.SortType - - - Sets the to use for a renderer. - a - a - 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. + Sort direction the sort indicator should indicate. + an object of type + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("spacing") + + - System.Void + System.Int32 - + + - Flags the column and its cell renderers for size renegotiation. - - + The number of pixels to place between s packed into the column. + an object of type + + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("title") + + - Gtk.CellRenderer[] + System.String + + - Cells property. - An array of cell renderers packed in the column. - - + Title to appear in column header. + an object of type + + - + + Property + + 2.12.0.0 + Gtk.Widget @@ -842,5 +967,75 @@ + + + + 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 + + + + diff --git a/doc/en/Gtk/TreeViewColumnDropFunc.xml b/doc/en/Gtk/TreeViewColumnDropFunc.xml index c83672af9..a8ebe520b 100644 --- a/doc/en/Gtk/TreeViewColumnDropFunc.xml +++ b/doc/en/Gtk/TreeViewColumnDropFunc.xml @@ -1,25 +1,14 @@ + gtk-sharp 2.12.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. - A delegate type to specify a function signature for saying - where a dragged column may be dropped. - See for - more details on how this delegate should be used. - To be added. - System.Delegate - @@ -29,4 +18,16 @@ 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. + + diff --git a/doc/en/Gtk/TreeViewColumnSizing.xml b/doc/en/Gtk/TreeViewColumnSizing.xml index 1be62f7d8..82b99cf29 100644 --- a/doc/en/Gtk/TreeViewColumnSizing.xml +++ b/doc/en/Gtk/TreeViewColumnSizing.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Enum @@ -19,42 +16,58 @@ 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 only get bigger in reaction to changes in the model. + Columns resize to be the optimal size every time the model changes. - - + + + Field + + 2.12.0.0 + Gtk.TreeViewColumnSizing - Columns resize to be the optimal size every time the model changes. + Columns are a fixed numbers of pixels wide. - - + + + Field + + 2.12.0.0 + Gtk.TreeViewColumnSizing - Columns are a fixed numbers of pixels wide. + Columns only get bigger in reaction to changes in the model. diff --git a/doc/en/Gtk/TreeViewDropPosition.xml b/doc/en/Gtk/TreeViewDropPosition.xml index 94352477a..d5c90f90f 100644 --- a/doc/en/Gtk/TreeViewDropPosition.xml +++ b/doc/en/Gtk/TreeViewDropPosition.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration for determining where a dropped row goes. - - System.Enum @@ -19,55 +16,75 @@ GLib.GType(typeof(Gtk.TreeViewDropPositionGType)) + + An enumeration for determining where a dropped row goes. + + - - + + + Field + + 2.12.0.0 + Gtk.TreeViewDropPosition - Drop before this row. + Drop after this row. - - + + + Field + + 2.12.0.0 + Gtk.TreeViewDropPosition - Drop after this row. + Drop before this row. - - + + + Field + + 2.12.0.0 + Gtk.TreeViewDropPosition - Drop as a child of this row (with fallback to before if into is not possible). + 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 after if into is not possible). + Drop as a child of this row (with fallback to before if into is not possible). diff --git a/doc/en/Gtk/TreeViewGridLines.xml b/doc/en/Gtk/TreeViewGridLines.xml index 2be392dda..2f6158990 100644 --- a/doc/en/Gtk/TreeViewGridLines.xml +++ b/doc/en/Gtk/TreeViewGridLines.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,51 +13,67 @@ GLib.GType(typeof(Gtk.TreeViewGridLinesGType)) + + TreeView Grid Lines enumeration. + + + - - + + + Field + + 2.12.0.0 + Gtk.TreeViewGridLines - Horizontal grid lines. + Vertical and Horizontal grid lines. - - + + + Field + + 2.12.0.0 + Gtk.TreeViewGridLines - Vertical grid lines. + Horizontal grid lines. - - + + + Field + + 2.12.0.0 + Gtk.TreeViewGridLines - Vertical and Horizontal grid lines. + No grid lines. - - + + + Field + + 2.12.0.0 + Gtk.TreeViewGridLines - No grid lines. + Vertical grid lines. - - TreeView Grid Lines enumeration. - - - diff --git a/doc/en/Gtk/TreeViewMappingFunc.xml b/doc/en/Gtk/TreeViewMappingFunc.xml index 65456ab97..57a8e5bae 100644 --- a/doc/en/Gtk/TreeViewMappingFunc.xml +++ b/doc/en/Gtk/TreeViewMappingFunc.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - System.Delegate - @@ -24,4 +16,13 @@ a set of rows that are expanded. 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. + + diff --git a/doc/en/Gtk/TreeViewRowSeparatorFunc.xml b/doc/en/Gtk/TreeViewRowSeparatorFunc.xml index 2f6d167aa..04390bee1 100644 --- a/doc/en/Gtk/TreeViewRowSeparatorFunc.xml +++ b/doc/en/Gtk/TreeViewRowSeparatorFunc.xml @@ -1,28 +1,29 @@ + 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. + To be added - - System.Delegate - - - System.Boolean - - - - - diff --git a/doc/en/Gtk/TreeViewSearchEqualFunc.xml b/doc/en/Gtk/TreeViewSearchEqualFunc.xml index 04e219d5a..df1404be7 100644 --- a/doc/en/Gtk/TreeViewSearchEqualFunc.xml +++ b/doc/en/Gtk/TreeViewSearchEqualFunc.xml @@ -1,25 +1,14 @@ + gtk-sharp 2.12.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. - A delegate to specify a compare function for interactive - searching. - See for more - context about how this delegate is used. - To be added. - System.Delegate - @@ -29,4 +18,16 @@ 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. + + diff --git a/doc/en/Gtk/TreeViewSearchPositionFunc.xml b/doc/en/Gtk/TreeViewSearchPositionFunc.xml index b712d5500..167305154 100644 --- a/doc/en/Gtk/TreeViewSearchPositionFunc.xml +++ b/doc/en/Gtk/TreeViewSearchPositionFunc.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 diff --git a/doc/en/Gtk/UIManager.xml b/doc/en/Gtk/UIManager.xml index a4fbaa5e7..61337b8dc 100644 --- a/doc/en/Gtk/UIManager.xml +++ b/doc/en/Gtk/UIManager.xml @@ -1,11 +1,17 @@ + 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 @@ -38,170 +44,145 @@ The behaviour is chosen based on the "is_important" property of the action to wh - - GLib.Object - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + Default constructor + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + a + Internal constructor + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + a + Internal constructor + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.AccelGroup - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + The associated with this UIManager + a + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.ActionGroup[] - - - + - emoves an action group from the list of action groups - a + The list of action groups associated with this UIManager. + a - - - Method - - Gtk.Widget - - - - - - Looks up a widget by following a path. - a - 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. - - - - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("actions_changed") + + - System.UInt32 + System.EventHandler - - - + - Parses a string containing a UI definition and merges it with the current contents. - a to parse - 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. + The "actions-changed" signal is emitted whenever the set of actions changes. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("add-tearoffs") + + - System.Void + System.Boolean - 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. + 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 @@ -214,51 +195,23 @@ The behaviour is chosen based on the "is_important" property of the action to wh - Adds a UI element to the current contents. 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 - - System.Void - - - - - - Unmerges the content identified by . - a from when the ui was added. - - - - - - Method - - System.Void - - - - - - - Inserts an action group into the list of action groups associated with this UIManager - a to be inserted - a , the position at which the group will be inserted. - Actions in earlier groups hide actions with the same name in later groups. - - + Method + + 2.12.0.0 + System.UInt32 @@ -266,32 +219,20 @@ The behaviour is chosen based on the "is_important" property of the action to wh - Parses a file containing a UI definition and merges it with the current contents. 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 - - Gtk.Action - - - - - - Looks up an action by following a path. - a - 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 + System.UInt32 @@ -299,57 +240,183 @@ The behaviour is chosen based on the "is_important" property of the action to wh - Adds a UI element to the current contents from an embedded resource. a + Adds a UI element to the current contents from an embedded resource. a - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.UInt32 + - + - Internal constructor - a - + 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 + - System.Obsolete + 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 . + - - - Constructor - - - - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("connect_proxy") + + + + Gtk.ConnectProxyHandler + + - Internal constructor - a - + 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. - - - Constructor - + + + + Event + + 2.12.0.0 + + + + GLib.Signal("disconnect_proxy") + + + + Gtk.DisconnectProxyHandler + - Default constructor + 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 @@ -360,143 +427,205 @@ The behaviour is chosen based on the "is_important" property of the action to wh Returns the native value for . - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - + + + + - The UI represented in XML. - a - + 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. - - - GLib.Property("ui") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.UInt32 - 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. + + Returns an unused merge id, suitable for use with + . + + a + + + + + + + Method + + 2.12.0.0 + - GLib.Property("add-tearoffs") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideActionsChanged", Type=typeof(Gtk.UIManager)) - - - - Property - Gtk.AccelGroup + System.Void - The associated with this UIManager - a - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Event - - System.EventHandler - - - - The "actions-changed" signal is emitted whenever the set of actions changes. - - + + + + Method + + 2.12.0.0 + - GLib.Signal("actions_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAddWidget", Type=typeof(Gtk.UIManager)) - - - - Event - Gtk.PreActivateHandler + System.Void - + + + - 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. + 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.Signal("pre_activate") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideConnectProxy", Type=typeof(Gtk.UIManager)) - - - - Event - Gtk.AddWidgetHandler + System.Void - + + + + - The AddWidget signal is emitted for each generated menubar and toolbar. - It is not emitted for generated popup menus, which can be obtained by . + 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.Signal("add_widget") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisconnectProxy", Type=typeof(Gtk.UIManager)) - - - - Event - Gtk.ConnectProxyHandler + System.Void - + + + + - 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. + 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.Signal("connect_proxy") + GLib.DefaultSignalHandler(ConnectionMethod="OverridePostActivate", Type=typeof(Gtk.UIManager)) - - - - Event - Gtk.DisconnectProxyHandler + System.Void - + + + - The DisconnectProxy signal is emitted after disconnecting a proxy from an action in the group. - + 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.Signal("disconnect_proxy") + 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 @@ -505,57 +634,87 @@ The behaviour is chosen based on the "is_important" property of the action to wh 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("post_activate") + GLib.Signal("pre_activate") - - - - Method - System.UInt32 + Gtk.PreActivateHandler - - Returns an unused merge id, suitable for use with - . - - a - - + 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. - - - Property + + + + Method + + 2.12.0.0 + - Gtk.ActionGroup[] + System.Void - + + + - The list of action groups associated with this UIManager. - a + a + emoves an action group from the list of action groups - - + + + Method + + 2.12.0.0 + - Gtk.Widget[] + System.Void - + - Obtains a list of all toplevel widgets of the requested types. - a - a - Allowed types are , and . + 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 + diff --git a/doc/en/Gtk/UIManagerItemType.xml b/doc/en/Gtk/UIManagerItemType.xml index 895ad7452..032a35ed0 100644 --- a/doc/en/Gtk/UIManagerItemType.xml +++ b/doc/en/Gtk/UIManagerItemType.xml @@ -1,16 +1,12 @@ + 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. - - Used by to determine what UI element to create. - - - System.Enum @@ -19,38 +15,55 @@ System.Flags + + Used by to determine what UI element to create. + + + - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Pick the type of the UI element according to context. + Install an accelerator. - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Create a menubar. + Pick the type of the UI element according to context. + Field + + 2.12.0.0 + Gtk.UIManagerItemType @@ -62,100 +75,128 @@ - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Create a toolbar. + Create a menubar. - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Insert a placeholder. + Create a menuitem. - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Create a popup menu. + Insert a placeholder. - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Create a menuitem. + Create a popup menu. - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Create a toolitem. + Create a separator. - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Create a separator. + Create a toolbar. - - + + + Field + + 2.12.0.0 + Gtk.UIManagerItemType - Install an accelerator. + Create a toolitem. diff --git a/doc/en/Gtk/Unit.xml b/doc/en/Gtk/Unit.xml index 67963d0eb..57484ada2 100644 --- a/doc/en/Gtk/Unit.xml +++ b/doc/en/Gtk/Unit.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Gtk.UnitGType)) + + Unit enumeration. + + + + Field + + 2.12.0.0 + Gtk.Unit @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Gtk.Unit @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Gtk.Unit @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Gtk.Unit @@ -54,9 +76,4 @@ - - Unit enumeration. - - - diff --git a/doc/en/Gtk/UnmapEventArgs.xml b/doc/en/Gtk/UnmapEventArgs.xml index e760e3752..c59e0ed67 100644 --- a/doc/en/Gtk/UnmapEventArgs.xml +++ b/doc/en/Gtk/UnmapEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/UnmapEventHandler.xml b/doc/en/Gtk/UnmapEventHandler.xml index 6fd6fe91d..f3fb51cba 100644 --- a/doc/en/Gtk/UnmapEventHandler.xml +++ b/doc/en/Gtk/UnmapEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/UnselectAllArgs.xml b/doc/en/Gtk/UnselectAllArgs.xml index 6c79a1e25..102353577 100644 --- a/doc/en/Gtk/UnselectAllArgs.xml +++ b/doc/en/Gtk/UnselectAllArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + diff --git a/doc/en/Gtk/UnselectAllHandler.xml b/doc/en/Gtk/UnselectAllHandler.xml index 791be9ea2..1db71dd9b 100644 --- a/doc/en/Gtk/UnselectAllHandler.xml +++ b/doc/en/Gtk/UnselectAllHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -16,15 +27,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/UpdateType.xml b/doc/en/Gtk/UpdateType.xml index 33fd97245..fb760d051 100644 --- a/doc/en/Gtk/UpdateType.xml +++ b/doc/en/Gtk/UpdateType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,12 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - - System.Enum @@ -21,10 +16,20 @@ 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 @@ -34,30 +39,38 @@ - - + + + 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. - + 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 should happen as often as possible, but a delay between an action and its update, is allowed. - + 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. + diff --git a/doc/en/Gtk/UrlRequestedArgs.xml b/doc/en/Gtk/UrlRequestedArgs.xml index 45d7358e1..5996ee091 100644 --- a/doc/en/Gtk/UrlRequestedArgs.xml +++ b/doc/en/Gtk/UrlRequestedArgs.xml @@ -1,5 +1,6 @@ + gtkhtml-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 3.16.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 3.16.0.0 + Gtk.HTMLStream @@ -41,8 +50,12 @@ - + + Property + + 3.16.0.0 + System.String diff --git a/doc/en/Gtk/UrlRequestedHandler.xml b/doc/en/Gtk/UrlRequestedHandler.xml index 34f6f4616..f1aacaa5e 100644 --- a/doc/en/Gtk/UrlRequestedHandler.xml +++ b/doc/en/Gtk/UrlRequestedHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/VBox.xml b/doc/en/Gtk/VBox.xml index 0155c5cb2..da3ccb67c 100644 --- a/doc/en/Gtk/VBox.xml +++ b/doc/en/Gtk/VBox.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,9 +8,49 @@ 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; @@ -40,7 +81,10 @@ class VBoxTester { box.PackStart (new Button ("Button"), true, false, 0); } } - + + + + Imports System Imports Gtk @@ -69,58 +113,60 @@ Class VBoxTester End Sub End Class - - - 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); - } -} - - + - - Gtk.Box - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -128,22 +174,30 @@ class VBoxTester { + Constructor + + 2.12.0.0 + - The main way to create a new VBox 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 @@ -154,33 +208,5 @@ class VBoxTester { Returns the native GObject type for . - - - Constructor - - - - - - Protected constructor. - a - Chain to this constructor from subclasses when you manually register a for your subclass. - - - - System.Obsolete - - - - - - Constructor - - - - VBox Constructor. - Instantiates a object using default values for the spacing and homogeneous attributes. - - diff --git a/doc/en/Gtk/VButtonBox.xml b/doc/en/Gtk/VButtonBox.xml index 6c51d395d..d9daa2372 100644 --- a/doc/en/Gtk/VButtonBox.xml +++ b/doc/en/Gtk/VButtonBox.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,40 +20,69 @@ Methods for manipulating button boxes are provided in the super classes, and . - - Gtk.ButtonBox - - - - + + Constructor + + 2.12.0.0 + + + + + The normal way to construct a vertical button box + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - The normal way to construct a vertical button box - + 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 @@ -58,27 +93,18 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + System.Obsolete - - - - Property Gtk.ButtonBoxStyle @@ -90,15 +116,19 @@ + + + + + Property + + 2.12.0.0 + System.Obsolete - - - - Property System.Int32 @@ -110,11 +140,6 @@ - - - System.Obsolete - - diff --git a/doc/en/Gtk/VPaned.xml b/doc/en/Gtk/VPaned.xml index 3d2022618..6d0854ed3 100644 --- a/doc/en/Gtk/VPaned.xml +++ b/doc/en/Gtk/VPaned.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,40 +20,69 @@ s are added to this container using the and methods. See the documentation of for more information. - - Gtk.Paned - - - - + + + Constructor + + 2.12.0.0 + + + + + Creates a new container, split vertically. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor from a subclass if you have manually registered a for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new container, split vertically. - + 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 @@ -58,23 +93,5 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor from a subclass if you have manually registered a for your subclass. - - - - System.Obsolete - - - diff --git a/doc/en/Gtk/VRuler.xml b/doc/en/Gtk/VRuler.xml index 3c3db8a13..aed5e8ec8 100644 --- a/doc/en/Gtk/VRuler.xml +++ b/doc/en/Gtk/VRuler.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gtk.Ruler + + + A vertical ruler. @@ -15,40 +21,69 @@ Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. - - Gtk.Ruler - - - - + + + Constructor + + 2.12.0.0 + + + + + Creates a new vertical Ruler. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Creates a new vertical Ruler. - + 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 @@ -59,23 +94,5 @@ 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 - - - diff --git a/doc/en/Gtk/VScale.xml b/doc/en/Gtk/VScale.xml index a1c3198d1..58076e56a 100644 --- a/doc/en/Gtk/VScale.xml +++ b/doc/en/Gtk/VScale.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -14,45 +20,74 @@ This widget and its model is manipulated using methods and properties in its super classes, and . - - Gtk.Scale - - - - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Creates a new vertical slider based on the data in . 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 + @@ -60,18 +95,22 @@ - Creates a new vertical slider without the need for an object. 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 @@ -82,23 +121,5 @@ 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 - - - diff --git a/doc/en/Gtk/VScrollbar.xml b/doc/en/Gtk/VScrollbar.xml index d94df2f2d..0fa0986a3 100644 --- a/doc/en/Gtk/VScrollbar.xml +++ b/doc/en/Gtk/VScrollbar.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. + + Gtk.Scrollbar + + + A vertical scrollbar @@ -14,44 +20,73 @@ - - Gtk.Scrollbar - - - - + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Creates a new vertical scrollbar. 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 @@ -62,23 +97,5 @@ 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 - - - diff --git a/doc/en/Gtk/VSeparator.xml b/doc/en/Gtk/VSeparator.xml index b93934a80..fcad6bd3d 100644 --- a/doc/en/Gtk/VSeparator.xml +++ b/doc/en/Gtk/VSeparator.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -15,40 +21,69 @@ - - Gtk.Separator - - - - + + + Constructor + + 2.12.0.0 + + + + + Constructor. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. - + + Constructor + + 2.12.0.0 + - + + + - Constructor. - + 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 @@ -59,23 +94,5 @@ 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 - - - diff --git a/doc/en/Gtk/ValueChangedArgs.xml b/doc/en/Gtk/ValueChangedArgs.xml index 12e03f0b9..efbb1ccaa 100644 --- a/doc/en/Gtk/ValueChangedArgs.xml +++ b/doc/en/Gtk/ValueChangedArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ GLib.SignalArgs + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -19,8 +29,12 @@ - + + Property + + 2.12.0.0 + System.Double @@ -31,9 +45,4 @@ - - To be added. - To be added. - - - \ No newline at end of file + diff --git a/doc/en/Gtk/ValueChangedHandler.xml b/doc/en/Gtk/ValueChangedHandler.xml index 53b8ca591..81ecde162 100644 --- a/doc/en/Gtk/ValueChangedHandler.xml +++ b/doc/en/Gtk/ValueChangedHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -21,4 +22,4 @@ To be added. - \ No newline at end of file + diff --git a/doc/en/Gtk/Viewport.xml b/doc/en/Gtk/Viewport.xml index 432fd3ed5..fbfeb744c 100644 --- a/doc/en/Gtk/Viewport.xml +++ b/doc/en/Gtk/Viewport.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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 . @@ -67,22 +73,59 @@ namespace GtkSamples { - - Gtk.Bin - - - + + + + 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 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. @@ -90,79 +133,101 @@ namespace GtkSamples { + Constructor + + 2.12.0.0 + - Creates a new Viewport with the specified horizontal and vertical Adjustments. 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 + - Gtk.Adjustment + GLib.GType - - + - Manage the horizontal model. - The current state of the horizontal model - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + GLib.Property("hadjustment") - - - - Property Gtk.Adjustment - Manage the vertical model. - The current state of the vertical model. + Manage the horizontal model. + The current state of the horizontal model + + + + + Method + + 2.12.0.0 + - GLib.Property("vadjustment") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollAdjustmentsSet", Type=typeof(Gtk.Viewport)) - - - - Property - Gtk.ShadowType + System.Void + + - Manage the shadow style surrounding the Viewport contents. - The current shadow style surrounding the child widget. - + a + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - GLib.Property("shadow-type") - - + Event + + 2.12.0.0 + + + + GLib.Signal("set_scroll_adjustments") + + Gtk.ScrollAdjustmentsSetHandler @@ -171,71 +236,52 @@ namespace GtkSamples { This event is raised when the or properties are set. + + + + + Property + + 2.12.0.0 + - GLib.Signal("set_scroll_adjustments") + GLib.Property("shadow-type") - - - - Constructor - - - - The main way to create a Viewport. - - Horizontal and vertical objects are automatically created. - - - - - - Property - GLib.GType - - - - GType Property. - a - Returns the native value for . - - - - - Method - - System.Void + Gtk.ShadowType - - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Manage the shadow style surrounding the Viewport contents. + The current shadow style surrounding the child widget. + - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Property + + 2.12.0.0 + - System.Obsolete + GLib.Property("vadjustment") + + Gtk.Adjustment + + + + + Manage the vertical model. + The current state of the vertical model. + + diff --git a/doc/en/Gtk/VisibilityNotifyEventArgs.xml b/doc/en/Gtk/VisibilityNotifyEventArgs.xml index 073e9fcf9..55bc767e1 100644 --- a/doc/en/Gtk/VisibilityNotifyEventArgs.xml +++ b/doc/en/Gtk/VisibilityNotifyEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventVisibility diff --git a/doc/en/Gtk/VisibilityNotifyEventHandler.xml b/doc/en/Gtk/VisibilityNotifyEventHandler.xml index c3e4962c9..d0b8f99b5 100644 --- a/doc/en/Gtk/VisibilityNotifyEventHandler.xml +++ b/doc/en/Gtk/VisibilityNotifyEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/VolumeButton.xml b/doc/en/Gtk/VolumeButton.xml index d65d6c803..9835af2d6 100644 --- a/doc/en/Gtk/VolumeButton.xml +++ b/doc/en/Gtk/VolumeButton.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Gtk.ScaleButton + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + @@ -31,8 +45,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -43,9 +61,4 @@ - - To be added. - To be added. - - diff --git a/doc/en/Gtk/Widget.xml b/doc/en/Gtk/Widget.xml index 7badd6a4f..00ed0203e 100644 --- a/doc/en/Gtk/Widget.xml +++ b/doc/en/Gtk/Widget.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,19 @@ 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 . @@ -18,1475 +32,1850 @@ - - Gtk.Object - - - - Atk.Implementor - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - 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. - - + Protected constructor. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Pushes onto a global stack of colormaps. - Colormap that is pushed by . + 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 - - 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. - + This is an internal constructor, and should not be used by user code. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("can_activate_accel") + + - System.Void + Gtk.AccelCanActivateHandler - Removes a colormap pushed with . - - - Removes a colormap pushed with . - - + + 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. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("accel_closures_changed") + + - System.Void + System.EventHandler - Cancels the effect of a previous call to . - - - Cancels the effect of a previous call to . - - + Raised when the closures for this widget's accelerator change. + - - - Method + + + + Property + + 2.12.0.0 + Atk.Object - - Gets a reference to an object's implementation. - An . - - - Gets a reference to an object's implementation. - - + Obtains the default reading direction for . + A . + Obtains the default reading direction for . - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Action - - 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. - - + The action the widget proxies. + a , or if no proxy relationship exists. + See for more details. + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - Causes to become the default . + For that can be "activated" (buttons, menu items, etc.) this method activates them. + Returns if the was activatable. - 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 . + 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 - + + + - Moves a from one to another, handling reference count issues to avoid destroying the . - A to move the into. + 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. - Moves a from one to another, handling reference count issues to avoid destroying the . + 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.Boolean + System.Void - + + + + + - Move focus to particular . - Direction of focus movement. - - if focus ended up inside . + 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. - 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 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. - 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. + 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 - + + + - Should be called by implementations of the remove method on , to dissociate a child from the container. + + Adds the events in the bitfield to the event mask for . - This method is only for use in widget implementations. + See for details. - - + + + 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. - - + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Rectangle - - - - - - + - Invalidates the rectangular area of a . - 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 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. - - + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("app-paintable") + + - System.Void + System.Boolean - - - Sets the foreground for a in a particular . - 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 . - - - All other style values are left untouched. See also . - - + Whether the application will paint directly on the . + + if the application will paint directly on the . + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("button_press_event") + + - Gdk.Pixbuf + Gtk.ButtonPressEventHandler - - - - - + - A convenience method that uses the theme engine and RC file settings for to look up and render it to a . - A stock ID. - A stock size. - Render detail to pass to theme engine. - 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 . - - + Raised when a button is pressed. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("button_release_event") + + - System.Void + Gtk.ButtonReleaseEventHandler - Recursively shows a , and any child (if the widget is a container). - - - Recursively shows a , and any child (if the widget is a container). - - + Raised when a (mouse) button is released on this widget. + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + - Sets the text for a in a particular state. - 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 . + 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. - - 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 . - - + 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. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("can-default") + + - Pango.Context + System.Boolean - + + - Creates a new with the appropriate colormap, font description, and base direction for drawing text for . - The new . + 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). + - See also . - + [FIXME] This is a seealso instead see + + [FIXME] This is a seealso instead see - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("can-focus") + + System.Boolean - + + - Utility method; intended to be connected to the event on a . - Returns . + Determines whether the is able to receive the focus. + Evaluates to if the is able to +handle focus grabs. - - 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. - - + + 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.Void + System.Boolean - + + + - Causes a to have the keyboard focus for the it's inside. + Direction of focus movement. + Move focus to particular . + + if focus ended up inside . - The must be a focusable , such as a ; something like won't work (More precisely, it must have the flag set). + 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. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("child_notify") + + - System.Void + Gtk.ChildNotifiedHandler - Equivalent to calling for the entire area of a . - - - Equivalent to calling for the entire area of a . - - + Emitted when a child has been notified. + - - + + + Method + + 2.12.0.0 + System.Void - - + - 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. - Path used to look up the the accelerator. - A . + The name of a child property installed on the class of widget's parent. + Emits a event for the child property on . - 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. - + Emits a event for the child property on . + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Requisition - Flags a to be displayed. + Obtains the widget's requisition. + a - 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. + 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. - - - Method + + + + Property + + 2.12.0.0 + System.Boolean - - - For that support scrolling, sets the scroll adjustments. - An adjustment for horizontal scrolling, or . - An adjustment for vertical scrolling, or . - Returns if the supports scrolling. + 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. - 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. + 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 + - Pango.Layout + System.Void - + + + - Creates a new with the appropriate colormap, font description, and base direction for drawing text for . - text to set on the layout (can be ). - 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 . - - + 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 - + + + - 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. - - + a to set + Convenince method to clear a flag + None - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("client_event") + + - System.Boolean + Gtk.ClientEventHandler - 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 . - - + Raised when a message is received from another application. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Colormap - - - Sets the background color for a in a particular state. - 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 or obtains the colormap that will be used to render . + A . - All other style values are left untouched. See also . + Widget must not have been previously realized. - - - Method + + + + 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 + - - Rarely-used method. This method is used to emit the events on a . - A . - Return from the event emission ( if the event was handled) + 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. - 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. + The must be a composite child of its parent; see . - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("configure_event") + + - System.Void + Gtk.ConfigureEventHandler - 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). - - + Raised when the configuration of the window has changed (it has been moved or resized). + - - + + + Method + + 2.12.0.0 + System.Void - - + + - Sets the base color for a in a particular state. - 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 . - - - 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 . - - + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Void + Pango.Context - Recursively resets the shape on and its descendants. + Creates a new with the appropriate colormap, font description, and base direction for drawing text for . + The new . - Recursively resets the shape on this and its descendants. + See also . - - + + + Method + + 2.12.0.0 + - System.Void + Pango.Layout - + - Modifies style values on the . - The holding the style modifications. + 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 . - 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. + 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 . - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Colormap - - - Sets the minimum size of a ; that is, the 's size request will be by . - Width should request, or -1 to unset. - Weight should request, or -1 to unset. + Sets or obtains the default colormap to use when creating . + A . - 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. + is a better method to use if you only want to affect a few widgets, rather than all widgets. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gtk.TextDirection - - Activates the targets associated with the mnemonic. - A boolean; set to true if the list of targets should cycle once the end of the list is reached. - - if the activation is done. - + Sets or obtains the default reading direction for . + A . + + + Where the direction has not been explicitly set by . + + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Style - - - - - Gets the size request that was explicitly set for the using . - Return location for width, or . - Return location for height, or . + 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. - 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. + Returns the default style used by all initially. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.Visual - - - - - - Removes an accelerator from , previously installed with . - Accel group for this . - GDK keyval of the accelerator. - Modifier key combination of the accelerator. - Returns whether an accelerator was installed and could be removed. + Obtains the visual of the default colormap. + Returns a visual of the default colormap. - Removes an accelerator from , previously installed with . + Not really useful; used to be useful before existed. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("delete_event") + + - System.Void + Gtk.DeleteEventHandler - Causes a to be unmapped if it's currently mapped. - - - This method is only for use in widget implementations. - - + 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 - Causes a to be mapped if it isn't already. - - - This method is only for use in widget implementations. - - + To be added. + To be added. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("destroy_event") + + - Gdk.Region + Gtk.DestroyEventHandler + + + + Raised when this widget is destroyed. + + + + + + + Property + + 2.12.0.0 + + + Gtk.TextDirection - - Computes the intersection of a 's area and , returning the intersection. - 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. - 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. + Sets or obtains the reading direction on a particular . + The reading direction for the . - The result may be empty, use to check. + 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. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("direction_changed") + + - System.Void + Gtk.DirectionChangedHandler - 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. - - + Raised when the text direction for this widget is changed. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Display - - - - Sets the font to use for a . - The font description to use, or to undo the effect of previous calls to . + Obtains the for the toplevel window associated with this . + The for the toplevel for this . - 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")); - ... - + 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. + - - - Method + + + + Property + + 2.12.0.0 + - System.Int32 + System.Boolean - - Very rarely-used method. This method is used to emit an events on a . - A . - Return from the event emission ( if the event was handled). + Use this property to turn off the double buffering. + Returns because double buffering is on by Default, but returns if you turn it off. - 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 . + 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. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_begin") + + - System.Void + Gtk.DragBeginHandler - Causes a to be unrealized (frees all GDK resources associated with the widget). - - - This method is only useful in widget implementations. - - + Raised on a source widget when the user begins a drag. + To be added. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_data_delete") + + - System.Void + Gtk.DragDataDeleteHandler - 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. - - + Raised on a source widget when dragged data is deleted. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_data_get") + + - System.Boolean + Gtk.DragDataGetHandler - - - + - Determines whether is somewhere inside , possibly with intermediate containers. - Another . - Returns if ancestor contains as a child, grandchild, great grandchild, etc. - - - Determines whether is somewhere inside , possibly with intermediate containers. - - + Raised when the drag-and-drop process gets data from a source widget. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_data_received") + + - System.Void + Gtk.DragDataReceivedHandler - - - + - Adds the events in the bitfield to the event mask for . - - - - See for details. - - + Raised on a destination widget when it receives dragged data. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_drop") + + - System.Void + Gtk.DragDropHandler - Recursively hides a and any child . - - - Recursively hides a and any child . - - + Raised on a source widget when dragged data is dropped. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_end") + + - System.Void + Gtk.DragEndHandler - 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. - - + Raised on a source widget when a drag operation is completed. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_failed") + + - System.Void + Gtk.DragFailedHandler - - - - - - Sets a shape for this 's GDK window. This allows for transparent windows etc., see for more information. - 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. - - - + To be added. + To be added. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_leave") + + - System.Void + Gtk.DragLeaveHandler - - - + - Emits a event for the child property on . - The name of a child property installed on the class of widget's parent. - - - Emits a event for the child property on . - - + Raised when a drag action leaves this widget. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("drag_motion") + + - System.Void + Gtk.DragMotionHandler - Stops emission of events on . - - - The events are queued until is called on . - - + Raised on a source widget when the user is moving a dragged selection. + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + System.Void - - - - This method is only used by subclasses, to assign a size and position to their child . - A position and size to be allocated to . - - - This fuction is only used by subclasses, to assign a size and position to their child . - - - - - - - Constructor - - - + - Internal constructor - Pointer to the C object. + a + Deprecated. - This is an internal constructor, and should not be used by user code. - + 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. + + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Visual + System.Void + - Obtains the visual of the default colormap. - Returns a visual of the default colormap. + Ensures that has a style (->style). - Not really useful; used to be useful before existed. + 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. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("enter_notify_event") + + - Gtk.Style + Gtk.EnterNotifyEventHandler + - 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. - - + 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). - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Colormap + System.Void - - + - 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. - - + To be added. + To be added. + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("events") + + - Gtk.TextDirection + Gdk.EventMask - - + - Sets or obtains the default reading direction for . - A . + Obtains or sets the event mask for the (a bitfield containing flags from ). + a - Where the direction has not been explicitly set by . - + 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. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("expose_event") + + - Atk.Object + Gtk.ExposeEventHandler + - Obtains the default reading direction for . - A . - Obtains the default reading direction for . + Raised when the widget needs to be (fully or partially) redrawn. + See , . - - + + + Property + + 2.12.0.0 + + + + GLib.Property("extension-events") + + - Gtk.TextDirection + Gdk.ExtensionMode - 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. - - + The mask that decides what kind of extension events the gets. + A Gdk.ExtensionMode. + - - + + + Property + + 2.12.0.0 + + + + System.Obsolete + + - Gdk.Colormap + System.Int32 - - + - Sets or obtains the colormap that will be used to render . - A . + Obtains or sets the flags for this . + a - Widget must not have been previously realized. - + 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. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("focus") + + - System.Boolean + Gtk.FocusedHandler - - + - 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. - - + 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. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("grab_focus") + + - System.String + System.EventHandler - - + - 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 . - - + Raised when this widget grabs the keyboard focus. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("focus_in_event") + + - Gtk.Widget + Gtk.FocusInEventHandler + - 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. - - + Raised when the widget has just gained the focus. + - - + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 - - + - 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. + The width of the focus line in a . + a - 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. - + Subclasses of use this style property to correctly layout their children. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("focus_out_event") + + - System.Boolean + Gtk.FocusOutEventHandler - - + - 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. - - + Raised when the focus leaves this widget. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Settings + System.Void + - Obtains the settings object holding the settings (global property settings, RC file information, etc) used for this . - The relevant object. + Stops emission of events on . - Note that this property can only be called when the is attached to a toplevel, since the settings object is specific to a particular . + The events are queued until is called on . - - + + + Property + + 2.12.0.0 + Gdk.Window - - + - Sets or obtains 's parent window. - The parent window of . - - - Sets or obtains 's parent window. - - + Obtains or sets the underlying Gdk.Window used to display the contents of the . + a + - - - Property + + + + Method + + 2.12.0.0 + - Pango.Context + Gtk.Widget + + + - Obtains a with the appropriate colormap, font description and base direction for . - + Ancestor type. + Obtains the first ancestor of . + The ancesor , or see if not found. - 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 . - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Visual + Gtk.Clipboard + + + - Obtains the visual that will be used to render . - The visual for . + 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. - Obtains the visual that will be used to render . - + must have a associated with it, so must be attached to a toplevel window. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.RcStyle + System.Void + + + + - Obtains the current modifier style for the .(As set by ) - The modifier style for the . This rc style is owned by the . + Return location for the X coordinate, or . + Return location for the Y coordinate, or . + Obtains the location of the mouse pointer in coordinates. - 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. - + 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 . + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + - Whether the is visible. - - if the widget is meant to be visible. + 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.Property("visible") + GLib.Signal("grab_broken_event") - - - - Property - System.Int32 + Gtk.GrabBrokenEventHandler - - - Override for the width request for the . - The width of the . - Or -1 if natural request should be used. + Raised when an existing grab is broken by another. + + - - - GLib.Property("width-request") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + - 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. + Causes to become the default . - 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. - + + 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 . + - - - GLib.Property("sensitive") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + - Whether to make the receive the default action when it is focused. - - if the will receive the default action when is focused. - + 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). + + - - - GLib.Property("receives-default") - - - - - Property - - System.Boolean - - - - - Whether the has the input focus. - - if the has the input focus. - - + + + + Event + + 2.12.0.0 + - GLib.Property("has-focus") + GLib.Signal("grab_notify") + + Gtk.GrabNotifyHandler + + + + Emitted when a widget grabs focus. + + - - + + + Property + + 2.12.0.0 + - Gdk.ExtensionMode + GLib.GType - - + - The mask that decides what kind of extension events the gets. - A Gdk.ExtensionMode. - + GType Property. + a + Returns the native value for . + + + + + Property + + 2.12.0.0 + - GLib.Property("extension-events") + GLib.Property("has-default") - - - - Property System.Boolean @@ -1498,119 +1887,99 @@ property will return false. 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-default") + GLib.Property("has-focus") - - - - Property System.Boolean + + - Whether the is part of a composite widget. + Whether the has the input focus. - if the is part of a composite widget. + if the has the input focus. - - - GLib.Property("composite-child") - - - - + + + Property + + 2.12.0.0 + 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 - + Convenience property to check Flags for WidgetFlags.HasGrab + True if the HasGrab flag is set. + None. - - - GLib.Property("can-default") - - - - + + + Property + + 2.12.0.0 + 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 - + 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("can-focus") + 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 @@ -1621,347 +1990,420 @@ handle focus grabs. The height of the . Or -1 if natural request should be used. + + + + + Event + + 2.12.0.0 + - GLib.Property("height-request") + GLib.Signal("show_help") - - - - Property - System.Boolean + Gtk.HelpShownHandler - - + - Whether the application will paint directly on the . - - if the application will paint directly on the . + Raised when the help text is shown. + + + + + Event + + 2.12.0.0 + - GLib.Property("app-paintable") + GLib.Signal("hide") + + System.EventHandler + + + + Raised whenever this widget is hidden. + To be added. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Widget + System.Void - - + - The parent widget of this . - The parent widget. - Must be a Container , + 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). + + - - - GLib.Property("parent") - - - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - - + - The name of the . - The name of the . - + Recursively hides a and any child . + + + Recursively hides a and any child . + + - - - GLib.Property("name") - - - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Style + System.Boolean - - + - The style of the . - A style. - Which contains information about how it will look (colors etc). + 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.Property("style") + GLib.Signal("hierarchy_changed") - - - - Event - Gtk.UnmapEventHandler + Gtk.HierarchyChangedHandler - Raised whenever this widget (or its parent, if is true for the parent) is told to hide itself. + Raised when the hierarchy (parent or child relationships) of this widget or its parent or children changes. - - - GLib.Signal("unmap_event") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.FocusedHandler + System.Void - + + + + + - 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. + 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. + - - - GLib.Signal("focus") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ParentSetHandler + System.Boolean - + + + + - Raised whenever this widget's parent widget is set. - + 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. + + - - - GLib.Signal("parent_set") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.KeyReleaseEventHandler + System.Boolean - + + + - Raised when a key is released within this widget. - + 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. + + - - - GLib.Signal("key_release_event") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.Boolean - Raised whenever this widget is hidden. - To be added. + Convenience property to check Flags for WidgetFlags.AppPaintable + True if the AppPaintable flag is set + None - - - GLib.Signal("hide") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.SelectionRequestEventHandler + System.Boolean - Raised whenever the widget receives a request for a selection. - TODO: explain more about the X selection model + Convenience property to check Flags for WidgetFlags.CompositeChild + True if the CompositeChild flag is set + None - - - GLib.Signal("selection_request_event") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.DirectionChangedHandler + System.Boolean - - Raised when the text direction for this widget is changed. - + 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. + - - - GLib.Signal("direction_changed") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.DragLeaveHandler + System.Boolean - Raised when a drag action leaves this widget. - + Convenience property to check Flags for WidetFlags.DoubleBuffered + True if the DoubleBuffered flag is set. + None - - - GLib.Signal("drag_leave") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.ScrollEventHandler + System.Boolean - Raised when the widget is scrolled. - + 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.Signal("scroll_event") + GLib.Property("is-focus") - - - - Event - Gtk.VisibilityNotifyEventHandler + System.Boolean - + + - Raised whenever the visibility state of the widget changes--- partially visible or fully visible, for example. - It may be preferable to handle a instead. + 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. + + - - - GLib.Signal("visibility_notify_event") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.WindowStateEventHandler + System.Boolean - Emitted when the Window state changes. - + Check to see if the widget is Mapped + true if the widget is Mapped, false otherwise. + None. - - - GLib.Signal("window_state_event") - - - - - Event + + + + Property + + 2.12.0.0 + - System.EventHandler + System.Boolean - Raised when this widget is mapped. - + Convenience property to check Flags for WidgetFlags.NoWindow + True if the NoWindow flag is set. + None. - - - GLib.Signal("map") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.DragBeginHandler + System.Boolean - Raised on a source widget when the user begins a drag. - To be added. - - - - GLib.Signal("drag_begin") - - + Checks to see if the widget is Realized + returns true if the widget is Realized + None. + - - - Event + + + + Property + + 2.12.0.0 + - Gtk.HierarchyChangedHandler + System.Boolean - Raised when the hierarchy (parent or child relationships) of this widget or its parent or children changes. - + Convenience property to check Flags for WidgetFlags.Toplevel + True if the Toplevel flag is set. + None - - - GLib.Signal("hierarchy_changed") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ConfigureEventHandler + System.Boolean - + + + - Raised when the configuration of the window has changed (it has been moved or resized). - + To be added. + To be added. + To be added. + To be added. + - - - GLib.Signal("configure_event") - - + Event + + 2.12.0.0 + + + + GLib.Signal("key_press_event") + + Gtk.KeyPressEventHandler @@ -1970,1342 +2412,1812 @@ handle focus grabs. Raised when a key is pressed within this widget. + + + + + Event + + 2.12.0.0 + - GLib.Signal("key_press_event") + GLib.Signal("key_release_event") - - - - Event - Gtk.MapEventHandler + Gtk.KeyReleaseEventHandler - Raised just after the widget is mapped. + Raised when a key is released within this widget. + + + + + Event + + 2.12.0.0 + - GLib.Signal("map_event") + GLib.Signal("leave_notify_event") - - - - Event - System.EventHandler + Gtk.LeaveNotifyEventHandler - Raised when this widget grabs the keyboard focus. + Raised when the mouse leaves this widget. - - - GLib.Signal("grab_focus") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.MotionNotifyEventHandler + Gtk.Widget[] - Raised when the pointer moves within this widget. + Returns a list of the widgets, normally Labels, for which this widget is a the target of a mnemonic + a + - - - GLib.Signal("motion_notify_event") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.StateChangedHandler + System.Void - Raised when the state of the widget changes. - See for the possible states of a widget. + 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("state_changed") + GLib.Signal("map_event") - - - - Event - Gtk.NoExposeEventHandler + Gtk.MapEventHandler - Emits NoExposeEvent + Raised just after the widget is mapped. + + + + + Event + + 2.12.0.0 + - GLib.Signal("no_expose_event") + GLib.Signal("map") - - - - Event System.EventHandler - Raised when a widget is unrealized. + Raised when this widget is mapped. - - - GLib.Signal("unrealize") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ButtonReleaseEventHandler + System.Boolean - + + + - Raised when a (mouse) button is released on this widget. + 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("button_release_event") + GLib.Signal("mnemonic_activate") - - - - Event - Gtk.SelectionGetHandler + Gtk.MnemonicActivatedHandler - Raised when this widget gets a selection from the clipboard. + Raised when someone presses a mnemonic key. - - - GLib.Signal("selection_get") - - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.SizeAllocatedHandler + Gtk.RcStyle - - Raised when size is allocated for this widget. - + 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. + + - - - GLib.Signal("size_allocate") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.PopupMenuHandler + System.Void - + + + - Raised when this widget's popup menu is activated. - + The state to be reset. + Resets the base color to the default color. + To set a specific color, use the overload of this method. - - - GLib.Signal("popup_menu") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ExposeEventHandler + 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 - + + + - Raised when the widget needs to be (fully or partially) redrawn. - See , . + The state to be reset. + Resets the background color to the default color. + To set a specific color, use the overload of this method. - - - GLib.Signal("expose_event") - - - - - Event + + + + Method + + 2.12.0.0 + - System.EventHandler + System.Void - + + + + - Raised when the widget is shown. - + 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 . + + - - - GLib.Signal("show") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.SelectionNotifyEventHandler + System.Void - + + + + - Emitted when a selection is made. - + To be added. + To be added. + To be added. + To be added. + - - - GLib.Signal("selection_notify_event") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.FocusInEventHandler + System.Void - + + + - Raised when the widget has just gained the focus. - + The state to be reset. + Resets the foreground color to the default color. + To set a specific color, use the overload of this method. - - - GLib.Signal("focus_in_event") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ButtonPressEventHandler + System.Void - + + + + - Raised when a button is pressed. - + 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 . + + - - - GLib.Signal("button_press_event") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.PropertyNotifyEventHandler + System.Void - + + + - Emitted when a property is changed. - + 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")); + ... + + - - - GLib.Signal("property_notify_event") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.HelpShownHandler + System.Void - + + + - Raised when the help text is shown. - + 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. + + - - - GLib.Signal("show_help") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ClientEventHandler + System.Void - + + + - Raised when a message is received from another application. - + The state to be reset. + Resets the text color to the default color. + To set a specific color, use the overload of this method. - - - GLib.Signal("client_event") - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.ProximityInEventHandler + System.Void - + + + + - Raised when the user is using a stylus or touch screen and their pointer comes near the widget. - See for context. + 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("proximity_in_event") + GLib.Signal("motion_notify_event") - - - - Event - Gtk.ProximityOutEventHandler + Gtk.MotionNotifyEventHandler - Raised when the user is using a stylus or touch screen and their pointer leaves the area near the widget. - See for context. + Raised when the pointer moves within this widget. + + + + + + Property + + 2.12.0.0 + - GLib.Signal("proximity_out_event") - - - - - - Event + GLib.Property("name") + + - Gtk.DestroyEventHandler + System.String - + + - Raised when this widget is destroyed. + The name of the . + The name of the . + + + + + Event + + 2.12.0.0 + - GLib.Signal("destroy_event") + GLib.Signal("no_expose_event") - - - - Event - Gtk.SelectionReceivedHandler + Gtk.NoExposeEventHandler - Raised when this widget is the destination of a received selection. + Emits NoExposeEvent + + + + + Property + + 2.12.0.0 + - GLib.Signal("selection_received") + GLib.Property("no-show-all") - - - - Event - Gtk.DragDataGetHandler + System.Boolean - Raised when the drag-and-drop process gets data from a source widget. + + 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.Signal("drag_data_get") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelCanActivate", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.EnterNotifyEventHandler + System.Boolean - + + + - 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). + 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.Signal("enter_notify_event") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelClosuresChanged", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.DragDataReceivedHandler + System.Void - Raised on a destination widget when it receives dragged data. - + 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.Signal("drag_data_received") + GLib.DefaultSignalHandler(ConnectionMethod="ConnectActivate", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.DragMotionHandler + System.Void - Raised on a source widget when the user is moving a dragged selection. - + 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.Signal("drag_motion") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideButtonPressEvent", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.SizeRequestedHandler + System.Boolean - + + + - Raised when this widget needs to notify another object of its preferred size. - + 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.Signal("size_request") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideButtonReleaseEvent", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.GrabNotifyHandler + System.Boolean - + + + - Emitted when a widget grabs focus. - + 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.Signal("grab_notify") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildNotified", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.StyleSetHandler + System.Void - + + + - Raised when a is set for this widget.t - + 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.Signal("style_set") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideClientEvent", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.FocusOutEventHandler + System.Boolean - + + + - Raised when the focus leaves this widget. - + 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.Signal("focus_out_event") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCompositedChanged", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.ChildNotifiedHandler + System.Void - Emitted when a child has been notified. + Default handler for event. + + + + + + Method + + 2.12.0.0 + - GLib.Signal("child_notify") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideConfigureEvent", Type=typeof(Gtk.Widget)) - - - - Event - System.EventHandler + System.Boolean - + + + - Raised when the widget is unmapped on the screen. - + 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.Signal("unmap") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeleteEvent", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.DragEndHandler + System.Boolean - + + + - Raised on a source widget when a drag operation is completed. - + 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.Signal("drag_end") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDestroyEvent", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.SelectionClearEventHandler + System.Boolean - + + + - Raised when the current selection is cleared. - + 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.Signal("selection_clear_event") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDirectionChanged", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.MnemonicActivatedHandler + System.Void - + + + - Raised when someone presses a mnemonic key. - + 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.Signal("mnemonic_activate") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragBegin", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.DragDropHandler + System.Void - + + + - Raised on a source widget when dragged data is dropped. - + 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.Signal("drag_drop") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDataDelete", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.LeaveNotifyEventHandler + System.Void - + + + - Raised when the mouse leaves this widget. - + 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.Signal("leave_notify_event") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDataGet", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.DeleteEventHandler + System.Void - + + + + + + - 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 (); - } -} - + 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.Signal("delete_event") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDataReceived", Type=typeof(Gtk.Widget)) - - - - Event - System.EventHandler + System.Void - + + + + + + + + - Emitted when a widget is realized. - The default handler creates the Gdk window associated with the widget, and its ancestors. + 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.Signal("realize") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDrop", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.DragDataDeleteHandler + System.Boolean - + + + + + + - Raised on a source widget when dragged data is deleted. - + 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.Signal("drag_data_delete") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragEnd", Type=typeof(Gtk.Widget)) - - - - Property - Gdk.Window + System.Void + + + - The root window this Widget is attached to. - a - + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragFailed", Type=typeof(Gtk.Widget)) + + - Gdk.Display + System.Boolean + + + + - 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. - - + To be added. + To be added. + To be added. + To be added. + To be added. + - - - Property - - 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. - - + + + + 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. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragMotion", Type=typeof(Gtk.Widget)) + + 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. - - + 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.Property("is-focus") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEnterNotifyEvent", Type=typeof(Gtk.Widget)) - - - - Event - Gtk.ScreenChangedHandler + System.Boolean - + + + - Emitted when the screen has changed. - + 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.Signal("screen_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideExposeEvent", Type=typeof(Gtk.Widget)) - - - - Method System.Boolean - - + - Computes the intersection of a 's area and . - A rectangle. - A rectangle to store intersection of 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. - - + 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)) + + - Gtk.Clipboard + System.Boolean - + - Returns the clipboard object for the given selection to be used with . - A which identifies the clipboard to use. gives the default clipboard, another common value is , which gives the primary X selection. - 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. - - + 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 - - - - + - Obtains the location of the mouse pointer in coordinates. - Return location for the X coordinate, or . - Return location for the Y coordinate, or . - - - 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 . - - + 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 - - - - - + - Translate coordinates relative to 's allocation to coordinates relative to 's allocations. - 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 . - 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. - - + 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.Void + System.Boolean - - - + - Obtains the full path to . - Location to store length of the path, or . - Location to store allocated path string, or . - Location to store allocated reverse path string, or . - - - 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. - - + 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.Void + System.Boolean - - - + - Same as , but always uses the name of a 's type, never uses a custom name set with . - 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 . - + 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. + - - - Event - - Gtk.WidgetEventHandler - - - - Emits the WidgetEvent. - - + + + + Method + + 2.12.0.0 + - GLib.Signal("event") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideGrabNotify", Type=typeof(Gtk.Widget)) - - - - Method - System.Object + System.Void - + - Obtains the value of a style property of . - The name of a style property. - - The property value. This can be one of the following types: , , , , , -, , , , -or . - + a + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideHelpShown", Type=typeof(Gtk.Widget)) + + 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. + a + Default handler for the event. + a + Override this method in a subclass to provide a default handler for the event. - - - Property + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideHidden", Type=typeof(Gtk.Widget)) + + - GLib.GType + System.Void - GType Property. - a - Returns the native value for . + 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 - - - - + - Default handler for the event. - 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. + 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 - + - Default handler for the event. - a + a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideMapEvent", Type=typeof(Gtk.Widget)) + + - System.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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. + 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.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - a - a - a + Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. - - - - - Method - - System.Void - - - - - - - - - - - Default handler for the event. - a - a - a - a - a - a - Override this method in a subclass to provide 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="OverridePropertyNotifyEvent", Type=typeof(Gtk.Widget)) + + - System.Void + System.Boolean - - - - + - Default handler for the event. - a - a - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a + a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideQueryTooltip", Type=typeof(Gtk.Widget)) + + - System.Void + System.Boolean - + + + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a + a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideSelectionClearEvent", Type=typeof(Gtk.Widget)) + + - System.Void + System.Boolean - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 @@ -3315,230 +4227,336 @@ or . - Default handler for the event. 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.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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. + 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 - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a + a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideUnmapped", Type=typeof(Gtk.Widget)) + + - Gtk.Widget + System.Void - - - + - Obtains the first ancestor of . - Ancestor type. - 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. - - + 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. - + + + + Method + + 2.12.0.0 + - System.Obsolete + GLib.DefaultSignalHandler(ConnectionMethod="OverrideUnrealized", Type=typeof(Gtk.Widget)) - - - - Property - Gtk.StateType + System.Void - 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 . - + Default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Event + + + + Method + + 2.12.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideVisibilityNotifyEvent", Type=typeof(Gtk.Widget)) + + - System.EventHandler + System.Boolean - + + + - Raised when the closures for this widget's accelerator change. - + 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.Signal("accel_closures_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideWidgetEvent", Type=typeof(Gtk.Widget)) - - - - Method System.Boolean @@ -3546,1515 +4564,2023 @@ or . - Default handler for the event. a + Default handler for the event. a - Override this method in a subclass to provide 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="OverrideWidgetEventAfter", Type=typeof(Gtk.Widget)) + + - System.Boolean + System.Void - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + - Default handler for the event. - a + a + Default handler for the event. a - Override this method in a subclass to provide a default handler for the event. + Override this method in a subclass to provide a default handler for the event. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + 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 - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + The parent widget of this . + The parent widget. + Must be a Container , - - - Method + + + + 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 + - System.Boolean + Gdk.Window - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Sets or obtains 's parent window. + The parent window of . + + + Sets or obtains 's parent window. + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Removes a colormap pushed with . + + + Removes a colormap pushed with . + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Cancels the effect of a previous call to . + + + Cancels the effect of a previous call to . + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("popup_menu") + + - System.Boolean + Gtk.PopupMenuHandler - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Raised when this widget's popup menu is activated. + - - + + + Method + + 2.12.0.0 + System.Boolean - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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. + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("property_notify_event") + + - System.Boolean + Gtk.PropertyNotifyEventHandler - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Emitted when a property is changed. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("proximity_in_event") + + - System.Boolean + Gtk.ProximityInEventHandler - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Raised when the user is using a stylus or touch screen and their pointer comes near the widget. + See for context. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("proximity_out_event") + + - System.Boolean + Gtk.ProximityOutEventHandler - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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. + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("query-tooltip") + + - System.Boolean + Gtk.QueryTooltipHandler - - - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Deprecated: Use instead. + + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - System.Boolean + System.Void - + + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + a + a + a + a + Deprecated equivalent of + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Equivalent to calling for the entire area of a . + + + Equivalent to calling for the entire area of a . + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + This function works like , except that the widget is not invalidated. + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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. + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("realize") + + - System.Void + System.EventHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + Emitted when a widget is realized. + The default handler creates the Gdk window associated with the widget, and its ancestors. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("receives-default") + + System.Boolean - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + Whether to make the receive the default action when it is focused. + + if the will receive the default action when is focused. + - - - Method + + + + Property + + 2.12.0.0 + System.Boolean - - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 + - System.Boolean + 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 - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - - - Installs an accelerator for this in that causes to be emitted if the accelerator is activated. - Widget signal to emit on accelerator activation. - Accel group for this , added to its toplevel. + Accel group for this . GDK keyval of the accelerator. Modifier key combination of the accelerator. - Flag accelerators. + Removes an accelerator from , previously installed with . + Returns whether an accelerator was installed and could be removed. - 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. + Removes an accelerator from , previously installed with . - - + + + Method + + 2.12.0.0 + System.Void - - - + - Installs an accelerator for this in that causes to be emitted if the accelerator is activated. - Widget signal to emit on accelerator activation. - Accel group for this , added to its toplevel. - GDK keyval of the accelerator. - - - 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. - - + a + Removes a widget from the list of mnemonic labels for this widget. + The widget must have previously been added to the list with . + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.EventMask + Gdk.Pixbuf - + + + + + - Obtains or sets the event mask for the (a bitfield containing flags from ). - a + 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 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. - + 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. + - These are the events that the will receive. - + 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 . + - - - GLib.Property("events") - - - - + + + Method + + 2.12.0.0 + System.Void - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - - - - - Property - - Gdk.Window - - - - Obtains or sets the underlying Gdk.Window used to display the contents of the . - a - + 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 + - System.Int32 + Gtk.Requisition - Obtains or sets the flags for this . - a + Gets or Sets the widget's requisition + a representing the widget's requisition - - 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. - + - - - System.Obsolete - - - - + + + Method + + 2.12.0.0 + - Gtk.Requisition + System.Void - Obtains the preferred size of a . - a + 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. - 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. - + This method is not useful for applications. + - - - Constructor - - - - Protected constructor. - - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - The width of the focus line in a . - a + Recursively resets the shape on and its descendants. - Subclasses of use this style property to correctly layout their children. - + Recursively resets the shape on this and its descendants. + - - + + + Property + + 2.12.0.0 + - Gdk.Rectangle + Gdk.Window - - 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. + The root window this Widget is attached to. + a + - - + + + Property + + 2.12.0.0 + - Gtk.Requisition + Gdk.Screen - - Gets or Sets the widget's requisition - a representing the widget's requisition + 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. + - - - - - - Property - - System.Boolean - - - - Check to see if the widget is Mapped - true if the widget is Mapped, false otherwise. - None. - - - - - Property - - System.Boolean - - - - Checks to see if the widget is Realized - returns true if the widget is Realized - None. - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("screen_changed") + + - System.Boolean + Gtk.ScreenChangedHandler - Convenience property to check Flags for WidgetFlags.NoWindow - True if the NoWindow flag is set. - None. + Emitted when the screen has changed. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("scroll_event") + + - System.Boolean + Gtk.ScrollEventHandler - Convenience property to check Flags for WidgetFlags.Toplevel - True if the Toplevel flag is set. - None + Raised when the widget is scrolled. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("selection_clear_event") + + - System.Boolean + Gtk.SelectionClearEventHandler - Convenience property to check Flags for WidgetFlags.HasGrab - True if the HasGrab flag is set. - None. + Raised when the current selection is cleared. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("selection_get") + + - System.Boolean + Gtk.SelectionGetHandler - Convenience property to check Flags for WidgetFlags.CompositeChild - True if the CompositeChild flag is set - None + Raised when this widget gets a selection from the clipboard. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("selection_notify_event") + + - System.Boolean + Gtk.SelectionNotifyEventHandler - Convenience property to check Flags for WidgetFlags.AppPaintable - True if the AppPaintable flag is set - None + Emitted when a selection is made. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("selection_received") + + - System.Boolean + Gtk.SelectionReceivedHandler - Convenience property to check Flags for WidetFlags.DoubleBuffered - True if the DoubleBuffered flag is set. - None + Raised when this widget is the destination of a received selection. + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("selection_request_event") + + - System.Boolean + Gtk.SelectionRequestEventHandler - Convenience property to check if the widget is Visible and Realized. - True if the widget is able to be drawn on - None + Raised whenever the widget receives a request for a selection. + TODO: explain more about the X selection model - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - + - Convenience method to set a flag. - a to set - None. + 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 . + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("sensitive") + + - System.Void + System.Boolean - - Convenince method to clear a flag - a to set - None + 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 - - + + - Virtual method to support scrollable widgets. - a horizontal plane - a vertical plane - Override this method in a subclass to support scrolling of the widget within a viewport smaller than the widget's size. - - - - - Property - - Gtk.Requisition - - - - Obtains the widget's requisition. - a + 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. - 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. + 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. - - - Property - - System.Boolean - - - - - This property determines whether the widget will be affected by - and . - - a , true if the widget should be affected - - - - - - GLib.Property("no-show-all") - - - - - - Event + + + + Method + + 2.12.0.0 + - Gtk.AccelCanActivateHandler + System.Void - + + + - - 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. - + a to set + Convenience method to set a flag. + None. - - - GLib.Signal("can_activate_accel") - - - - + + + Method + + 2.12.0.0 + System.Boolean - + + - - Method raised when the - event happens; override this for additional functionality. - - a , a signal ID - a , true if the accelerator can be activated. + 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 - + + - Deprecated. - a + 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 . - 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. - - + + 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 - - - Deprecated equivalent of a a - 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 - + + - Adds a widget to the list of mnemonic labels for this widget. - a - (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. + 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 - - + + + - Deprecated way to set the position of a widget. - a - a - 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 . + 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 - Deprecated: Use instead. - - + 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 - - - - + - Sets the minimum size of a widget - a - a + Recursively shows a , and any child (if the widget is a container). - is deprecated and should not be used in newly-written code. - + + Recursively shows a , and any child (if the widget is a container). + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("show") + + - System.Void + System.EventHandler - This function works like , except that the widget is not invalidated. + Raised when the widget is shown. - - - + + + Method + + 2.12.0.0 + - Gtk.Widget[] + System.Void - Returns a list of the widgets, normally Labels, for which this widget is a the target of a mnemonic - a - - + 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.Boolean + System.Void - + - - Determines whether an accelerator that activates the signal - identified by can currently be activated. - - a , a signal ID (XXX: API: should this really work this way?) - a , true if the accelerator can be activated. + 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 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. - - + + 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 + - System.Void + Gtk.Requisition - - - + - Removes a widget from the list of mnemonic labels for this widget. - a - The widget must have previously been added to the list with . - + 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. + + - - - Property + + + + Event + + 2.12.0.0 + + + + GLib.Signal("size_request") + + - Gtk.WidgetFlags + Gtk.SizeRequestedHandler - Contains Widget specific flags values. - a + Raised when this widget needs to notify another object of its preferred size. - - - - Event + + + + Property + + 2.12.0.0 + - Gtk.WidgetEventAfterHandler + Gtk.StateType - Emits the WidgetEventAfter. - - + 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("event_after") + GLib.Signal("state_changed") - - - - Method - System.Void + Gtk.StateChangedHandler - - - + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. - + Raised when the state of the widget changes. + See for the possible states of a widget. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("style") + + - System.Void + Gtk.Style - - The state to be reset. - Resets the base color to the default color. - To set a specific color, use the overload of this method. + The style of the . + A style. + Which contains information about how it will look (colors etc). - - + + + Method + + 2.12.0.0 + - System.Void + System.Object - + - The state to be reset. - Resets the background color to the default color. - To set a specific color, use the overload of this method. + 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 . + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("style_set") + + - System.Void + Gtk.StyleSetHandler - - - + - The state to be reset. - Resets the foreground color to the default color. - To set a specific color, use the overload of this method. + Raised when a is set for this widget.t + - - + + + 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. + 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. + + - - - Event + + + + Property + + 2.12.0.0 + - GLib.Signal("grab_broken_event") + GLib.Property("tooltip-markup") - Gtk.GrabBrokenEventHandler + System.String - Raised when an existing grab is broken by another. - - + To be added. + To be added. + To be added. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("tooltip-text") + + - System.Boolean + System.String - - - - 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. - + To be added. + To be added. + To be added. + - - - Event - - - GLib.Signal("composited_changed") - - + + + + Property + + 2.12.0.0 + - System.EventHandler + Gtk.Window - Raised with the composited status changes. - - + To be added. + To be added. + To be added. + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Widget - - Default handler for event. - - + 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.Void + System.Boolean - - - + + + + + - 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. - + 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. + + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - 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. - + To be added. + To be added. + - - - Property + + + + Method + + 2.12.0.0 + - Gtk.Action + System.Void + - The action the widget proxies. - a , or if no proxy relationship exists. - See for more details. - + Causes a to be unmapped if it's currently mapped. + + + This method is only for use in widget implementations. + + - - - - Method + + + + + Event + + 2.12.0.0 + + + + GLib.Signal("unmap_event") + + - System.Void + Gtk.UnmapEventHandler - 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. - + 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("drag_failed") + GLib.Signal("unmap") - Gtk.DragFailedHandler + System.EventHandler + - To be added. - To be added. - + Raised when the widget is unmapped on the screen. + - - + + + Method + + 2.12.0.0 + System.Void - To be added. - To be added. - + 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. + + - - - Property - - - GLib.Property("has-tooltip") - - + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - To be added. - To be added. - To be added. - + Causes a to be unrealized (frees all GDK resources associated with the widget). + + + This method is only useful in widget implementations. + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("unrealize") + + - System.Boolean + System.EventHandler - - - + - To be added. - To be added. - To be added. - To be added. - + Raised when a widget is unrealized. + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("visibility_notify_event") + + - System.Void + Gtk.VisibilityNotifyEventHandler - - - - + - To be added. - To be added. - To be added. - To be added. - + Raised whenever the visibility state of the widget changes--- partially visible or fully visible, for example. + It may be preferable to handle a instead. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("visible") + + System.Boolean - - - To be added. - To be added. - To be added. - To be added. - To be added. - + Whether the is visible. + + if the widget is meant to be visible. + + - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + Gdk.Visual - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + 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("query-tooltip") + GLib.Signal("event") - Gtk.QueryTooltipHandler + Gtk.WidgetEventHandler + - To be added. - To be added. - + Emits the WidgetEvent. + - - - Property + + + + Event + + 2.12.0.0 + - GLib.Property("tooltip-markup") + GLib.Signal("event_after") - System.String + Gtk.WidgetEventAfterHandler + - To be added. - To be added. - To be added. - + Emits the WidgetEventAfter. + + - - + + + Property - - - GLib.Property("tooltip-text") - - + + 2.12.0.0 + - System.String + Gtk.WidgetFlags + - To be added. - To be added. - To be added. - + Contains Widget specific flags values. + a + + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("width-request") + + - Gtk.Window + System.Int32 + + - To be added. - To be added. - To be added. - + Override for the width request for the . + The width of the . + Or -1 if natural request should be used. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("window_state_event") + + - System.Void + Gtk.WindowStateEventHandler - To be added. - To be added. - + Emitted when the Window state changes. + - - - GLib.TypeInitializer(typeof(Gtk.Widget), "ClassInit") - - diff --git a/doc/en/Gtk/WidgetEventAfterArgs.xml b/doc/en/Gtk/WidgetEventAfterArgs.xml index 957f63df3..44394e026 100644 --- a/doc/en/Gtk/WidgetEventAfterArgs.xml +++ b/doc/en/Gtk/WidgetEventAfterArgs.xml @@ -1,11 +1,16 @@ + 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. @@ -13,14 +18,14 @@ - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/WidgetEventAfterHandler.xml b/doc/en/Gtk/WidgetEventAfterHandler.xml index 2924b5bcb..265436d83 100644 --- a/doc/en/Gtk/WidgetEventAfterHandler.xml +++ b/doc/en/Gtk/WidgetEventAfterHandler.xml @@ -1,11 +1,22 @@ + 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. @@ -17,15 +28,5 @@ - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/WidgetEventArgs.xml b/doc/en/Gtk/WidgetEventArgs.xml index 5e4a3a70d..4a26086d8 100644 --- a/doc/en/Gtk/WidgetEventArgs.xml +++ b/doc/en/Gtk/WidgetEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.Event diff --git a/doc/en/Gtk/WidgetEventHandler.xml b/doc/en/Gtk/WidgetEventHandler.xml index 3dfcf0477..8ded46fdd 100644 --- a/doc/en/Gtk/WidgetEventHandler.xml +++ b/doc/en/Gtk/WidgetEventHandler.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,16 @@ 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. @@ -17,15 +28,5 @@ 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. - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Gtk/WidgetFlags.xml b/doc/en/Gtk/WidgetFlags.xml index 9a611f152..42b25aa0e 100644 --- a/doc/en/Gtk/WidgetFlags.xml +++ b/doc/en/Gtk/WidgetFlags.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Tells about certain properties of the . - - System.Enum @@ -22,322 +19,402 @@ System.Flags + + Tells about certain properties of the . + + - - + + + 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. + Set and unset by . - Toplevel widgets always contain their own . + 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 - Indicative for a that does not provide its own . + The is allowed to receive the default action via . - Visible action (e.g. drawing) is performed on the parent's . + The is allowed to receive the default action via . - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Set by , unset by . + Determines whether a is able to handle focus grabs. - A realized has an associated . + Determines whether a is able to handle focus grabs. - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Set by , unset by . + Indicates that the is a composite child of its parent. - Only realized widgets can be mapped. It means that has been called on the widgets window(s). + See , . - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Set by , unset by . Implies that a will be mapped as soon as its parent is mapped. + Set and unset by . Indicates that exposes done on the should be double-buffered. - Implies that a will be mapped as soon as its parent is mapped. + Indicates that exposes done on the should be double-buffered. - - + + + 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). + The currently is receiving the default action. - One premise for the widgets sensitivity is to have this flag set. + The currently is receiving the default action. - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Set and unset by operations on the parents of the . + Set by for widgets that also have set. - This is the second premise for the widgets sensitivity. Once it has and set, its state is effectively sensitive. + The flag will be unset once another widget grabs the focus. - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Determines whether a is able to handle focus grabs. + Set by gtk_grab_add(), unset by gtk_grab_remove(). - Determines whether a is able to handle focus grabs. + 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 for widgets that also have set. + Set by , unset by . - The flag will be unset once another widget grabs the focus. + Only realized widgets can be mapped. It means that has been called on the widgets window(s). - - + + + 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 . - - + Unused since before GTK 1.2, will be removed in a future version. + - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - The currently is receiving the default action. + Whether calls to ShowAll and HideAll will effect the widget. - - The currently is receiving the default action. - + - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Set by gtk_grab_add(), unset by gtk_grab_remove(). + Indicative for a that does not provide its own . - 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. + Visible action (e.g. drawing) is performed on the parent's . - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Indicates that the widgets style has been looked up through the rc mechanism. + Set and unset by operations on the parents of the . - It does not imply that the actually had a style defined through the rc mechanism. + 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 is a composite child of its parent. + Indicates that the widgets style has been looked up through the rc mechanism. - See , . + It does not imply that the actually had a style defined through the rc mechanism. - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Unused since before GTK 1.2, will be removed in a future version. - + Set by , unset by . + + + A realized has an associated . + + - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Set and unset by . + The when focused will receive the default action and have set even if there is a different widget set as default. - Must be set on widgets whose window the application directly draws on, in order to keep GTK# from overwriting the drawn stuff. + 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 - The when focused will receive the default action and have set even if there is a different widget set as default. + Set and unset by . The sensitivity of a determines whether it will receive certain events (e.g. button or key presses). - The when focused will receive the default action and have set even if there is a different widget set as default. + One premise for the widgets sensitivity is to have this flag set. - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Set and unset by . Indicates that exposes done on the should be double-buffered. + Widgets without a real parent, as there are s and s have this flag set throughout their lifetime. - Indicates that exposes done on the should be double-buffered. + Toplevel widgets always contain their own . - - + + + Field + + 2.12.0.0 + Gtk.WidgetFlags - Whether calls to ShowAll and HideAll will effect the widget. + 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. + - diff --git a/doc/en/Gtk/WidgetHelpType.xml b/doc/en/Gtk/WidgetHelpType.xml index 501a87218..52341ffcb 100644 --- a/doc/en/Gtk/WidgetHelpType.xml +++ b/doc/en/Gtk/WidgetHelpType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - The type of help to display when the event is raised. - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Gtk.WidgetHelpTypeGType)) + + The type of help to display when the event is raised. + + + Field + + 2.12.0.0 + Gtk.WidgetHelpType @@ -35,7 +40,11 @@ + Field + + 2.12.0.0 + Gtk.WidgetHelpType diff --git a/doc/en/Gtk/Win32EmbedWidget.xml b/doc/en/Gtk/Win32EmbedWidget.xml index eee5365b1..1f588cd23 100644 --- a/doc/en/Gtk/Win32EmbedWidget.xml +++ b/doc/en/Gtk/Win32EmbedWidget.xml @@ -1,5 +1,6 @@ + gtk-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Gtk.Window + + To be added. + To be added. + + + Constructor + + 2.12.0.0 + To be added. @@ -20,7 +30,11 @@ + Constructor + + 2.12.0.0 + System.Obsolete @@ -37,7 +51,11 @@ + Constructor + + 2.12.0.0 + @@ -48,8 +66,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -60,9 +82,4 @@ - - To be added. - To be added. - - - \ No newline at end of file + diff --git a/doc/en/Gtk/Window.xml b/doc/en/Gtk/Window.xml index a07e9139d..8f7665208 100644 --- a/doc/en/Gtk/Window.xml +++ b/doc/en/Gtk/Window.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,11 @@ 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. @@ -38,321 +44,352 @@ class WindowTester { Toplevel which can contain other widgets. - - Gtk.Bin - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - - + - Starts moving a . - 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. + 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 . - 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. - + 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. + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - - - + - Retrieves the dimensions of the frame window for this toplevel. - 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 . + 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. - 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 . + 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. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("accept-focus") + + - System.Void + System.Boolean - Asks to iconify (i.e. minimize) the specified . + Windows may set a hint asking the desktop environment not to receive the input focus. + a - - 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 . - - + to let this window receive input focus + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - Asks to unstick , which means that it will appear on only one of the user's desktops. + Activates the default for the . + + if a is activated. - 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 . + 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.Void + System.Boolean - 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 - + Activates the current focused within the . + + if a got activated. + - - + + + Method + + 2.12.0.0 + - System.Void + System.Boolean - - + - Obtains the current size of . - Return location for width, or . - Return location for height, or . - - - 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); - - + 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 - - + - Gets the default size of the . - Location to store the default width, or . - Location to store the default height, or . + A . + Associate with . - 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. + Such that calling on will activate accelerators in . - - + + + Method + + 2.12.0.0 + System.Void - - + - Resizes the as if the user had done so, obeying geometry constraints. - Width in pixels to resize the to. - Height in pixels to resize the to. - - - 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. - - + 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.Boolean + System.Void - + + + + - Activates the current focused within the . - - if a got activated. + The mnemonic. + The that gets activated by the mnemonic. + Adds a mnemonic to this . - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("allow-grow") + + 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 . - - + Sets or obtains if the can be resized to a larger size by the user. + + if the can be resized. + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("allow-shrink") + + - System.Void + System.Boolean - - Reverses the effects of . - A . - - - - - - Method - - System.Void - - - - Asks to stick , which means that it will appear on all user desktops. + Sets or obtains if the has no mininum size. + + if the has no minimum size. - 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 . + Setting this to is 99% of the time a bad idea. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Boolean - - - - - For windows with frames (see ) this method can be used to change the size of the frame border. - The width of the left border. - The height of the top border. - The width of the right border. - The height of the bottom border. + Property used for setting the automatic startup notification. + + if set to automatically do startup notification. - 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. + 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 - - + + + + - Adds a mnemonic to this . - The mnemonic. - The that gets activated by the mnemonic. - + 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 @@ -364,12 +401,12 @@ Console.WriteLine("Width: {0}, Height: {1}" , width , height); - Starts resizing a . 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. @@ -377,411 +414,611 @@ Console.WriteLine("Width: {0}, Height: {1}" , width , height); - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("decorated") + + - System.Void + System.Boolean - - - This method returns the position you need to pass to to keep in its current position. - Return location for X coordinate of gravity-determined reference point. - Return location for Y coordinate of gravity-determined reference point. + Sets or obtains whether the has been set to have decorations. + + if the has been set to have decorations. - 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. + With this property you control if a will be decorated or not. - 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. + 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 . - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Widget - + + - Asks to deiconify (i.e. unminimize) the specified . + Sets or unsets the default for a about. + A . - 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. + 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. - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("activate_default") + + - System.Boolean + System.EventHandler - - - - + - Activates the targets associated with the mnemonic. - The mnemonic. - The modifiers. - - if the activation is done. - + DefaultActivated event. + This event is emited when the keybinding for default widget activation is triggered. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("default-height") + + - System.Boolean + System.Int32 - + + - Activates the default for the . - - if a is activated. + Property used for setting or obtaining the default height of a . + The default height of the . - That is unless the current focused has been configured to receive the default (see ) action in which case the case the focused is activated. + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + 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[] - Asks to maximize , so that it becomes full-screen. + 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. - 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. + This method allows you to set up the icon for all windows in your app at once. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - - - Removes a mnemonic from this . - The mnemonic. - The that gets activated by the mnemonic. - + To be added + a + To be added + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gdk.Size - - - + - Adds an X id number to the list of embedded windows. - an object of type - 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. + 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. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("default-width") + + - System.Void + System.Int32 - - - It sets the X Window System "class" and "name" hints for a . (Don't use this method.) - Window name hint. - Window class hint. + Property used for setting or obtaining the default width of a . + The default width of the . - 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. + 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 - - - + - Removes an X id number to the list of embedded windows. - an object of type - 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. + 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. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("deletable") + + - System.Void + 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 the default size of an object, with the specified width and height arguments. - Width in pixels, or -1 to unset the default width. - Height in pixels, or -1 to unset the default height. + Sets or obtains whether the transient parent of will also destroy itself + an object of type - 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. + This is useful for dialogs that shouldn't persist beyond the livefime of the main they're associated with, for example. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Gtk.Widget - + + - Presents a to the user. + 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. - 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. + To set the focus to a particular in the toplevel, it is usually more convenient to use . - 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. + 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 . - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("activate_focus") + + - System.Void + System.EventHandler - Hides , then reshows it, resetting the default size and position of the . - - - Used by GUI builders only. - - + 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 the window manager to move to the given position. - X coordinate to move to. - Y coordinate to move to. + Asks to place in the fullscreen state. - 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. + 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. - 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. + You can track the fullscreen state via the event on . - - + + + Method + + 2.12.0.0 + System.Void - + + - Sets the position constraint for a . - A position constraint. + Location to store the default width, or . + Location to store the default height, or . + Gets the default size of the . - Is is used for placing the in some area, depending on the constraint. + 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 - + + + + - Associate with . - A . + 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. - Such that calling on will activate accelerators in . + 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 - - - + + - This method sets up hints about how a can be resized by the user. - Widget the geometry hints will be applied to. - Struct containing geometry information. - Mask indicating which struct fields should be paid attention to. + 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. - 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 . + 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Internal constructor. - Pointer to the C object. + Return location for width, or . + Return location for height, or . + Obtains the current size of . - This is an internal constructor, and should not be used by user code. + + 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); + - - - Constructor - + + + + Property + + 2.12.0.0 + + + + GLib.Property("gravity") + + + + Gdk.Gravity + - - Creates a new Window object, based on the . - A . + Sets or obtains the meaning of coordinates passed to . + A window gravity. - 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. + The default window gravity is which is typically "do what you mean". See and . - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + Gtk.WindowGroup + - Creates a new TopLevel Window object, with as the title. - A string. - - - 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. - - + Gets the Group the window is associated with. + a . + + - - + + + Property + + 2.12.0.0 + - Gtk.Widget + GLib.GType - - + - 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. - - + GType Property + a + Returns the native GObject type for . - + + Property + + 2.12.0.0 + System.Boolean @@ -801,1140 +1038,1374 @@ Console.WriteLine("Width: {0}, Height: {1}" , width , height); - - + + + Property + + 2.12.0.0 + + + + GLib.Property("has-toplevel-focus") + + - Gdk.Gravity + System.Boolean - - - Sets or obtains the meaning of coordinates passed to . - A window gravity. + Whether the input focus is within this . + + if the has the input focus. - - The default window gravity is which is typically "do what you mean". See and . - + + + + + Property + + 2.12.0.0 + - GLib.Property("gravity") + GLib.Property("icon") - - - - Property - Gdk.ModifierType + Gdk.Pixbuf - Sets or obtains the mnemonic modifier for this . - The modifier mask used to activate mnemonics on this . + Property used for setting the icon for a . + The default icon for . - - - Property + + + + Method + + 2.12.0.0 + - Gdk.WindowTypeHint + System.Void - - + - Sets or obtains the type hint for . - The type hint for . + Asks to iconify (i.e. minimize) the specified . - 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. + 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 . - - - GLib.Property("type-hint") - - - - + + + Property + + 2.12.0.0 + - Gtk.Window + Gdk.Pixbuf[] - - + - Sets or obtains the transient parent window. - + Sets or obtains the list of icons representing a . + An array of s. - 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 . + 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. - On Windows(tm), this function will and put the child on top of the parent, much as the would have done in X. + 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. - - - - - GLib.Property("transient-for") - - - - - - Property - - 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 . + Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them). - 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 . + 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 - - + - 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. - + To be added + a + To be added + + + + + + Property + + 2.12.0.0 + - GLib.Property("role") + GLib.Property("is-active") - - - - Property System.Boolean - - - Sets or obtains whether the has been set to have decorations. + Whether the toplevel is the current active . - if the has been set to have decorations. + if the is the toplevel. - - 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 . - - - - GLib.Property("decorated") - - - - + + + Property + + 2.12.0.0 + System.Boolean - - - Sets or obtains whether a will be resizable by the user or not. - - if the user can resize the . + Asks to keep window above, so that it stays on top. + a - - 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. - + 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. + + - - - GLib.Property("resizable") - - - - + + + Property + + 2.12.0.0 + - Gtk.WindowPosition + System.Boolean - - - Property used for setting/getting the position. - The position. See also . + Asks to keep window below, so that it stays in bottom. + a - - This property will alow you to define where a should be displayed on the screen. Position values are described in the definition. - + 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.Property("window-position") + GLib.Signal("keys_changed") - - - - Property - System.Int32 + System.EventHandler - - + - 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. - - + KeysChanged event. + This event is emited when the or mnemonic associated with the is changed. - - - GLib.Property("default-height") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + Gtk.Window[] - - + - Sets or obtains whether the transient parent of will also destroy itself - an object of type + Returns a list of all existing toplevel windows. + An array of toplevel widgets. - This is useful for dialogs that shouldn't persist beyond the livefime of the main they're associated with, for example. - + The widgets in the list are not individually referenced. + - - - GLib.Property("destroy-with-parent") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - + - Sets or obtains the modal status of . - - if the is set to be modal and establishes a grab when shown. + Asks to maximize , so that it becomes full-screen. - 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. + 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. - There are two status: modal () and non-modal (). + 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. - - - GLib.Property("modal") - - - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + + - Sets or obtains if the can be resized to a larger size by the user. - - if the can be resized. + The mnemonic. + The modifiers. + Activates the targets associated with the mnemonic. + + if the activation is done. - - - GLib.Property("allow-grow") - - - - + + + Property + + 2.12.0.0 + - System.String + Gdk.ModifierType - 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. - - + Sets or obtains the mnemonic modifier for this . + The modifier mask used to activate mnemonics on this . + + + + + + Property + + 2.12.0.0 + - GLib.Property("title") + GLib.Property("modal") - - - - Property - Gtk.WindowType + System.Boolean + + - The type of . - The type. + Sets or obtains the modal status of . + + if the is set to be modal and establishes a grab when shown. - See also . + 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 (). - - - GLib.Property("type") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + - Property used for setting or obtaining the default width of a . - The default width of the . + X coordinate to move to. + Y coordinate to move to. + Asks the window manager to move to the given position. - 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. + 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.Property("default-width") + GLib.Signal("move_focus") + + + System.Obsolete("Replaced by Keybinding signal on Gtk.Widget") - - - - Property - Gdk.Pixbuf + Gtk.MoveFocusHandler - - + - Property used for setting the icon for a . - The default icon for . - + MoveFocus event. + This event is emited when the focus is moved from one child to another. + + + + + Method + + 2.12.0.0 + - GLib.Property("icon") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDefaultActivated", Type=typeof(Gtk.Window)) - - - - Property - System.Boolean + System.Void - - + - 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. - - + 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.Property("allow-shrink") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusActivated", Type=typeof(Gtk.Window)) - - - - Event - System.EventHandler + System.Void - KeysChanged event. - This event is emited when the or mnemonic associated with the is changed. + 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.Signal("keys_changed") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideFrameEvent", Type=typeof(Gtk.Window)) - - - - Event - Gtk.MoveFocusHandler + System.Boolean - + + + - MoveFocus event. - This event is emited when the focus is moved from one child to another. + 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.Signal("move_focus") - - - System.Obsolete("Replaced by Keybinding signal on Gtk.Widget") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideKeysChanged", Type=typeof(Gtk.Window)) - - - - Event - Gtk.SetFocusHandler + System.Void - SetFocus event. - This event is emited when the focused widget is set. + 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.Signal("set_focus") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocus", Type=typeof(Gtk.Window)) + + + System.Obsolete("Replaced by Keybinding signal on Gtk.Widget") - - - - Event - System.EventHandler + System.Void - + + + - DefaultActivated event. - This event is emited when the keybinding for default widget activation is triggered. + 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.Signal("activate_default") + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSetFocus", Type=typeof(Gtk.Window)) - - - - Event - System.EventHandler + System.Void - + + + - FocusActivated event. - This event is emited when the keybinding for focused widget activation is triggered. + 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.Signal("activate_focus") + GLib.Property("opacity") - - - - Event - Gtk.FrameEventHandler + System.Double - - FrameEvent event. - This event is emited when has been set to true and an event occurs on the resulting frame. + Opacity property. + Range from 0.0 to 1.0. + Only valid when compositing is supported. + - - - GLib.Signal("frame_event") - - - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + - Property used for setting the automatic startup notification. - - if set to automatically do startup notification. + + + Parses a standard X Window System geometry string. + + if string was parsed successfully. - By default, after showing the first for each , GTK# calls . Use this property to disable the automatic startup notification. + does work on all GTK# ports including Win32 but is primarily intended for an X environment. - 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. + 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 . - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Screen + System.Void - - + - Sets or obtains the where the is displayed. - A . + Presents a to the user. - If the is already mapped, it will be unmapped, and then remapped on the new screen. + 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. - - - GLib.Property("screen") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + + + - Whether the toplevel is the current active . - - if the is the toplevel. - - + a timestamp from a user event. + Present with a user action timestamp. + If you need to Present a window without a timestamp, use . + - - - GLib.Property("is-active") - - - - - Property + + + + Method + + 2.12.0.0 + System.Boolean + + + - Whether the input focus is within this . - - if the has the input focus. - - + 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. + - - - GLib.Property("has-toplevel-focus") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - Whether the should not be in the pager. - - if the should not be in the pager. - - + A . + Reverses the effects of . + - - - GLib.Property("skip-pager-hint") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - Whether the should not be in the taskbar. - - if the should not be in the taskbar. - - + 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. - - - GLib.Property("skip-taskbar-hint") - - - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + - Sets an icon to be used as fallback for windows that haven't had called on them from a file on disk. - Location of icon file. - - if setting the icon succeded. + The mnemonic. + The that gets activated by the mnemonic. + Removes a mnemonic from this . - - + + + Method + + 2.12.0.0 + System.Void - Asks to place in the fullscreen state. + Hides , then reshows it, resetting the default size and position of the . - 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 . + Used by GUI builders only. - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("resizable") + + System.Boolean - - Sets the icon for . - Location of icon file. - - if setting the icon succeded. + Sets or obtains whether a will be resizable by the user or not. + + if the user can resize the . - This method is equivalent to calling with pixbuf created by loading the image from . + 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 - + + + + - Asks to toggle off the fullscreen state for . + 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. - 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. + 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. - You can track the fullscreen state via the event on . + 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") + + - GLib.GType + System.String - + + - GType Property - a - Returns the native GObject type for . + 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 - + - Default handler for the event. - a - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + + - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + 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. + + - - - Method + + + + Event + + 2.12.0.0 + + + + GLib.Signal("set_focus") + + - System.Void + Gtk.SetFocusHandler - Default handler for the event. - Override this method in a subclass to provide a default handler for the event. + SetFocus event. + This event is emited when the focused widget is set. - - + + + Method + + 2.12.0.0 + System.Void - + + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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 - + + + - Default handler for the event. - a - Override this method in a subclass to provide a default handler for the event. + 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.Void + System.Boolean - - - 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 GType for your subclass. + 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 - - - - Property - Gdk.Pixbuf[] + System.Void - + + + + + - 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. - - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Gdk.Pixbuf[] + System.Void - + + + - Sets or obtains the list of icons representing a . - An array of s. + A position constraint. + Sets the position constraint for a . - 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. + Is is used for placing the in some area, depending on the constraint. - - + + + Method + + 2.12.0.0 + - Gtk.Window[] + System.Void - + + + + - Returns a list of all existing toplevel windows. - An array of toplevel widgets. + Window name hint. + Window class hint. + It sets the X Window System "class" and "name" hints for a . (Don't use this method.) - The widgets in the list are not individually referenced. - + 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") + + - Gdk.Size + System.Boolean - + + - Sets or obtains the default size of . - a + Whether the should not be in the pager. + + if the should not be in the pager. - - 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("skip-taskbar-hint") + + - Gdk.Pixbuf + System.Boolean + + - Sets an icon to be used as fallback for windows that have not had called on them from a pixbuf. - a + Whether the should not be in the taskbar. + + if the should not be in the taskbar. - - - + + + Property - - 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 - - + + 2.12.0.0 + - GLib.Property("accept-focus") + GLib.Property("startup-id") - - - - Property - System.Boolean + System.String - 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. - - - + To be added. + To be added. + To be added. + - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void + - Asks to keep window above, so that it stays on top. - a + Asks to stick , which means that it will appear on all user desktops. - 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. - + + 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 . + - - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("title") + + - System.Boolean + System.String - - Activates mnemonics and accelerators for this window. - a - 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. - + 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. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("transient-for") + + - System.Void + Gtk.Window - - - - Changes how a toplevel window deals with its size request and user resize attempts. - a - a - a - 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. - + 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. + + - - - Method + + + + Property + + 2.12.0.0 + + + + GLib.Property("type") + + - System.Boolean + Gtk.WindowType - - - - Propagate a key press or release event to the focus widget and up the focus container chain until a widget handles . - a - 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. - + The type of . + The type. + + + See also . + + - - + + + Property + + 2.12.0.0 + + + + GLib.Property("type-hint") + + - System.String + Gdk.WindowTypeHint + + - To be added - a - To be added - + 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. + + - - - Property + + + + Method + + 2.12.0.0 + - System.String + System.Void - To be added - a - To be added - + 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 . + + - - - GLib.Property("icon-name") - - - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - To be added - a - To be added - + 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 + - - - GLib.Property("focus-on-map") - - - - + + + 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 . - + 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") @@ -1951,71 +2422,31 @@ Sometimes when you think you want to use allow_shrink, the real problem is that - - - Property - - - GLib.Property("deletable") - - - - System.Boolean - - - Indicates if the window has a close button. - if , a close button is displayed. - - - - - - - Property - - Gtk.WindowGroup - - - Gets the Group the window is associated with. - a . - - - - - - - Property - - - GLib.Property("opacity") - - - - System.Double - - - Opacity property. - Range from 0.0 to 1.0. - Only valid when compositing is supported. - - - - - + + + Property + + 2.12.0.0 + - GLib.Property("startup-id") + GLib.Property("window-position") - System.String + Gtk.WindowPosition + + - To be added. - To be added. - To be added. - + 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. + + diff --git a/doc/en/Gtk/WindowGroup.xml b/doc/en/Gtk/WindowGroup.xml index c6f50dc39..c41a1437c 100644 --- a/doc/en/Gtk/WindowGroup.xml +++ b/doc/en/Gtk/WindowGroup.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,76 +8,99 @@ 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 . - - GLib.Object - - - - - - Method - - System.Void - - - - + + + + Constructor + + 2.12.0.0 + + + - Adds a to the - an object of type - Adds a to the . + Creates an instance of . + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Removes a from the - an object of type - Removes a from the + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Constructor - - + + + + Method + + 2.12.0.0 + + + System.Void + + + + - Creates an instance of . - + an object of type + Adds a to the + Adds a to the . - + + Property + + 2.12.0.0 + GLib.GType @@ -87,23 +111,24 @@ Returns the native value for . - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + an object of type + Removes a from the + Removes a from the - - - System.Obsolete - - diff --git a/doc/en/Gtk/WindowKeysForeachFunc.xml b/doc/en/Gtk/WindowKeysForeachFunc.xml index f3414aed3..276d5f455 100644 --- a/doc/en/Gtk/WindowKeysForeachFunc.xml +++ b/doc/en/Gtk/WindowKeysForeachFunc.xml @@ -1,22 +1,14 @@ + gtk-sharp 2.12.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. - Delegate class. - TODO: There are no references to this class elsewhere in the doc; is it obsolete? - System.Delegate - @@ -26,4 +18,13 @@ 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? + + diff --git a/doc/en/Gtk/WindowPosition.xml b/doc/en/Gtk/WindowPosition.xml index e59285de9..51b5a6e75 100644 --- a/doc/en/Gtk/WindowPosition.xml +++ b/doc/en/Gtk/WindowPosition.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,11 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - - placement can be influenced using this enumeration. - - System.Enum @@ -20,64 +16,89 @@ GLib.GType(typeof(Gtk.WindowPositionGType)) + + + placement can be influenced using this enumeration. + + - - + + + Field + + 2.12.0.0 + Gtk.WindowPosition - No influence is made on placement. + Windows should be placed in the center of the screen. - - + + + Field + + 2.12.0.0 + Gtk.WindowPosition - Windows should be placed in the center of the screen. + Keep window centered as it changes size, etc. - - + + + Field + + 2.12.0.0 + Gtk.WindowPosition - Windows should be placed at the current mouse position. + Center the window on its transient parent (see ). - - + + + Field + + 2.12.0.0 + Gtk.WindowPosition - Keep window centered as it changes size, etc. + Windows should be placed at the current mouse position. - - + + + Field + + 2.12.0.0 + Gtk.WindowPosition - Center the window on its transient parent (see ). + No influence is made on placement. diff --git a/doc/en/Gtk/WindowStateEventArgs.xml b/doc/en/Gtk/WindowStateEventArgs.xml index 132392bbd..bdc2dfefe 100644 --- a/doc/en/Gtk/WindowStateEventArgs.xml +++ b/doc/en/Gtk/WindowStateEventArgs.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,20 +8,24 @@ 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. - - GLib.SignalArgs - - + Constructor + + 2.12.0.0 + @@ -29,8 +34,12 @@ - + + Property + + 2.12.0.0 + Gdk.EventWindowState diff --git a/doc/en/Gtk/WindowStateEventHandler.xml b/doc/en/Gtk/WindowStateEventHandler.xml index 3c3bf3c19..1ff00bdbb 100644 --- a/doc/en/Gtk/WindowStateEventHandler.xml +++ b/doc/en/Gtk/WindowStateEventHandler.xml @@ -1,10 +1,21 @@ + 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. @@ -15,15 +26,5 @@ 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. - - System.Delegate - - - - - - - System.Void - diff --git a/doc/en/Gtk/WindowType.xml b/doc/en/Gtk/WindowType.xml index 5ff61b7c1..d8b5c0179 100644 --- a/doc/en/Gtk/WindowType.xml +++ b/doc/en/Gtk/WindowType.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,6 +8,14 @@ 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 @@ -20,36 +29,36 @@ 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. - - System.Enum - - - - GLib.GType(typeof(Gtk.WindowTypeGType)) - - - - + + + Field + + 2.12.0.0 + Gtk.WindowType - A regular window, such as a dialog. + A special window such as a tooltip. - - + + + Field + + 2.12.0.0 + Gtk.WindowType - A special window such as a tooltip. + A regular window, such as a dialog. diff --git a/doc/en/Gtk/WrapMode.xml b/doc/en/Gtk/WrapMode.xml index f66926655..a1d3a2851 100644 --- a/doc/en/Gtk/WrapMode.xml +++ b/doc/en/Gtk/WrapMode.xml @@ -1,5 +1,6 @@ + gtk-sharp @@ -7,14 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration used by TextTag. - - - This enumeration is used by to describe the type of line wrapping. - - - System.Enum @@ -23,42 +16,62 @@ 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 - Do not wrap lines, just make the text area wider. + Wrap text, breaking lines anywhere the cursor can appear. - Do not wrap lines, just make the text area wider. + Note this is between characters, usually, if you want to be technical, between graphemes, see . - - + + + Field + + 2.12.0.0 + Gtk.WrapMode - Wrap text, breaking lines anywhere the cursor can appear. + Do not wrap lines, just make the text area wider. - Note this is between characters, usually, if you want to be technical, between graphemes, see . + Do not wrap lines, just make the text area wider. + Field + + 2.12.0.0 + Gtk.WrapMode @@ -74,7 +87,11 @@ + Field + + 2.12.0.0 + Gtk.WrapMode diff --git a/doc/en/Pango/Alignment.xml b/doc/en/Pango/Alignment.xml index f819c06d7..d44993a0e 100644 --- a/doc/en/Pango/Alignment.xml +++ b/doc/en/Pango/Alignment.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,6 +8,14 @@ 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 @@ -19,42 +28,46 @@ - - System.Enum - - - - GLib.GType(typeof(Pango.AlignmentGType)) - - - - + + + Field + + 2.12.0.0 + Pango.Alignment - Put all available space on the left + Center the line within the available space - - + + + Field + + 2.12.0.0 + Pango.Alignment - Center the line within the available space + Put all available space on the left + Field + + 2.12.0.0 + Pango.Alignment diff --git a/doc/en/Pango/Analysis.xml b/doc/en/Pango/Analysis.xml index 4e962adcb..2ce07c1d3 100644 --- a/doc/en/Pango/Analysis.xml +++ b/doc/en/Pango/Analysis.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,65 +8,60 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This structure stores information about the properties of a segment of text. - - System.ValueType + + This structure stores information about the properties of a segment of text. + + - - - Field + + + + Property + + 2.12.0.0 + - Pango.Analysis + Pango.Attribute[] - - returns a new + Extra attributes related to the segment. + An array of values. + - - - Method + + + + Field + + 2.12.0.0 + - Pango.Analysis + System.Byte - - - - Internal method - an object of type - an object of type - This is an internal method, and should not be used by user code. + To be added. + To be added. + - - + + + Property - - Pango.Language - - - - - The - an object of type - Replaced by . - + + 2.12.0.0 + - System.Obsolete("Replaced by Language property") + System.Obsolete("Replaced by Font property") - - - - Property Pango.Font @@ -76,47 +72,51 @@ an object of type Replaced by . - - - System.Obsolete("Replaced by Font property") - - - - - Field + + + + Property + + 2.12.0.0 + - System.Byte + Pango.Font - - - The bi-directional level for this segment. + the + an object of type - - - Property + + + + Field + + 2.12.0.0 + - Pango.EngineShape + System.Byte - - The engine for doing rendering-system-dependent processing. - a - - Replaced by . + To be added. + To be added. + + + + + + Property + + 2.12.0.0 + - System.Obsolete("Replaced by ShapeEngine property") + System.Obsolete("Replaced by LangEngine property") - - - - Property Pango.EngineLang @@ -126,40 +126,14 @@ a Replaced by . - - - System.Obsolete("Replaced by LangEngine property") - - - - - - Property - - Pango.Attribute[] - - - Extra attributes related to the segment. - An array of values. - - - - - - - Property - - Pango.EngineShape - - - The engine for doing rendering-system-dependent processing. - a - - - + + Property + + 2.12.0.0 + Pango.EngineLang @@ -169,21 +143,36 @@ - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Language property") + + - Pango.Font + Pango.Language + + - the - an object of type - + The + an object of type + Replaced by . - + + Property + + 2.12.0.0 + Pango.Language @@ -193,33 +182,50 @@ - - + + + Field + + 2.12.0.0 + System.Byte + + - To be added. - To be added. - + The bi-directional level for this segment. + - - - Field + + + + Method + + 2.12.0.0 + - System.Byte + Pango.Analysis + + + - To be added. - To be added. - + 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 @@ -229,5 +235,60 @@ + + + + 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 + + + diff --git a/doc/en/Pango/AttrBackground.xml b/doc/en/Pango/AttrBackground.xml index 1f3bb63fb..a0fd5abd6 100644 --- a/doc/en/Pango/AttrBackground.xml +++ b/doc/en/Pango/AttrBackground.xml @@ -1,55 +1,68 @@ + 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. - - An attribute representing a background color - - - Pango.Attribute + + An attribute representing a background color + + + - + + Constructor + + 2.12.0.0 + - - - + + a Creates a new background color attribute. - the red value - the green value - the blue value - + + Constructor + + 2.12.0.0 + - + + + + the red value + the green value + the blue value Creates a new background color attribute. - a - + + Property + + 2.12.0.0 + Pango.Color diff --git a/doc/en/Pango/AttrDataCopyFunc.xml b/doc/en/Pango/AttrDataCopyFunc.xml index 2bb67106d..142824fdc 100644 --- a/doc/en/Pango/AttrDataCopyFunc.xml +++ b/doc/en/Pango/AttrDataCopyFunc.xml @@ -1,23 +1,24 @@ + 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. - - To be added - - To be added. - - System.Delegate - + System.IntPtr - + + To be added + To be added. + + + + diff --git a/doc/en/Pango/AttrFallback.xml b/doc/en/Pango/AttrFallback.xml index c4e36f051..0ef2a4cc9 100644 --- a/doc/en/Pango/AttrFallback.xml +++ b/doc/en/Pango/AttrFallback.xml @@ -1,32 +1,37 @@ + 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. - - An attribute representing the font fallback state - - - Pango.Attribute + + An attribute representing the font fallback state + + + + Constructor + + 2.12.0.0 + - Creates a new font fallback attribute 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 @@ -36,8 +41,12 @@ - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Pango/AttrFamily.xml b/doc/en/Pango/AttrFamily.xml index fcb7858ac..808416375 100644 --- a/doc/en/Pango/AttrFamily.xml +++ b/doc/en/Pango/AttrFamily.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing a font family - - - Pango.Attribute + + An attribute representing a font family + + + + Constructor + + 2.12.0.0 + - Creates a new font family attribute the family or comman-separated list of families + Creates a new font family attribute - + + Property + + 2.12.0.0 + System.String diff --git a/doc/en/Pango/AttrFilterFunc.xml b/doc/en/Pango/AttrFilterFunc.xml index 6344f5d80..3c275e990 100644 --- a/doc/en/Pango/AttrFilterFunc.xml +++ b/doc/en/Pango/AttrFilterFunc.xml @@ -1,25 +1,26 @@ + pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - To be added. - used by to filter out a subset of attributes for a list. - Returns if the attribute should be filtered out - To be added. - 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 + + diff --git a/doc/en/Pango/AttrFontDesc.xml b/doc/en/Pango/AttrFontDesc.xml index b4f2cc27a..e2fdcd5ec 100644 --- a/doc/en/Pango/AttrFontDesc.xml +++ b/doc/en/Pango/AttrFontDesc.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,32 +8,40 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An attribute that represents a - - Pango.Attribute + + An attribute that represents a + + + Constructor + + 2.12.0.0 + - Creates a new font description attribute a + Creates a new font description attribute - + + Property + + 2.12.0.0 + Pango.FontDescription diff --git a/doc/en/Pango/AttrForeground.xml b/doc/en/Pango/AttrForeground.xml index a073e09fe..683652dc3 100644 --- a/doc/en/Pango/AttrForeground.xml +++ b/doc/en/Pango/AttrForeground.xml @@ -1,55 +1,68 @@ + 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. - - An attribute representing a foreground color - - - Pango.Attribute + + An attribute representing a foreground color + + + - + + Constructor + + 2.12.0.0 + - - - + + a Creates a new foreground color attribute. - the red value - the green value - the blue value - + + Constructor + + 2.12.0.0 + - + + + + the red value + the green value + the blue value Creates a new foreground color attribute. - a - + + Property + + 2.12.0.0 + Pango.Color diff --git a/doc/en/Pango/AttrGravity.xml b/doc/en/Pango/AttrGravity.xml index 9ea4656a9..63cf32f52 100644 --- a/doc/en/Pango/AttrGravity.xml +++ b/doc/en/Pango/AttrGravity.xml @@ -1,5 +1,6 @@ + pango-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Pango.Attribute + + Gravity attribute. + To be added. + + + Constructor + + 2.12.0.0 + @@ -22,8 +32,12 @@ - + + Property + + 2.12.0.0 + Pango.Gravity @@ -34,9 +48,4 @@ - - Gravity attribute. - To be added. - - diff --git a/doc/en/Pango/AttrGravityHint.xml b/doc/en/Pango/AttrGravityHint.xml index ae47b7b72..194f9fea7 100644 --- a/doc/en/Pango/AttrGravityHint.xml +++ b/doc/en/Pango/AttrGravityHint.xml @@ -1,5 +1,6 @@ + pango-sharp 2.12.0.0 @@ -8,10 +9,19 @@ Pango.Attribute + + Gravity Hint attribute. + To be added. + + + Constructor + + 2.12.0.0 + @@ -22,8 +32,12 @@ - + + Property + + 2.12.0.0 + Pango.GravityHint @@ -34,9 +48,4 @@ - - Gravity Hint attribute. - To be added. - - diff --git a/doc/en/Pango/AttrIterator.xml b/doc/en/Pango/AttrIterator.xml index ae2099805..8882c8df2 100644 --- a/doc/en/Pango/AttrIterator.xml +++ b/doc/en/Pango/AttrIterator.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,19 +8,81 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 @@ -29,36 +92,48 @@ - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - Advance the iterator until the next change of style. - - if the iterator is at the end of the list, otherwise - + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - Pango.AttrIterator + System.Void - + + + - Make a copy of the iterator. - a - + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + Pango.Attribute @@ -66,73 +141,71 @@ - Find the current attribute of a particular type at the iterator location. 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. - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - + + + Method + + 2.12.0.0 + System.Void - - + + + - Get the range of the current segment. - location to store the start of the range - location to store the end of the range + 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. - - - Property + + + + Method + + 2.12.0.0 + - Pango.Attribute[] + System.Boolean - Gets a list all attributes a the current position of the iterator. - a - a list of all attributes for the current range. + 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 - - - + + - Get the font and other attributes at the current iterator position. - 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. + location to store the start of the range + location to store the end of the range + Get the range of the current segment. diff --git a/doc/en/Pango/AttrLanguage.xml b/doc/en/Pango/AttrLanguage.xml index 342b1c2df..95f224a5a 100644 --- a/doc/en/Pango/AttrLanguage.xml +++ b/doc/en/Pango/AttrLanguage.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,32 +8,40 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An attribute that represents a language - - Pango.Attribute + + An attribute that represents a language + + + Constructor + + 2.12.0.0 + - Creates a new language tag attribute a + Creates a new language tag attribute - + + Property + + 2.12.0.0 + Pango.Language diff --git a/doc/en/Pango/AttrLetterSpacing.xml b/doc/en/Pango/AttrLetterSpacing.xml index 57aab670d..0e4e281dd 100644 --- a/doc/en/Pango/AttrLetterSpacing.xml +++ b/doc/en/Pango/AttrLetterSpacing.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing letter spacing - - - Pango.Attribute + + An attribute representing letter spacing + + + + Constructor + + 2.12.0.0 + - Creates a new letter-spacing attribute 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 diff --git a/doc/en/Pango/AttrList.xml b/doc/en/Pango/AttrList.xml index 4f74356e9..a013a08d1 100644 --- a/doc/en/Pango/AttrList.xml +++ b/doc/en/Pango/AttrList.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,34 +8,58 @@ 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. - - GLib.Opaque - - - - - - Method - - Pango.AttrList - + + + + Constructor + + 2.12.0.0 + + - Copy list and return an identical, new list. - a new + 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 @@ -42,63 +67,90 @@ - Insert the given attribute into the list. 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 + - System.Void + Pango.AttrList + + + + Copy list and return an identical, new list. + a new + + + + + + + Method + + 2.12.0.0 + + + Pango.AttrList - + - Insert the given attribute into the list. - the attribute to insert. - It will be inserted before all other attributes with a matching start_index. + 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 - 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. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + GLib.GType - - - - - + - This function splices attribute list into list. - another - the position at which to insert - the length of the spliced segment. - 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. + GType Property. + a + Returns the native value for . + Method + + 2.12.0.0 + System.Void @@ -106,39 +158,37 @@ This operation proves useful for, for instance, inserting a pre-edit string in t - Insert the given attribute to the list the attribute to insert. + Insert the given attribute to the list It will be inserted after all other attributes with a matching start_index. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Default constructor - + 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 @@ -148,46 +198,109 @@ This operation proves useful for, for instance, inserting a pre-edit string in t - - + + + 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 + - + - Given a callback function, removes any elements of list for which returns and inserts them into a new list. - a - a - + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + + - GType Property. - a - Returns the native value for . + 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") + + - Pango.AttrList + System.Void - Increases the reference count of the list. - The list. - + 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. diff --git a/doc/en/Pango/AttrRise.xml b/doc/en/Pango/AttrRise.xml index df5aa0b15..0eb6fec43 100644 --- a/doc/en/Pango/AttrRise.xml +++ b/doc/en/Pango/AttrRise.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing baseline displacement - - - Pango.Attribute + + An attribute representing baseline displacement + + + + Constructor + + 2.12.0.0 + - Creates a new baseline displacement attribute 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 diff --git a/doc/en/Pango/AttrScale.xml b/doc/en/Pango/AttrScale.xml index fc0688d7d..eb1278df6 100644 --- a/doc/en/Pango/AttrScale.xml +++ b/doc/en/Pango/AttrScale.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing a font size scaling factor - - - Pango.Attribute + + An attribute representing a font size scaling factor + + + + Constructor + + 2.12.0.0 + - Creates a new font size scale attribute the factor to scale the font by + Creates a new font size scale attribute - + + Property + + 2.12.0.0 + System.Double diff --git a/doc/en/Pango/AttrShape.xml b/doc/en/Pango/AttrShape.xml index 4c1e52f81..dd45f15b8 100644 --- a/doc/en/Pango/AttrShape.xml +++ b/doc/en/Pango/AttrShape.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,27 +8,31 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An attribute that imposes a shape restriction. - - Pango.Attribute + + An attribute that imposes a shape restriction. + + + Constructor + + 2.12.0.0 + - Creates a new shape attribute 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 @@ -38,8 +43,12 @@ - + + Property + + 2.12.0.0 + Pango.Rectangle @@ -52,8 +61,12 @@ - + + Property + + 2.12.0.0 + Pango.Rectangle diff --git a/doc/en/Pango/AttrSize.xml b/doc/en/Pango/AttrSize.xml index e81e04887..d227e31c8 100644 --- a/doc/en/Pango/AttrSize.xml +++ b/doc/en/Pango/AttrSize.xml @@ -1,52 +1,82 @@ + 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. - - Pango.Attribute - - + Constructor + + 2.12.0.0 + - Creates a new font-size attribute in fractional points the font size, in units of + Creates a new font-size attribute in fractional points + Constructor + + 2.12.0.0 + - Creates a new font-size attribute in Pango or device units 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 @@ -62,18 +92,5 @@ - - - Property - - System.Boolean - - - - Whether or not is in device units - a - - - diff --git a/doc/en/Pango/AttrStretch.xml b/doc/en/Pango/AttrStretch.xml index 7136a8e49..dad9ea47f 100644 --- a/doc/en/Pango/AttrStretch.xml +++ b/doc/en/Pango/AttrStretch.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing font stretch - - - Pango.Attribute + + An attribute representing font stretch + + + + Constructor + + 2.12.0.0 + - Creates a new font stretch attribute the stretch + Creates a new font stretch attribute - + + Property + + 2.12.0.0 + Pango.Stretch diff --git a/doc/en/Pango/AttrStrikethrough.xml b/doc/en/Pango/AttrStrikethrough.xml index 3c7512b28..855b6ad1e 100644 --- a/doc/en/Pango/AttrStrikethrough.xml +++ b/doc/en/Pango/AttrStrikethrough.xml @@ -1,39 +1,48 @@ + 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. - - An attribute indicating whether or not text is struck-through - - - Pango.Attribute + + An attribute indicating whether or not text is struck-through + + + + Constructor + + 2.12.0.0 + - Creates a new font strike-through attribute if the text should be struck-through + Creates a new font strike-through attribute - + + Property + + 2.12.0.0 + System.Boolean diff --git a/doc/en/Pango/AttrStrikethroughColor.xml b/doc/en/Pango/AttrStrikethroughColor.xml index db6c9a8c1..32cf04388 100644 --- a/doc/en/Pango/AttrStrikethroughColor.xml +++ b/doc/en/Pango/AttrStrikethroughColor.xml @@ -1,55 +1,68 @@ + 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. - - An attribute representing the color of a strikethrough line - - - Pango.Attribute + + An attribute representing the color of a strikethrough line + + + - + + Constructor + + 2.12.0.0 + - - - + + a Creates a new strikethrough color attribute. - the red value - the green value - the blue value - + + Constructor + + 2.12.0.0 + - + + + + the red value + the green value + the blue value Creates a new strikethrough color attribute. - a - + + Property + + 2.12.0.0 + Pango.Color diff --git a/doc/en/Pango/AttrStyle.xml b/doc/en/Pango/AttrStyle.xml index 941085b7a..3da6cb486 100644 --- a/doc/en/Pango/AttrStyle.xml +++ b/doc/en/Pango/AttrStyle.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing a - - - Pango.Attribute + + An attribute representing a + + + + Constructor + + 2.12.0.0 + - Creates a new font slant syle attribute the slant style + Creates a new font slant syle attribute - + + Property + + 2.12.0.0 + Pango.Style diff --git a/doc/en/Pango/AttrType.xml b/doc/en/Pango/AttrType.xml index 3d39a3291..245f50b10 100644 --- a/doc/en/Pango/AttrType.xml +++ b/doc/en/Pango/AttrType.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,6 +8,14 @@ 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. @@ -20,44 +29,62 @@ - - System.Enum - - - - GLib.GType(typeof(Pango.AttrTypeGType)) - - - - + + + Field + + 2.12.0.0 + Pango.AttrType - - Invalid - - This marks it as an invalid attribute - + Absolute font size. + - - + + + Field + + 2.12.0.0 + Pango.AttrType - Language () + Background color () + + + + Field + + 2.12.0.0 + + + Pango.AttrType + + + + + Whether fallback is enabled. + + + + Field + + 2.12.0.0 + Pango.AttrType @@ -67,257 +94,323 @@ - - + + + Field + + 2.12.0.0 + Pango.AttrType - Font slant style () + Font description () - - + + + Field + + 2.12.0.0 + Pango.AttrType - Font weight () + Foreground color () - - + + + Field + + 2.12.0.0 + Pango.AttrType - - - Font variant (normal or small caps) () - - + Gravity. + - - + + + Field + + 2.12.0.0 + Pango.AttrType - - Font stretch () - - + Gravity Hint. + - - + + + Field + + 2.12.0.0 + Pango.AttrType - - Font size in points divided by - () - + Invalid + This marks it as an invalid attribute - - + + + Field + + 2.12.0.0 + Pango.AttrType - Font description () + Language () - - + + + Field + + 2.12.0.0 + Pango.AttrType - + + - Foreground color () - + Spacing between characters. + - - + + + Field + + 2.12.0.0 + Pango.AttrType - Background color () + Baseline displacement () - - + + + Field + + 2.12.0.0 + Pango.AttrType - Whether the text has an underline () + + Font size scale factor () + - - + + + Field + + 2.12.0.0 + Pango.AttrType - Whether the text has an struck-through () - - + Shape () + - - + + + Field + + 2.12.0.0 + Pango.AttrType - Baseline displacement () - + + Font size in points divided by + () + + + - - + + + Field + + 2.12.0.0 + Pango.AttrType - Shape () - + Font stretch () + + - - + + + Field + + 2.12.0.0 + Pango.AttrType - - Font size scale factor () - + Whether the text has an struck-through () - - + + + Field + + 2.12.0.0 + Pango.AttrType - Whether fallback is enabled. - + Color of the strikethrough line. + - - + + + Field + + 2.12.0.0 + Pango.AttrType - - + - Spacing between characters. - + Font slant style () + - - + + + Field + + 2.12.0.0 + Pango.AttrType - - + - Color of the underline. - + Whether the text has an underline () + + - - + + + Field + + 2.12.0.0 + Pango.AttrType - Color of the strikethrough line. + Color of the underline. - - - Field - - Pango.AttrType - - - Absolute font size. - - - - - + + + Field + + 2.12.0.0 + Pango.AttrType + - Gravity. - + + Font variant (normal or small caps) () + + - - + + + Field + + 2.12.0.0 + Pango.AttrType + - Gravity Hint. - + Font weight () + diff --git a/doc/en/Pango/AttrUnderline.xml b/doc/en/Pango/AttrUnderline.xml index 4632f5430..ae8ac37c2 100644 --- a/doc/en/Pango/AttrUnderline.xml +++ b/doc/en/Pango/AttrUnderline.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing underlining - - - Pango.Attribute + + An attribute representing underlining + + + + Constructor + + 2.12.0.0 + - Creates a new underline-style object the underline style + Creates a new underline-style object - + + Property + + 2.12.0.0 + Pango.Underline diff --git a/doc/en/Pango/AttrUnderlineColor.xml b/doc/en/Pango/AttrUnderlineColor.xml index 5463b0beb..91358bd70 100644 --- a/doc/en/Pango/AttrUnderlineColor.xml +++ b/doc/en/Pango/AttrUnderlineColor.xml @@ -1,55 +1,68 @@ + 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. - - An attribute representing the color of an underline - - - Pango.Attribute + + An attribute representing the color of an underline + + + - + + Constructor + + 2.12.0.0 + - - - + + a Creates a new underline color attribute. - the red value - the green value - the blue value - + + Constructor + + 2.12.0.0 + - + + + + the red value + the green value + the blue value Creates a new underline color attribute. - a - + + Property + + 2.12.0.0 + Pango.Color diff --git a/doc/en/Pango/AttrVariant.xml b/doc/en/Pango/AttrVariant.xml index 6aa7e08c5..b5e731c50 100644 --- a/doc/en/Pango/AttrVariant.xml +++ b/doc/en/Pango/AttrVariant.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing - - - Pango.Attribute + + An attribute representing + + + + Constructor + + 2.12.0.0 + - Creates a new font variant attribute the variant + Creates a new font variant attribute - + + Property + + 2.12.0.0 + Pango.Variant diff --git a/doc/en/Pango/AttrWeight.xml b/doc/en/Pango/AttrWeight.xml index 21476747b..0cd17661f 100644 --- a/doc/en/Pango/AttrWeight.xml +++ b/doc/en/Pango/AttrWeight.xml @@ -1,38 +1,47 @@ + 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. - - An attribute representing - - - Pango.Attribute + + An attribute representing + + + + Constructor + + 2.12.0.0 + - Creates a new font weight attribute the weight + Creates a new font weight attribute - + + Property + + 2.12.0.0 + Pango.Weight diff --git a/doc/en/Pango/Attribute.xml b/doc/en/Pango/Attribute.xml index 6a5c0be10..3929bf7f2 100644 --- a/doc/en/Pango/Attribute.xml +++ b/doc/en/Pango/Attribute.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This is the base class for all Pango text attributes - - System.Object @@ -22,10 +19,70 @@ 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 @@ -33,29 +90,57 @@ - Compare two attributes for equality. 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 + - Pango.Attribute + System.Void - Make a copy of an attribute. - a new + 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 @@ -68,8 +153,12 @@ - + + Property + + 2.12.0.0 + System.IntPtr @@ -81,23 +170,13 @@ - - - Property - - Pango.AttrType - - - - The attribute type - a - - - - - + + Property + + 2.12.0.0 + System.UInt32 @@ -109,46 +188,20 @@ - - + + + 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 - - Pango.Attribute - - - - - - Gets an Attribute or Attribute subclass for a native PangoAttribute pointer - a - a - - - - - - - Method - - System.Void + Pango.AttrType - Dispose method + The attribute type + a diff --git a/doc/en/Pango/CairoHelper.xml b/doc/en/Pango/CairoHelper.xml index 37486c8f9..26d5af3a5 100644 --- a/doc/en/Pango/CairoHelper.xml +++ b/doc/en/Pango/CairoHelper.xml @@ -1,5 +1,6 @@ + pango-sharp 2.12.0.0 @@ -8,103 +9,166 @@ 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.Void + System.Double - - + - 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. + 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 + - System.Void + Pango.CairoShapeRendererFunc - - + + - 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. + 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 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. + 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. - a Pango context. - Updates a Pango context to match the transformation and target surface of a cairo context. + Creates a pango layout for a cairo context. + a pango layout. - - + + + Method + + 2.12.0.0 + - System.Double + System.Void - + + + + + - a Pango context. - Gets the resolution for a context. - the dots per inch, or a negative value if none has been set. - + 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 @@ -121,78 +185,106 @@ The origin of the glyph string is the current point of the context. - - + + + Method + + 2.12.0.0 + System.Void - - + + - a pango context. - dots per inch. - Sets the resolution for a context. - + 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 + - Pango.Layout + System.Void + - a cairo context. - Creates a pango layout for a cairo context. - a pango layout. - + 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 - - + + + + - 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. + 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 pango layout. - Updates the internal context of a pango layout to the transformation and target surface of 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 @@ -201,101 +293,74 @@ - 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 - - Pango.CairoShapeRendererFunc - - - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - + 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 - - + + - To be added. - To be added. - To be added. - To be added. - + 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 - - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + 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 - - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + a cairo context. + a pango layout. + Updates the internal context of a pango layout to the transformation and target surface of a cairo context. + - - Cairo-related method provider. - - - diff --git a/doc/en/Pango/CairoShapeRendererFunc.xml b/doc/en/Pango/CairoShapeRendererFunc.xml index cd02df156..ac94294b8 100644 --- a/doc/en/Pango/CairoShapeRendererFunc.xml +++ b/doc/en/Pango/CairoShapeRendererFunc.xml @@ -1,5 +1,6 @@ + pango-sharp 2.12.0.0 diff --git a/doc/en/Pango/Color.xml b/doc/en/Pango/Color.xml index c23d1e1ec..18343d327 100644 --- a/doc/en/Pango/Color.xml +++ b/doc/en/Pango/Color.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,63 +8,44 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - This structure is used to represent a color in an uncalibrated RGB colorspace. - - System.ValueType + + This structure is used to represent a color in an uncalibrated RGB colorspace. + + - - + + + Field + + 2.12.0.0 + - Pango.Color - - - - Returns an empty object. - To be added. - - - - - Method - - Pango.Color - - - - - - Internal method - an object of type - an object of type - This is an internal method, and should not be used by user code. - - - - - Method - - System.Boolean + System.UInt16 - - Fill in the fields of a color from a string specification. - a string specifying the new color - - 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') + 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 @@ -74,9 +56,30 @@ + + + + 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 @@ -87,48 +90,53 @@ Returns the native value for . - - - Field - - System.UInt16 - - - - - The red component of the color. - This is a value between 0 and 65535, with 65535 indicating full intensity. - - - - - Field + + + + Method + + 2.12.0.0 + - System.UInt16 + Pango.Color + - The green component of the color. - This is a value between 0 and 65535, with 65535 indicating full intensity. + an object of type + Internal method + an object of type + This is an internal method, and should not be used by user code. - - - Field + + + + Method + + 2.12.0.0 + - System.UInt16 + Pango.Color + - The blue component of the color. - This is a value between 0 and 65535, with 65535 indicating full intensity. + To be added. + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + GLib.Value @@ -142,21 +150,76 @@ To be added. - - + + + Method + + 2.12.0.0 + - Pango.Color + System.Boolean - + - To be added. + 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. + + diff --git a/doc/en/Pango/Context.xml b/doc/en/Pango/Context.xml index 4749f00ad..f555f7418 100644 --- a/doc/en/Pango/Context.xml +++ b/doc/en/Pango/Context.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,89 +8,131 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Stores global information used to control the itemization process. - - GLib.Object + + Stores global information used to control the itemization process. + + - - - Method - - Pango.Font - - - - - - Loads the font in one of the fontmaps in the context that is the closest match for . - an object of type describing the font to load - the font loaded, or if no font matched. - - - - - - Method - - Pango.FontMetrics - - - - - + + + + Constructor + + 2.12.0.0 + + + - Get overall metric information for a font particular font description. - 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. - 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. - + Internal constructor + This is an internal constructor, and should not be used by user code. - - - Method - - Pango.Fontset - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - + - Load a set of fonts in the context that can be used to render a font matching . - an object of type describing the fonts to load - an object of type the fonts will be used for - the fontset, or if no font matched. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor 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 @@ -101,37 +144,90 @@ - - + + + Property + + 2.12.0.0 + - Pango.Language + Pango.FontMap + + + + To be added + a + To be added + + + + + + + Method + + 2.12.0.0 + + + Pango.FontMetrics + + - The global language tag for the context. - the global language tag. - + 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.Direction + Pango.Gravity - - - 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. + 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 @@ -142,27 +238,36 @@ Returns the native value for . - - - Constructor - + + + + Property + + 2.12.0.0 + + + Pango.Language + - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + The global language tag for the context. + the global language tag. + + + + + + Method + + 2.12.0.0 + System.Obsolete - - - - Method System.Int32 @@ -170,53 +275,61 @@ - List all families for a context. a + List all families for a context. the number of families - - - Constructor - - - - Internal constructor - This is an internal constructor, and should not be used by user code. - - - - - Property + + + + Method + + 2.12.0.0 + - Pango.FontFamily[] + Pango.Font - + + + - Returns an array of Font Families. - a - - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.FontMap + Pango.Fontset - + + + + - To be added - a - To be added - + 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 @@ -228,44 +341,5 @@ - - - Property - - Pango.Gravity - - - To be added. - To be added. - To be added. - - - - - - Property - - Pango.Gravity - - - To be added. - To be added. - To be added. - - - - - - Property - - Pango.GravityHint - - - To be added. - To be added. - To be added. - - - diff --git a/doc/en/Pango/Coverage.xml b/doc/en/Pango/Coverage.xml index 496585948..55ec5d5cd 100644 --- a/doc/en/Pango/Coverage.xml +++ b/doc/en/Pango/Coverage.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,19 +8,56 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents a map from ISO-10646 character point to . - - 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 @@ -30,21 +68,71 @@ - - + + + Method + + 2.12.0.0 + System.Void - Decrease the reference count on the by one. - If the result is zero, free the coverage and all associated memory. + 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 @@ -52,14 +140,23 @@ - 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 . 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 @@ -70,34 +167,32 @@ - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - - - - - - Constructor - - - - Default constructor - + To be added. + To be added. + To be added. + Method + + 2.12.0.0 + System.Void @@ -106,60 +201,70 @@ - Modify a particular index the index to modify the new level for + Modify a particular index - - + + + Method + + 2.12.0.0 + - Pango.CoverageLevel + System.Void - + - Determine whether a particular index is covered. - the index to check - a - + a + Convert a structure into a flat binary format. + + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Pango.Coverage is now refcounted automatically") + + - Pango.Coverage + System.Void - - - - + - Convert data generated from back to a - a - a - a or if the data was invalid - + 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 - + - Convert a structure into a flat binary format. - a - - + To be added. + To be added. + To be added. diff --git a/doc/en/Pango/CoverageLevel.xml b/doc/en/Pango/CoverageLevel.xml index 30f065465..bae183e84 100644 --- a/doc/en/Pango/CoverageLevel.xml +++ b/doc/en/Pango/CoverageLevel.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to indicate how well a font can represent a particular ISO 10646 character point for a particular scrpt - - System.Enum @@ -19,22 +16,54 @@ 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 not representable with the font + + 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 @@ -55,31 +84,19 @@ - - - Field - - 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. + The character is not representable with the font diff --git a/doc/en/Pango/Direction.xml b/doc/en/Pango/Direction.xml index 1c2cfe83c..a4bf0b1d3 100644 --- a/doc/en/Pango/Direction.xml +++ b/doc/en/Pango/Direction.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents the direction of writing for text - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Pango.DirectionGType)) + + Represents the direction of writing for text + + + Field + + 2.12.0.0 + Pango.Direction @@ -32,9 +37,31 @@ + + + + Field + + 2.12.0.0 + + + Pango.Direction + + + + + To be added + To be added + + + + Field + + 2.12.0.0 + Pango.Direction @@ -46,7 +73,11 @@ + Field + + 2.12.0.0 + Pango.Direction @@ -61,7 +92,11 @@ + Field + + 2.12.0.0 + Pango.Direction @@ -76,7 +111,11 @@ + Field + + 2.12.0.0 + Pango.Direction @@ -90,21 +129,11 @@ + Field - - Pango.Direction - - - - - To be added - To be added - - - - - - Field + + 2.12.0.0 + Pango.Direction diff --git a/doc/en/Pango/EllipsizeMode.xml b/doc/en/Pango/EllipsizeMode.xml index 5bf37e546..128f1bea8 100644 --- a/doc/en/Pango/EllipsizeMode.xml +++ b/doc/en/Pango/EllipsizeMode.xml @@ -1,16 +1,12 @@ + 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. - - 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. - - System.Enum @@ -19,56 +15,77 @@ 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 - No ellipsization + Omit characters at the end of the text To be added - - + + + Field + + 2.12.0.0 + Pango.EllipsizeMode - Omit characters at the start of the text + Omit characters in the middle of the text To be added - - + + + Field + + 2.12.0.0 + Pango.EllipsizeMode - Omit characters in the middle of the text + No ellipsization To be added - - + + + Field + + 2.12.0.0 + Pango.EllipsizeMode - Omit characters at the end of the text + Omit characters at the start of the text To be added diff --git a/doc/en/Pango/EngineLang.xml b/doc/en/Pango/EngineLang.xml index 89d25f890..c25c0102c 100644 --- a/doc/en/Pango/EngineLang.xml +++ b/doc/en/Pango/EngineLang.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,25 +8,29 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 + - Internal constructor a + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Pango/EngineShape.xml b/doc/en/Pango/EngineShape.xml index e4a1fb21a..bb5da55aa 100644 --- a/doc/en/Pango/EngineShape.xml +++ b/doc/en/Pango/EngineShape.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,25 +8,29 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 + - Internal constructor a + Internal constructor This is an internal constructor, and should not be used by user code. diff --git a/doc/en/Pango/Font.xml b/doc/en/Pango/Font.xml index 56e3d1296..6c01b0d03 100644 --- a/doc/en/Pango/Font.xml +++ b/doc/en/Pango/Font.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,51 +8,113 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to represent a font in a rendering-system-independent matter. - - GLib.Object + + Used to represent a font in a rendering-system-independent matter. + + - - - Method - - Pango.FontMetrics - + + + + Constructor + + 2.12.0.0 + + + + + Protected constructor. + Default constuctor for children of this type. + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Gets overall metric information for a font. - language tag used to determine which script to get the metrics for, or to indicate to get the metrics for the entire 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. + 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.Coverage + Pango.FontDescription - - - + - Computes the coverage map for a given font and language tag. - the language tag - a new + 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 @@ -60,29 +123,57 @@ - Finds the best matching shaper for a font for a particular language tag and character point. 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.FontDescription + Pango.Coverage - + + + - Returns a description of the font. - a new + the language tag + Computes the coverage map for a given font and language tag. + a new + Method + + 2.12.0.0 + System.Void @@ -92,31 +183,40 @@ - Gets the logical and ink extents of a glyph within a font. 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + Pango.FontMetrics + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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 @@ -127,60 +227,5 @@ 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 - - - - Protected constructor. - Default constuctor for children of this type. - - - - - Property - - Pango.FontMap - - - The FontMap for which the Font was created. - a . - - - - - - - Method - - Pango.FontDescription - - - - To be added. - To be added. - To be added. - - - diff --git a/doc/en/Pango/FontDescription.xml b/doc/en/Pango/FontDescription.xml index 21b6c50a8..44fbca7b8 100644 --- a/doc/en/Pango/FontDescription.xml +++ b/doc/en/Pango/FontDescription.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,51 +8,73 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Method - - Pango.FontDescription - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + + Constructor + + 2.12.0.0 + + - + - Creates a new font description from a string representation. - The string representation of the font description. - 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. - + Pointer to the C object. + Internal constructor + + This is an internal constructor, and should not be used by user code. + - - - Method + + + + Property + + 2.12.0.0 + - Pango.FontDescription + System.Double - - Make a copy of - an object of type - + 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 @@ -60,175 +83,284 @@ Any one of the options may be absent. If FAMILY-LIST is absent, then the family_ - Determines which better matches the current instance. 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 + - System.Void + Pango.FontDescription - Frees a font description. + Make a copy of + an object of type - - + + + Method + + 2.12.0.0 + - System.Void + 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 - - + - Merges the fields of a font description into the current instance without copying the field data (shallow copy). - an object of type - an object of type - 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. + 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 .) - - - Method + + + + Property + + 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. + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.String - - - Merges the fields of a font description into the current instance. - The to merge from. - If , replace fields in current instance with the corresponding values from , even if they are already exist. - + 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 + - Pango.FontDescription + System.Void - 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. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Pango.FontDescription is now freed automatically") + + - System.Boolean + System.Void - - - + - Compares two font descriptions for equality. - an object of type to test 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 .) + Frees a font description. + - - + + + Method + + 2.12.0.0 + System.Void - + - Unsets some of the fields in the . - an object of type -(bitmask of fields in the desc to unset). - 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 . + To be added. + To be added. + To be added. - - - Constructor - + + + + Method + + 2.12.0.0 + + + Pango.FontDescription + - + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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. + - - - Constructor - + + + + 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 + - Default constructor - + GType Property. + a + Returns the native value for . - - + + + Property + + 2.12.0.0 + - Pango.Style + System.UInt32 + + + + Computes a hash of a structure suitable to be used. + the hash value. + + + + + + + Method + + 2.12.0.0 + + + System.Void + + - 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. + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.Stretch + System.Void + + - The stretch of the font. - the stretch field for the font description. - The stretch property specifies how narrow or wide the font should be. + 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 @@ -239,8 +371,12 @@ Any one of the options may be absent. If FAMILY-LIST is absent, then the family_ - + + Property + + 2.12.0.0 + System.Int32 @@ -263,126 +399,148 @@ Returns 0 if the size field has not previously been set. Use - + + + Property + + 2.12.0.0 + - System.String + System.Boolean - - + - 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. + 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.Variant + Pango.Stretch - The variant of the font. - the variant type for the font description. - + 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.Weight + Pango.Style - 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. + 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. - - - Property + + + + Method + + 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 - - System.UInt32 - - Computes a hash of a structure suitable to be used. - the hash value. - + 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. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.String - GType Property. - a - Returns the native value for . + To be added. + To be added. + To be added. - - - Property + + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + - 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 . - + 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 + - System.Double + Pango.Variant + + - 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. - + The variant of the font. + the variant type for the font description. + - - + + + Property + + 2.12.0.0 + - Pango.Gravity + Pango.Weight + + - Gravity orientation of the font. - To be added. - To be added. - + 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. diff --git a/doc/en/Pango/FontFace.xml b/doc/en/Pango/FontFace.xml index 8f14ef702..5f443e226 100644 --- a/doc/en/Pango/FontFace.xml +++ b/doc/en/Pango/FontFace.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,47 +8,95 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. - - GLib.Object + + Used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. + + - - - Method - - Pango.FontDescription - + + + + Constructor + + 2.12.0.0 + + - 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. + 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 + - Internal constructor 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 @@ -58,8 +107,12 @@ - + + Property + + 2.12.0.0 + GLib.GType @@ -70,37 +123,30 @@ 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 - - + + + + Property + + 2.12.0.0 + + + System.Boolean + - Protected constructor - + To be added. + To be added. + To be added. + + Method + + 2.12.0.0 + System.Void @@ -109,25 +155,12 @@ - To be added a a + To be added To be added - - - Property - - System.Boolean - - - To be added. - To be added. - To be added. - - - diff --git a/doc/en/Pango/FontFamily.xml b/doc/en/Pango/FontFamily.xml index 6ec4ae287..5c4c5b0db 100644 --- a/doc/en/Pango/FontFamily.xml +++ b/doc/en/Pango/FontFamily.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,46 +8,97 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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 + - Internal constructor 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.String + Pango.FontFace[] + - 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. + To be added + The font faces that make up . + a + + - + + Property + + 2.12.0.0 + GLib.GType @@ -57,27 +109,36 @@ Returns the native value for . - - - Constructor - - - - + + + + Property + + 2.12.0.0 + + + System.Boolean + + - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. + To be added + a + To be added + + + + + + Method + + 2.12.0.0 + System.Obsolete - - - - Method System.Int32 @@ -85,49 +146,26 @@ - Lists the different font faces that make up . a + Lists the different font faces that make up . a - - - Constructor - - - - Protected constructor - - - - - - Property - - Pango.FontFace[] - - - - To be added - The font faces that make up . - a - - - - - - + + + Property + + 2.12.0.0 + - System.Boolean + System.String - - To be added - a - To be added - + 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. diff --git a/doc/en/Pango/FontMap.xml b/doc/en/Pango/FontMap.xml index 3696383f7..6a450258e 100644 --- a/doc/en/Pango/FontMap.xml +++ b/doc/en/Pango/FontMap.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,72 +8,96 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents the set of fonts available for a particular rendering system. - This is a virtual object with implementations being specific to particular rendering systems. - 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. + - - - Method - - Pango.Font - - - - - + + + + Constructor + + 2.12.0.0 + + + - Load the font in the fontmap that is the closest match for . - a the font will be used with - a describing the font to load - the font loaded, or if no font matched. + Protected constructor - - - Method - - Pango.Fontset - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - Load a set of fonts in the fontmap that can be used to render a font matching . - a the font will be used with - a describing the font to load - a the fonts will be used for - the fontset, or if no font matched. - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor 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 @@ -83,27 +108,18 @@ Returns the native value for . - - - Constructor - - - - - - Protected Constructor. - a - Chain to this constructor if you have manually registered a native value for your subclass. - + + + + Method + + 2.12.0.0 + System.Obsolete - - - - Method System.Int32 @@ -111,34 +127,56 @@ - List all families for a fontmap. a + List all families for a fontmap. a - - - Constructor - - + + + + Method + + 2.12.0.0 + + + Pango.Font + + + + + - Protected constructor + 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. - - - Property + + + + Method + + 2.12.0.0 + - Pango.FontFamily[] + Pango.Fontset - + + + + + - List all families for a fontmap. - a - - + 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. + diff --git a/doc/en/Pango/FontMask.xml b/doc/en/Pango/FontMask.xml index 3b9a2e069..c7d41e2b9 100644 --- a/doc/en/Pango/FontMask.xml +++ b/doc/en/Pango/FontMask.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - TThe bits in a PangoFontMask correspond to fields in a PangoFontDescription that have been set. - - System.Enum @@ -22,10 +19,18 @@ System.Flags + + TThe bits in a PangoFontMask correspond to fields in a PangoFontDescription that have been set. + + + Field + + 2.12.0.0 + Pango.FontMask @@ -35,75 +40,99 @@ - - + + + Field + + 2.12.0.0 + Pango.FontMask - - The font style is specified - + Gravity is specified. + - - + + + Field + + 2.12.0.0 + Pango.FontMask - The font variant is specified + The font size is specified - - + + + Field + + 2.12.0.0 + Pango.FontMask - The font weight is specified + The font stretch is specified - - + + + Field + + 2.12.0.0 + Pango.FontMask - The font stretch is specified + The font style is specified - - + + + Field + + 2.12.0.0 + Pango.FontMask - The font size is specified + The font variant is specified - - + + + Field + + 2.12.0.0 + Pango.FontMask + - Gravity is specified. - + The font weight is specified + diff --git a/doc/en/Pango/FontMetrics.xml b/doc/en/Pango/FontMetrics.xml index a30d5e375..063bcd4c4 100644 --- a/doc/en/Pango/FontMetrics.xml +++ b/doc/en/Pango/FontMetrics.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,43 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Holds the overall metric information for a font (possibly restricted to a script). - - GLib.Opaque + + Holds the overall metric information for a font (possibly restricted to a script). + + - - - Method - - System.Void - - - - Decreases the reference count of a font metrics structure. - If the result is zero, frees the structure and any associated memory. - - - - - Method - - Pango.FontMetrics - - + + + + Constructor + + 2.12.0.0 + + + + + - Increases the reference count of a font metrics structure. - an object of type - + a + Internal constructor + This is an internal constructor, and should not be used by user code. - + + Property + + 2.12.0.0 + System.Int32 @@ -53,33 +50,45 @@ 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 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.) + 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 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. + 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 @@ -89,9 +98,29 @@ 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 @@ -102,22 +131,54 @@ Returns the native value for . - - - Constructor - + + + + 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 + - Internal constructor - a - This is an internal constructor, and should not be used by user code. + To be added. + To be added. + To be added. - - + + + Property + + 2.12.0.0 + System.Int32 @@ -130,8 +191,12 @@ - + + Property + + 2.12.0.0 + System.Int32 @@ -143,9 +208,13 @@ - - + + + Property + + 2.12.0.0 + System.Int32 @@ -157,9 +226,13 @@ - - + + + Property + + 2.12.0.0 + System.Int32 @@ -171,5 +244,45 @@ + + + + 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. + + diff --git a/doc/en/Pango/Fontset.xml b/doc/en/Pango/Fontset.xml index 2f2a9df04..7ab0f81d6 100644 --- a/doc/en/Pango/Fontset.xml +++ b/doc/en/Pango/Fontset.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,62 +8,118 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Method - - Pango.Font - + + + + Constructor + + 2.12.0.0 + + + + + Protected constructor + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - + - Returns the font in the fontset that contains the best glyph for the unicode character . - a unicode character - a - + a + Protected Constructor. + Chain to this constructor if you have manually registered a native value for your subclass. + Constructor + + 2.12.0.0 + - Internal constructor Pointer to the C object. + Internal constructor This is an internal constructor, and should not be used by user code. - - - Property + + + + Method + + 2.12.0.0 + - Pango.FontMetrics + System.Void + + + - Get overall metric information for the fonts in the fontset. - a + 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 @@ -73,48 +130,20 @@ 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 - - - - Protected constructor - - - - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Pango.FontMetrics - - - - To be added - a - To be added - + Get overall metric information for the fonts in the fontset. + a + diff --git a/doc/en/Pango/FontsetForeachFunc.xml b/doc/en/Pango/FontsetForeachFunc.xml index 1c0c34dd3..d8280269e 100644 --- a/doc/en/Pango/FontsetForeachFunc.xml +++ b/doc/en/Pango/FontsetForeachFunc.xml @@ -1,28 +1,29 @@ + 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. + - - System.Delegate - - - System.Boolean - - - - - diff --git a/doc/en/Pango/Global.xml b/doc/en/Pango/Global.xml index c00f831fa..497a3fd8d 100644 --- a/doc/en/Pango/Global.xml +++ b/doc/en/Pango/Global.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,50 +8,106 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Global API elements for . Most of these are utility functions. - - 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.String + System.Void - + + - Splits a list of filename strings and normalizes their paths. - a - a - In the underlying C implementation, the string returned is intended as an argument to g_strfreev. + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + - System.String + Pango.Direction - + - Trims leading and trailing whitespace from a string. - a - a - + 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 @@ -62,442 +119,495 @@ - Computes a for each character in . 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). - - - Constructor - - - - Default constructor - - - - - + + + Method + + 2.12.0.0 + - System.Boolean + Pango.Gravity - - - + - Parses a string into a object. - a to parse - a object to set up with the weight parsed out of the string - a for whether to warn on bad input. - a for whether the string was successfully parsed. - The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultralight" and integers. Case variations are ignored. + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + - System.Boolean + Pango.Gravity - - - + + + - Parses a string into a object. - a to parse - a to set up with the stretch value parsed out of the string - a for whether to warn on bad input. - 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. + 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 + System.Double - - - + - Parses a string into a object. - a to parse - a to set up with the variant value parsed out of the string - a for whether to warn on bad input. - a for whether the string was successfully parsed. - The allowed values are "normal" and "smallcaps" or "small_caps", case variations being ignored. + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + System.Boolean - - - + - Parses a string into a object. - a to parse - a to set up with the style parsed out of the string. - a for whether to warn on bad input. - a for whether the string was successfully parsed. - The allowed values are "normal", "italic" and "oblique", case variations being ignored. + 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 + - System.Void + GLib.List + + - - + + + + - Locates a paragraph boundary in . - UTF-8 text - return location for index of delimiter - return location for start of next paragraph - - -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). + a + a + a + a + a + a + a + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + System.Boolean - - + + + + + - Scans a string looking for an integer. An integer consists of up to 31 decimal digits. - a , a string to scan. - a , an integer to put the result into. - a , false if a parse error occurred. + 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 - + + + + + - Skips 0 or more characters of whitespace - a - a , which is true if there are non-whitespace characters before the end of the string. + 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 - - + + + - Scans a string looking for an integer. An integer consists of up to 31 decimal digits. - a - a - a - To be added + 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 - - - - - - - - Parses a markup text string into text and a list of attributes. - a - a - a - a - a - a - - - - - - - Method - - Pango.Direction - - - + + + - To be added - a - a - To be added - + 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 + - GLib.List + System.Boolean - - - - - - - + + + - To be added - a - a - a - a - a - a - a - a - To be added - + 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 + - Pango.Language + System.Boolean - + + + - To be added - a - a - To be added - + 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 + - Pango.Direction + System.Void - + + - Determines the direction of a character - a - the direction of the character according to the Unicode bidi algorithm - To be added - + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete + + - Pango.Script + System.Boolean - + + - Determines the script for a character - a - 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. - + 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 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. - + 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 + - System.Void + Pango.Script - - + - To be added. - To be added. - To be added. - To be added. - + 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.Gravity + Pango.Language - + - To be added. - To be added. - To be added. - To be added. - + a + To be added + a + To be added + - - + + + Method + + 2.12.0.0 + - Pango.Gravity + System.Boolean - - - + - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + 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.Double + System.String - + - To be added. - To be added. - To be added. - To be added. - + 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.Boolean + System.String - - - - - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - + a + Trims leading and trailing whitespace from a string. + a + - - + + + Method + + 2.12.0.0 + - System.Void + Pango.Direction - - + - To be added. - To be added. - To be added. - To be added. - + 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 @@ -518,7 +628,11 @@ If no delimiters are found, both a + Method + + 2.12.0.0 + System.String diff --git a/doc/en/Pango/GlyphGeometry.xml b/doc/en/Pango/GlyphGeometry.xml index c0b8029dc..9dbf21c43 100644 --- a/doc/en/Pango/GlyphGeometry.xml +++ b/doc/en/Pango/GlyphGeometry.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,30 +8,22 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Contains width and positioning information for a single glyph. - - System.ValueType + + Contains width and positioning information for a single glyph. + + - - - Field - - Pango.GlyphGeometry - - - - Returns a new - - - + Method + + 2.12.0.0 + Pango.GlyphGeometry @@ -38,15 +31,19 @@ - Internal method 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 @@ -59,7 +56,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -72,7 +73,11 @@ + Field + + 2.12.0.0 + System.Int32 @@ -83,5 +88,21 @@ + + + + Field + + 2.12.0.0 + + + Pango.GlyphGeometry + + + + Returns a new + + + diff --git a/doc/en/Pango/GlyphInfo.xml b/doc/en/Pango/GlyphInfo.xml index 33fad91f5..18b69d2a4 100644 --- a/doc/en/Pango/GlyphInfo.xml +++ b/doc/en/Pango/GlyphInfo.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,46 +8,56 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents a single glyph together with positioning information and visual attributes. - - System.ValueType + + Represents a single glyph together with positioning information and visual attributes. + + - - + + + Field + + 2.12.0.0 + - Pango.GlyphInfo + Pango.GlyphVisAttr - + + - Returns an empty + the visual attributes of the glyph. - - - Method + + + + Field + + 2.12.0.0 + - Pango.GlyphInfo + Pango.GlyphGeometry - - Internal method - an object of type - an object of type - This is an internal method, and should not be used by user code. + the positional information about the glyph. + + Field + + 2.12.0.0 + System.UInt32 @@ -57,29 +68,39 @@ - - - Field + + + + Method + + 2.12.0.0 + - Pango.GlyphGeometry + Pango.GlyphInfo + - the positional information about the glyph. - + 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 + Pango.GlyphInfo - - + - the visual attributes of the glyph. + Returns an empty diff --git a/doc/en/Pango/GlyphItem.xml b/doc/en/Pango/GlyphItem.xml index 29c384def..fa06c7d64 100644 --- a/doc/en/Pango/GlyphItem.xml +++ b/doc/en/Pango/GlyphItem.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,179 +8,219 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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 . - 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 . + - - - Field - - Pango.GlyphItem - - - - Returns an empty - - - - - + + + Method + + 2.12.0.0 + - Pango.GlyphItem + Pango.GlyphItem[] - + + - Internal method - a - a - This is an internal method, and should not be used by user code. + 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 + - Pango.GlyphItem + System.Void - - - - + - Splits an Item - text to which positions in orig apply. - byte index of position to split item, relative to the start of the 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) + To be added + To be added + - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Glyphs property") + + Pango.GlyphString - the glyphs obtained by shaping the text corresponding to item. + Obsolete alias for a - - + + + Property + + 2.12.0.0 + Pango.GlyphString - Obsolete alias for + the glyphs obtained by shaping the text corresponding to item. a + + + + + Property + + 2.12.0.0 + - System.Obsolete("Replaced by Glyphs property") + System.Obsolete("Replaced by Item property") - - - - Property Pango.Item - a that provides information about a segment of text. + Obsolete alias for a - - + + + Property + + 2.12.0.0 + Pango.Item - Obsolete alias for + a that provides information about a segment of text. a - - - System.Obsolete("Replaced by Item property") - - - - + + + Method + + 2.12.0.0 + - Pango.GlyphItem[] + System.Void - + + - Splits a shaped item () into multiple items based on an attribute list. a - a - 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. - - + a + a + To be added + To be added + - - + + + Method + + 2.12.0.0 + - System.Void + Pango.GlyphItem - + + + - To be added - To be added - + a + Internal method + a + This is an internal method, and should not be used by user code. - - + + + Method + + 2.12.0.0 + - System.Void + Pango.GlyphItem - - + - To be added - a - a - a - To be added - + 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 + diff --git a/doc/en/Pango/GlyphString.xml b/doc/en/Pango/GlyphString.xml index 708bc641e..7f72f0c20 100644 --- a/doc/en/Pango/GlyphString.xml +++ b/doc/en/Pango/GlyphString.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,84 +8,51 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to store strings of glyphs with geometry and visual attribute information. - - GLib.Opaque + + Used to store strings of glyphs with geometry and visual attribute information. + + - - - Field - - - System.Obsolete("Pango.GlyphString is a reference type now, use null") - - - - Pango.GlyphString - - - Obsolete: just use now. - - - + Constructor + + 2.12.0.0 + Creates a new object. - - - Method - - Pango.GlyphString - - - - Obsolete. Replaced by an ordinary constructor - a object. - - - + Constructor + + 2.12.0.0 + - Internal method an object of type + Internal method This is an internal method, and should not be used by user code. - - - Method - - Pango.GlyphString - - - - - - Obsolete internal constructor - an object of type - a object. - - - + Method + + 2.12.0.0 + Pango.GlyphString @@ -97,7 +65,11 @@ + Method + + 2.12.0.0 + System.Void @@ -107,16 +79,20 @@ - Computes the logical and ink extents of this glyph string. 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 @@ -128,60 +104,81 @@ - Computes the logical and ink extents of a sub-section of this glyph string. 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void + + + + To be added. + To be added. + + + + + + Method + + 2.12.0.0 + + + System.Void + - Resizes this GlyphString to the given length. - The new length of the string. + To be added. + To be added. To be added. - - + + + Method + + 2.12.0.0 + - System.Void + System.Int32 - - - - + - Convert from x offset to character position. - 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. - - 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. - + 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 @@ -192,21 +189,13 @@ Returns the native value for . - - - Property - - System.Int32 - - - the number of glyphs in the string. - the number of glyphs in the string. - - - + Method + + 2.12.0.0 + System.Int32 @@ -217,42 +206,107 @@ - Convert from character position to X position. 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. - To be added. - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by GlyphString() constructor") + + - System.Int32 + Pango.GlyphString + + + + Obsolete. Replaced by an ordinary constructor + a object. + + + + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Replaced by GlyphString(IntPtr) constructor") + + + + Pango.GlyphString - - + - 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 to process - a , the embedding level of the string - a , a pointer to an array of logical widths for each character. + 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 @@ -263,5 +317,57 @@ + + + + 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. + + + diff --git a/doc/en/Pango/GlyphVisAttr.xml b/doc/en/Pango/GlyphVisAttr.xml index f7b926a28..c8081dc62 100644 --- a/doc/en/Pango/GlyphVisAttr.xml +++ b/doc/en/Pango/GlyphVisAttr.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,30 +8,40 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to communicate information between the shaping phase and the rendering phase. - Its contents are still evolving. - System.ValueType + + Used to communicate information between the shaping phase and the rendering phase. + Its contents are still evolving. + - - - Field + + + + Property + + 2.12.0.0 + - Pango.GlyphVisAttr + System.Boolean - Returns an empty - + To be added + a + To be added + + Method + + 2.12.0.0 + Pango.GlyphVisAttr @@ -38,24 +49,26 @@ - Internal method an object of type + Internal method an object of type This is an internal method, and should not be used by user code. - - - Property + + + + Field + + 2.12.0.0 + - System.Boolean + Pango.GlyphVisAttr - To be added - a - To be added - + Returns an empty + diff --git a/doc/en/Pango/Gravity.xml b/doc/en/Pango/Gravity.xml index aa25fc037..6953b02c2 100644 --- a/doc/en/Pango/Gravity.xml +++ b/doc/en/Pango/Gravity.xml @@ -1,5 +1,6 @@ + pango-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Pango.GravityGType)) + + Gravity enumeration. + To be added. + + + Field + + 2.12.0.0 + Pango.Gravity @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Pango.Gravity @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Pango.Gravity @@ -45,7 +63,11 @@ + Field + + 2.12.0.0 + Pango.Gravity @@ -55,7 +77,11 @@ + Field + + 2.12.0.0 + Pango.Gravity @@ -64,9 +90,4 @@ - - Gravity enumeration. - To be added. - - diff --git a/doc/en/Pango/GravityHint.xml b/doc/en/Pango/GravityHint.xml index 297559128..f11d0c7c2 100644 --- a/doc/en/Pango/GravityHint.xml +++ b/doc/en/Pango/GravityHint.xml @@ -1,5 +1,6 @@ + pango-sharp 2.12.0.0 @@ -12,10 +13,19 @@ GLib.GType(typeof(Pango.GravityHintGType)) + + Gravity Hint enumeration. + To be added. + + + Field + + 2.12.0.0 + Pango.GravityHint @@ -25,7 +35,11 @@ + Field + + 2.12.0.0 + Pango.GravityHint @@ -35,7 +49,11 @@ + Field + + 2.12.0.0 + Pango.GravityHint @@ -44,9 +62,4 @@ - - Gravity Hint enumeration. - To be added. - - diff --git a/doc/en/Pango/Item.xml b/doc/en/Pango/Item.xml index e2617a3ed..beebdaf90 100644 --- a/doc/en/Pango/Item.xml +++ b/doc/en/Pango/Item.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,85 +8,67 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Stores information about a segment of text. - - GLib.Opaque + + Stores information about a segment of text. + + - - - Field - - Pango.Item - - - - Returns an empty - - - - - System.Obsolete("Pango.Item is a reference type now, use null") - - - + Constructor + + 2.12.0.0 + Creates a new Item - - - Method - - Pango.Item - - - - Obsolete: replaced by ordinary constructor - a new - - - + Constructor + + 2.12.0.0 + - Internal method. an object of type + Internal method. This is an internal method, and should not be used by user code. - - - Method + + + + Property + + 2.12.0.0 + - Pango.Item + Pango.Analysis - - - - Obsolete internal constructor - an object of type - an object of type - This is an internal method, and should not be used by user code. + the properties of the segment. + the properties of the segment. + + Method + + 2.12.0.0 + Pango.Item @@ -96,39 +79,65 @@ - - + + + Method + + 2.12.0.0 + - Pango.Item + System.Void + + + + To be added. + To be added. + + + + + + Method + + 2.12.0.0 + + + System.Void - - + - Modifies orig to cover only the text after , and returns a new item that covers the text before that used to be in orig. - byte index of position to split item, relative to the start of the item - number of chars between start of orig and - 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. + To be added. + To be added. + To be added. - - + + + Property + + 2.12.0.0 + - System.Int32 + GLib.GType - 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. + Native GLib type value. + a . + - + + Property + + 2.12.0.0 + System.Int32 @@ -138,9 +147,60 @@ + + + + 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 @@ -150,29 +210,63 @@ - - + + + Property + + 2.12.0.0 + - Pango.Analysis + System.Int32 - the properties of the segment. - the properties of the segment. + 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. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + Pango.Item + + + + - Native GLib type value. - a . + 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 - diff --git a/doc/en/Pango/Language.xml b/doc/en/Pango/Language.xml index 3edfed666..0c5fd586b 100644 --- a/doc/en/Pango/Language.xml +++ b/doc/en/Pango/Language.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,79 +8,79 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Used to represent a language. - - GLib.Opaque + + Used to represent a language. + + - - - Method - - Pango.Language - - - - - - Take a RFC-3066 format language tag as a string and convert it to a - a string representing a language tag - a - This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'. - - - - - Method - - System.Boolean - - - - - - Checks if a language tag matches one of the elements in a list of language ranges. - a list of language ranges, separated by ';' characters. each element must either be '*', or a RFC 3066 language range canonicalized as by . - - 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 '-'. - - + Constructor + + 2.12.0.0 + - Internal constructor 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.String + Pango.Language - A sample - a + 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 @@ -92,7 +93,11 @@ + Method + + 2.12.0.0 + System.Boolean @@ -100,24 +105,48 @@ - To be added 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 + - Pango.Language + System.String - Default language property. - The default . + A sample + a - diff --git a/doc/en/Pango/Layout.xml b/doc/en/Pango/Layout.xml index 0098f4b15..c29e16a8b 100644 --- a/doc/en/Pango/Layout.xml +++ b/doc/en/Pango/Layout.xml @@ -1,11 +1,17 @@ + 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. @@ -63,153 +69,159 @@ class LayoutSample : DrawingArea - - GLib.Object - - - - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - - - - + - Computes a new cursor position from an old position and a count of positions to move visually. - 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. + Pointer to the C object. + Internal constructor - 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. - + This is an internal constructor and should not be used by user code. - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - + - Set the text of the layout. - an object of type + a . + Create a new PangoLayout object with attributes initialized to default values for a particular . - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + - - + - Determine the logical width and height of a in device units. - an object of type - an object of type + a . + Create a new PangoLayout object with attributes initialized to default values for a particular . - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Pango.Alignment - - - - + - Computes the logical and ink extents - 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. - 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. + 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 + + - - - Method + + + + Property + + 2.12.0.0 + - Pango.Rectangle + Pango.AttrList - - - + - Obtains the graphical position of an offset in the . - a byte offset within the text buffer. - 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. - - + Sets/gets the text attributes for a Layout object. + a + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Boolean - - - + - Sets the layout text and attribute list from marked-up text (see markup format). - marked-up text - Replaces the current text and attribute list. - + 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 - - - - + - Compute the logical and ink extents of layout. - Rectangle used to store the extents of the layout as drawn. - Rectangle used to store the logical extents of the 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. - - + 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 @@ -220,26 +232,49 @@ The X coordinate of the resulting represents th - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Pango.EllipsizeMode - - - - + - Determines the logical width and height of a in Pango units (device units divided by ). - location to store the logical width, or - location to store the logical height, or - This is simply a convenience function around . + 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 @@ -249,51 +284,41 @@ The X coordinate of the resulting represents th - 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 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.Boolean + System.Void - - - - + + - Convert from X and Y position within a layout to the byte index to the character at that logical position. - 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. - a , true if the coordinates are inside the Layout. - To be added. - - - - - Method - - 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. + 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 @@ -301,183 +326,227 @@ The X coordinate of the resulting represents th - Retrieves a particular line. 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. - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor and should not be used by user code. - - - - - System.Obsolete - - - - - - Constructor - + + + + Method + + 2.12.0.0 + + + Pango.LayoutLine + - + - Create a new PangoLayout object with attributes initialized to default values for a particular . - a . - + To be added. + To be added. + To be added. + To be added. + - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + - Create a new PangoLayout object with attributes initialized to default values for a particular . - a . - + 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. + + - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + - GType Property. - a - Returns the native value for . + an object of type + an object of type + Determine the logical width and height of a in device units. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.FontDescription + System.Void - + + + + - 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. - + 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 + - Pango.WrapMode + GLib.GType - 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. + GType Property. + a + Returns the native value for . - - + + + Property + + 2.12.0.0 + - System.String + System.Int32 - Sets the text of the layout. - a in UTF-8 encoding. - + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Void - + + + + + + - Sets the width to which the lines of the Layout should be wrapped. - an object of type - + 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. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.Alignment + Pango.Rectangle - + + + - 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 + 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 - - - 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 - - System.Int32 - - - the amount of spacing between the lines of the layout. - the amount of spacing (in ) - + To be added. + To be added. + To be added. + - - + + + Property + + 2.12.0.0 + - Pango.AttrList + System.Boolean - - Sets/gets the text attributes for a Layout object. - a - + To be added. + To be added. + To be added. + - + + Property + + 2.12.0.0 + Pango.LayoutIter @@ -488,67 +557,30 @@ The X coordinate of the resulting represents th - - - Property - - Pango.Context - - - - the used for this layout. - an object of type - - - - - + + + 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 - - 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 - - System.Int32 - - - - Set or return the amount by which the first line should be shorter than the rest of the lines. + Sets whether or not each complete line should be stretched to fill the entire width of the layout. 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. + 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 @@ -560,8 +592,12 @@ The X coordinate of the resulting represents th - + + Property + + 2.12.0.0 + Pango.LayoutLine[] @@ -572,9 +608,30 @@ The X coordinate of the resulting represents th 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[] @@ -586,9 +643,69 @@ The X coordinate of the resulting represents th + + + + 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 @@ -598,86 +715,116 @@ The X coordinate of the resulting represents th - 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). 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 - To be added - a - To be added - + 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 + - Pango.EllipsizeMode + System.Int32 - To be added - a - To be added - + the amount of spacing between the lines of the layout. + the amount of spacing (in ) + - - - Method + + + + Property + + 2.12.0.0 + - System.Void + Pango.TabArray - - - - - - + - 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. - + 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. + - - - Method + + + + Property + + 2.12.0.0 + - Pango.LayoutLine + System.String - - - + - To be added. - To be added. - To be added. - To be added. - + Sets the text of the layout. + a in UTF-8 encoding. + - - + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 To be added. @@ -686,43 +833,65 @@ The X coordinate of the resulting represents th - - + + + Property + + 2.12.0.0 + - System.Boolean + System.Int32 + - To be added. - To be added. - To be added. - + Sets the width to which the lines of the Layout should be wrapped. + an object of type + - - + + + Property + + 2.12.0.0 + - Pango.LayoutLine[] + Pango.WrapMode + - To be added. - To be added. - To be added. - + 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. - - - Property + + + + Method + + 2.12.0.0 + - System.Int32 + System.Boolean + + + + + + - To be added. - To be added. + 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. - diff --git a/doc/en/Pango/LayoutIter.xml b/doc/en/Pango/LayoutIter.xml index 3efa39fd0..f8cd613fd 100644 --- a/doc/en/Pango/LayoutIter.xml +++ b/doc/en/Pango/LayoutIter.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,35 +8,158 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - A can be used to iterate over the visual extents of a . - - 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 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 - + 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 @@ -45,24 +169,32 @@ - Obtains the extents of the current line. + 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 - - 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 . + rectangle to fill with logical extents + + - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + - 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 . + To be added. + To be added. + To be added. + To be added. @@ -82,21 +214,31 @@ or can be if you are not interested in them. + - - + + + Method + + 2.12.0.0 + System.Void - + + + + - Frees an iterator that is no longer in use. - + To be added. + To be added. + To be added. + To be added. - - + + Method System.Void @@ -106,97 +248,120 @@ - Gets the extents of the current run in layout coordinates (origin is the top left of the entire layout). + Obtains the extents of the current line. 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. + + 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.Boolean + System.Void - + + + + - 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 . + To be added. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - + + + + - Moves iter forward to the start of the next line. - an object of type - If iter is already on the last line, returns . + 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 character, in layout coordinates (origin is the top left of the entire layout). + 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 - Only logical extents can sensibly be obtained for characters; ink extents make sense only down to the level of clusters. + 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.Boolean + System.Void - + + + + - 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 . + To be added. + To be added. + To be added. + To be added. - - - Method + + + + Property + + 2.12.0.0 + - System.Boolean + GLib.GType - Determines whether iter is on the last line of the layout. - an object of type - - - - - - Constructor - - - - - - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + To be added + a + To be added + - + + Property + + 2.12.0.0 + System.Int32 @@ -206,89 +371,130 @@ 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.LayoutRun + Pango.LayoutLine - 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. + Gets the current line. + the current + - - + + + Property + + 2.12.0.0 + - System.Int32 + Pango.LayoutLine - 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 - + To be added. + To be added. + To be added. + - - - Property + + + + Method + + 2.12.0.0 + - Pango.LayoutLine + System.Boolean + - Gets the current line. - the current - + 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.Void + System.Boolean - - - - + - 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 - a - 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). + 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 . - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Boolean - To be added - a - To be added - + 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.LayoutLine + Pango.LayoutRun - To be added. - To be added. - To be added. - + 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 diff --git a/doc/en/Pango/LayoutLine.xml b/doc/en/Pango/LayoutLine.xml index 353b36e89..c95c11b2c 100644 --- a/doc/en/Pango/LayoutLine.xml +++ b/doc/en/Pango/LayoutLine.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,52 +8,56 @@ 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. - - GLib.Opaque - - - - - Method - - System.Void - - + + + + Constructor + + 2.12.0.0 + + + + + - Decreases the reference count of a by one. - If the result is zero, the line and all associated memory will be freed. + a + Internal constructor. + This is an internal constructor, and should not be used by user code. - - + + + Method + + 2.12.0.0 + - System.Boolean + System.Void - - - - - + - Converts from x offset to the byte index of the corresponding character within the text of the layout. - 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. - - 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 . + To be added. + To be added. + Method + + 2.12.0.0 + System.Void @@ -61,15 +66,19 @@ - Computes the logical and ink extents of a layout line. 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 @@ -78,15 +87,59 @@ - Computes the logical and ink extents of a layout line. 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 @@ -95,42 +148,53 @@ - Converts an index within a line to a X position. 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 + - Pango.Layout + System.Boolean - - The parent for this line. - a - + To be added. + To be added. + To be added. - - + + + Property + + 2.12.0.0 + - System.Int32 + Pango.Layout - the start of the line as byte index into . - a + The parent for this line. + a - + + Property + + 2.12.0.0 + System.Int32 @@ -141,43 +205,56 @@ - - - Constructor - - - - + + + + Method + + 2.12.0.0 + + + + System.Obsolete("Pango.LayoutLine is now refcounted automatically") + + + + Pango.LayoutLine + + - Internal constructor. - a - This is an internal constructor, and should not be used by user code. + To be added. + To be added. + To be added. - - + + + Method + + 2.12.0.0 + System.Void - - - + - Gets a list of visual ranges corresponding to a given logical range. - 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 . - 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. + To be added. + To be added. + To be added. - - + + + Property + + 2.12.0.0 + - System.Boolean + System.UInt32 To be added. @@ -185,42 +262,86 @@ To be added. - - + + + Property + + 2.12.0.0 + - System.UInt32 + System.Int32 + - To be added. - To be added. - To be added. + the start of the line as byte index into . + a + - - + + + Method + + 2.12.0.0 + + + + System.Obsolete("Pango.LayoutLine is now refcounted automatically") + + - Pango.LayoutLine + 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. To be added. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Boolean + + + + + - The native GLib type value. - a . - - + 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 . diff --git a/doc/en/Pango/LayoutRun.xml b/doc/en/Pango/LayoutRun.xml index df18e0478..ef1ef8386 100644 --- a/doc/en/Pango/LayoutRun.xml +++ b/doc/en/Pango/LayoutRun.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,46 +8,43 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - 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. - 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. + - - - Field + + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Glyphs property") + + - Pango.LayoutRun + Pango.GlyphString - - Returns a new + Obsolete alias for + an object of type - - - Method - - Pango.LayoutRun - - - - - - Internal method - an object of type - an object of type - This is an internal method, and should not be used by user code. - - - + + Property + + 2.12.0.0 + Pango.GlyphString @@ -56,26 +54,34 @@ - - + + + Property + + 2.12.0.0 + + + + System.Obsolete("Replaced by Item property") + + - Pango.GlyphString + Pango.Item - Obsolete alias for - an object of type + Obsolete alias for + a - - - System.Obsolete("Replaced by Glyphs property") - - - + + Property + + 2.12.0.0 + Pango.Item @@ -85,22 +91,41 @@ - - - Property + + + + Method + + 2.12.0.0 + - Pango.Item + Pango.LayoutRun + + + - Obsolete alias for - a + 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 - - - System.Obsolete("Replaced by Item property") - - diff --git a/doc/en/Pango/LogAttr.xml b/doc/en/Pango/LogAttr.xml index 5d30525b0..422a8ad8b 100644 --- a/doc/en/Pango/LogAttr.xml +++ b/doc/en/Pango/LogAttr.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,74 +8,40 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Stores information about the attributes of a single character. - - System.ValueType + + Stores information about the attributes of a single character. + + - - - Field - - Pango.LogAttr - - - - Returns an empty - - - - - - Method - - Pango.LogAttr - - - - - - Internal method - an object of type - an object of type - This is an internal method, and should not be used by user code. - - - - - Property - - 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. + Whether Backspace deletes individual characters rather than complete grapheme clusters. a - + + Property + + 2.12.0.0 + System.Boolean @@ -86,77 +53,84 @@ - - + + + Property + + 2.12.0.0 + System.Boolean - Whether or not this is a whitespace character. + Whether or not the cursor can appear in front of this character. a - - + + + Property + + 2.12.0.0 + System.Boolean - - Whether or not the cursor can appear in front of this character. - a - - + To be added. + To be added. + To be added. + - - + + + Property + + 2.12.0.0 + System.Boolean - Whether or not this is the first character in a word. + Whether or not a line break is allowed before this character. 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 non-word character after a word. + Whether or not a line break is required before this character. 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 @@ -174,15 +148,19 @@ - - + + + Property + + 2.12.0.0 + System.Boolean - Whether or not this is the first character in a sentence. + 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 @@ -195,15 +173,19 @@ - - + + + Property + + 2.12.0.0 + System.Boolean - Whether or not this is the first non-sentence character after a sentence. + Whether or not this is the first character in a sentence. a There are two ways to divide sentences. The first is the @@ -216,31 +198,106 @@ - - + + + Property + + 2.12.0.0 + System.Boolean - Whether Backspace deletes individual characters rather than complete grapheme clusters. + Whether or not this is a whitespace character. a - - + + + Property + + 2.12.0.0 + System.Boolean + - To be added. - To be added. - To be added. - + 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 + diff --git a/doc/en/Pango/Matrix.xml b/doc/en/Pango/Matrix.xml index 053cf16ae..420ef4597 100644 --- a/doc/en/Pango/Matrix.xml +++ b/doc/en/Pango/Matrix.xml @@ -1,115 +1,121 @@ + 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. - - System.ValueType - - - - - Field - - Pango.Matrix - - - - - An empty Pango.Matrix. - - - - - - Field - - System.Double - - - - - 1st component of the transformation matrix - - - - - - Field + + + + Method + + 2.12.0.0 + - System.Double + System.Void + - 2nd component of the transformation matrix + a + Changes the transformation represented by the matrix to be the transformation given by first applying transformation given by then applying the original transformation. - - - Field + + + + Method + + 2.12.0.0 + + + + System.Obsolete("This is a no-op") + + - System.Double + Pango.Matrix - - + - 3rd component of the transformation matrix + Copies a Pango.Matrix + a - - - Field + + + + Property + + 2.12.0.0 + System.Double - - - 4th component of the transformation matrix + The scaling factor on the font height. + a floating point value where 1.0 indicates no scaling. + - - - Field + + + + Property + + 2.12.0.0 + - System.Double + GLib.GType - - + - x translation - To be added + GType Property. + a + Returns the native value for . - - + + + Field + + 2.12.0.0 + - System.Double + Pango.Matrix - y translation - + 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 @@ -117,60 +123,78 @@ - Creates a new Matrix. a + Creates a new Matrix. a - - + + + Method + + 2.12.0.0 + - System.Void + Pango.Matrix - - + - Changes the transformation represented by the matrix to be the transformation given by first translating by (tx, ty) then applying the original transformation. - amount to translate in the X direction - amount to translate in the Y direction - + 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 + - Pango.Matrix + GLib.Value - + + + - Copies a Pango.Matrix - a - + 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 - + - Changes the transformation represented by the matrix to be the transformation given by first applying transformation given by then applying the original transformation. - a + 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 @@ -179,164 +203,234 @@ - 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. 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 - + + - 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. - degrees to rotate counter-clockwise - + To be added. + To be added. + To be added. + To be added. + - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + - GType Property. - a - Returns the native value for . + To be added. + To be added. + To be added. + - - - Field + + + + Method + + 2.12.0.0 + - Pango.Matrix + System.Void + + - Can be used to initialize a PangoMatrix to the identity transform. - This is the equivalent of PANGO_MATRIX_INIT in C. + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + - GLib.Value + System.Void - + - To be added. - Converts a matrix to a GLib.Value. - a containing the matrix. - This operator is primarily for internal use. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + - Pango.Matrix + System.Void - + + - a containing a Matrix. - Converts a GLib.Value to the Matrix it contains. - The Matrix contained in . - This operator is primarily for internal use. + 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. + - - - Property + + + + Field + + 2.12.0.0 + System.Double + + - The scaling factor on the font height. - a floating point value where 1.0 indicates no scaling. + x translation + To be added + + + + + + Field + + 2.12.0.0 + + + System.Double + + + + + 1st component of the transformation matrix - - - - Method + + + + Field + + 2.12.0.0 + - System.Void + System.Double - - - To be added. - To be added. - To be added. - To be added. - + 2nd component of the transformation matrix + - - - Method + + + + Field + + 2.12.0.0 + - System.Void + System.Double - - To be added. - To be added. - To be added. - + y translation + - - - Method + + + + Field + + 2.12.0.0 + - System.Void + System.Double - - - To be added. - To be added. - To be added. - To be added. - + 3rd component of the transformation matrix + - - - Method + + + + Field + + 2.12.0.0 + - System.Void + System.Double - - To be added. - To be added. - To be added. - + 4th component of the transformation matrix + + + + + + + Field + + 2.12.0.0 + + + Pango.Matrix + + + + + An empty Pango.Matrix. + diff --git a/doc/en/Pango/Rectangle.xml b/doc/en/Pango/Rectangle.xml index 11014276a..c412b68ee 100644 --- a/doc/en/Pango/Rectangle.xml +++ b/doc/en/Pango/Rectangle.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,30 +8,39 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Represents a rectangle - It is frequently used to represent the logical or ink extents of a single glyph or section of text. - 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 + - Pango.Rectangle + System.Int32 - + + - Returns a new + height of the rectangle. + Method + + 2.12.0.0 + Pango.Rectangle @@ -38,61 +48,76 @@ - Internal method 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 - X coordinate of the left side of the rectangle. + width of the rectangle. - - + + + Field + + 2.12.0.0 + System.Int32 - Y coordinate of the the top side of the rectangle. + X coordinate of the left side of the rectangle. - - + + + Field + + 2.12.0.0 + System.Int32 - width of the rectangle. + Y coordinate of the the top side of the rectangle. - - + + + Field + + 2.12.0.0 + - System.Int32 + Pango.Rectangle - - + - height of the rectangle. + Returns a new diff --git a/doc/en/Pango/RenderPart.xml b/doc/en/Pango/RenderPart.xml index 35c541469..d92c518f9 100644 --- a/doc/en/Pango/RenderPart.xml +++ b/doc/en/Pango/RenderPart.xml @@ -1,16 +1,12 @@ + 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. - - The part of the renderer to modify. - - - System.Enum @@ -19,56 +15,77 @@ GLib.GType(typeof(Pango.RenderPartGType)) + + The part of the renderer to modify. + + + - - + + + Field + + 2.12.0.0 + Pango.RenderPart - The foreground text. + The background text. To be added - - + + + Field + + 2.12.0.0 + Pango.RenderPart - The background text. + The foreground text. To be added - - + + + Field + + 2.12.0.0 + Pango.RenderPart - The underline value. + The strikethrough value. To be added - - + + + Field + + 2.12.0.0 + Pango.RenderPart - The strikethrough value. + The underline value. To be added diff --git a/doc/en/Pango/Renderer.xml b/doc/en/Pango/Renderer.xml index 825994f5f..043f7ab7b 100644 --- a/doc/en/Pango/Renderer.xml +++ b/doc/en/Pango/Renderer.xml @@ -1,44 +1,83 @@ + 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. - - To be added - To be added - - GLib.Object + + To be added + To be added + + - - - Method - - System.Void - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + + Constructor + + 2.12.0.0 + + + + System.Obsolete + + + - - - + - To be added - a - a - a - To be added + 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 @@ -48,185 +87,208 @@ To be added - - + + + Method + + 2.12.0.0 + System.Void - - - - - - - + To be added - a - a - a - a - a To be added - - + + + Method + + 2.12.0.0 + System.Void - + + - To be added - a a a - To be added - - - - - Method - - System.Void - - - + a + a To be added To be added - - + + + Method + + 2.12.0.0 + System.Void - - + + + + + a + a + a + a To be added - a - a To be added - - + + + Method + + 2.12.0.0 + System.Void - + + + + + a + a + a + a To be added - a To be added - - + + + Method + + 2.12.0.0 + System.Void - - - - - - - + + + - a - To be added. - a - a - a - a - a + a + a + a To be added To be added - - + + + Method + + 2.12.0.0 + System.Void - - - - + + + + a + a + a To be added - a - a - a - a To be added - - + + + Method + + 2.12.0.0 + System.Void + - To be added + 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 - a - a - a - a To be added + Method + + 2.12.0.0 + Pango.Color @@ -234,56 +296,19 @@ - To be added a + 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 - - - - - - Constructor - - - - - - Internal constructor - a - This is not typically used by C# code. - - - - - Constructor - - - - Default constructor - - - - + + Property + + 2.12.0.0 + GLib.GType @@ -295,8 +320,12 @@ - + + Property + + 2.12.0.0 + Pango.Matrix @@ -307,5 +336,45 @@ 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 + + diff --git a/doc/en/Pango/Scale.xml b/doc/en/Pango/Scale.xml index 3bfb354bf..3c79e65bf 100644 --- a/doc/en/Pango/Scale.xml +++ b/doc/en/Pango/Scale.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,204 +8,256 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - Scale factors. - - System.Object + + Scale factors. + + - - + + + + Constructor + + 2.12.0.0 + + + + + Default constructor + + + + + + Field + + 2.12.0.0 + System.Double + 1.2 - 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. + The scale factor for one magnification step (1.2). + - 1024 - - + + + Field + + 2.12.0.0 + System.Double + 1 - The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)). + The scale factor for normal size (1.0). - - 0.5787037037037 - - + + + Field + + 2.12.0.0 + System.Double + 1024 - The scale factor for two shrinking steps (1 / (1.2 * 1.2)). - - + 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. - 0.6444444444444 - + + Field + + 2.12.0.0 + System.Double + 0.8333333333333 The scale factor for one shrinking step (1 / 1.2). - 0.8333333333333 - - + + + Field + + 2.12.0.0 + + + + System.Obsolete("Replaced by XLarge") + + System.Double + 1.4399999999999 - The scale factor for normal size (1.0). + Obsolete alias for . - 1 - - + + + Field + + 2.12.0.0 + + + + System.Obsolete("Replaced by XSmall") + + System.Double + 0.6444444444444 - The scale factor for one magnification step (1.2). + Obsolete alias for . - 1.2 - + + Field + + 2.12.0.0 + System.Double + 1.4399999999999 The scale factor for two magnification steps (1.2 * 1.2). - 1.4399999999999 - - + + + Field + + 2.12.0.0 + System.Double + 0.6444444444444 - The scale factor for three magnification steps (1.2 * 1.2 * 1.2). + The scale factor for two shrinking steps (1 / (1.2 * 1.2)). - 1.728 - - - - Constructor - - - - Default constructor - - - - + + + Field + + 2.12.0.0 + + + + System.Obsolete("Replaced by XXLarge") + + System.Double + 1.728 - Obsolete alias for . + Obsolete alias for . + + + + + Field + + 2.12.0.0 + System.Obsolete("Replaced by XXSmall") - 0.5787037037037 - - - - Field System.Double + 0.5787037037037 - Obsolete alias for . + Obsolete alias for . - - - System.Obsolete("Replaced by XSmall") - - - 0.6444444444444 - - + + + Field + + 2.12.0.0 + System.Double + 1.728 - Obsolete alias for . + The scale factor for three magnification steps (1.2 * 1.2 * 1.2). + - - - System.Obsolete("Replaced by XLarge") - - - 1.4399999999999 - - + + + Field + + 2.12.0.0 + System.Double + 0.5787037037037 - Obsolete alias for . + The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)). + - - - System.Obsolete("Replaced by XXLarge") - - - 1.728 diff --git a/doc/en/Pango/Script.xml b/doc/en/Pango/Script.xml index c4f8eecfe..8869f4608 100644 --- a/doc/en/Pango/Script.xml +++ b/doc/en/Pango/Script.xml @@ -1,16 +1,12 @@ + 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. - - 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/). - - System.Enum @@ -19,105 +15,175 @@ 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 - a value never used for any unicode character - + Arabic + + - - + + + Field + + 2.12.0.0 + Pango.Script - a character used by multiple different scripts - + Armenian + + - - + + + Field + + 2.12.0.0 + + + Pango.Script + + + Balinese + + + + + + + Field + + 2.12.0.0 + Pango.Script - a mark glyph that takes its script from the base glyph to which it is attached. - + Bengali + + - - + + + Field + + 2.12.0.0 + Pango.Script - Arabic + Bopomofo - - + + + Field + + 2.12.0.0 + Pango.Script - Armenian + Braille - - + + + Field + + 2.12.0.0 + + + Pango.Script + + + Buginese + + + + + + + Field + + 2.12.0.0 + Pango.Script - Bengali + Buhid - - + + + Field + + 2.12.0.0 + Pango.Script - Bopomofo + Canadian Aboriginal + Field + + 2.12.0.0 + Pango.Script @@ -129,9 +195,30 @@ + + + + Field + + 2.12.0.0 + + + Pango.Script + + + + + a character used by multiple different scripts + + + + Field + + 2.12.0.0 + Pango.Script @@ -143,9 +230,46 @@ + + + + Field + + 2.12.0.0 + + + Pango.Script + + + Cuneiform + + + + + + + Field + + 2.12.0.0 + + + Pango.Script + + + + + Cypriot + + + + + Field + + 2.12.0.0 + Pango.Script @@ -159,7 +283,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -173,7 +301,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -187,7 +319,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -201,7 +337,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -213,9 +353,28 @@ + + + + Field + + 2.12.0.0 + + + Pango.Script + + + Glagolitic + + + + Field + + 2.12.0.0 + Pango.Script @@ -229,7 +388,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -243,7 +406,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -257,7 +424,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -271,7 +442,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -285,7 +460,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -297,9 +476,31 @@ + + + + Field + + 2.12.0.0 + + + Pango.Script + + + + + Hanunoo + + + + + Field + + 2.12.0.0 + Pango.Script @@ -313,7 +514,11 @@ + Field + + 2.12.0.0 + Pango.Script @@ -325,493 +530,620 @@ - - + + + Field + + 2.12.0.0 + Pango.Script - Kannada - - + a mark glyph that takes its script from the base glyph to which it is attached. + - - + + + Field + + 2.12.0.0 + Pango.Script - Katakana - - + a value never used for any unicode character + - - + + + Field + + 2.12.0.0 + Pango.Script - Khmer + Kannada - - + + + Field + + 2.12.0.0 + Pango.Script - Lao + Katakana - - + + + Field + + 2.12.0.0 + Pango.Script - - - Latin - - + Kharoshthi + - - + + + Field + + 2.12.0.0 + Pango.Script - Malayalam + Khmer - - + + + Field + + 2.12.0.0 + Pango.Script - Mongolian + Lao - - + + + Field + + 2.12.0.0 + Pango.Script - Myanmar + Latin - - + + + Field + + 2.12.0.0 + Pango.Script - Ogham + Limbu - - + + + Field + + 2.12.0.0 + Pango.Script - OldItalic + LinearB - - + + + Field + + 2.12.0.0 + Pango.Script - Oriya + Malayalam - - + + + Field + + 2.12.0.0 + Pango.Script - Runic + Mongolian - - + + + Field + + 2.12.0.0 + Pango.Script - Sinhala + Myanmar - - + + + Field + + 2.12.0.0 + Pango.Script - - - Syriac - - + NewTaiLue + - - + + + Field + + 2.12.0.0 + Pango.Script - - - Tamil - - + Nko + - - + + + Field + + 2.12.0.0 + Pango.Script - Telugu + Ogham - - + + + Field + + 2.12.0.0 + Pango.Script - Thaana + OldItalic - - + + + Field + + 2.12.0.0 + Pango.Script - - - Thai - - + OldPersian + - - + + + Field + + 2.12.0.0 + Pango.Script - Tibetan + Oriya - - + + + Field + + 2.12.0.0 + Pango.Script - Canadian Aboriginal + Osmanya - - + + + Field + + 2.12.0.0 + Pango.Script - - - Yi - - + PhagsPa + - - + + + Field + + 2.12.0.0 + Pango.Script - - - Tagalog - - + Phoenician + - - + + + Field + + 2.12.0.0 + Pango.Script - Hanunoo + Runic - - + + + Field + + 2.12.0.0 + Pango.Script - Buhid + Shavian - - + + + Field + + 2.12.0.0 + Pango.Script - Tagbanwa + Sinhala - - + + + Field + + 2.12.0.0 + Pango.Script - - - Braille - - + SylotiNagri + - - + + + Field + + 2.12.0.0 + Pango.Script - Cypriot + Syriac - - + + + Field + + 2.12.0.0 + Pango.Script - Limbu + Tagalog - - + + + Field + + 2.12.0.0 + Pango.Script - Osmanya + Tagbanwa - - + + + Field + + 2.12.0.0 + Pango.Script - Shavian + TaiLe - - + + + Field + + 2.12.0.0 + Pango.Script - LinearB + Tamil - - + + + Field + + 2.12.0.0 + Pango.Script - TaiLe + Telugu - - + + + Field + + 2.12.0.0 + Pango.Script - Ugaritic + Thaana - - + + + Field + + 2.12.0.0 + Pango.Script + + - Kharoshthi - + Thai + + - - + + + Field + + 2.12.0.0 + Pango.Script + + - NewTaiLue - + Tibetan + + + Field + + 2.12.0.0 + Pango.Script @@ -820,114 +1152,55 @@ - - - Field - - Pango.Script - - - Buginese - - - - - - Field - - Pango.Script - - - Glagolitic - - - - - - Field - - Pango.Script - - - OldPersian - - - - - - Field - - Pango.Script - - - SylotiNagri - - - - - - Field - - Pango.Script - - - Balinese - - - - - - Field - - Pango.Script - - - Cuneiform - - - - - - Field - - Pango.Script - - - Nko - - - - - + + + Field + + 2.12.0.0 + Pango.Script + + - PhagsPa - + Ugaritic + + - - + + + Field + + 2.12.0.0 + Pango.Script - Phoenician + Unknown - - + + + Field + + 2.12.0.0 + Pango.Script + + - Unknown - + Yi + + diff --git a/doc/en/Pango/ScriptIter.xml b/doc/en/Pango/ScriptIter.xml index 2a60cba0b..502feb537 100644 --- a/doc/en/Pango/ScriptIter.xml +++ b/doc/en/Pango/ScriptIter.xml @@ -1,81 +1,106 @@ + 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. - - GLib.Opaque - - - - - - Method - - System.Void - - - - Obsolete. Do not use - - is properly garbage-collected now. You do not need to manually free it. - - - - - - Method - - 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. - - + Constructor + + 2.12.0.0 + - Internal constructor a + Internal constructor + Constructor + + 2.12.0.0 + - Creates a new from . 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 @@ -92,5 +117,22 @@ + + + + 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. + + diff --git a/doc/en/Pango/Stretch.xml b/doc/en/Pango/Stretch.xml index d0bc2e3c0..8d4e51b85 100644 --- a/doc/en/Pango/Stretch.xml +++ b/doc/en/Pango/Stretch.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,13 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - - An enumeration specifying the width of the font relatives to - other designs with the font family - - - System.Enum @@ -22,62 +16,89 @@ 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 - 4x more condensed than + 2x more condensed than - - + + + Field + + 2.12.0.0 + Pango.Stretch - 3x more condensed than + 2x more expanded than - - + + + Field + + 2.12.0.0 + Pango.Stretch - 2x more condensed than + 3x more condensed than - - + + + Field + + 2.12.0.0 + Pango.Stretch - 1x more condensed than + 3x more expanded than + Field + + 2.12.0.0 + Pango.Stretch @@ -87,48 +108,64 @@ - - + + + Field + + 2.12.0.0 + Pango.Stretch - 1x more expanded than + 1x more condensed than - - + + + Field + + 2.12.0.0 + Pango.Stretch - 2x more expanded than + 1x more expanded than - - + + + Field + + 2.12.0.0 + Pango.Stretch - 3x more expanded than + 4x more condensed than + Field + + 2.12.0.0 + Pango.Stretch diff --git a/doc/en/Pango/Style.xml b/doc/en/Pango/Style.xml index 99ee9024d..c7877e647 100644 --- a/doc/en/Pango/Style.xml +++ b/doc/en/Pango/Style.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,13 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - - An enumeration specific the various slant styles possible for a - font - - - System.Enum @@ -22,40 +16,59 @@ 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 upright + The font is slanted in an italic style - - + + + Field + + 2.12.0.0 + Pango.Style - The font is slanted, but in a roman style + The font is upright - - + + + Field + + 2.12.0.0 + Pango.Style - The font is slanted in an italic style + The font is slanted, but in a roman style diff --git a/doc/en/Pango/TabAlign.xml b/doc/en/Pango/TabAlign.xml index 5aa318d9f..af35e0b5e 100644 --- a/doc/en/Pango/TabAlign.xml +++ b/doc/en/Pango/TabAlign.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,6 +8,14 @@ 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 @@ -19,18 +28,14 @@ - - System.Enum - - - - GLib.GType(typeof(Pango.TabAlignGType)) - - + Field + + 2.12.0.0 + Pango.TabAlign diff --git a/doc/en/Pango/TabArray.xml b/doc/en/Pango/TabArray.xml index be83ee23e..4143cabfc 100644 --- a/doc/en/Pango/TabArray.xml +++ b/doc/en/Pango/TabArray.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,19 +8,61 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - an object containing an array of tab stops. - Each tab stop has an alignment and a position. - 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 @@ -30,24 +73,34 @@ - - + + + Method + + 2.12.0.0 + System.Void - - - + - Sets the size of the tab array to the value specified by . - the new size of the array - You must subsequently initialize any tabs that were added to the array. + To be added. + To be added. + Method + + 2.12.0.0 + + + + System.Obsolete("Pango.TabArray is now freed automatically") + + System.Void @@ -57,125 +110,157 @@ - - + + + Method + + 2.12.0.0 + System.Void - - - + - Sets the specified and of the tab stop specified by . - the index of a tab stop - the tab alignment - the tab location in pango units - The value of must always be in the current implementation. + To be added. + To be added. + To be added. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - + + + - Internal constructor - Pointer to the C object. - - This is an internal constructor, and should not be used by user code. - + 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. - - - Constructor - + + + + Method + + 2.12.0.0 + + + System.Void + - - + + - an object containing an array of tab stops - Initial number of tab stops to allocate, can be 0 - if the tab positions are in pixel units - 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. + 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 + - System.Boolean + GLib.GType + - returns if the tab positions are specified in pixels and if they are in pango units. - an object of type - + GType Property. + a + Returns the native value for . - - + + + Property + + 2.12.0.0 + - System.Int32 + System.Boolean - returns the number of tab stops in the tab array. - the number of tab stops in the array. + 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 - - - + - Gets the alignment and position of the tab stop specified by . - the tab stop index - a - a , the position in Pango units. - To be added. + 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. - - - Property + + + + Method + + 2.12.0.0 + - GLib.GType + System.Void - + + + + + - GType Property. - a - Returns the native value for . + 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. - - - Method + + + + Property + + 2.12.0.0 + - System.Void + System.Int32 - - - - - Gets the an array of alignments and positions. - an array of indicating the alignment of each tab stop. - an array of indicating the location of each tab stop in pango units. + returns the number of tab stops in the tab array. + the number of tab stops in the array. diff --git a/doc/en/Pango/Underline.xml b/doc/en/Pango/Underline.xml index 8e53fbb9e..438977775 100644 --- a/doc/en/Pango/Underline.xml +++ b/doc/en/Pango/Underline.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,13 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - - This enumeration is used to specify whether text should be - underlined, and if so, the type of underlining. - - - System.Enum @@ -22,46 +16,55 @@ GLib.GType(typeof(Pango.UnderlineGType)) + + + This enumeration is used to specify whether text should be + underlined, and if so, the type of underlining. + + + - - - Field - - Pango.Underline - - - - No underline should be drawn - - - - - + + + Field + + 2.12.0.0 + Pango.Underline - A single underline should be drawn + A double underline should be drawn - - + + + Field + + 2.12.0.0 + Pango.Underline - + + - A double underline should be drawn - + To be added + To be added + + Field + + 2.12.0.0 + Pango.Underline @@ -81,18 +84,36 @@ - - + + + Field + + 2.12.0.0 + Pango.Underline - - + - To be added - To be added - + No underline should be drawn + + + + + + + Field + + 2.12.0.0 + + + Pango.Underline + + + + A single underline should be drawn + diff --git a/doc/en/Pango/Units.xml b/doc/en/Pango/Units.xml index abab536d7..49f93d3df 100644 --- a/doc/en/Pango/Units.xml +++ b/doc/en/Pango/Units.xml @@ -1,85 +1,102 @@ + 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. - - System.Object - - - - + + + Method + + 2.12.0.0 + System.Int32 - + - Converts from Device units to Pango Units. - a - a - + To be added. + To be added. + To be added. + To be added. + - - + + + Method + + 2.12.0.0 + System.Int32 - + - Converts from Pango Units to Device Units. - a + a + Converts from Device units to Pango Units. a - - + + + Method + + 2.12.0.0 + - System.Int32 + System.Double - + - To be added. + To be added. To be added. To be added. To be added. - - + + + Method + + 2.12.0.0 + - System.Double + System.Int32 - + - To be added. - To be added. - To be added. - To be added. - + a + Converts from Pango Units to Device Units. + a + diff --git a/doc/en/Pango/Variant.xml b/doc/en/Pango/Variant.xml index bbaa1c2d6..4fca920dd 100644 --- a/doc/en/Pango/Variant.xml +++ b/doc/en/Pango/Variant.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,10 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - An enumeration specifying capitalization variant of the font - - System.Enum @@ -19,10 +16,18 @@ GLib.GType(typeof(Pango.VariantGType)) + + An enumeration specifying capitalization variant of the font + + + Field + + 2.12.0.0 + Pango.Variant @@ -34,7 +39,11 @@ + Field + + 2.12.0.0 + Pango.Variant diff --git a/doc/en/Pango/Weight.xml b/doc/en/Pango/Weight.xml index 7a7c668ac..df06c8980 100644 --- a/doc/en/Pango/Weight.xml +++ b/doc/en/Pango/Weight.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,6 +8,14 @@ 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 @@ -16,30 +25,46 @@ - - System.Enum - - - - GLib.GType(typeof(Pango.WeightGType)) - - - - + + + Field + + 2.12.0.0 + Pango.Weight - The ultralight weight (200) + The bold weight (700) + + + + + + + Field + + 2.12.0.0 + + + Pango.Weight + + + + The heavy weight (900) + Field + + 2.12.0.0 + Pango.Weight @@ -51,7 +76,11 @@ + Field + + 2.12.0.0 + Pango.Weight @@ -61,21 +90,31 @@ - - + + + Field + + 2.12.0.0 + Pango.Weight - + + - The bold weight (700) - + To be added + To be added + + Field + + 2.12.0.0 + Pango.Weight @@ -85,31 +124,21 @@ - - + + + Field + + 2.12.0.0 + Pango.Weight - The heavy weight (900) + The ultralight weight (200) - - - Field - - Pango.Weight - - - - - To be added - To be added - - - diff --git a/doc/en/Pango/WrapMode.xml b/doc/en/Pango/WrapMode.xml index a19b50f4a..a8b2f5351 100644 --- a/doc/en/Pango/WrapMode.xml +++ b/doc/en/Pango/WrapMode.xml @@ -1,5 +1,6 @@ + pango-sharp @@ -7,13 +8,6 @@ 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - - - Describes how to wrap the lines of a - to the desired width - - - System.Enum @@ -22,34 +16,53 @@ 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 lines at word boundaries + Wrap line at character boundaries - - + + + Field + + 2.12.0.0 + Pango.WrapMode - Wrap line at character boundaries + Wrap lines at word boundaries + Field + + 2.12.0.0 + Pango.WrapMode diff --git a/doc/en/Rsvg/DimensionData.xml b/doc/en/Rsvg/DimensionData.xml new file mode 100644 index 000000000..d762a45e4 --- /dev/null +++ b/doc/en/Rsvg/DimensionData.xml @@ -0,0 +1,113 @@ + + + + + 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. + + + + diff --git a/doc/en/Rsvg/Global.xml b/doc/en/Rsvg/Global.xml index 88a350b9d..b8c925899 100644 --- a/doc/en/Rsvg/Global.xml +++ b/doc/en/Rsvg/Global.xml @@ -1,21 +1,53 @@ + - rsvg-sharp + 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. - - Global API elements - - 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 @@ -28,97 +60,98 @@ a the error domain for Rsvg To be added + - - - Method + + + + Property + + 2.18.0.0 + - Rsvg.BpathDef + System.Int32 - - - - - To be added - a - a - To be added - - - - - Constructor - - - Default constructor - + To be added. + To be added. + To be added. - - - Property + + + Method - System.Double + System.Boolean + + + - 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. + To be added + a + a + To be added + - - + + Method System.Void - + To be added a - a + a To be added + - - + + Method - System.Double + Rsvg.BpathDef - - + To be added - a - a - a + a + a To be added + - - + + Method System.Void + + To be added a + a + a To be added + - - + + Method System.Void @@ -126,15 +159,23 @@ - + + + + To be added a a - a + a + a + a + a To be added + + @@ -156,65 +197,84 @@ a To be added + - - + + Method System.Boolean - + + To be added - a + a + a a To be added + - - + + Method - System.Boolean + 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 + + 2.18.0.0 + + + System.Void + + + + + + + To be added. + To be added. + To be added. + To be added. + + + + Method System.Void @@ -222,39 +282,38 @@ - - + - To be added a a - a - a + a a - a To be added + - - + + Method - System.Void + System.Double - - + + To be added - a - a + a + a + a To be added + diff --git a/doc/en/Rsvg/Handle.xml b/doc/en/Rsvg/Handle.xml index d6470eed8..259de635e 100644 --- a/doc/en/Rsvg/Handle.xml +++ b/doc/en/Rsvg/Handle.xml @@ -1,58 +1,68 @@ - + + - rsvg-sharp + 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. - - To be added - To be added - - GLib.Opaque + GLib.Object + + To be added + To be added + - - - Method - - System.Boolean - + + + + Constructor + + 2.18.0.0 + + - 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. + 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. - - - Method - - System.Void - - + + + + Constructor + + 2.18.0.0 + + + + - Frees handle. - + To be added. + To be added. + To be added. + Constructor + + 2.18.0.0 + - To be added 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). @@ -61,31 +71,96 @@ - + + 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 + - 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. + 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 + - Gdk.Pixbuf + System.String - 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. + 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 @@ -95,64 +170,84 @@ 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 - Rsvg.Handle + System.Void - See , except that this will handle GZipped SVGs (svgz) - a - Use the returned handle identically to how you use a handle returned from + Frees handle. + + - - + + + Method + + 2.18.0.0 + - System.Boolean + Gdk.Pixbuf - - + - Loads the next bytes - Pointer to svg data - length of the buffer in 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. + To be added. + To be added. + To be added. + To be added. - - + + + Property + + 2.18.0.0 + - System.String + GLib.GType - - To be added - a - To be added - + 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 + - To be added - a - To be added - + See , except that this will handle GZipped SVGs (svgz) + a + Use the returned handle identically to how you use a handle returned from + @@ -171,6 +266,85 @@ 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. + @@ -191,10 +365,20 @@ To be added + - + + Property + + 2.18.0.0 + + + + System.Obsolete + + Rsvg.SizeFunc @@ -205,5 +389,65 @@ + + + + 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. + + diff --git a/doc/en/Rsvg/Pixbuf.xml b/doc/en/Rsvg/Pixbuf.xml index ae3e47149..6600900b3 100644 --- a/doc/en/Rsvg/Pixbuf.xml +++ b/doc/en/Rsvg/Pixbuf.xml @@ -1,48 +1,49 @@ + - rsvg-sharp + 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. - - Utility/Convenience Functions for creating a from SVG. - To be added - System.Object + + Utility/Convenience Functions for creating a from SVG. + To be added + - - - Method - - Gdk.Pixbuf - - - - - - - - + + + + Constructor + + 2.18.0.0 + + + - Loads a new from at , , and . - 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. If an error occurred is returned. + To be added + To be added + Method + + 2.18.0.0 + + + + System.Obsolete + + Gdk.Pixbuf @@ -50,35 +51,24 @@ - Loads a new from and returns it. A file name + Loads a new from and returns it. A newly allocated , or If an error occurred is returned. - - - Method - - Gdk.Pixbuf - - - - - - - - Loads a new from at and . - 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 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 + + 2.18.0.0 + + + + System.Obsolete + + Gdk.Pixbuf @@ -88,64 +78,64 @@ - Loads a new from at and . 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 . + Loads a new from at and . + 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 an error occurred is returned. - - - - - Constructor - - - - To be added - To be added + This pixbuf is uniformly scaled so that the it fits into a rectangle of size * . + - - + + + Method + + 2.18.0.0 + + + + System.Obsolete + + 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 + The new width, or -1 + The new height, or -1 + 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 * . + 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. @@ -169,6 +159,36 @@ 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. + @@ -191,23 +211,39 @@ 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 - + + + + - Loads a new GdkPixbuf from . - 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 + Loads a new from at , , and . A newly allocated , or - If an error occurred, error is set and is returned. + 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. @@ -235,10 +271,34 @@ 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 @@ -246,15 +306,19 @@ - To be added a + To be added a To be added + Method + + 2.18.0.0 + Gdk.Pixbuf @@ -262,8 +326,8 @@ - To be added a + To be added a To be added diff --git a/doc/en/Rsvg/SizeFunc.xml b/doc/en/Rsvg/SizeFunc.xml index 40e870e4b..b575545e0 100644 --- a/doc/en/Rsvg/SizeFunc.xml +++ b/doc/en/Rsvg/SizeFunc.xml @@ -1,12 +1,24 @@ + - rsvg-sharp + 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. @@ -21,15 +33,5 @@ height: the output height the SVG should be user_data: user data - - System.Delegate - - - System.Void - - - - - diff --git a/doc/en/Rsvg/Tool.xml b/doc/en/Rsvg/Tool.xml index ecd1f888e..f8ef9dfa3 100644 --- a/doc/en/Rsvg/Tool.xml +++ b/doc/en/Rsvg/Tool.xml @@ -1,12 +1,18 @@ + - rsvg-sharp + 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 @@ -48,38 +54,48 @@ class MyMainWindow : Gtk.Window - - System.Object - - - - + + + + Constructor + + 2.18.0.0 + + + + + Internal constructor + Should never be used. + + + + + Method + + 2.18.0.0 + Gdk.Pixbuf - - - - - To be added a - a - a - a - a + To be added a To be added + Method + + 2.18.0.0 + Gdk.Pixbuf @@ -89,17 +105,21 @@ class MyMainWindow : Gtk.Window - To be added a a a + To be added a To be added + Method + + 2.18.0.0 + Gdk.Pixbuf @@ -109,17 +129,21 @@ class MyMainWindow : Gtk.Window - To be added a a a + To be added a To be added + Method + + 2.18.0.0 + Gdk.Pixbuf @@ -129,39 +153,41 @@ class MyMainWindow : Gtk.Window - To be added a a a + To be added a To be added - - + + + Method + + 2.18.0.0 + Gdk.Pixbuf + + + + - To be added a + a + a + a + a + To be added a To be added - - - Constructor - - - - Internal constructor - Should never be used. - - diff --git a/doc/en/Vte/CharAttributes.xml b/doc/en/Vte/CharAttributes.xml index 65c98afee..1707f415b 100644 --- a/doc/en/Vte/CharAttributes.xml +++ b/doc/en/Vte/CharAttributes.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -17,7 +19,11 @@ + Field + + 0.16.0.0 + Gdk.Color @@ -29,8 +35,12 @@ - + + Property + + 0.16.0.0 + System.Int64 @@ -43,7 +53,11 @@ + Field + + 0.16.0.0 + Gdk.Color @@ -56,7 +70,11 @@ + Method + + 0.16.0.0 + Vte.CharAttributes @@ -71,8 +89,12 @@ - + + Property + + 0.16.0.0 + System.Int64 @@ -84,8 +106,12 @@ - + + Property + + 0.16.0.0 + System.Boolean @@ -97,8 +123,12 @@ - + + Property + + 0.16.0.0 + System.Boolean @@ -111,7 +141,11 @@ + Field + + 0.16.0.0 + Vte.CharAttributes diff --git a/doc/en/Vte/CharSizeChangedArgs.xml b/doc/en/Vte/CharSizeChangedArgs.xml index 1e787761e..7727d2615 100644 --- a/doc/en/Vte/CharSizeChangedArgs.xml +++ b/doc/en/Vte/CharSizeChangedArgs.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -19,7 +21,11 @@ + Constructor + + 0.16.0.0 + @@ -29,7 +35,11 @@ + Property + + 0.16.0.0 + System.UInt32 @@ -42,7 +52,11 @@ + Property + + 0.16.0.0 + System.UInt32 diff --git a/doc/en/Vte/CharSizeChangedHandler.xml b/doc/en/Vte/CharSizeChangedHandler.xml index 6eaf8cc59..54d00396b 100644 --- a/doc/en/Vte/CharSizeChangedHandler.xml +++ b/doc/en/Vte/CharSizeChangedHandler.xml @@ -1,14 +1,23 @@ + 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. @@ -20,11 +29,4 @@ - - System.Void - - - - - diff --git a/doc/en/Vte/ChildExitedArgs.xml b/doc/en/Vte/ChildExitedArgs.xml index c38c76d71..4d58bdfe6 100644 --- a/doc/en/Vte/ChildExitedArgs.xml +++ b/doc/en/Vte/ChildExitedArgs.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -19,7 +21,11 @@ + Constructor + + 0.16.0.0 + @@ -29,7 +35,11 @@ + Property + + 0.16.0.0 + System.Int32 @@ -42,7 +52,11 @@ + Property + + 0.16.0.0 + System.Int32 diff --git a/doc/en/Vte/ChildExitedHandler.xml b/doc/en/Vte/ChildExitedHandler.xml index f6da9de32..84f4719fc 100644 --- a/doc/en/Vte/ChildExitedHandler.xml +++ b/doc/en/Vte/ChildExitedHandler.xml @@ -1,14 +1,23 @@ + 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. @@ -20,11 +29,4 @@ - - System.Void - - - - - diff --git a/doc/en/Vte/CommitArgs.xml b/doc/en/Vte/CommitArgs.xml index 15fb7f505..8f4ffe974 100644 --- a/doc/en/Vte/CommitArgs.xml +++ b/doc/en/Vte/CommitArgs.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -19,7 +21,11 @@ + Constructor + + 0.16.0.0 + @@ -29,7 +35,11 @@ + Property + + 0.16.0.0 + System.String @@ -42,7 +52,11 @@ + Property + + 0.16.0.0 + System.UInt32 diff --git a/doc/en/Vte/CommitHandler.xml b/doc/en/Vte/CommitHandler.xml index 62f8e5739..8d4a32cca 100644 --- a/doc/en/Vte/CommitHandler.xml +++ b/doc/en/Vte/CommitHandler.xml @@ -1,14 +1,23 @@ + 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. @@ -20,11 +29,4 @@ - - System.Void - - - - - diff --git a/doc/en/Vte/MoveWindowArgs.xml b/doc/en/Vte/MoveWindowArgs.xml index a2fe52668..e66078ea6 100644 --- a/doc/en/Vte/MoveWindowArgs.xml +++ b/doc/en/Vte/MoveWindowArgs.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -19,7 +21,11 @@ + Constructor + + 0.16.0.0 + @@ -29,7 +35,11 @@ + Property + + 0.16.0.0 + System.UInt32 @@ -42,7 +52,11 @@ + Property + + 0.16.0.0 + System.UInt32 diff --git a/doc/en/Vte/MoveWindowHandler.xml b/doc/en/Vte/MoveWindowHandler.xml index 31690c1f0..694945f2c 100644 --- a/doc/en/Vte/MoveWindowHandler.xml +++ b/doc/en/Vte/MoveWindowHandler.xml @@ -1,14 +1,23 @@ + 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. @@ -20,11 +29,4 @@ - - System.Void - - - - - diff --git a/doc/en/Vte/Reaper.xml b/doc/en/Vte/Reaper.xml index 601975544..d0cd7dfd7 100644 --- a/doc/en/Vte/Reaper.xml +++ b/doc/en/Vte/Reaper.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -18,7 +20,11 @@ + Constructor + + 0.16.0.0 + @@ -28,7 +34,16 @@ + Constructor + + 0.16.0.0 + + + + System.Obsolete + + @@ -38,15 +53,14 @@ Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 0.16.0.0 + @@ -59,7 +73,16 @@ + Event + + 0.16.0.0 + + + + GLib.Signal("child-exited") + + Vte.ChildExitedHandler @@ -68,15 +91,14 @@ To be added To be added - - - GLib.Signal("child-exited") - - + Method + + 0.16.0.0 + Vte.Reaper @@ -89,7 +111,11 @@ + Property + + 0.16.0.0 + GLib.GType @@ -102,7 +128,16 @@ + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildExited", Type=typeof(Vte.Reaper)) + + System.Void @@ -116,11 +151,6 @@ Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildExited", Type=typeof(Vte.Reaper)) - - diff --git a/doc/en/Vte/ResizeWindowArgs.xml b/doc/en/Vte/ResizeWindowArgs.xml index 347afdf00..4850b8b53 100644 --- a/doc/en/Vte/ResizeWindowArgs.xml +++ b/doc/en/Vte/ResizeWindowArgs.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -19,7 +21,11 @@ + Constructor + + 0.16.0.0 + @@ -29,7 +35,11 @@ + Property + + 0.16.0.0 + System.UInt32 @@ -42,7 +52,11 @@ + Property + + 0.16.0.0 + System.UInt32 diff --git a/doc/en/Vte/ResizeWindowHandler.xml b/doc/en/Vte/ResizeWindowHandler.xml index abeb7e06a..e0e77adb4 100644 --- a/doc/en/Vte/ResizeWindowHandler.xml +++ b/doc/en/Vte/ResizeWindowHandler.xml @@ -1,14 +1,23 @@ + 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. @@ -20,11 +29,4 @@ - - System.Void - - - - - diff --git a/doc/en/Vte/Terminal.xml b/doc/en/Vte/Terminal.xml index a062134d0..daf6013bf 100644 --- a/doc/en/Vte/Terminal.xml +++ b/doc/en/Vte/Terminal.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -129,7 +131,11 @@ class T + Constructor + + 0.16.0.0 + @@ -139,7 +145,16 @@ class T + Constructor + + 0.16.0.0 + + + + System.Obsolete + + @@ -149,15 +164,14 @@ class T Internal Constructor. This should not be called by normal applications. - - - System.Obsolete - - + Constructor + + 0.16.0.0 + @@ -170,7 +184,11 @@ class T + Property + + 0.16.0.0 + Gtk.Adjustment @@ -182,8 +200,12 @@ class T - + + Property + + 0.16.0.0 + System.Boolean @@ -196,8 +218,12 @@ class T - + + Property + + 0.16.0.0 + System.Boolean @@ -211,7 +237,11 @@ class T + Property + + 0.16.0.0 + Gdk.Pixbuf @@ -224,7 +254,11 @@ class T + Property + + 0.16.0.0 + System.String @@ -239,7 +273,11 @@ class T + Property + + 0.16.0.0 + System.Double @@ -256,7 +294,11 @@ class T + Property + + 0.16.0.0 + Gdk.Color @@ -268,7 +310,11 @@ class T + Property + + 0.16.0.0 + System.Boolean @@ -281,7 +327,11 @@ class T + Property + + 0.16.0.0 + Vte.TerminalEraseBinding @@ -293,7 +343,11 @@ class T + Property + + 0.16.0.0 + System.Int64 @@ -306,7 +360,11 @@ class T + Property + + 0.16.0.0 + System.Int64 @@ -319,7 +377,11 @@ class T + Property + + 0.16.0.0 + System.Int64 @@ -332,7 +394,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("char-size-changed") + + Vte.CharSizeChangedHandler @@ -341,15 +412,14 @@ class T Emitted whenever selection of a new font causes the values of the char_width or char_height fields to change. - - - GLib.Signal("char-size-changed") - - + Property + + 0.16.0.0 + System.Int64 @@ -362,7 +432,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("child-exited") + + System.EventHandler @@ -371,15 +450,14 @@ class T This signal is emitted when the terminal detects that a child started using has exited. - - - GLib.Signal("child-exited") - - + Event + + 0.16.0.0 + GLib.Signal("copy-clipboard") @@ -395,7 +473,11 @@ class T + Event + + 0.16.0.0 + GLib.Signal("paste-clipboard") @@ -411,7 +493,11 @@ class T + Property + + 0.16.0.0 + Gdk.Color @@ -423,7 +509,11 @@ class T + Property + + 0.16.0.0 + Gdk.Color @@ -435,7 +525,11 @@ class T + Property + + 0.16.0.0 + Gdk.Color @@ -448,7 +542,11 @@ class T + Property + + 0.16.0.0 + Gdk.Color @@ -460,7 +558,11 @@ class T + Property + + 0.16.0.0 + Gdk.Color @@ -472,7 +574,11 @@ class T + Property + + 0.16.0.0 + Gdk.Color @@ -485,7 +591,11 @@ class T + Property + + 0.16.0.0 + System.Int64 @@ -498,7 +608,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("commit") + + Vte.CommitHandler @@ -507,15 +626,19 @@ class T 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. - - - GLib.Signal("commit") - - + Event + + 0.16.0.0 + + + + GLib.Signal("contents-changed") + + System.EventHandler @@ -524,15 +647,14 @@ class T Emitted whenever the visible appearance of the terminal has changed. Used primarily by . - - - GLib.Signal("contents-changed") - - + Method + + 0.16.0.0 + System.Void @@ -544,7 +666,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -556,7 +682,11 @@ class T + Property + + 0.16.0.0 + System.Boolean @@ -569,7 +699,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("cursor-moved") + + System.EventHandler @@ -578,15 +717,19 @@ class T Emitted whenever the cursor moves to a new character cell. Used primarily by . - - - GLib.Signal("cursor-moved") - - + Event + + 0.16.0.0 + + + + GLib.Signal("decrease-font-size") + + System.EventHandler @@ -595,15 +738,14 @@ class T Emitted when the user hits the '-' key while holding the Control key. - - - GLib.Signal("decrease-font-size") - - + Property + + 0.16.0.0 + System.String @@ -616,7 +758,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("deiconify-window") + + System.EventHandler @@ -625,15 +776,14 @@ class T Emitted at the child application's request. - - - GLib.Signal("deiconify-window") - - + Property + + 0.16.0.0 + Vte.TerminalEraseBinding @@ -644,8 +794,12 @@ class T - + + Property + + 0.16.0.0 + System.String @@ -658,7 +812,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("emulation-changed") + + System.EventHandler @@ -667,15 +830,14 @@ class T Emitted when the terminal emulation type is changed. - - - GLib.Signal("emulation-changed") - - - + + Property + + 0.16.0.0 + System.String @@ -688,7 +850,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("encoding-changed") + + System.EventHandler @@ -697,15 +868,19 @@ class T Emitted when the terminals encoding type is changed. - - - GLib.Signal("encoding-changed") - - + Event + + 0.16.0.0 + + + + GLib.Signal("eof") + + System.EventHandler @@ -714,15 +889,14 @@ class T To be added - - - GLib.Signal("eof") - - + Method + + 0.16.0.0 + System.Void @@ -737,7 +911,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -752,7 +930,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -767,8 +949,12 @@ class T - + + Property + + 0.16.0.0 + Pango.FontDescription @@ -781,7 +967,11 @@ class T + Property + + 0.16.0.0 + System.String @@ -793,7 +983,11 @@ class T + Method + + 0.16.0.0 + System.Int32 @@ -824,7 +1018,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -841,7 +1039,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -858,7 +1060,11 @@ class T + Method + + 0.16.0.0 + System.String @@ -878,7 +1084,11 @@ class T + Method + + 0.16.0.0 + System.String @@ -899,7 +1109,11 @@ class T + Method + + 0.16.0.0 + System.String @@ -927,7 +1141,11 @@ class T + Property + + 0.16.0.0 + GLib.GType @@ -940,7 +1158,11 @@ class T + Property + + 0.16.0.0 + System.Boolean @@ -954,7 +1176,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("iconify-window") + + System.EventHandler @@ -963,15 +1194,14 @@ class T Emitted at the child application's request. - - - GLib.Signal("iconify-window") - - + Property + + 0.16.0.0 + System.String @@ -984,7 +1214,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("icon-title-changed") + + System.EventHandler @@ -993,15 +1232,14 @@ class T Emitted when the terminal's icon_title field is modified. - - - GLib.Signal("icon-title-changed") - - + Method + + 0.16.0.0 + System.Void @@ -1016,7 +1254,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("increase-font-size") + + System.EventHandler @@ -1025,15 +1272,14 @@ class T Emitted when the user hits the '+' key while holding the Control key. - - - GLib.Signal("increase-font-size") - - + Method + + 0.16.0.0 + System.Boolean @@ -1051,7 +1297,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("lower-window") + + System.EventHandler @@ -1060,15 +1315,14 @@ class T Emitted at the child application's request. - - - GLib.Signal("lower-window") - - + Method + + 0.16.0.0 + System.Int32 @@ -1084,7 +1338,11 @@ class T + Method + + 0.16.0.0 + System.String @@ -1104,7 +1362,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1116,7 +1378,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1131,7 +1397,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1148,7 +1418,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1165,7 +1439,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("maximize-window") + + System.EventHandler @@ -1174,15 +1457,14 @@ class T Emitted at the child application's request. - - - GLib.Signal("maximize-window") - - - + + Property + + 0.16.0.0 + System.Boolean @@ -1196,7 +1478,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("move-window") + + Vte.MoveWindowHandler @@ -1205,15 +1496,19 @@ class T Emitted at the child application's request. - - - GLib.Signal("move-window") - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCharSizeChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1227,15 +1522,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideCharSizeChanged", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildExited", Type=typeof(Vte.Terminal)) + + System.Void @@ -1244,15 +1543,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildExited", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardCopied", Type=typeof(Vte.Terminal)) + + System.Void @@ -1261,15 +1564,19 @@ class T To be added. To be added. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardCopied", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardPasted", Type=typeof(Vte.Terminal)) + + System.Void @@ -1278,15 +1585,19 @@ class T To be added. To be added. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardPasted", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCommit", Type=typeof(Vte.Terminal)) + + System.Void @@ -1301,15 +1612,19 @@ class T 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. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideCommit", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideContentsChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1318,15 +1633,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideContentsChanged", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorMoved", Type=typeof(Vte.Terminal)) + + System.Void @@ -1335,15 +1654,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorMoved", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDecreaseFontSize", Type=typeof(Vte.Terminal)) + + System.Void @@ -1352,15 +1675,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideDecreaseFontSize", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeiconifyWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1369,15 +1696,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeiconifyWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEmulationChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1386,15 +1717,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideEmulationChanged", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEncodingChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1403,15 +1738,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideEncodingChanged", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideEof", Type=typeof(Vte.Terminal)) + + System.Void @@ -1420,15 +1759,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideEof", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconifyWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1437,15 +1780,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconifyWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconTitleChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1454,15 +1801,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconTitleChanged", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideIncreaseFontSize", Type=typeof(Vte.Terminal)) + + System.Void @@ -1471,15 +1822,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideIncreaseFontSize", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideLowerWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1488,15 +1843,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideLowerWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMaximizeWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1505,15 +1864,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideMaximizeWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1527,15 +1890,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRaiseWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1544,15 +1911,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideRaiseWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRefreshWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1561,15 +1932,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideRefreshWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideResizeWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1583,15 +1958,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideResizeWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideRestoreWindow", Type=typeof(Vte.Terminal)) + + System.Void @@ -1600,15 +1979,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideRestoreWindow", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1617,15 +2000,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideStatusLineChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1634,15 +2021,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideStatusLineChanged", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Vte.Terminal)) + + System.Void @@ -1651,15 +2042,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextInserted", Type=typeof(Vte.Terminal)) + + System.Void @@ -1668,15 +2063,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextInserted", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextModified", Type=typeof(Vte.Terminal)) + + System.Void @@ -1685,15 +2084,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextModified", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextScrolled", Type=typeof(Vte.Terminal)) + + System.Void @@ -1705,15 +2108,19 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextScrolled", Type=typeof(Vte.Terminal)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideWindowTitleChanged", Type=typeof(Vte.Terminal)) + + System.Void @@ -1722,15 +2129,14 @@ class T Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideWindowTitleChanged", Type=typeof(Vte.Terminal)) - - + Property + + 0.16.0.0 + System.UInt16 @@ -1743,7 +2149,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1755,7 +2165,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1767,7 +2181,11 @@ class T + Property + + 0.16.0.0 + System.Int32 @@ -1780,7 +2198,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("raise-window") + + System.EventHandler @@ -1789,15 +2216,19 @@ class T Emitted at the child application's request. - - - GLib.Signal("raise-window") - - + Event + + 0.16.0.0 + + + + GLib.Signal("refresh-window") + + System.EventHandler @@ -1806,15 +2237,14 @@ class T Emitted at the child application's request. - - - GLib.Signal("refresh-window") - - + Method + + 0.16.0.0 + System.Void @@ -1833,7 +2263,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("resize-window") + + Vte.ResizeWindowHandler @@ -1842,15 +2281,19 @@ class T Emitted at the child application's request. - - - GLib.Signal("resize-window") - - + Event + + 0.16.0.0 + + + + GLib.Signal("restore-window") + + System.EventHandler @@ -1859,15 +2302,14 @@ class T Emitted at the child application's request. - - - GLib.Signal("restore-window") - - + Property + + 0.16.0.0 + System.Int64 @@ -1880,7 +2322,11 @@ class T + Property + + 0.16.0.0 + System.Boolean @@ -1892,7 +2338,11 @@ class T + Property + + 0.16.0.0 + System.Int64 @@ -1904,7 +2354,11 @@ class T + Property + + 0.16.0.0 + System.Boolean @@ -1917,7 +2371,11 @@ class T + Property + + 0.16.0.0 + System.Boolean @@ -1930,7 +2388,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1942,7 +2404,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("selection-changed") + + System.EventHandler @@ -1951,15 +2422,14 @@ class T Emitted whenever the contents of terminal's selection changes. - - - GLib.Signal("selection-changed") - - + Method + + 0.16.0.0 + System.Void @@ -1971,7 +2441,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -1999,7 +2473,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -2011,7 +2489,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -2029,7 +2511,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -2047,7 +2533,11 @@ class T + Method + + 0.16.0.0 + System.Void @@ -2064,7 +2554,11 @@ class T + Property + + 0.16.0.0 + System.String @@ -2077,7 +2571,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("status-line-changed") + + System.EventHandler @@ -2086,15 +2589,19 @@ class T Emitted whenever the contents of the status line are modified or cleared. - - - GLib.Signal("status-line-changed") - - + Event + + 0.16.0.0 + + + + GLib.Signal("text-deleted") + + System.EventHandler @@ -2103,15 +2610,19 @@ class T An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. - - - GLib.Signal("text-deleted") - - + Event + + 0.16.0.0 + + + + GLib.Signal("text-inserted") + + System.EventHandler @@ -2120,15 +2631,19 @@ class T An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. - - - GLib.Signal("text-inserted") - - + Event + + 0.16.0.0 + + + + GLib.Signal("text-modified") + + System.EventHandler @@ -2137,15 +2652,19 @@ class T An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. - - - GLib.Signal("text-modified") - - + Event + + 0.16.0.0 + + + + GLib.Signal("text-scrolled") + + Vte.TextScrolledHandler @@ -2154,15 +2673,14 @@ class T An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. - - - GLib.Signal("text-scrolled") - - + Property + + 0.16.0.0 + System.Boolean @@ -2175,8 +2693,12 @@ class T - + + Property + + 0.16.0.0 + System.Boolean @@ -2190,7 +2712,11 @@ class T + Property + + 0.16.0.0 + System.String @@ -2203,7 +2729,16 @@ class T + Event + + 0.16.0.0 + + + + GLib.Signal("window-title-changed") + + System.EventHandler @@ -2212,15 +2747,14 @@ class T Emitted when the terminal's window_title field is modified. - - - GLib.Signal("window-title-changed") - - + Property + + 0.16.0.0 + System.String diff --git a/doc/en/Vte/TerminalAccessible.xml b/doc/en/Vte/TerminalAccessible.xml index 097256aab..56005b064 100644 --- a/doc/en/Vte/TerminalAccessible.xml +++ b/doc/en/Vte/TerminalAccessible.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -27,7 +29,16 @@ + Constructor + + 0.16.0.0 + + + + System.Obsolete + + @@ -37,15 +48,14 @@ Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 0.16.0.0 + @@ -58,7 +68,11 @@ + Constructor + + 0.16.0.0 + @@ -71,7 +85,11 @@ + Method + + 0.16.0.0 + System.UInt32 @@ -87,7 +105,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -105,7 +127,11 @@ + Property + + 0.16.0.0 + System.Double @@ -117,7 +143,16 @@ + Event + + 0.16.0.0 + + + + GLib.Signal("bounds_changed") + + Atk.BoundsChangedHandler @@ -126,15 +161,14 @@ To be added To be added - - - GLib.Signal("bounds_changed") - - + Property + + 0.16.0.0 + System.Int32 @@ -147,7 +181,11 @@ + Property + + 0.16.0.0 + System.Int32 @@ -160,7 +198,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -179,10 +221,14 @@ - + + Property + + 0.16.0.0 + - GLib.SList + Atk.Attribute[] @@ -193,7 +239,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -209,7 +259,11 @@ + Method + + 0.16.0.0 + Atk.TextRange @@ -231,7 +285,11 @@ + Method + + 0.16.0.0 + System.Char @@ -248,7 +306,11 @@ + Method + + 0.16.0.0 + System.Void @@ -273,7 +335,11 @@ + Method + + 0.16.0.0 + System.String @@ -289,7 +355,11 @@ + Method + + 0.16.0.0 + System.Void @@ -312,7 +382,11 @@ + Method + + 0.16.0.0 + System.String @@ -328,7 +402,11 @@ + Method + + 0.16.0.0 + System.String @@ -344,7 +422,11 @@ + Method + + 0.16.0.0 + System.String @@ -360,7 +442,11 @@ + Method + + 0.16.0.0 + System.Int32 @@ -380,7 +466,11 @@ + Method + + 0.16.0.0 + System.Void @@ -399,7 +489,11 @@ + Method + + 0.16.0.0 + Atk.TextRectangle @@ -417,6 +511,52 @@ 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 @@ -429,17 +569,22 @@ + To be added a a a - To be added a To be added + + Method + + 0.16.0.0 + System.String @@ -459,7 +604,11 @@ + Method + + 0.16.0.0 + System.Void @@ -476,7 +625,11 @@ + Method + + 0.16.0.0 + System.String @@ -494,7 +647,11 @@ + Method + + 0.16.0.0 + System.String @@ -516,7 +673,11 @@ + Method + + 0.16.0.0 + System.String @@ -538,7 +699,11 @@ + Method + + 0.16.0.0 + System.String @@ -560,7 +725,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -573,7 +742,11 @@ + Property + + 0.16.0.0 + GLib.GType @@ -586,7 +759,11 @@ + Property + + 0.16.0.0 + Atk.Layer @@ -599,7 +776,11 @@ + Property + + 0.16.0.0 + System.Int32 @@ -612,7 +793,11 @@ + Property + + 0.16.0.0 + System.Int32 @@ -624,7 +809,11 @@ + Property + + 0.16.0.0 + System.Int32 @@ -637,7 +826,16 @@ + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideBoundsChanged", Type=typeof(Vte.TerminalAccessible)) + + System.Void @@ -649,15 +847,19 @@ To be added To be added - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideBoundsChanged", Type=typeof(Vte.TerminalAccessible)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextAttributesChanged", Type=typeof(Vte.TerminalAccessible)) + + System.Void @@ -666,15 +868,19 @@ Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextAttributesChanged", Type=typeof(Vte.TerminalAccessible)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextCaretMoved", Type=typeof(Vte.TerminalAccessible)) + + System.Void @@ -686,15 +892,19 @@ Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextCaretMoved", Type=typeof(Vte.TerminalAccessible)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextChanged", Type=typeof(Vte.TerminalAccessible)) + + System.Void @@ -708,15 +918,19 @@ Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextChanged", Type=typeof(Vte.TerminalAccessible)) - - + Method + + 0.16.0.0 + + + + GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextSelectionChanged", Type=typeof(Vte.TerminalAccessible)) + + System.Void @@ -725,15 +939,14 @@ Default handler for the event. Override this method in a subclass to provide a default handler for the event. - - - GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextSelectionChanged", Type=typeof(Vte.TerminalAccessible)) - - + Method + + 0.16.0.0 + Atk.Object @@ -753,7 +966,11 @@ + Method + + 0.16.0.0 + System.Void @@ -768,7 +985,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -784,7 +1005,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -800,7 +1025,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -818,7 +1047,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -842,7 +1075,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -862,7 +1099,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -882,7 +1123,11 @@ + Method + + 0.16.0.0 + System.Boolean @@ -900,7 +1145,16 @@ + Event + + 0.16.0.0 + + + + GLib.Signal("text_attributes_changed") + + System.EventHandler @@ -909,15 +1163,19 @@ To be added To be added - - - GLib.Signal("text_attributes_changed") - - + Event + + 0.16.0.0 + + + + GLib.Signal("text_caret_moved") + + Atk.TextCaretMovedHandler @@ -926,15 +1184,19 @@ To be added To be added - - - GLib.Signal("text_caret_moved") - - + Event + + 0.16.0.0 + + + + GLib.Signal("text_changed") + + Atk.TextChangedHandler @@ -943,15 +1205,19 @@ To be added To be added - - - GLib.Signal("text_changed") - - + Event + + 0.16.0.0 + + + + GLib.Signal("text_selection_changed") + + System.EventHandler @@ -960,11 +1226,6 @@ To be added To be added - - - GLib.Signal("text_selection_changed") - - diff --git a/doc/en/Vte/TerminalAccessibleFactory.xml b/doc/en/Vte/TerminalAccessibleFactory.xml index e2ae3e31b..e962fff84 100644 --- a/doc/en/Vte/TerminalAccessibleFactory.xml +++ b/doc/en/Vte/TerminalAccessibleFactory.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -18,7 +20,11 @@ + Constructor + + 0.16.0.0 + @@ -28,7 +34,16 @@ + Constructor + + 0.16.0.0 + + + + System.Obsolete + + @@ -38,15 +53,14 @@ Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. - - - System.Obsolete - - + Constructor + + 0.16.0.0 + @@ -59,7 +73,11 @@ + Property + + 0.16.0.0 + GLib.GType diff --git a/doc/en/Vte/TerminalAntiAlias.xml b/doc/en/Vte/TerminalAntiAlias.xml index 70b62ca63..fe4892fc8 100644 --- a/doc/en/Vte/TerminalAntiAlias.xml +++ b/doc/en/Vte/TerminalAntiAlias.xml @@ -1,7 +1,9 @@ + vte-sharp + 0.16.0.0 System.Enum @@ -19,7 +21,11 @@ + Field + + 0.16.0.0 + Vte.TerminalAntiAlias @@ -29,7 +35,11 @@ + Field + + 0.16.0.0 + Vte.TerminalAntiAlias @@ -39,7 +49,11 @@ + Field + + 0.16.0.0 + Vte.TerminalAntiAlias diff --git a/doc/en/Vte/TerminalEraseBinding.xml b/doc/en/Vte/TerminalEraseBinding.xml index 12dab334b..9ab5f30d4 100644 --- a/doc/en/Vte/TerminalEraseBinding.xml +++ b/doc/en/Vte/TerminalEraseBinding.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -21,7 +23,11 @@ + Field + + 0.16.0.0 + Vte.TerminalEraseBinding @@ -35,7 +41,11 @@ + Field + + 0.16.0.0 + Vte.TerminalEraseBinding @@ -49,7 +59,11 @@ + Field + + 0.16.0.0 + Vte.TerminalEraseBinding @@ -63,7 +77,11 @@ + Field + + 0.16.0.0 + Vte.TerminalEraseBinding diff --git a/doc/en/Vte/TextScrolledArgs.xml b/doc/en/Vte/TextScrolledArgs.xml index 41e2fe6af..89beddff9 100644 --- a/doc/en/Vte/TextScrolledArgs.xml +++ b/doc/en/Vte/TextScrolledArgs.xml @@ -1,9 +1,11 @@ + vte-sharp + 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. @@ -19,7 +21,11 @@ + Constructor + + 0.16.0.0 + @@ -29,7 +35,11 @@ + Property + + 0.16.0.0 + System.Int32 diff --git a/doc/en/Vte/TextScrolledHandler.xml b/doc/en/Vte/TextScrolledHandler.xml index dfe1ad419..41dded038 100644 --- a/doc/en/Vte/TextScrolledHandler.xml +++ b/doc/en/Vte/TextScrolledHandler.xml @@ -1,14 +1,23 @@ + 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. @@ -20,11 +29,4 @@ - - System.Void - - - - - diff --git a/doc/en/index.xml b/doc/en/index.xml index a92d78a98..52bb47316 100644 --- a/doc/en/index.xml +++ b/doc/en/index.xml @@ -1,1554 +1,1934 @@ - - - - - - - - - - - - - - - + + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 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 diff --git a/doc/en/Atk.xml b/doc/en/ns-Atk.xml similarity index 100% rename from doc/en/Atk.xml rename to doc/en/ns-Atk.xml diff --git a/doc/en/Gdk.xml b/doc/en/ns-Gdk.xml similarity index 100% rename from doc/en/Gdk.xml rename to doc/en/ns-Gdk.xml diff --git a/doc/en/Gnome.Vfs.xml b/doc/en/ns-Gnome.Vfs.xml similarity index 100% rename from doc/en/Gnome.Vfs.xml rename to doc/en/ns-Gnome.Vfs.xml diff --git a/doc/en/Gnome.xml b/doc/en/ns-Gnome.xml similarity index 100% rename from doc/en/Gnome.xml rename to doc/en/ns-Gnome.xml diff --git a/doc/en/Gtk.xml b/doc/en/ns-Gtk.xml similarity index 100% rename from doc/en/Gtk.xml rename to doc/en/ns-Gtk.xml diff --git a/doc/en/Pango.xml b/doc/en/ns-Pango.xml similarity index 100% rename from doc/en/Pango.xml rename to doc/en/ns-Pango.xml diff --git a/doc/en/Rsvg.xml b/doc/en/ns-Rsvg.xml similarity index 100% rename from doc/en/Rsvg.xml rename to doc/en/ns-Rsvg.xml diff --git a/gapi-cdecl-insert b/gapi-cdecl-insert index 968949da5..7bd269822 100755 --- a/gapi-cdecl-insert +++ b/gapi-cdecl-insert @@ -31,15 +31,21 @@ foreach $arg (@ARGV) { } } +if (`which ildasm 2> /dev/null`) { + $dasm = "ildasm /out:"; +} else { + $dasm = "monodis --output="; +} + if ($assembly =~ /(.*)\.dll/) { $basename = $1; - `ildasm $assembly /out:$basename.raw`; + `$dasm$basename.raw $assembly`; open(INFILE, $basename . ".raw") || die "Couldn't open $basename.raw\n"; open(OUTFILE, "> $basename.il") || die "Couldn't open $basename.il\n"; while ($line = ) { $insert = 1 if ($line =~ /\.custom instance void .*GLib\.CDeclCallbackAttribute/); - if ($insert && $line =~ /(.*)\s+(Invoke\(.*)/) { + if ($insert && $line =~ /(.*)\s+(Invoke\s*\(.*)/) { print OUTFILE "$1 modopt([mscorlib]System.Runtime.CompilerServices.CallConvCdecl) $2"; $insert = 0; next; diff --git a/gdk/Color.custom b/gdk/Color.custom index ff4e74b87..daaf3790a 100644 --- a/gdk/Color.custom +++ b/gdk/Color.custom @@ -35,7 +35,7 @@ public Color (byte r, byte g, byte b) Pixel = 0; } -[DllImport("libgdk-win32-2.0-0.dll")] +[DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint gdk_color_hash(ref Gdk.Color raw); public override int GetHashCode() { diff --git a/gdk/Colormap.custom b/gdk/Colormap.custom deleted file mode 100644 index 5029db880..000000000 --- a/gdk/Colormap.custom +++ /dev/null @@ -1,30 +0,0 @@ -// Gdk.Colormap.custom - Colormap customizations -// -// Copyright (c) 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. - - - public int AllocColors (Gdk.Color[] colors, int n_colors, bool writeable, bool best_match, bool[] success) - { - return gdk_colormap_alloc_colors (Handle, colors, n_colors, writeable, best_match, success); - } - - public void FreeColors (Gdk.Color[] colors, int n_colors) - { - gdk_colormap_free_colors (Handle, colors, n_colors); - } diff --git a/gdk/Device.custom b/gdk/Device.custom index 486910e15..7e3fb73bb 100644 --- a/gdk/Device.custom +++ b/gdk/Device.custom @@ -19,13 +19,13 @@ // Boston, MA 02111-1307, USA. - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern DeviceAxis gtksharp_gdk_device_get_device_axis (IntPtr device, uint axis); - [DllImport("gdksharpglue-2")] + [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")] + [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); @@ -44,10 +44,10 @@ return gtksharp_gdk_device_get_device_key (Handle, axis); } - [DllImport("libgdk-win32-2.0-0.dll")] + [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")] + [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) diff --git a/gdk/Display.custom b/gdk/Display.custom index 0870bb6e5..2f999d3a0 100644 --- a/gdk/Display.custom +++ b/gdk/Display.custom @@ -18,7 +18,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgdk-win32-2.0-0.dll")] + [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] @@ -28,7 +28,7 @@ mask = (Gdk.ModifierType) mask_as_int; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) { @@ -58,7 +58,7 @@ GetPointer (out screen, out x, out y, out mod); } - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_display_list_devices (IntPtr raw); public Device[] ListDevices () @@ -67,22 +67,36 @@ if (raw_ret == IntPtr.Zero) return new Device [0]; GLib.List list = new GLib.List(raw_ret); - Device[] result = new Device [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Device; - return result; + return GLib.Marshaller.ListToArray (list); } - [DllImport("libgdk-win32-2.0-0.dll")] + [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); + // Purposefully leak this indefinitely, there's no gdk_display_remove_client_message_filter. + var gch = GCHandle.Alloc (func); + gdk_display_add_client_message_filter (Handle, message_type == null ? IntPtr.Zero : message_type.Handle, GdkSharp.FilterFuncWrapper.NativeDelegate, (IntPtr)gch); + } + + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gdk_display_get_event(IntPtr raw); + + public Gdk.Event Event { + get { + IntPtr raw_ret = gdk_display_get_event(Handle); + Gdk.Event ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; + } + } + + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gdk_display_peek_event(IntPtr raw); + + public Gdk.Event PeekEvent() { + IntPtr raw_ret = gdk_display_peek_event(Handle); + Gdk.Event ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; } diff --git a/gdk/DisplayManager.custom b/gdk/DisplayManager.custom index 65b83f2c2..7c3392103 100644 --- a/gdk/DisplayManager.custom +++ b/gdk/DisplayManager.custom @@ -18,7 +18,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_display_manager_list_displays (IntPtr raw); public Display[] ListDisplays () @@ -26,10 +26,6 @@ IntPtr raw_ret = gdk_display_manager_list_displays (Handle); if (raw_ret == IntPtr.Zero) return new Display [0]; - GLib.SList list = new GLib.SList(raw_ret); - Display[] result = new Display [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Display; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } diff --git a/gdk/DragContext.custom b/gdk/DragContext.custom index 42a33abdb..83a68dd9d 100644 --- a/gdk/DragContext.custom +++ b/gdk/DragContext.custom @@ -20,19 +20,12 @@ // Boston, MA 02111-1307, USA. -[DllImport("gdksharpglue-2")] +[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)); - - Atom [] entries = new Atom [list.Count]; - - int i = 0; - foreach (Atom a in list) - entries [i ++] = a; - - return entries; + return GLib.Marshaller.ListToArray (list); } } diff --git a/gdk/Drawable.custom b/gdk/Drawable.custom index 12de3d933..798cc295d 100644 --- a/gdk/Drawable.custom +++ b/gdk/Drawable.custom @@ -24,7 +24,7 @@ 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")] +[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] @@ -38,7 +38,7 @@ 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")] +[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) @@ -46,10 +46,10 @@ 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")] +[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")] +[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 diff --git a/gdk/Event.cs b/gdk/Event.cs index 5d80f748b..75b0c0645 100644 --- a/gdk/Event.cs +++ b/gdk/Event.cs @@ -28,23 +28,37 @@ namespace Gdk { public class Event : GLib.IWrapper { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern EventType gtksharp_gdk_event_get_event_type (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_get_window (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern sbyte gtksharp_gdk_event_get_send_event (IntPtr evt); - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_event_get_type (); IntPtr raw; - public Event(IntPtr raw) + [DllImport ("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gdk_event_free (IntPtr raw); + + ~Event() + { + gdk_event_free (raw); + } + + public Event(IntPtr raw) : this(raw, false) + { + } + + public Event(IntPtr raw, bool owned) { this.raw = raw; + if (!owned) + System.GC.SuppressFinalize (this); } public IntPtr Handle { @@ -53,9 +67,10 @@ public IntPtr Handle { } } + static GLib.GType _gtype = new GLib.GType (gdk_event_get_type ()); public static GLib.GType GType { get { - return new GLib.GType (gdk_event_get_type ()); + return _gtype; } } @@ -83,63 +98,68 @@ public static Event New (IntPtr raw) } public static Event GetEvent (IntPtr raw) + { + return GetEvent (raw, false); + } + + public static Event GetEvent (IntPtr raw, bool owned) { if (raw == IntPtr.Zero) return null; switch (gtksharp_gdk_event_get_event_type (raw)) { case EventType.Expose: - return new EventExpose (raw); + return new EventExpose (raw, owned); case EventType.MotionNotify: - return new EventMotion (raw); + return new EventMotion (raw, owned); case EventType.ButtonPress: case EventType.TwoButtonPress: case EventType.ThreeButtonPress: case EventType.ButtonRelease: - return new EventButton (raw); + return new EventButton (raw, owned); case EventType.KeyPress: case EventType.KeyRelease: - return new EventKey (raw); + return new EventKey (raw, owned); case EventType.EnterNotify: case EventType.LeaveNotify: - return new EventCrossing (raw); + return new EventCrossing (raw, owned); case EventType.FocusChange: - return new EventFocus (raw); + return new EventFocus (raw, owned); case EventType.Configure: - return new EventConfigure (raw); + return new EventConfigure (raw, owned); case EventType.PropertyNotify: - return new EventProperty (raw); + return new EventProperty (raw, owned); case EventType.SelectionClear: case EventType.SelectionRequest: case EventType.SelectionNotify: - return new EventSelection (raw); + return new EventSelection (raw, owned); case EventType.ProximityIn: case EventType.ProximityOut: - return new EventProximity (raw); + return new EventProximity (raw, owned); case EventType.DragEnter: case EventType.DragLeave: case EventType.DragMotion: case EventType.DragStatus: case EventType.DropStart: case EventType.DropFinished: - return new EventDND (raw); + return new EventDND (raw, owned); case EventType.ClientEvent: - return new EventClient (raw); + return new EventClient (raw, owned); case EventType.VisibilityNotify: - return new EventVisibility (raw); + return new EventVisibility (raw, owned); case EventType.Scroll: - return new EventScroll (raw); + return new EventScroll (raw, owned); case EventType.WindowState: - return new EventWindowState (raw); + return new EventWindowState (raw, owned); case EventType.Setting: - return new EventSetting (raw); + return new EventSetting (raw, owned); #if GTK_SHARP_2_6 case EventType.OwnerChange: - return new EventOwnerChange (raw); + return new EventOwnerChange (raw, owned); #endif #if GTK_SHARP_2_8 case EventType.GrabBroken: - return new EventGrabBroken (raw); + return new EventGrabBroken (raw, owned); #endif case EventType.Map: case EventType.Unmap: @@ -147,7 +167,7 @@ public static Event GetEvent (IntPtr raw) case EventType.Delete: case EventType.Destroy: default: - return new Gdk.Event (raw); + return new Gdk.Event (raw, owned); } } } diff --git a/gdk/EventButton.cs b/gdk/EventButton.cs index d94befb8e..004c0933c 100644 --- a/gdk/EventButton.cs +++ b/gdk/EventButton.cs @@ -25,34 +25,35 @@ namespace Gdk { public class EventButton : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_button_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_x (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_y (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_x_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_y_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_button_get_state (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_button_get_button (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_button_get_device (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_button_get_axes (IntPtr evt); - public EventButton (IntPtr raw) : base (raw) {} + public EventButton (IntPtr raw) : base (raw) { } + public EventButton (IntPtr raw, bool owned) : base (raw, owned) { } public uint Time { get { diff --git a/gdk/EventClient.cs b/gdk/EventClient.cs index 76db671a2..ac87cb4c5 100644 --- a/gdk/EventClient.cs +++ b/gdk/EventClient.cs @@ -26,16 +26,17 @@ namespace Gdk { public class EventClient : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_client_get_message_type (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ushort gtksharp_gdk_event_client_get_data_format (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_client_get_data (IntPtr evt); - public EventClient (IntPtr raw) : base (raw) {} + public EventClient (IntPtr raw) : base (raw) { } + public EventClient (IntPtr raw, bool owned) : base (raw, owned) { } public Atom MessageType { get { diff --git a/gdk/EventConfigure.cs b/gdk/EventConfigure.cs index 498e6cdbb..393b04654 100644 --- a/gdk/EventConfigure.cs +++ b/gdk/EventConfigure.cs @@ -26,19 +26,20 @@ namespace Gdk { public class EventConfigure : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_x (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_y (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_width (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_height (IntPtr evt); - public EventConfigure (IntPtr raw) : base (raw) {} + public EventConfigure (IntPtr raw) : base (raw) { } + public EventConfigure (IntPtr raw, bool owned) : base (raw, owned) { } public int X { get { diff --git a/gdk/EventCrossing.cs b/gdk/EventCrossing.cs index ff3a5d062..c7877b83e 100644 --- a/gdk/EventCrossing.cs +++ b/gdk/EventCrossing.cs @@ -26,37 +26,38 @@ namespace Gdk { public class EventCrossing : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_crossing_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_x (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_y (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_x_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_y_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_crossing_get_state (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_crossing_get_subwindow (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern CrossingMode gtksharp_gdk_event_crossing_get_mode (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern NotifyType gtksharp_gdk_event_crossing_get_detail (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool gtksharp_gdk_event_crossing_get_focus (IntPtr evt); - public EventCrossing (IntPtr raw) : base (raw) {} + public EventCrossing (IntPtr raw) : base (raw) { } + public EventCrossing (IntPtr raw, bool owned) : base (raw, owned) { } public uint Time { get { diff --git a/gdk/EventDND.cs b/gdk/EventDND.cs index 01bc21c03..3934a223f 100644 --- a/gdk/EventDND.cs +++ b/gdk/EventDND.cs @@ -26,19 +26,20 @@ namespace Gdk { public class EventDND : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_dnd_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_dnd_get_context (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern short gtksharp_gdk_event_dnd_get_x_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [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 EventDND (IntPtr raw) : base (raw) { } + public EventDND (IntPtr raw, bool owned) : base (raw, owned) { } public DragContext Context { get { diff --git a/gdk/EventExpose.cs b/gdk/EventExpose.cs index febadaa9e..8c51dde7c 100644 --- a/gdk/EventExpose.cs +++ b/gdk/EventExpose.cs @@ -26,20 +26,21 @@ namespace Gdk { public class EventExpose : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_expose_get_area (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_expose_get_region (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_expose_get_count (IntPtr evt); public EventExpose (IntPtr raw) : base (raw) {} + public EventExpose (IntPtr raw, bool owned) : base (raw, owned) {} public Rectangle Area { get { - return (Gdk.Rectangle) Marshal.PtrToStructure (gtksharp_gdk_event_expose_get_area (Handle), typeof (Gdk.Rectangle)); + return Marshal.PtrToStructure (gtksharp_gdk_event_expose_get_area (Handle)); } } diff --git a/gdk/EventFocus.cs b/gdk/EventFocus.cs index 523af3dec..69cf31816 100644 --- a/gdk/EventFocus.cs +++ b/gdk/EventFocus.cs @@ -26,10 +26,11 @@ namespace Gdk { public class EventFocus : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern short gtksharp_gdk_event_focus_get_in (IntPtr evt); - public EventFocus (IntPtr raw) : base (raw) {} + public EventFocus (IntPtr raw) : base (raw) { } + public EventFocus (IntPtr raw, bool owned) : base (raw, owned) { } public bool In { get { diff --git a/gdk/EventGrabBroken.cs b/gdk/EventGrabBroken.cs index b1d6cc754..615ab2112 100644 --- a/gdk/EventGrabBroken.cs +++ b/gdk/EventGrabBroken.cs @@ -39,10 +39,14 @@ struct NativeEventGrabBroken { NativeEventGrabBroken native_struct; - public EventGrabBroken (IntPtr raw) : base (raw) + public EventGrabBroken (IntPtr raw) : this (raw, false) { - native_struct = (NativeEventGrabBroken) Marshal.PtrToStructure (raw, typeof (NativeEventGrabBroken)); - } + } + + public EventGrabBroken (IntPtr raw, bool owned) : base (raw, owned) + { + native_struct = Marshal.PtrToStructure (raw); + } public bool Keyboard { get { diff --git a/gdk/EventHelper.custom b/gdk/EventHelper.custom new file mode 100644 index 000000000..cfa11adcb --- /dev/null +++ b/gdk/EventHelper.custom @@ -0,0 +1,46 @@ + + + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gdk_event_new(int type); + + public static Gdk.Event New(Gdk.EventType type) { + IntPtr raw_ret = gdk_event_new((int) type); + Gdk.Event ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; + } + + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gdk_event_get(); + + public static Gdk.Event Get() { + IntPtr raw_ret = gdk_event_get(); + Gdk.Event ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; + } + + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gdk_event_copy(IntPtr evnt); + + public static Gdk.Event Copy(Gdk.Event evnt) { + IntPtr raw_ret = gdk_event_copy(evnt == null ? IntPtr.Zero : evnt.Handle); + Gdk.Event ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; + } + + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gdk_event_get_graphics_expose(IntPtr window); + + public static Gdk.Event GetGraphicsExpose(Gdk.Window window) { + IntPtr raw_ret = gdk_event_get_graphics_expose(window == null ? IntPtr.Zero : window.Handle); + Gdk.Event ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; + } + + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gdk_event_peek(); + + public static Gdk.Event Peek() { + IntPtr raw_ret = gdk_event_peek(); + Gdk.Event ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; + } \ No newline at end of file diff --git a/gdk/EventKey.cs b/gdk/EventKey.cs index 4769fda35..2df671ca5 100644 --- a/gdk/EventKey.cs +++ b/gdk/EventKey.cs @@ -26,22 +26,23 @@ namespace Gdk { public class EventKey : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_key_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_key_get_state (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_key_get_keyval (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ushort gtksharp_gdk_event_key_get_hardware_keycode (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern byte gtksharp_gdk_event_key_get_group (IntPtr evt); - public EventKey (IntPtr raw) : base (raw) {} + public EventKey (IntPtr raw) : base (raw) { } + public EventKey (IntPtr raw, bool owned) : base (raw, owned) { } public uint Time { get { diff --git a/gdk/EventMotion.cs b/gdk/EventMotion.cs index 4f6a75505..b93f8b76a 100644 --- a/gdk/EventMotion.cs +++ b/gdk/EventMotion.cs @@ -26,34 +26,35 @@ namespace Gdk { public class EventMotion : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_motion_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_x (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_y (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_x_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_y_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_motion_get_state (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ushort gtksharp_gdk_event_motion_get_is_hint (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_motion_get_device (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_motion_get_axes (IntPtr evt); - public EventMotion (IntPtr raw) : base (raw) {} + public EventMotion (IntPtr raw) : base (raw) { } + public EventMotion (IntPtr raw, bool owned) : base (raw, owned) { } public uint Time { get { diff --git a/gdk/EventOwnerChange.cs b/gdk/EventOwnerChange.cs index e2aafd992..894445095 100644 --- a/gdk/EventOwnerChange.cs +++ b/gdk/EventOwnerChange.cs @@ -26,7 +26,8 @@ namespace Gdk { public class EventOwnerChange : Event { - public EventOwnerChange (IntPtr handle) : base (handle) {} + public EventOwnerChange (IntPtr handle) : base (handle) { } + public EventOwnerChange (IntPtr raw, bool owned) : base (raw, owned) { } struct NativeStruct { public Gdk.EventType type; @@ -40,7 +41,7 @@ struct NativeStruct { } NativeStruct Native { - get { return (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } + get { return Marshal.PtrToStructure (Handle); } } public uint Owner { diff --git a/gdk/EventProperty.cs b/gdk/EventProperty.cs index f6787bc50..a6e31fa17 100644 --- a/gdk/EventProperty.cs +++ b/gdk/EventProperty.cs @@ -26,16 +26,17 @@ namespace Gdk { public class EventProperty : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_property_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_property_get_atom (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern PropertyState gtksharp_gdk_event_property_get_state (IntPtr evt); - public EventProperty (IntPtr raw) : base (raw) {} + public EventProperty (IntPtr raw) : base (raw) { } + public EventProperty (IntPtr raw, bool owned) : base (raw, owned) { } public Atom Atom { get { diff --git a/gdk/EventProximity.cs b/gdk/EventProximity.cs index 81c54289c..679bccd01 100644 --- a/gdk/EventProximity.cs +++ b/gdk/EventProximity.cs @@ -26,13 +26,14 @@ namespace Gdk { public class EventProximity : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_proximity_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_proximity_get_device (IntPtr evt); - public EventProximity (IntPtr raw) : base (raw) {} + public EventProximity (IntPtr raw) : base (raw) { } + public EventProximity (IntPtr raw, bool owned) : base (raw, owned) { } public Device Device { get { diff --git a/gdk/EventScroll.cs b/gdk/EventScroll.cs index 1dba1ec8f..f7027c6a2 100644 --- a/gdk/EventScroll.cs +++ b/gdk/EventScroll.cs @@ -26,31 +26,32 @@ namespace Gdk { public class EventScroll : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_scroll_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_x (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_y (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_x_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_y_root (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_scroll_get_state (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ScrollDirection gtksharp_gdk_event_scroll_get_direction (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_scroll_get_device (IntPtr evt); - public EventScroll (IntPtr raw) : base (raw) {} + public EventScroll (IntPtr raw) : base (raw) { } + public EventScroll (IntPtr raw, bool owned) : base (raw, owned) { } public uint Time { get { diff --git a/gdk/EventSelection.cs b/gdk/EventSelection.cs index dbd793df9..f292a6417 100644 --- a/gdk/EventSelection.cs +++ b/gdk/EventSelection.cs @@ -26,22 +26,23 @@ namespace Gdk { public class EventSelection : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_selection_get_time (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_selection_get_selection (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_selection_get_target (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_selection_get_property (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_selection_get_requestor (IntPtr evt); - public EventSelection (IntPtr raw) : base (raw) {} + public EventSelection (IntPtr raw) : base (raw) { } + public EventSelection (IntPtr raw, bool owned) : base (raw, owned) { } public Atom Property { get { diff --git a/gdk/EventSetting.cs b/gdk/EventSetting.cs index d95b31b73..4e352a4dd 100644 --- a/gdk/EventSetting.cs +++ b/gdk/EventSetting.cs @@ -26,13 +26,14 @@ namespace Gdk { public class EventSetting : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern SettingAction gtksharp_gdk_event_setting_get_action (IntPtr evt); - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_setting_get_name (IntPtr evt); - public EventSetting (IntPtr raw) : base (raw) {} + public EventSetting (IntPtr raw) : base (raw) { } + public EventSetting (IntPtr raw, bool owned) : base (raw, owned) { } public SettingAction Action { get { diff --git a/gdk/EventVisibility.cs b/gdk/EventVisibility.cs index e80ec5d92..b91cea21e 100644 --- a/gdk/EventVisibility.cs +++ b/gdk/EventVisibility.cs @@ -26,10 +26,11 @@ namespace Gdk { public class EventVisibility : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern VisibilityState gtksharp_gdk_event_visibility_get_state (IntPtr evt); - public EventVisibility (IntPtr raw) : base (raw) {} + public EventVisibility (IntPtr raw) : base (raw) { } + public EventVisibility (IntPtr raw, bool owned) : base (raw, owned) { } public VisibilityState State { get { diff --git a/gdk/EventWindowState.cs b/gdk/EventWindowState.cs index 9718b9bc5..a4d972ee4 100644 --- a/gdk/EventWindowState.cs +++ b/gdk/EventWindowState.cs @@ -26,13 +26,14 @@ namespace Gdk { public class EventWindowState : Event { - [DllImport("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern WindowState gtksharp_gdk_event_window_state_get_changed_mask (IntPtr evt); - [DllImport("gdksharpglue-2")] + [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 EventWindowState (IntPtr raw) : base (raw) { } + public EventWindowState (IntPtr raw, bool owned) : base (raw, owned) { } public WindowState ChangedMask { get { diff --git a/gdk/Gdk.metadata b/gdk/Gdk.metadata index 87316e600..99124138b 100644 --- a/gdk/Gdk.metadata +++ b/gdk/Gdk.metadata @@ -20,6 +20,11 @@ out out 1 + 1 + 1 + 1 + 1 + 1 EventHelper 1 1 @@ -64,7 +69,7 @@ 1 1 ref - 1 + 1 public public public @@ -81,6 +86,8 @@ GetSupportsComposite GetSupportsInputShapes GetSupportsShapes + 1 + 1 1 DragProtocol 1 @@ -92,9 +99,11 @@ 1 1 1 + n_points 1 out gpointer + ref private private 1 @@ -110,18 +119,20 @@ 1 1 1 - 1 + 1 1 1 1 1 1 true + true 1 true true true - 1 + 1 + 1 1 GdkDrawable out @@ -196,12 +207,23 @@ out 1 1 + n_points call 1 false 128 1 + true + true + guchar + guchar + guchar + + + + + diff --git a/gdk/Global.custom b/gdk/Global.custom index 135aefd37..7f75f7e82 100644 --- a/gdk/Global.custom +++ b/gdk/Global.custom @@ -19,7 +19,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_devices_list (); public static Device[] DevicesList () @@ -28,13 +28,10 @@ if (raw_ret == IntPtr.Zero) return new Device [0]; GLib.List list = new GLib.List(raw_ret); - Device[] result = new Device [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Device; - return result; + return GLib.Marshaller.ListToArray (list); } - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_list_visuals (); public static Visual[] ListVisuals () @@ -42,14 +39,10 @@ IntPtr raw_ret = gdk_list_visuals (); if (raw_ret == IntPtr.Zero) return new Visual [0]; - GLib.List list = new GLib.List(raw_ret); - Visual[] result = new Visual [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Visual; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } - [DllImport ("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_net_supported (); public static Gdk.Atom[] SupportedWindowManagerHints { @@ -57,16 +50,11 @@ IntPtr raw_ret = gtksharp_get_gdk_net_supported (); if (raw_ret == IntPtr.Zero) return new Gdk.Atom [0]; - GLib.List list = new GLib.List (raw_ret, typeof (Gdk.Atom)); - Gdk.Atom[] atoms = new Gdk.Atom [list.Count]; - for (int i = 0; i < list.Count; i++) - atoms [i] = list [i] as Gdk.Atom; - - return atoms; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } - [DllImport ("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_net_client_list (out int count); public static Gdk.Window[] WindowManagerClientWindows { @@ -74,20 +62,20 @@ int count; IntPtr raw_ret = gtksharp_get_gdk_net_client_list (out count); if (raw_ret == IntPtr.Zero) - return new Gdk.Window [0]; + return Array.Empty (); 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")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_get_gdk_net_number_of_desktops (); public static int NumberOfDesktops { @@ -96,7 +84,7 @@ } } - [DllImport ("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_get_gdk_net_current_desktop (); public static int CurrentDesktop { @@ -105,7 +93,7 @@ } } - [DllImport ("gdksharpglue-2")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_get_gdk_net_active_window (); public static Gdk.Window ActiveWindow { @@ -113,13 +101,12 @@ 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")] + [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_net_workarea (); public static Gdk.Rectangle[] DesktopWorkareas { @@ -127,16 +114,11 @@ IntPtr raw_ret = gtksharp_get_gdk_net_workarea (); if (raw_ret == IntPtr.Zero) return new Gdk.Rectangle [0]; - GLib.List list = new GLib.List (raw_ret, typeof (Gdk.Rectangle)); - Gdk.Rectangle[] workareas = new Gdk.Rectangle [list.Count]; - for (int i = 0; i < list.Count; i++) - workareas [i] = (Gdk.Rectangle) list [i]; - - return workareas; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, false); } } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -150,7 +132,7 @@ return result; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -163,7 +145,7 @@ argv = a.GetArgs (argc); } - [DllImport("libgdk-win32-2.0-0.dll")] + [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 () @@ -175,7 +157,7 @@ Marshal.Copy (ptr, result, 0, count); return result; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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 () diff --git a/gdk/Input.custom b/gdk/Input.custom index e183fce76..d604ccecd 100644 --- a/gdk/Input.custom +++ b/gdk/Input.custom @@ -20,21 +20,19 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgdk-win32-2.0-0.dll")] + [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); + GCHandle gch = GCHandle.Alloc (function); + return gdk_input_add_full (source, (int) condition, GdkSharp.InputFunctionWrapper.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); + GCHandle gch = GCHandle.Alloc (function); + return gdk_input_add_full (source, (int) condition, GdkSharp.InputFunctionWrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } diff --git a/gdk/Keymap.custom b/gdk/Keymap.custom index 701e5ba11..f6d1a489d 100644 --- a/gdk/Keymap.custom +++ b/gdk/Keymap.custom @@ -19,10 +19,10 @@ // Boston, MA 02111-1307, USA. - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free(IntPtr ptr); - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -34,8 +34,9 @@ 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 * Marshal.SizeOf (typeof (KeymapKey))); + IntPtr ptr = new IntPtr ((long) key_ptr + i * keymapKeySize); keyvals [i] = (uint) tmp [i]; keys [i] = KeymapKey.New (ptr); } @@ -47,7 +48,7 @@ } } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -56,8 +57,9 @@ 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 * Marshal.SizeOf (typeof (KeymapKey))); + IntPtr ptr = new IntPtr ((long) key_ptr + i * keymapKeySize); result [i] = KeymapKey.New (ptr); } g_free (key_ptr); diff --git a/gdk/Makefile.am b/gdk/Makefile.am index 7bc0a5afe..88d418245 100644 --- a/gdk/Makefile.am +++ b/gdk/Makefile.am @@ -8,9 +8,9 @@ endif pkg = gdk SYMBOLS = gdk-symbols.xml -INCLUDE_API = $(srcdir)/../glib/glib-api.xml $(top_builddir)/gio/gio-api.xml $(top_builddir)/pango/pango-api.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)/gio/gio-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(local_mono_cairo) +references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(local_mono_cairo) glue_includes = gdk/gdk.h sources = \ @@ -40,7 +40,6 @@ sources = \ customs = \ Atom.custom \ Color.custom \ - Colormap.custom \ Device.custom \ DeviceAxis.custom \ Display.custom \ @@ -48,6 +47,7 @@ customs = \ DragContext.custom \ Drawable.custom \ EdgeTable.custom \ + EventHelper.custom \ GCValues.custom \ Global.custom \ Input.custom \ @@ -73,4 +73,4 @@ customs = \ add_dist = -include ../Makefile.include +include $(top_srcdir)/Makefile.include diff --git a/gdk/Pixbuf.custom b/gdk/Pixbuf.custom index 4594f734f..3a1b002a5 100644 --- a/gdk/Pixbuf.custom +++ b/gdk/Pixbuf.custom @@ -1,13 +1,13 @@ // Pixbuf.custom - Gdk Pixbuf class customizations // -// Authors: +// Authors: // Vladimir Vukicevic // Miguel de Icaza // Mike Kestner // Duncan Mak // Gonzalo Paniagua Javier // Martin Willemoes Hansen -// Jose Faria +// Jose Faria // // Copyright (c) 2002 Vladimir Vukicevic // Copyright (c) 2003 Ximian, Inc. (Miguel de Icaza) @@ -19,7 +19,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -32,33 +32,35 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgdk-win32-2.0-0.dll")] + [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) { + var oldHandle = Handle; 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); + ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, oldHandle == IntPtr.Zero); return ret; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) { + var oldHandle = Handle; 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); + ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, oldHandle == IntPtr.Zero); return ret; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -69,10 +71,10 @@ mask_return = GLib.Object.GetObject (mask_handle) as Pixmap; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) + 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); @@ -80,21 +82,21 @@ mask_return = GLib.Object.GetObject (mask_handle) as Pixmap; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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")] + [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")] + [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) { @@ -104,34 +106,39 @@ public Pixbuf (System.IO.Stream stream) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (stream)) { + owned = true; Raw = pl.PixbufHandle; } } - + public Pixbuf (System.IO.Stream stream, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (stream, width, height)) { + owned = true; 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)) { + owned = true; 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)) { + owned = true; Raw = pl.PixbufHandle; } } - + public Pixbuf (byte[] buffer) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (buffer)) { + owned = true; Raw = pl.PixbufHandle; } } @@ -139,6 +146,7 @@ public Pixbuf (byte[] buffer, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (buffer, width, height)) { + owned = true; Raw = pl.PixbufHandle; } } @@ -148,7 +156,7 @@ return new Pixbuf (System.Reflection.Assembly.GetCallingAssembly (), resource); } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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) { @@ -157,7 +165,7 @@ return ret; } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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) { @@ -166,7 +174,7 @@ return ret; } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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) { @@ -176,39 +184,39 @@ } 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; } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate void NativeDelegate (IntPtr buf, IntPtr data); - void ReleaseHandles (IntPtr buf, IntPtr data) + static void ReleaseHandles (IntPtr buf, IntPtr data) { - if (notify != null) - notify ((byte[])data_handle.Target); - data_handle.Free (); + var gch = (GCHandle)data; + + var wrapper = (DestroyHelper)gch.Target; + if (wrapper.notify != null) + wrapper.notify ((byte[])wrapper.data_handle.Target); + + wrapper.data_handle.Free (); gch.Free (); } - NativeDelegate handler; - public NativeDelegate Handler { + static NativeDelegate handler = new NativeDelegate (ReleaseHandles); + public static NativeDelegate Handler { get { - handler = new NativeDelegate (ReleaseHandles); return handler; } } } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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) @@ -216,8 +224,9 @@ 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); + var helper = new DestroyHelper (data, destroy_fn); + var gch = GCHandle.Alloc (helper); + Raw = gdk_pixbuf_new_from_data(data, (int) colorspace, has_alpha, bits_per_sample, width, height, rowstride, DestroyHelper.Handler, (IntPtr)gch); } // overload to default the colorspace @@ -234,7 +243,7 @@ if (error != IntPtr.Zero) throw new GLib.GException (error); } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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) @@ -243,7 +252,7 @@ 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 // @@ -256,25 +265,25 @@ // // These are factory versions of a couple of existing methods, but simplify -// the process by reducing the number of steps required. Here a single +// 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); + return GLib.Object.GetObject (raw_ret, true) as Gdk.Pixbuf; } [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); + return GLib.Object.GetObject (raw_ret, true) as Gdk.Pixbuf; } // // the 'Pixels' property // - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_get_pixels(IntPtr raw); public IntPtr Pixels { @@ -284,7 +293,7 @@ } } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_get_formats(); public static PixbufFormat[] Formats { @@ -292,15 +301,11 @@ IntPtr list_ptr = gdk_pixbuf_get_formats (); if (list_ptr == IntPtr.Zero) return new PixbufFormat [0]; - GLib.SList list = new GLib.SList (list_ptr, typeof (PixbufFormat)); - PixbufFormat[] result = new PixbufFormat [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = (PixbufFormat) list [i]; - return result; + return GLib.Marshaller.ListPtrToArray (list_ptr, typeof (GLib.SList), true, false); } } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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) { @@ -314,10 +319,10 @@ return ret; } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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) @@ -341,10 +346,10 @@ public unsafe byte[] SaveToBuffer (string type) { - return SaveToBuffer (type, new string [0], new string [0]); + return SaveToBuffer (type, Array.Empty (), Array.Empty ()); } - public unsafe byte[] SaveToBuffer (string type, string[] option_keys, string[] option_values) + public unsafe byte[] SaveToBuffer (string type, string[] option_keys, string[] option_values) { IntPtr error = IntPtr.Zero; IntPtr buffer; @@ -365,22 +370,23 @@ return result; } - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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]); + SaveToCallback (save_func, type, Array.Empty (), Array.Empty ()); } - public unsafe void SaveToCallback (PixbufSaveFunc save_func, string type, string[] option_keys, string[] option_values) + 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); + GCHandle gch = GCHandle.Alloc (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); + bool saved = gdk_pixbuf_save_to_callbackv (Handle, GdkSharp.PixbufSaveFuncWrapper.NativeDelegate, (IntPtr)gch, ntype, nkeys, nvals, out error); + gch.Free (); GLib.Marshaller.Free (ntype); ReleaseArray (nkeys); ReleaseArray (nvals); @@ -389,3 +395,22 @@ 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; + } diff --git a/gdk/PixbufAnimation.custom b/gdk/PixbufAnimation.custom index c7a9774ad..bd1473185 100644 --- a/gdk/PixbufAnimation.custom +++ b/gdk/PixbufAnimation.custom @@ -24,6 +24,7 @@ { if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); + owned = true; Raw = new PixbufLoader (assembly, resource).AnimationHandle; } diff --git a/gdk/PixbufLoader.custom b/gdk/PixbufLoader.custom index 70336c53e..d98f9fa8e 100644 --- a/gdk/PixbufLoader.custom +++ b/gdk/PixbufLoader.custom @@ -1,4 +1,4 @@ -// PixbufLoader.custom - Gdk PixbufLoader class customizations +// PixbufLoader.custom - Gdk PixbufLoader class customizations // // Authors: // Mike Kestner @@ -21,15 +21,17 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr handle); + [System.Diagnostics.DebuggerBrowsable (System.Diagnostics.DebuggerBrowsableState.Never)] internal IntPtr PixbufHandle { get { return g_object_ref (gdk_pixbuf_loader_get_pixbuf (Handle)); } } + [System.Diagnostics.DebuggerBrowsable (System.Diagnostics.DebuggerBrowsableState.Never)] internal IntPtr AnimationHandle { get { return g_object_ref (gdk_pixbuf_loader_get_animation (Handle)); @@ -47,54 +49,71 @@ return this.Write (bytes, (ulong) count); } - private void LoadFromStream (System.IO.Stream input) + private void LoadFromStream (System.IO.Stream input, byte [] streamingBuffer) { - byte [] buffer = new byte [8192]; + byte [] buffer = streamingBuffer ?? new byte [8192]; int n; while ((n = input.Read (buffer, 0, 8192)) != 0) - Write (buffer, (uint) n); + Write (buffer, (ulong) n); } - public PixbufLoader (string file, int width, int height) : this () + public PixbufLoader (string file, int width, int height, byte [] streamingBuffer) : this () { SetSize(width, height); using(System.IO.FileStream stream = new System.IO.FileStream(file, System.IO.FileMode.Open, System.IO.FileAccess.Read)) { - InitFromStream(stream); + InitFromStream(stream, streamingBuffer); } } - - public PixbufLoader (System.IO.Stream stream) : this () + + public PixbufLoader (string file, int width, int height) : this (file, width, height, null) + { + } + + public PixbufLoader (System.IO.Stream stream, byte [] streamingBuffer) : this () + { + InitFromStream (stream, streamingBuffer); + } + + public PixbufLoader (System.IO.Stream stream) : this (stream, null) { - InitFromStream(stream); } - private void InitFromStream (System.IO.Stream stream) + private void InitFromStream (System.IO.Stream stream, byte [] buffer) { if (stream == null) throw new ArgumentNullException ("stream"); try { - LoadFromStream (stream); + LoadFromStream (stream, buffer); } finally { Close (); } } - - public PixbufLoader (System.IO.Stream stream, int width, int height) : this() + + public PixbufLoader (System.IO.Stream stream, int width, int height, byte [] streamingBuffer) : this () { - SetSize(width, height); - InitFromStream(stream); + SetSize (width, height); + InitFromStream (stream, streamingBuffer); } - public PixbufLoader (System.Reflection.Assembly assembly, string resource) : this () + public PixbufLoader (System.IO.Stream stream, int width, int height) : this (stream, width, height, null) { - InitFromAssemblyResource(assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource); } + + public PixbufLoader (System.Reflection.Assembly assembly, string resource, byte [] streamingBuffer) : this () + { + InitFromAssemblyResource(assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource, streamingBuffer); + } + + public PixbufLoader (System.Reflection.Assembly assembly, string resource) : this (assembly, resource, null) + { + } + - private void InitFromAssemblyResource(System.Reflection.Assembly assembly, string resource) + private void InitFromAssemblyResource(System.Reflection.Assembly assembly, string resource, byte [] streamingBuffer) { if (assembly == null) throw new ArgumentNullException ("assembly"); @@ -104,16 +123,20 @@ throw new ArgumentException ("'" + resource + "' is not a valid resource name of assembly '" + assembly + "'."); try { - LoadFromStream (s); + LoadFromStream (s, streamingBuffer); } finally { Close (); } } + + public PixbufLoader (System.Reflection.Assembly assembly, string resource, int width, int height, byte [] streamingBuffer) : this () + { + SetSize (width, height); + InitFromAssemblyResource (assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource, streamingBuffer); + } - public PixbufLoader (System.Reflection.Assembly assembly, string resource, int width, int height) : this () + public PixbufLoader (System.Reflection.Assembly assembly, string resource, int width, int height) : this (assembly, resource, width, height, null) { - SetSize(width, height); - InitFromAssemblyResource(assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource); } public PixbufLoader (byte[] buffer) : this() @@ -141,3 +164,8 @@ { return new PixbufLoader (System.Reflection.Assembly.GetCallingAssembly (), resource); } + + static public PixbufLoader LoadFromResource (string resource, byte [] streamingBuffer) + { + return new PixbufLoader (System.Reflection.Assembly.GetCallingAssembly (), resource, streamingBuffer); + } diff --git a/gdk/Pixdata.custom b/gdk/Pixdata.custom index e4100d555..f7d69d9d4 100644 --- a/gdk/Pixdata.custom +++ b/gdk/Pixdata.custom @@ -16,7 +16,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgdk_pixbuf-2.0-0.dll")] + [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 () { @@ -25,6 +25,6 @@ byte [] data = new byte [len]; Marshal.Copy (raw_ret, data, 0, (int)len); - + GLib.Marshaller.Free (raw_ret); return data; } diff --git a/gdk/Pixmap.custom b/gdk/Pixmap.custom index 3834f44c7..3f3eecbb4 100644 --- a/gdk/Pixmap.custom +++ b/gdk/Pixmap.custom @@ -20,7 +20,7 @@ public Pixmap (Gdk.Drawable drawable, int width, int height) : this (drawable, width, height, -1) {} - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -31,7 +31,7 @@ return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -42,7 +42,7 @@ return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -53,7 +53,7 @@ return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) diff --git a/gdk/Property.custom b/gdk/Property.custom index 5b8400361..6f3a82d35 100644 --- a/gdk/Property.custom +++ b/gdk/Property.custom @@ -19,7 +19,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgdk-win32-2.0-0.dll")] + [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")] @@ -29,7 +29,7 @@ return data; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) { diff --git a/gdk/Rectangle.custom b/gdk/Rectangle.custom index 143d22c03..e17fc47ed 100644 --- a/gdk/Rectangle.custom +++ b/gdk/Rectangle.custom @@ -121,10 +121,10 @@ public int Top { get { return Y; } } public int Bottom { - get { return Y + Height; } + get { return Y + Height - 1; } } public int Right { - get { return X + Width; } + get { return X + Width - 1; } } public int Left { get { return X; } diff --git a/gdk/Region.custom b/gdk/Region.custom index b7aad4187..d1b7b96d6 100644 --- a/gdk/Region.custom +++ b/gdk/Region.custom @@ -20,10 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -[DllImport("libglib-2.0-0.dll")] +[DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr mem); -[DllImport("libgdk-win32-2.0-0.dll")] +[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 () diff --git a/gdk/Screen.custom b/gdk/Screen.custom index 35000f262..c4180c215 100644 --- a/gdk/Screen.custom +++ b/gdk/Screen.custom @@ -18,7 +18,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_screen_get_toplevel_windows (IntPtr raw); public Window[] ToplevelWindows @@ -27,15 +27,12 @@ IntPtr raw_ret = gdk_screen_get_toplevel_windows (Handle); if (raw_ret == IntPtr.Zero) return new Window [0]; - GLib.List list = new GLib.List(raw_ret); - Window[] result = new Window [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Window; - return result; + + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_screen_list_visuals (IntPtr raw); public Visual[] ListVisuals () @@ -43,17 +40,14 @@ IntPtr raw_ret = gdk_screen_list_visuals (Handle); if (raw_ret == IntPtr.Zero) return new Visual [0]; - GLib.List list = new GLib.List(raw_ret); - Visual[] result = new Visual [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Visual; - return result; + + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } - [DllImport("libgdk-win32-2.0-0.dll")] + [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")] + [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")] diff --git a/gdk/Selection.custom b/gdk/Selection.custom index dd4837cf2..520e54358 100644 --- a/gdk/Selection.custom +++ b/gdk/Selection.custom @@ -20,17 +20,17 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -[DllImport("gdksharpglue-2")] +[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")] +[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")] +[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()); diff --git a/gdk/Size.cs b/gdk/Size.cs index e44f3b9c2..af076b1b7 100644 --- a/gdk/Size.cs +++ b/gdk/Size.cs @@ -23,7 +23,7 @@ namespace Gdk { - public struct Size { + public struct Size : IEquatable { int width, height; @@ -102,6 +102,11 @@ public override bool Equals (object o) return (this == (Size) o); } + public bool Equals (Size other) + { + return this == other; + } + public override int GetHashCode () { return width^height; diff --git a/gdk/TextProperty.cs b/gdk/TextProperty.cs index 96bc4e2eb..4b3c50f6d 100644 --- a/gdk/TextProperty.cs +++ b/gdk/TextProperty.cs @@ -26,10 +26,10 @@ namespace Gdk { public class TextProperty { - [DllImport("libgdk-win32-2.0-0.dll")] + [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")] + [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) @@ -38,7 +38,7 @@ public static string[] ToStringList (Gdk.Atom encoding, int format, byte[] text, int count = gdk_text_property_to_utf8_list(encoding.Handle, format, text, length, out list_ptr); if (count == 0) - return new string [0]; + return Array.Empty (); string[] result = new string [count]; for (int i = 0; i < count; i++) { @@ -49,7 +49,7 @@ public static string[] ToStringList (Gdk.Atom encoding, int format, byte[] text, return result; } - [DllImport("libgdk-win32-2.0-0.dll")] + [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) @@ -58,7 +58,7 @@ public static string[] ToStringListForDisplay (Gdk.Display display, Gdk.Atom enc 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]; + return Array.Empty (); string[] result = new string [count]; for (int i = 0; i < count; i++) { diff --git a/gdk/Window.custom b/gdk/Window.custom index 7c5e08e08..93b87d69d 100644 --- a/gdk/Window.custom +++ b/gdk/Window.custom @@ -24,7 +24,7 @@ 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")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_window_get_children(IntPtr raw); public Window[] Children { @@ -32,27 +32,23 @@ IntPtr raw_ret = gdk_window_get_children(Handle); if (raw_ret == IntPtr.Zero) return new Window [0]; - GLib.List list = new GLib.List(raw_ret); - Window[] result = new Window [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Window; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } - [DllImport("libgdk-win32-2.0-0.dll")] + [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); + 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")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_window_get_toplevels(); public static Window[] Toplevels { @@ -60,18 +56,14 @@ IntPtr raw_ret = gdk_window_get_toplevels(); if (raw_ret == IntPtr.Zero) return new Window [0]; - GLib.List list = new GLib.List(raw_ret); - Window[] result = new Window [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Window; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, false); } } - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr raw); - [DllImport("libgdk-win32-2.0-0.dll")] + [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_window_destroy(IntPtr raw); public void Destroy () @@ -95,10 +87,10 @@ gdk_window_clear_area (Handle, rect.X, rect.Y, rect.Width, rect.Height); } - [DllImport ("libgdk-win32-2.0-0.dll")] + [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")] + [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 { @@ -111,10 +103,10 @@ } } - [DllImport("libgdk-win32-2.0-0.dll")] + [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")] + [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; @@ -128,18 +120,20 @@ 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); + var gch = GCHandle.Alloc (func); + FilterAllHash [func] = gch; + gdk_window_add_filter (IntPtr.Zero, GdkSharp.FilterFuncWrapper.NativeDelegate, (IntPtr)gch); } public static void RemoveFilterForAll (FilterFunc func) { - GdkSharp.FilterFuncWrapper wrapper = FilterAllHash [func] as GdkSharp.FilterFuncWrapper; - if (wrapper == null) + var ret = FilterAllHash [func]; + if (ret == null) return; + GCHandle gch = (GCHandle)ret; FilterAllHash.Remove (func); - gdk_window_remove_filter (IntPtr.Zero, wrapper.NativeDelegate, IntPtr.Zero); + gdk_window_remove_filter (IntPtr.Zero, GdkSharp.FilterFuncWrapper.NativeDelegate, (IntPtr)gch); + gch.Free(); } public void AddFilter (FilterFunc function) @@ -147,19 +141,21 @@ 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); + var gch = GCHandle.Alloc (function); + hash [function] = gch; + gdk_window_add_filter (Handle, GdkSharp.FilterFuncWrapper.NativeDelegate, (IntPtr)gch); } public void RemoveFilter (FilterFunc function) { Hashtable hash = PersistentData ["filter_func_hash"] as Hashtable; - GdkSharp.FilterFuncWrapper wrapper = hash [function] as GdkSharp.FilterFuncWrapper; - if (wrapper == null) + var ret = hash [function]; + if (ret == null) return; + GCHandle gch = (GCHandle)ret; hash.Remove (function); - gdk_window_remove_filter (Handle, wrapper.NativeDelegate, IntPtr.Zero); + gdk_window_remove_filter (Handle, GdkSharp.FilterFuncWrapper.NativeDelegate, (IntPtr)gch); + gch.Free(); } #if MANLY_ENOUGH_TO_INCLUDE diff --git a/gdk/gdk-api-2.14.raw b/gdk/gdk-api-2.12.raw similarity index 95% rename from gdk/gdk-api-2.14.raw rename to gdk/gdk-api-2.12.raw index 4a54eb0c0..d6c2205af 100644 --- a/gdk/gdk-api-2.14.raw +++ b/gdk/gdk-api-2.12.raw @@ -31,9 +31,6 @@ - - - @@ -195,7 +192,6 @@ - @@ -518,49 +514,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -578,7 +531,7 @@ - + @@ -593,8 +546,8 @@ - - + + @@ -859,7 +812,7 @@ - + @@ -891,7 +844,7 @@ - + @@ -929,7 +882,7 @@ - + @@ -1283,7 +1236,7 @@ - + @@ -1299,7 +1252,7 @@ - + @@ -1325,7 +1278,7 @@ - + @@ -1384,15 +1337,15 @@ - - + + - + @@ -1416,8 +1369,8 @@ - - + + @@ -1425,8 +1378,8 @@ - - + + @@ -1449,7 +1402,7 @@ - + @@ -1462,7 +1415,7 @@ - + @@ -1477,7 +1430,7 @@ - + @@ -1490,7 +1443,7 @@ - + @@ -1500,8 +1453,8 @@ - - + + @@ -1540,7 +1493,7 @@ - + @@ -1718,13 +1671,13 @@ - + - + @@ -1895,13 +1848,13 @@ - + - + @@ -2112,19 +2065,13 @@ - - - - - - - + - + @@ -2177,24 +2124,6 @@ - - - - - - - - - - - - - - - - - - @@ -2370,13 +2299,13 @@ - + - + @@ -2583,7 +2512,7 @@ - + @@ -2591,7 +2520,7 @@ - + @@ -2599,14 +2528,14 @@ - + - + @@ -2651,7 +2580,7 @@ - + @@ -2697,9 +2626,6 @@ - - - @@ -2792,7 +2718,7 @@ - + @@ -2935,7 +2861,7 @@ - + @@ -3473,14 +3399,14 @@ - + - + @@ -3502,7 +3428,7 @@ - + @@ -3521,7 +3447,7 @@ - + @@ -3542,21 +3468,21 @@ - - + + - + - + @@ -3569,7 +3495,7 @@ - + @@ -3579,25 +3505,25 @@ - + - + - + - + @@ -3694,26 +3620,10 @@ - - - - - - - - - - - - - - - - @@ -3932,28 +3842,28 @@ - + - + - + - + @@ -4080,17 +3990,17 @@ - + - + - + - + @@ -4152,7 +4062,7 @@ - + @@ -4167,7 +4077,7 @@ - + @@ -4175,7 +4085,7 @@ - + @@ -4189,7 +4099,7 @@ - + @@ -4197,20 +4107,20 @@ - + - + - + @@ -4236,13 +4146,13 @@ - + - + @@ -4306,7 +4216,7 @@ - + @@ -4434,7 +4344,7 @@ - + @@ -4444,7 +4354,7 @@ - + @@ -4748,7 +4658,7 @@ - + @@ -4759,7 +4669,7 @@ - + @@ -4945,24 +4855,6 @@ - - - - - - - - - - - - - - - - - - @@ -5255,23 +5147,6 @@ - - - - - - - - - - - - - - - - - @@ -5354,16 +5229,6 @@ - - - - - - - - - - @@ -5514,7 +5379,7 @@ - + @@ -5522,13 +5387,13 @@ - + - + @@ -5694,4 +5559,4 @@ - \ No newline at end of file + diff --git a/gdk/gdk-sharp.dll.config.in b/gdk/gdk-sharp.dll.config.in index 0924374e0..f29a0a300 100644 --- a/gdk/gdk-sharp.dll.config.in +++ b/gdk/gdk-sharp.dll.config.in @@ -1,6 +1,6 @@ - + diff --git a/gdk/gdk-symbols.xml b/gdk/gdk-symbols.xml index 3d3d23020..4b63c51df 100644 --- a/gdk/gdk-symbols.xml +++ b/gdk/gdk-symbols.xml @@ -1,7 +1,7 @@ - + diff --git a/gdk/gdk.csproj b/gdk/gdk.csproj new file mode 100644 index 000000000..bf09d7989 --- /dev/null +++ b/gdk/gdk.csproj @@ -0,0 +1,459 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {58346CC6-DE93-45B4-8093-3508BD5DAA12} + Library + Gdk + gdk + v4.6 + + + + true + full + false + bin\Debug + DEBUG;GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + prompt + 4 + x86 + false + 0169;0612;0618;0649;1616;1699 + true + + + none + false + bin\Release + prompt + 4 + x86 + false + 0169;0612;0618;0649;1616;1699 + true + GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + + + true + + + gtk-sharp.snk + + + + + {3BF1D531-8840-4F15-8066-A9788D8C398B} + glib + + + {364577DB-9728-4951-AC2C-EDF7A6FCC09D} + cairo + + + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4} + pango + + + + + + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + + + Code + + + + + + + + + + + Code + + + Code + + + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + + + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + + + + + + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + \ No newline at end of file diff --git a/gdk/glue/windowmanager.c b/gdk/glue/windowmanager.c index 8eeb7134e..484d713b7 100644 --- a/gdk/glue/windowmanager.c +++ b/gdk/glue/windowmanager.c @@ -29,7 +29,7 @@ #include GList * gtksharp_get_gdk_net_supported (void); -guint * gtksharp_get_gdk_net_client_list (int *count); +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); @@ -75,14 +75,14 @@ gtksharp_get_gdk_net_supported (void) return list; } -guint * +gpointer * gtksharp_get_gdk_net_client_list (int *count) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; - guint * list = NULL; + gpointer *list = NULL; int i; if (!gdk_property_get ( @@ -107,7 +107,7 @@ gtksharp_get_gdk_net_client_list (int *count) } *count = actual_length / sizeof (long); - list = g_malloc (*count * sizeof (guint)); + 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]; diff --git a/generator/.gitignore b/generator/.gitignore new file mode 100644 index 000000000..5761194cf --- /dev/null +++ b/generator/.gitignore @@ -0,0 +1 @@ +gapi*-codegen diff --git a/generator/AttributeHelper.cs b/generator/AttributeHelper.cs new file mode 100644 index 000000000..8e85886c2 --- /dev/null +++ b/generator/AttributeHelper.cs @@ -0,0 +1,22 @@ +using 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}"); + } + } +} diff --git a/generator/BoxedGen.cs b/generator/BoxedGen.cs index 5ad6d8749..83172dc03 100644 --- a/generator/BoxedGen.cs +++ b/generator/BoxedGen.cs @@ -26,13 +26,13 @@ namespace GtkSharp.Generation { 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; - Method free = methods["Free"] as Method; + Method copy; + methods.TryGetValue ("Copy", out copy); methods.Remove ("Copy"); methods.Remove ("Free"); @@ -40,19 +40,26 @@ public override void Generate (GenerationInfo gen_info) 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 (" + QualifiedName + ".GType);"); - sw.WriteLine ("\t\t\tval.Val = boxed;"); + 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\treturn (" + QualifiedName + ") val.Val;"); + 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) { @@ -63,22 +70,16 @@ public override void Generate (GenerationInfo gen_info) sw.WriteLine ("\t\t}"); } - if (free != null && free.IsDeprecated) { - sw.WriteLine (); - sw.WriteLine ("\t\t[Obsolete(\"This is a no-op\")]"); - sw.WriteLine ("\t\tpublic " + QualifiedName + " Free () {"); - sw.WriteLine ("\t\t\treturn this;"); - sw.WriteLine ("\t\t}"); - } - sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); - sw.WriteLine ("}"); + 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++; - } + } } } - diff --git a/generator/ByRefGen.cs b/generator/ByRefGen.cs index 7a2641eb8..2e90fbbbf 100644 --- a/generator/ByRefGen.cs +++ b/generator/ByRefGen.cs @@ -24,39 +24,20 @@ namespace GtkSharp.Generation { using System; - public class ByRefGen : SimpleBase, IManualMarshaler { + public class ByRefGen : SimpleBase { public ByRefGen (string ctype, string type) : base (ctype, type, type + ".Empty") {} public override string MarshalType { get { - return "IntPtr"; + return "ref " + QualifiedName; } } - public override string CallByName (string var_name) - { - return "native_" + var_name; - } - - public string AllocNative () - { - return "Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + QualifiedName + ")))"; - } - - public string AllocNative (string var_name) - { - return "GLib.Marshaller.StructureToPtrAlloc (" + var_name + ")"; - } - - public override string FromNative (string var_name) - { - return String.Format ("({0}) Marshal.PtrToStructure ({1}, typeof ({0}))", QualifiedName, var_name); - } - - public string ReleaseNative (string var_name) - { - return "Marshal.FreeHGlobal (" + var_name + ")"; + public override string MarshalCallbackType { + get { + return "ref " + QualifiedName; + } } } } diff --git a/generator/CallbackGen.cs b/generator/CallbackGen.cs index a30cfa53d..9e7df915e 100644 --- a/generator/CallbackGen.cs +++ b/generator/CallbackGen.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.CallbackGen.cs - The Callback Generatable. +// GtkSharp.Generation.CallbackGen.cs - The Callback Generatable. // // Author: Mike Kestner // @@ -23,7 +23,9 @@ namespace GtkSharp.Generation { using System; + using System.Collections.Generic; using System.IO; + using System.Linq; using System.Xml; public class CallbackGen : GenBase, IAccessor { @@ -32,12 +34,15 @@ public class CallbackGen : GenBase, IAccessor { private Signature sig = null; private ReturnValue retval; private bool valid = true; + internal List parameterScopeList = new List (); + internal bool hasInvoker = false; - public CallbackGen (XmlElement ns, XmlElement elem) : base (ns, elem) + public CallbackGen (XmlElement ns, XmlElement elem) : base (ns, elem) { - retval = new ReturnValue (elem ["return-type"]); - parms = new Parameters (elem ["parameters"]); + retval = new ReturnValue (elem [Constants.ReturnType]); + parms = new Parameters (elem [Constants.Parameters]); parms.HideData = true; + hasInvoker = elem.HasAttribute (Constants.HasInvoker); } public override string DefaultValue { @@ -60,6 +65,9 @@ public override bool Validate () return false; } + if (!ManagedCallString.Validate (parms)) + return false; + valid = true; return true; } @@ -83,18 +91,20 @@ public override string MarshalType { public override string CallByName (string var_name) { + if (WithParamGCHandle) + return "(" + var_name + " == null) ? null : " + NS + "Sharp." + Name + "Wrapper.NativeDelegate"; return var_name + ".NativeDelegate"; } public override string FromNative (string var) { - return NS + "Sharp." + Name + "Wrapper.GetManagedDelegate (" + var + ")"; + return "new " + NS + "Sharp." + Name + "Invoker (" + var + ").Handler"; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); - sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); + sw.WriteLine (indent + "\treturn new GtkSharp." + Name + "Invoker (" + var + ").Handler;"); sw.WriteLine (indent + "}"); } @@ -120,9 +130,9 @@ string InvokeString { } p.CallName = p.Name; - result [i] = p.CallString; + result [i] = p.CallStringCallback; if (p.IsUserData) - result [i] = "__data"; + result [i] = "__data"; } return String.Join (", ", result); @@ -133,6 +143,9 @@ string InvokeString { void GenInvoker (GenerationInfo gen_info, StreamWriter sw) { + if (!hasInvoker) + return; + if (sig == null) sig = new Signature (parms); @@ -168,12 +181,16 @@ void GenInvoker (GenerationInfo gen_info, StreamWriter sw) sw.WriteLine (); sw.WriteLine ("\t\t" + retval.CSType + " InvokeNative (" + sig + ")"); sw.WriteLine ("\t\t{"); - body.Initialize (gen_info); + body.Initialize (gen_info, true); string call = "native_cb (" + InvokeString + ")"; if (retval.IsVoid) sw.WriteLine ("\t\t\t" + call + ";"); - else + else { sw.WriteLine ("\t\t\t" + retval.CSType + " result = " + retval.FromNative (call) + ";"); + var postRef = retval.PostFromNative (call); + if (postRef != string.Empty) + sw.WriteLine ("\t\t\t" + postRef); + } body.Finish (sw, String.Empty); if (!retval.IsVoid) sw.WriteLine ("\t\t\treturn result;"); @@ -182,6 +199,44 @@ void GenInvoker (GenerationInfo gen_info, StreamWriter sw) sw.WriteLine (); } + Parameter gcHandleParam; + bool? withParamGCHandle; + public bool WithParamGCHandle { + get { + if (withParamGCHandle == null) { + withParamGCHandle = false; + for (int i = 0; i < parms.Count; ++i) { + if (parms [i].IsUserData) { + withParamGCHandle = true; + gcHandleParam = parms [i]; + break; + } + } + if (Elem.HasAttribute (Constants.ForceInstance)) + withParamGCHandle = false; + } + return withParamGCHandle.Value; + } + } + + public bool HasOnlyAsyncCall { + get { + return parameterScopeList.All (x => x == "async"); + } + } + + bool HasAsyncCall { + get { + return parameterScopeList.Any (x => x == "async"); + } + } + + public bool GenerateStaticWrapper { + get { + return WithParamGCHandle && (!HasAsyncCall || HasOnlyAsyncCall); + } + } + public string GenWrapper (GenerationInfo gen_info) { string wrapper = Name + "Native"; @@ -201,15 +256,17 @@ public string GenWrapper (GenerationInfo gen_info) sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); - sw.WriteLine ("\t[GLib.CDeclCallback]"); - sw.WriteLine ("\tinternal delegate " + retval.MarshalType + " " + wrapper + "(" + parms.ImportSignature + ");"); + sw.WriteLine ("\t[UnmanagedFunctionPointer (CallingConvention.Cdecl)]"); + sw.WriteLine ("\tinternal delegate " + retval.MarshalType + " " + wrapper + "(" + parms.CallbackImportSignature + ");"); sw.WriteLine (); GenInvoker (gen_info, sw); - sw.WriteLine ("\tinternal class " + Name + "Wrapper {"); + sw.WriteLine ("\tinternal {0}class {1}Wrapper {{", GenerateStaticWrapper ? "static " : "", Name); sw.WriteLine (); - ManagedCallString call = new ManagedCallString (parms, false); - sw.WriteLine ("\t\tpublic " + retval.MarshalType + " NativeCallback (" + parms.ImportSignature + ")"); + + sw.WriteLine ("\t\tpublic " + (WithParamGCHandle ? "static " : "") + retval.MarshalType + " NativeCallback (" + parms.CallbackImportSignature + ")"); sw.WriteLine ("\t\t{"); + + ManagedCallString call = new ManagedCallString (parms, false); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); @@ -217,14 +274,32 @@ public string GenWrapper (GenerationInfo gen_info) string call_setup = call.Setup ("\t\t\t\t"); if (call_setup.Length > 0) sw.WriteLine (call_setup); + + if (WithParamGCHandle) { + sw.WriteLine ("\t\t\t\tvar gch = (GCHandle){0};", gcHandleParam.Name); + if (GenerateStaticWrapper) + sw.WriteLine ("\t\t\t\tvar managed = ({0})gch.Target;", QualifiedName); + else + sw.WriteLine ("\t\t\t\tvar wrapper = ({0}Wrapper)gch.Target;", Name); + } + + string callPrefix = string.Empty; + if (WithParamGCHandle && !GenerateStaticWrapper) + callPrefix = "wrapper."; + if (retval.CSType == "void") - sw.WriteLine ("\t\t\t\tmanaged ({0});", call); + sw.WriteLine ("\t\t\t\t{0}managed ({1});", callPrefix, call); else - sw.WriteLine ("\t\t\t\t{0} __ret = managed ({1});", retval.CSType, call); + sw.WriteLine ("\t\t\t\t{0} __ret = {1}managed ({2});", retval.CSType, callPrefix, 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 (HasAsyncCall) { + if (!HasOnlyAsyncCall || !WithParamGCHandle) + sw.WriteLine ("\t\t\t\tif ({0}release_on_call)\n\t\t\t\t\tgch.Free ();", callPrefix); + else + sw.WriteLine ("\t\t\t\t\tgch.Free ();"); + } if (retval.CSType != "void") sw.WriteLine ("\t\t\t\treturn {0};", retval.ToNative ("__ret")); @@ -243,34 +318,42 @@ public string GenWrapper (GenerationInfo gen_info) 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}"); + if (!GenerateStaticWrapper && HasAsyncCall) { + sw.WriteLine ("\t\tbool release_on_call = false;"); + if (!WithParamGCHandle) + sw.WriteLine ("\t\tGCHandle gch;"); + sw.WriteLine (); + if (WithParamGCHandle) + sw.WriteLine ("\t\tpublic GCHandle PersistUntilCalled ()"); + else + sw.WriteLine ("\t\tpublic void PersistUntilCalled ()"); + sw.WriteLine ("\t\t{"); + sw.WriteLine ("\t\t\trelease_on_call = true;"); + if (WithParamGCHandle) + sw.WriteLine ("\t\t\treturn GCHandle.Alloc (this);"); + else + sw.WriteLine ("\t\t\tgch = GCHandle.Alloc (this);"); + 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.Write ("\t\tinternal " + (WithParamGCHandle ? "static " : "") + "readonly " + wrapper + " NativeDelegate"); + if (WithParamGCHandle) + sw.WriteLine (" = new " + wrapper + " (NativeCallback);"); + else + sw.WriteLine (";"); + if (!GenerateStaticWrapper) { + 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;"); + if (!WithParamGCHandle) { + 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}"); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); @@ -278,7 +361,7 @@ public string GenWrapper (GenerationInfo gen_info) gen_info.Writer = save_sw; return NS + "Sharp." + Name + "Wrapper"; } - + public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; @@ -296,11 +379,10 @@ public override void Generate (GenerationInfo gen_info) sw.WriteLine ("}"); sw.Close (); - + GenWrapper (gen_info); Statistics.CBCount++; } } } - diff --git a/generator/ChildProperty.cs b/generator/ChildProperty.cs index fe361edf1..c7728bf59 100644 --- a/generator/ChildProperty.cs +++ b/generator/ChildProperty.cs @@ -16,14 +16,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System.Xml; 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) {} diff --git a/generator/ClassBase.cs b/generator/ClassBase.cs index e8532f2fc..0e39fabe9 100644 --- a/generator/ClassBase.cs +++ b/generator/ClassBase.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.ClassBase.cs - Common code between object +// GtkSharp.Generation.ClassBase.cs - Common code between object // and interface wrappers // // Authors: Rachel Hestilow @@ -22,34 +22,34 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; +using System.IO; +using System.Xml; 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(); + protected Dictionary props = new Dictionary(); + protected Dictionary fields = new Dictionary(); + protected Dictionary sigs = new Dictionary(); + protected Dictionary methods = new Dictionary(); + protected List interfaces = new List(); + protected List managed_interfaces = new List(); + protected List ctors = new List(); private bool ctors_initted = false; - private Hashtable clash_map; + private Dictionary clash_map; private bool deprecated = false; private bool isabstract = false; - public Hashtable Methods { + public Dictionary Methods { get { return methods; } } - public Hashtable Signals { + public Dictionary Signals { get { return sigs; } @@ -57,7 +57,7 @@ public Hashtable Signals { public ClassBase Parent { get { - string parent = Elem.GetAttribute("parent"); + string parent = Elem.GetAttribute(Constants.Parent); if (parent == "") return null; @@ -68,57 +68,57 @@ public ClassBase Parent { protected ClassBase (XmlElement ns, XmlElement elem) : base (ns, elem) { - if (elem.HasAttribute ("deprecated")) { - string attr = elem.GetAttribute ("deprecated"); + if (elem.HasAttribute (Constants.Deprecated)) { + string attr = elem.GetAttribute (Constants.Deprecated); deprecated = attr == "1" || attr == "true"; } - if (elem.HasAttribute ("abstract")) { - string attr = elem.GetAttribute ("abstract"); + if (elem.HasAttribute (Constants.Abstract)) { + string attr = elem.GetAttribute (Constants.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")) + if (member.HasAttribute (Constants.Hidden)) continue; string name; switch (node.Name) { - case "method": - name = member.GetAttribute("name"); + case Constants.Method: + name = member.GetAttribute(Constants.Name); while (methods.ContainsKey(name)) name += "mangled"; methods.Add (name, new Method (member, this)); break; - case "property": - name = member.GetAttribute("name"); + case Constants.Property: + name = member.GetAttribute(Constants.Name); while (props.ContainsKey(name)) name += "mangled"; props.Add (name, new Property (member, this)); break; - case "field": - name = member.GetAttribute("name"); + case Constants.Field: + name = member.GetAttribute(Constants.Name); while (fields.ContainsKey (name)) name += "mangled"; fields.Add (name, new ObjectField (member, this)); break; - case "signal": - name = member.GetAttribute("name"); + case Constants.Signal: + name = member.GetAttribute(Constants.Name); while (sigs.ContainsKey(name)) name += "mangled"; sigs.Add (name, new Signal (member, this)); break; - case "implements": + case Constants.Implements: ParseImplements (member); break; - case "constructor": + case Constants.Constructor: ctors.Add (new Ctor (member, this)); break; @@ -144,64 +144,62 @@ public override bool Validate () } } - ArrayList invalids = new ArrayList (); - + var invalidProperties = new List(); foreach (Property prop in props.Values) { if (!prop.Validate ()) { Console.WriteLine ("in type " + QualifiedName); - invalids.Add (prop); + invalidProperties.Add (prop); } } - foreach (Property prop in invalids) + foreach (Property prop in invalidProperties) props.Remove (prop.Name); - invalids.Clear (); + var invalidSignals = new List(); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { Console.WriteLine ("in type " + QualifiedName); - invalids.Add (sig); + invalidSignals.Add (sig); } } - foreach (Signal sig in invalids) + foreach (Signal sig in invalidSignals) sigs.Remove (sig.Name); - invalids.Clear (); + var invalidObjectFields = new List(); foreach (ObjectField field in fields.Values) { if (!field.Validate ()) { Console.WriteLine ("in type " + QualifiedName); - invalids.Add (field); + invalidObjectFields.Add (field); } } - foreach (ObjectField field in invalids) + foreach (ObjectField field in invalidObjectFields) fields.Remove (field.Name); - invalids.Clear (); + var invalidMethods = new List(); foreach (Method method in methods.Values) { if (!method.Validate ()) { Console.WriteLine ("in type " + QualifiedName); - invalids.Add (method); + invalidMethods.Add (method); } } - foreach (Method method in invalids) + foreach (Method method in invalidMethods) methods.Remove (method.Name); - invalids.Clear (); + var invalidCtors = new List(); foreach (Ctor ctor in ctors) { if (!ctor.Validate ()) { Console.WriteLine ("in type " + QualifiedName); - invalids.Add (ctor); + invalidCtors.Add (ctor); } } - foreach (Ctor ctor in invalids) + foreach (Ctor ctor in invalidCtors) ctors.Remove (ctor); - invalids.Clear (); return true; } public virtual bool ValidateForSubclass () { - ArrayList invalids = new ArrayList (); + var invalids = new List(); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { @@ -241,13 +239,13 @@ public override string DefaultValue { protected bool IsNodeNameHandled (string name) { switch (name) { - case "method": - case "property": - case "field": - case "signal": - case "implements": - case "constructor": - case "disabledefaultconstructor": + case Constants.Method: + case Constants.Property: + case Constants.Field: + case Constants.Signal: + case Constants.Implements: + case Constants.Constructor: + case Constants.DisableDefaultConstructor: return true; default: @@ -282,15 +280,15 @@ protected void GenFields (GenerationInfo gen_info) private void ParseImplements (XmlElement member) { foreach (XmlNode node in member.ChildNodes) { - if (node.Name != "interface") + if (node.Name != Constants.Interface) continue; XmlElement element = (XmlElement) node; - if (element.HasAttribute ("hidden")) + if (element.HasAttribute (Constants.Hidden)) continue; - if (element.HasAttribute ("cname")) - interfaces.Add (element.GetAttribute ("cname")); - else if (element.HasAttribute ("name")) - managed_interfaces.Add (element.GetAttribute ("name")); + if (element.HasAttribute (Constants.CName)) + interfaces.Add (element.GetAttribute (Constants.CName)); + else if (element.HasAttribute (Constants.Name)) + managed_interfaces.Add (element.GetAttribute (Constants.Name)); } } @@ -305,7 +303,7 @@ protected bool IgnoreMethod (Method method, ClassBase implementor) (fields != null) && fields.ContainsKey(mname.Substring(3)))); } - public void GenMethods (GenerationInfo gen_info, Hashtable collisions, ClassBase implementor) + public void GenMethods (GenerationInfo gen_info, Dictionary collisions, ClassBase implementor) { if (methods == null) return; @@ -315,7 +313,7 @@ public void GenMethods (GenerationInfo gen_info, Hashtable collisions, ClassBase continue; string oname = null, oprotection = null; - if (collisions != null && collisions.Contains (method.Name)) { + if (collisions != null && collisions.ContainsKey (method.Name)) { oname = method.Name; oprotection = method.Protection; method.Name = QualifiedName + "." + method.Name; @@ -331,17 +329,23 @@ public void GenMethods (GenerationInfo gen_info, Hashtable collisions, ClassBase public Method GetMethod (string name) { - return (Method) methods[name]; + Method method; + methods.TryGetValue (name, out method); + return method; } public Property GetProperty (string name) { - return (Property) props[name]; + Property prop; + props.TryGetValue (name, out prop); + return prop; } public Signal GetSignal (string name) { - return (Signal) sigs[name]; + Signal sig; + sigs.TryGetValue (name, out sig); + return sig; } public Method GetMethodRecursively (string name) @@ -376,7 +380,7 @@ public virtual Property GetPropertyRecursively (string name) ClassBase klass = this; Property p = null; while (klass != null && p == null) { - p = (Property) klass.GetProperty (name); + p = klass.GetProperty(name); klass = klass.Parent; } @@ -420,7 +424,7 @@ public bool Implements (string iface) return false; } - public ArrayList Ctors { get { return ctors; } } + public List Ctors { get { return ctors; } } bool HasStaticCtor (string name) { @@ -442,12 +446,12 @@ private void InitializeCtors () if (Parent != null) Parent.InitializeCtors (); - ArrayList valid_ctors = new ArrayList(); - clash_map = new Hashtable(); + List valid_ctors = new List(); + clash_map = new Dictionary(); foreach (Ctor ctor in ctors) { - if (clash_map.Contains (ctor.Signature.Types)) { - Ctor clash = clash_map [ctor.Signature.Types] as Ctor; + Ctor clash; + if (clash_map.TryGetValue (ctor.Signature.Types, out clash)) { Ctor alter = ctor.Preferred ? clash : ctor; alter.IsStatic = true; if (Parent != null && Parent.HasStaticCtor (alter.StaticName)) diff --git a/generator/CodeGenerator.cs b/generator/CodeGenerator.cs index f45c7a0ef..f38e39bf8 100644 --- a/generator/CodeGenerator.cs +++ b/generator/CodeGenerator.cs @@ -19,13 +19,11 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.Xml; - public class CodeGenerator { public static int Main (string[] args) @@ -44,7 +42,7 @@ public static int Main (string[] args) string gluelib_name = ""; SymbolTable table = SymbolTable.Table; - ArrayList gens = new ArrayList (); + var gens = new List (); foreach (string arg in args) { string filename = arg; if (arg == "--generate") { @@ -84,14 +82,18 @@ public static int Main (string[] args) Parser p = new Parser (); IGeneratable[] curr_gens = p.Parse (filename); - table.AddTypes (curr_gens); + table.AddTypes (curr_gens); + if (!generate) { + foreach (var gen in curr_gens) + gen.Validate (); + } 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 (); + var invalids = new List (); foreach (IGeneratable gen in gens) { if (!gen.Validate ()) invalids.Add (gen); diff --git a/generator/Constants.cs b/generator/Constants.cs new file mode 100644 index 000000000..41ceec292 --- /dev/null +++ b/generator/Constants.cs @@ -0,0 +1,106 @@ +// GtkSharp.Generation.Constants.cs +// +// Author: Stephen Shaw +// +// Copyright (c) 2018 Stephen Shaw +// +// 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 +{ + static class Constants + { + public const string Namespace = "namespace"; + public const string Symbol = "symbol"; + + public const string Hidden = "hidden"; + public const string Opaque = "opaque"; + public const string Alias = "alias"; + public const string CName = "cname"; + public const string Type = "type"; + public const string Boxed = "boxed"; + public const string Callback = "callback"; + public const string Enumeration = "enum"; + public const string Interface = "interface"; + public const string Object = "object"; + public const string Class = "class"; + public const string Struct = "struct"; + public const string CustomAttribute = "custom-attribute"; + public const string VirtualMethod = "virtual_method"; + public const string StaticString = "static-string"; + public const string ChildProp = "childprop"; + + public const string Method = "method"; + public const string Property = "property"; + public const string Field = "field"; + public const string Signal = "signal"; + public const string Implements = "implements"; + public const string Constructor = "constructor"; + public const string DisableDefaultConstructor = "disabledefaultconstructor"; + + public const string Name = "name"; + public const string Simple = "simple"; + public const string DefaultValue = "default_value"; + public const string Manual = "manual"; + public const string Marshal = "marshal"; + public const string MarshalType = "marshal_type"; + public const string CallFmt = "call_fmt"; + public const string FromFmt = "from_fmt"; + + public const string ReturnType = "return-type"; + public const string Parameters = "parameters"; + + // Element Attributes + public const string Preferred = "preferred"; + public const string HasInvoker = "has_invoker"; + public const string ForceInstance = "force_instance"; + public const string Deprecated = "deprecated"; + public const string Abstract = "abstract"; + public const string GType = "gtype"; + public const string Flags = "flags"; + public const string NewFlag = "new_flag"; + public const string Readable = "readable"; + public const string Writeable = "writeable"; + public const string Access = "access"; + public const string ArrayLen = "array_len"; + public const string Array = "array"; + public const string NullTermArray = "null_term_array"; + public const string Bits = "bits"; + public const string Parent = "parent"; + public const string Ellipsis = "ellipsis"; + public const string Params = "params"; + public const string Internal = "internal"; + public const string ConsumeOnly = "consume_only"; + public const string Win32Utf8Variant = "win32_utf8_variant"; + public const string Accessibility = "accessibility"; + public const string Shared = "shared"; + public const string Library = "library"; + public const string DisableVoidCtor = "disable_void_ctor"; + public const string DisableGTypeCtor = "disable_gtype_ctor"; + public const string DisableRawCtor = "disable_raw_ctor"; + public const string PassAs = "pass_as"; + public const string PropertyName = "property_name"; + public const string Scope = "scope"; + public const string ConstructOnly = "construct-only"; + public const string ElementsOwned = "elements_owned"; + public const string Owned = "owned"; + public const string ElementType = "element_type"; + public const string NeedsRef = "needs_ref"; + public const string FieldName = "field_name"; + public const string DisableNew = "disable_new"; + public const string IEquatable = "iequatable"; + public const string Value = "value"; + } +} diff --git a/generator/Ctor.cs b/generator/Ctor.cs index 2beb66dd3..e03d9c623 100644 --- a/generator/Ctor.cs +++ b/generator/Ctor.cs @@ -19,14 +19,13 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; +using System.IO; +using System.Xml; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.IO; - using System.Xml; - public class Ctor : MethodBase { private bool preferred; @@ -35,7 +34,7 @@ public class Ctor : MethodBase { public Ctor (XmlElement elem, ClassBase implementor) : base (elem, implementor) { - if (elem.HasAttribute ("preferred")) + if (elem.HasAttribute (Constants.Preferred)) preferred = true; if (implementor is ObjectGen) needs_chaining = true; @@ -63,7 +62,7 @@ public string StaticName { void GenerateImport (StreamWriter sw) { - sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\")]"); + sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\", CallingConvention = CallingConvention.Cdecl)]"); sw.WriteLine("\t\tstatic extern " + Safety + "IntPtr " + CName + "(" + Parameters.ImportSignature + ");"); sw.WriteLine(); } @@ -71,10 +70,10 @@ void GenerateImport (StreamWriter sw) 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" + Protection + " static " + Safety + Modifiers + name + " " + StaticName + "(" + Signature + ")"); sw.WriteLine("\t\t{"); - Body.Initialize(gen_info, false, false, ""); + Body.Initialize(gen_info, false, false, "", false); sw.Write("\t\t\t" + name + " result = "); if (container_type is StructBase) @@ -87,6 +86,11 @@ void GenerateStatic (GenerationInfo gen_info) 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 ()) @@ -100,18 +104,20 @@ public void Generate (GenerationInfo gen_info) 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{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 (gen_info.AssemblyName == "gtk-sharp") + sw.WriteLine ("\t\t\t\tGtk.Application.AssertMainThread();"); if (Parameters.Count == 0) { - sw.WriteLine ("\t\t\t\tCreateNativeObject (new string [0], new GLib.Value[0]);"); + sw.WriteLine ("\t\t\t\tCreateNativeObject (Array.Empty (), Array.Empty (), 0);"); sw.WriteLine ("\t\t\t\treturn;"); } else { - ArrayList names = new ArrayList (); - ArrayList values = new ArrayList (); + var names = new List (); + var values = new List (); for (int i = 0; i < Parameters.Count; i++) { Parameter p = Parameters[i]; if (container_type.GetPropertyRecursively (p.StudlyName) != null) { @@ -124,23 +130,43 @@ public void Generate (GenerationInfo gen_info) } if (names.Count == Parameters.Count) { - sw.WriteLine ("\t\t\t\tArrayList vals = new ArrayList();"); - sw.WriteLine ("\t\t\t\tArrayList names = new ArrayList();"); + bool genFixedDimension = true; + foreach (Parameter par in Parameters) { + if (IsNullable (par.Generatable)) { + genFixedDimension = false; + break; + } + } + sw.WriteLine ("\t\t\t\tunsafe {"); + sw.WriteLine ("\t\t\t\t\tvar vals = stackalloc GLib.Value[{0}];", Parameters.Count); + sw.WriteLine ("\t\t\t\t\tvar names = stackalloc IntPtr[{0}];", names.Count); + if (!genFixedDimension) + sw.WriteLine ("\t\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 (p.Generatable is ClassBase && !(p.Generatable is StructBase)) { + string indent = "\t\t\t\t\t"; + if (IsNullable (p.Generatable)) { sw.WriteLine (indent + "if (" + p.Name + " != null) {"); indent += "\t"; } - sw.WriteLine (indent + "names.Add (\"" + names [i] + "\");"); - sw.WriteLine (indent + "vals.Add (new GLib.Value (" + values[i] + "));"); + 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 (p.Generatable is ClassBase && !(p.Generatable is StructBase)) - sw.WriteLine ("\t\t\t\t}"); + if (IsNullable (p.Generatable)) + sw.WriteLine ("\t\t\t\t\t}"); } - sw.WriteLine ("\t\t\t\tCreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value)));"); + if (genFixedDimension) + sw.WriteLine ("\t\t\t\t\tCreateNativeObject (names, vals, {0});", names.Count); + else + sw.WriteLine ("\t\t\t\t\tCreateNativeObject (names, vals, param_count);"); + + sw.WriteLine ("\t\t\t\t}"); sw.WriteLine ("\t\t\t\treturn;"); } else sw.WriteLine ("\t\t\t\tthrow new InvalidOperationException (\"Can't override this constructor.\");"); @@ -149,7 +175,10 @@ public void Generate (GenerationInfo gen_info) sw.WriteLine ("\t\t\t}"); } - Body.Initialize(gen_info, false, false, ""); + Body.Initialize(gen_info, false, false, "", false); + if (container_type is ObjectGen) { + sw.WriteLine ("\t\t\towned = true;"); + } sw.WriteLine("\t\t\t{0} = {1}({2});", container_type.AssignToName, CName, Body.GetCallString (false)); Body.Finish (sw, ""); Body.HandleException (sw, ""); diff --git a/generator/EnumGen.cs b/generator/EnumGen.cs index fa66af588..1358465f7 100644 --- a/generator/EnumGen.cs +++ b/generator/EnumGen.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.EnumGen.cs - The Enumeration Generatable. +// GtkSharp.Generation.EnumGen.cs - The Enumeration Generatable. // // Author: Mike Kestner // @@ -18,28 +18,27 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; +using System.IO; +using System.Xml; 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 (); + List members = new List (); - public EnumGen (XmlElement ns, XmlElement elem) : base (ns, elem) + 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"); + string result = "\t\t" + member.GetAttribute(Constants.Name); + if (member.HasAttribute(Constants.Value)) { + string value = member.GetAttribute(Constants.Value); if (value.EndsWith("U")) { enum_type = " : uint"; value = value.TrimEnd('U'); @@ -71,12 +70,12 @@ 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); @@ -88,33 +87,23 @@ public override void Generate (GenerationInfo gen_info) sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); - - if (Elem.GetAttribute("type") == "flags") + + if (Elem.GetAttribute(Constants.Type) == Constants.Flags) sw.WriteLine ("\t[Flags]"); - if (Elem.HasAttribute("gtype")) - sw.WriteLine ("\t[GLib.GType (typeof (" + NS + "." + Name + "GType))]"); + if (Elem.HasAttribute(Constants.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")) { - sw.WriteLine (); - sw.WriteLine ("\tinternal class " + Name + "GType {"); - sw.WriteLine ("\t\t[DllImport (\"" + LibraryName + "\")]"); - sw.WriteLine ("\t\tstatic extern IntPtr " + Elem.GetAttribute ("gtype") + " ();"); - sw.WriteLine (); - sw.WriteLine ("\t\tpublic static GLib.GType GType {"); - sw.WriteLine ("\t\t\tget {"); - sw.WriteLine ("\t\t\t\treturn new GLib.GType (" + Elem.GetAttribute ("gtype") + " ());"); - sw.WriteLine ("\t\t\t}"); - sw.WriteLine ("\t\t}"); - sw.WriteLine ("\t}"); + if (Elem.HasAttribute (Constants.GType)) { + AttributeHelper.Gen (sw, Name, LibraryName, Elem.GetAttribute (Constants.GType)); } sw.WriteLine ("#endregion"); @@ -124,4 +113,3 @@ public override void Generate (GenerationInfo gen_info) } } } - diff --git a/generator/FieldBase.cs b/generator/FieldBase.cs index 9fac0cd2c..8ad9d7c68 100644 --- a/generator/FieldBase.cs +++ b/generator/FieldBase.cs @@ -18,17 +18,16 @@ // Boston, MA 02111-1307, USA. -namespace GtkSharp.Generation { +using System; +using System.IO; +using System.Xml; - using System; - using System.Collections; - using System.IO; - using System.Xml; +namespace GtkSharp.Generation { public abstract class FieldBase : PropertyBase { public FieldBase (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} - public bool Validate () + public virtual bool Validate () { if (!Ignored && !Hidden && CSType == "") { Console.Write("Field {0} has unknown Type {1} ", Name, CType); @@ -41,13 +40,13 @@ public bool Validate () protected virtual bool Readable { get { - return elem.GetAttribute ("readable") != "false"; + return elem.GetAttribute (Constants.Readable) != "false"; } } protected virtual bool Writable { get { - return elem.GetAttribute ("writeable") != "false"; + return elem.GetAttribute (Constants.Writeable) != "false"; } } @@ -55,19 +54,25 @@ protected virtual bool Writable { protected string Access { get { - return elem.HasAttribute ("access") ? elem.GetAttribute ("access") : DefaultAccess; + return elem.HasAttribute (Constants.Access) ? elem.GetAttribute (Constants.Access) : DefaultAccess; } } public bool IsArray { get { - return elem.HasAttribute("array_len") || elem.HasAttribute("array"); + return elem.HasAttribute(Constants.ArrayLen) || elem.HasAttribute(Constants.Array); + } + } + + public bool IsNullTermArray { + get { + return elem.HasAttribute (Constants.NullTermArray); } } public bool IsBitfield { get { - return elem.HasAttribute("bits"); + return elem.HasAttribute(Constants.Bits); } } @@ -113,20 +118,20 @@ protected override void GenerateImports (GenerationInfo gen_info, string indent) SymbolTable table = SymbolTable.Table; if (getterName != null) { - sw.WriteLine (indent + "[DllImport (\"{0}\")]", gen_info.GluelibName); + 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}\")]", gen_info.GluelibName); + 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}\")]", gen_info.GluelibName); + 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 + " ();"); @@ -152,7 +157,7 @@ public virtual void Generate (GenerationInfo gen_info, string indent) SymbolTable table = SymbolTable.Table; StreamWriter sw = gen_info.Writer; - string modifiers = elem.HasAttribute ("new_flag") ? "new " : ""; + string modifiers = elem.HasAttribute (Constants.NewFlag) ? "new " : ""; bool is_struct = table.IsStruct (CType) || table.IsBoxed (CType); sw.WriteLine (indent + "public " + modifiers + CSType + " " + Name + " {"); @@ -267,4 +272,3 @@ protected void GenerateGlue (GenerationInfo gen_info) } } } - diff --git a/generator/GenBase.cs b/generator/GenBase.cs index b12831bc7..7dd64fa89 100644 --- a/generator/GenBase.cs +++ b/generator/GenBase.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.GenBase.cs - The Generatable base class. +// GtkSharp.Generation.GenBase.cs - The Generatable base class. // // Author: Mike Kestner // @@ -39,7 +39,7 @@ protected GenBase (XmlElement ns, XmlElement elem) public string CName { get { - return elem.GetAttribute ("cname"); + return elem.GetAttribute (Constants.CName); } } @@ -49,23 +49,29 @@ public XmlElement Elem { } } - public bool IsInternal { + public bool IsInternal { + get { + if (elem.HasAttribute (Constants.Internal)) { + string attr = elem.GetAttribute (Constants.Internal); + return attr == "1" || attr == "true"; + } + return false; + } + } + + public string LibraryName { get { - if (elem.HasAttribute ("internal")) { - string attr = elem.GetAttribute ("internal"); - return attr == "1" || attr == "true"; - } - return false; + return ns.GetAttribute (Constants.Library); } } - public string LibraryName { + public virtual string MarshalReturnType { get { - return ns.GetAttribute ("library"); + return MarshalType; } } - public virtual string MarshalReturnType { + public virtual string MarshalCallbackType { get { return MarshalType; } @@ -75,13 +81,13 @@ public virtual string MarshalReturnType { public string Name { get { - return elem.GetAttribute ("name"); + return elem.GetAttribute (Constants.Name); } } public string NS { get { - return ns.GetAttribute ("name"); + return ns.GetAttribute (Constants.Name); } } @@ -98,14 +104,19 @@ public virtual string ToNativeReturnType { 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 + Name + ".custom"; + string custom = custom_dir + sep + type_name + ".custom"; if (File.Exists(custom)) { sw.WriteLine ("#region Customized extensions"); - sw.WriteLine ("#line 1 \"" + Name + ".custom\""); + 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 ()); diff --git a/generator/GenerationInfo.cs b/generator/GenerationInfo.cs index 7b7619a0a..9ef5ed799 100644 --- a/generator/GenerationInfo.cs +++ b/generator/GenerationInfo.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.GenerationInfo.cs - Generation information class. +// GtkSharp.Generation.GenerationInfo.cs - Generation information class. // // Author: Mike Kestner // @@ -18,14 +18,12 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.IO; +using System.Xml; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.IO; - using System.Xml; - public class GenerationInfo { string dir; @@ -38,7 +36,7 @@ public class GenerationInfo { public GenerationInfo (XmlElement ns) { - string ns_name = ns.GetAttribute ("name"); + string ns_name = ns.GetAttribute (Constants.Name); char sep = Path.DirectorySeparatorChar; dir = ".." + sep + ns_name.ToLower () + sep + "generated"; custom_dir = ".." + sep + ns_name.ToLower (); @@ -80,7 +78,7 @@ void InitializeGlue (string glue_filename, string glue_includes, string gluelib_ } glue_sw.WriteLine (""); } - glue_sw.WriteLine ("const gchar *__prefix = \"__gtksharp_\";\n"); + glue_sw.WriteLine ("static 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)"); diff --git a/generator/IGeneratable.cs b/generator/IGeneratable.cs index 1608fd7cd..cf30e5415 100644 --- a/generator/IGeneratable.cs +++ b/generator/IGeneratable.cs @@ -41,6 +41,9 @@ public interface IGeneratable { // receiving this generatable back from unmanaged code string MarshalReturnType {get;} + // The type to use as the marshal type in a callback + string MarshalCallbackType { get; } + // The type to use in a managed callback signature when returning this // generatable to unmanaged code string ToNativeReturnType {get;} diff --git a/generator/InterfaceGen.cs b/generator/InterfaceGen.cs index 14ede779f..7df93481f 100644 --- a/generator/InterfaceGen.cs +++ b/generator/InterfaceGen.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.InterfaceGen.cs - The Interface Generatable. +// GtkSharp.Generation.InterfaceGen.cs - The Interface Generatable. // // Author: Mike Kestner // @@ -19,33 +19,33 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; +using System.IO; +using System.Xml; 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 (); + List vms = new List (); + // FIXME, This is being used for both VirtualMethod and Signal :( + List members = new List (); public InterfaceGen (XmlElement ns, XmlElement elem) : base (ns, elem) { - consume_only = elem.HasAttribute ("consume_only"); + consume_only = elem.HasAttribute (Constants.ConsumeOnly); foreach (XmlNode node in elem.ChildNodes) { switch (node.Name) { - case "virtual_method": + case Constants.VirtualMethod: 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) + case Constants.Signal: + Signal sig; + if (!sigs.TryGetValue ((node as XmlElement).GetAttribute (Constants.Name), out sig)) sig = new Signal (node as XmlElement, this); members.Add (sig); break; @@ -65,12 +65,15 @@ public bool IsConsumeOnly { public override string FromNative (string var, bool owned) { - return QualifiedName + "Adapter.GetObject (" + var + ", " + (owned ? "true" : "false") + ")"; + 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 (); + var invalids = new List (); foreach (Method method in methods.Values) { if (!method.Validate ()) { @@ -106,7 +109,7 @@ void GenerateIfaceStruct (StreamWriter sw) 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; + bool has_target = methods.ContainsKey (vm.Name); 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"; @@ -124,7 +127,7 @@ void GenerateStaticCtor (StreamWriter sw) 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; + bool has_target = methods.ContainsKey (vm.Name); if (has_target && vm.IsValid) sw.WriteLine ("\t\t\tiface.{0} = new {1}Delegate ({1}Callback);", vm.CName, vm.Name); } @@ -136,10 +139,10 @@ 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 + "));"); + sw.WriteLine ("\t\t\t" + IfaceName + " native_iface = Marshal.PtrToStructure<" + IfaceName + "> (ifaceptr);"); 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\tMarshal.StructureToPtr<" + IfaceName + "> (native_iface, ifaceptr, false);"); sw.WriteLine ("\t\t\tGCHandle gch = (GCHandle) data;"); sw.WriteLine ("\t\t\tgch.Free ();"); sw.WriteLine ("\t\t}"); @@ -149,7 +152,7 @@ void GenerateInitialize (StreamWriter sw) void GenerateCallbacks (StreamWriter sw) { foreach (VirtualMethod vm in vms) { - if (methods [vm.Name] != null) { + if (methods.ContainsKey (vm.Name)) { sw.WriteLine (); vm.GenerateCallback (sw); } @@ -158,26 +161,22 @@ void GenerateCallbacks (StreamWriter sw) void GenerateCtors (StreamWriter sw) { - if (!IsConsumeOnly) { - 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 ()"); + 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\tif (!_gtype.IsInstance (handle))"); - sw.WriteLine ("\t\t\t\tthrow new ArgumentException (\"The gobject doesn't implement the GInterface of this adapter\", \"handle\");"); sw.WriteLine ("\t\t\tthis.handle = handle;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); @@ -202,13 +201,9 @@ void GenerateHandleProp (StreamWriter sw) sw.WriteLine ("\t\tIntPtr handle;"); sw.WriteLine ("\t\tpublic override IntPtr Handle {"); sw.WriteLine ("\t\t\tget {"); - if (IsConsumeOnly) { - sw.WriteLine ("\t\t\t\treturn handle;"); - } else { - 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\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 (); @@ -226,10 +221,8 @@ void GenerateGetObject (StreamWriter sw) sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (obj == null)"); sw.WriteLine ("\t\t\t\treturn null;"); - if (!IsConsumeOnly) { - 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 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"); @@ -250,6 +243,9 @@ void GenerateImplementorProp (StreamWriter sw) void GenerateAdapter (GenerationInfo gen_info) { + if (IsConsumeOnly) + return; + StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name + "Adapter"); sw.WriteLine ("namespace " + NS + " {"); @@ -261,42 +257,31 @@ void GenerateAdapter (GenerationInfo gen_info) sw.WriteLine ("\tpublic class " + Name + "Adapter : GLib.GInterfaceAdapter, " + QualifiedName + " {"); sw.WriteLine (); - if (!IsConsumeOnly) { - GenerateIfaceStruct (sw); - GenerateStaticCtor (sw); - GenerateCallbacks (sw); - GenerateInitialize (sw); - } + GenerateIfaceStruct (sw); + GenerateStaticCtor (sw); + GenerateCallbacks (sw); + GenerateInitialize (sw); GenerateCtors (sw); GenerateGType (sw); GenerateHandleProp (sw); GenerateGetObject (sw); - if (!IsConsumeOnly) - GenerateImplementorProp (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) + Method temp; + if (methods.TryGetValue ("GetType", out temp)) methods.Remove ("GetType"); - GenMethods (gen_info, new Hashtable (), this); + GenMethods (gen_info, new Dictionary(), this); if (temp != null) methods ["GetType"] = temp; sw.WriteLine ("#endregion"); - string custom = Path.Combine (gen_info.CustomDir, Name + "Adapter.custom"); - if (File.Exists (custom)) { - sw.WriteLine ("#region Customized extensions"); - sw.WriteLine ("#line 1 \"" + Name + "Adapter.custom\""); - using (StreamReader sr = new StreamReader(new FileStream (custom, FileMode.Open, FileAccess.Read))) - sw.WriteLine (sr.ReadToEnd ()); - - sw.WriteLine ("#endregion"); - } + AppendCustom (sw, gen_info.CustomDir, Name + "Adapter"); sw.WriteLine ("\t}"); sw.WriteLine ("}"); @@ -304,8 +289,9 @@ void GenerateAdapter (GenerationInfo gen_info) gen_info.Writer = null; } - void GenerateImplementorIface (StreamWriter sw) + void GenerateImplementorIface (GenerationInfo gen_info) { + StreamWriter sw = gen_info.Writer; if (IsConsumeOnly) return; @@ -314,19 +300,19 @@ void GenerateImplementorIface (StreamWriter sw) string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " interface " + Name + "Implementor : GLib.IWrapper {"); sw.WriteLine (); - Hashtable vm_table = new Hashtable (); + var vm_table = new Dictionary(); foreach (VirtualMethod vm in vms) vm_table [vm.Name] = vm; foreach (VirtualMethod vm in vms) { - if (vm_table [vm.Name] == null) + if (!vm_table.ContainsKey (vm.Name)) 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)) { + VirtualMethod cmp; + if (vm_table.TryGetValue (cmp_name, out cmp) && (cmp.IsGetter || cmp.IsSetter)) { if (vm.IsSetter) cmp.GenerateDeclaration (sw, vm); else @@ -340,6 +326,9 @@ void GenerateImplementorIface (StreamWriter sw) vm_table.Remove (vm.Name); } } + + AppendCustom (sw, gen_info.CustomDir, Name + "Implementor"); + sw.WriteLine ("\t}"); } @@ -374,7 +363,7 @@ public override void Generate (GenerationInfo gen_info) AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); - GenerateImplementorIface (sw); + GenerateImplementorIface (gen_info); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); diff --git a/generator/Makefile.am b/generator/Makefile.am index 68328671c..9e8e2c70c 100644 --- a/generator/Makefile.am +++ b/generator/Makefile.am @@ -7,6 +7,7 @@ DISTCLEANFILES = gapi2-codegen references = sources = \ + AttributeHelper.cs \ AliasGen.cs \ BoxedGen.cs \ ByRefGen.cs \ @@ -15,6 +16,7 @@ sources = \ ClassBase.cs \ ClassGen.cs \ CodeGenerator.cs \ + Constants.cs \ ConstFilenameGen.cs \ ConstStringGen.cs \ Ctor.cs \ @@ -63,5 +65,5 @@ EXTRA_DIST = \ $(dist_sources) gapi_codegen.exe: $(build_sources) - $(CSC) /out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources) + $(CSC) -out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources) diff --git a/generator/ManagedCallString.cs b/generator/ManagedCallString.cs index 409eb36db..6ed272984 100644 --- a/generator/ManagedCallString.cs +++ b/generator/ManagedCallString.cs @@ -18,17 +18,15 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.IO; - public class ManagedCallString { - - ArrayList parms = new ArrayList (); - ArrayList special = new ArrayList (); + + List parms = new List(); + List special = new List(); string error_param = null; string user_data_param = null; string destroy_param = null; @@ -61,6 +59,17 @@ public ManagedCallString (Parameters parms, bool drop_first) } } + public static bool Validate (Parameters parms) + { + for (int i = 0; i < parms.Count; i++) { + var gen = parms [i].Generatable as CallbackGen; + if (gen != null) + gen.hasInvoker = true; + } + + return true; + } + public bool HasOutParam { get { foreach (Parameter p in parms) { @@ -98,8 +107,9 @@ public string Setup (string indent) 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") + if (p.PassAs == "ref") { ret += " = " + p.FromNative (p.Name); + } ret += ";\n"; } } @@ -117,6 +127,7 @@ public override string ToString () 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 @@ -139,9 +150,14 @@ public string Finish (string indent) if (igen is CallbackGen) continue; - else if (igen is StructBase || igen is ByRefGen) - ret += indent + String.Format ("if ({0} != IntPtr.Zero) System.Runtime.InteropServices.Marshal.StructureToPtr (my{0}, {0}, false);\n", p.Name); - else + if (igen is StructBase) { + if (SymbolTable.Table.IsBlittable (igen)) { + ret += indent + string.Format ("unsafe {{ if ({1} != IntPtr.Zero) *({0}*){1} = my{1}; }}\n", p.CSType, p.Name); + } else { + 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"; } diff --git a/generator/MarshalGen.cs b/generator/MarshalGen.cs index 820961c86..017e0a91e 100644 --- a/generator/MarshalGen.cs +++ b/generator/MarshalGen.cs @@ -28,14 +28,22 @@ 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) : base (ctype, type, "null") + 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; @@ -52,5 +60,22 @@ 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); + } + } } diff --git a/generator/Method.cs b/generator/Method.cs index 1492bc463..a44b38a7f 100644 --- a/generator/Method.cs +++ b/generator/Method.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.Method.cs - The Method Generatable. +// GtkSharp.Generation.Method.cs - The Method Generatable. // // Author: Mike Kestner // @@ -19,33 +19,46 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.IO; +using System.Xml; 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"); + this.retval = new ReturnValue (elem[Constants.ReturnType]); + + if (!container_type.IsDeprecated && elem.HasAttribute (Constants.Deprecated)) { + string attr = elem.GetAttribute (Constants.Deprecated); deprecated = attr == "1" || attr == "true"; } - - if (Name == "GetType") + + if (elem.HasAttribute (Constants.Win32Utf8Variant)) { + string attr = elem.GetAttribute (Constants.Win32Utf8Variant); + win32_utf8_variant = attr == "1" || attr.ToLower () == "true"; + } + + if (Name == "GetType") { Name = "GetGType"; + cacheValue = !(container_type is StructBase) && !retval.IsVoid; + cacheName = "_gtype"; + } + } + + public bool HasWin32Utf8Variant { + get { return win32_utf8_variant; } } public bool IsDeprecated { @@ -87,7 +100,7 @@ public override bool Validate () return true; } - + private Method GetComplement () { char complement; @@ -95,10 +108,10 @@ private Method GetComplement () 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() : "") + ");"; @@ -156,7 +169,7 @@ public void GenerateDecl (StreamWriter sw) Method comp = GetComplement (); if (comp != null && is_set) return; - + sw.Write("\t\t"); GenerateDeclCommon (sw, null); @@ -185,12 +198,28 @@ 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 + "\")]"); + 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) @@ -198,6 +227,21 @@ public void Generate (GenerationInfo gen_info, ClassBase implementor) if (!Validate ()) return; + if (implementor != null) { + foreach (XmlNode node in implementor.Elem.ChildNodes) { + if (node.Name != "interface_hide") + continue; + + foreach (XmlElement hidden_interface in node.ChildNodes) { + if (hidden_interface.Name != "method") + continue; + + if (CName == hidden_interface.GetAttribute (Constants.CName)) + return; + } + } + } + Method comp = null; gen_info.CurrentMember = Name; @@ -221,8 +265,9 @@ public void Generate (GenerationInfo gen_info, ClassBase implementor) 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); @@ -241,7 +286,7 @@ public void Generate (GenerationInfo gen_info, ClassBase implementor) } else GenerateBody (gen_info, implementor, ""); - + if (is_get || is_set) { if (comp != null && retval.CSType == comp.Parameters.AccessorReturnType) @@ -255,7 +300,7 @@ public void Generate (GenerationInfo gen_info, ClassBase implementor) } else gen_info.Writer.WriteLine(); - + gen_info.Writer.WriteLine(); Statistics.MethodCount++; @@ -269,14 +314,40 @@ public void GenerateBody (GenerationInfo gen_info, ClassBase implementor, string implementor.Prepare (sw, indent + "\t\t\t"); if (IsAccessor) Body.InitAccessor (sw, Signature, indent); - Body.Initialize(gen_info, is_get, is_set, indent); - - sw.Write(indent + "\t\t\t"); - if (retval.IsVoid) - sw.WriteLine(CName + call + ";"); - else { - sw.WriteLine(retval.MarshalType + " raw_ret = " + CName + call + ";"); - sw.WriteLine(indent + "\t\t\t" + retval.CSType + " ret = " + retval.FromNative ("raw_ret") + ";"); + Body.Initialize(gen_info, is_get, is_set, indent, false); + + 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") + ";"); + var postRef = retval.PostFromNative ("raw_ret"); + if (postRef != string.Empty) + sw.WriteLine (indent + "\t\t\t" + postRef); + sw.WriteLine (); + } + } 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") + ";"); + var postRef = retval.PostFromNative ("raw_ret"); + if (postRef != string.Empty) + sw.WriteLine (indent + "\t\t\t" + postRef); + } } if (!IsStatic && implementor != null) @@ -284,21 +355,20 @@ public void GenerateBody (GenerationInfo gen_info, ClassBase implementor, string Body.Finish (sw, indent); Body.HandleException (sw, indent); - if (is_get && Parameters.Count > 0) + if (is_get && Parameters.Count > 0) sw.WriteLine (indent + "\t\t\treturn " + Parameters.AccessorName + ";"); - else if (!retval.IsVoid) - sw.WriteLine (indent + "\t\t\treturn ret;"); - else if (IsAccessor) + 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; - } + bool IsAccessor { + get { + return retval.IsVoid && Signature.IsAccessor; + } } } } - diff --git a/generator/MethodBase.cs b/generator/MethodBase.cs index 9716ff8f6..8ebb47ca9 100644 --- a/generator/MethodBase.cs +++ b/generator/MethodBase.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.MethodBase.cs - function element base class. +// GtkSharp.Generation.MethodBase.cs - function element base class. // // Author: Mike Kestner // @@ -33,28 +33,34 @@ public abstract class MethodBase { bool is_static = false; string mods = String.Empty; string name; - private string protection = "public"; + 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")) + this.name = elem.GetAttribute (Constants.Name); + parms = new Parameters (elem [Constants.Parameters]); + IsStatic = elem.GetAttribute (Constants.Shared) == "true"; + if (elem.HasAttribute (Constants.NewFlag)) 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; - } + if (elem.HasAttribute (Constants.Accessibility)) { + string attr = elem.GetAttribute (Constants.Accessibility); + switch (attr) { + case "public": + case "protected": + case "internal": + case "private": + case "protected internal": + protection = attr; + break; + } + } + } + + public bool Hidden { + get { + return elem.HasAttribute (Constants.Hidden); } } @@ -79,7 +85,7 @@ public MethodBody Body { public string CName { get { - return SymbolTable.Table.MangleName (elem.GetAttribute ("cname")); + return SymbolTable.Table.MangleName (elem.GetAttribute (Constants.CName)); } } @@ -119,8 +125,8 @@ public bool IsStatic { public string LibraryName { get { - if (elem.HasAttribute ("library")) - return elem.GetAttribute ("library"); + if (elem.HasAttribute (Constants.Library)) + return elem.GetAttribute (Constants.Library); return container_type.LibraryName; } } @@ -148,12 +154,12 @@ public Parameters Parameters { return parms; } } - - public string Protection { - get { return protection; } - set { protection = value; } - } - + + public string Protection { + get { return protection; } + set { protection = value; } + } + protected string Safety { get { return Body.ThrowsException && !(container_type is InterfaceGen) ? "unsafe " : ""; diff --git a/generator/MethodBody.cs b/generator/MethodBody.cs index cee70790f..6e9e36bfe 100644 --- a/generator/MethodBody.cs +++ b/generator/MethodBody.cs @@ -19,17 +19,15 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.IO; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.IO; - public class MethodBody { Parameters parameters; - + bool is_callback; public MethodBody (Parameters parms) { parameters = parms; @@ -62,11 +60,16 @@ public string GetCallString (bool is_set) p.CallName = "value"; else p.CallName = p.Name; - string call_parm = p.CallString; + string call_parm = is_callback ? p.CallStringCallback : p.CallString; if (p.IsUserData && parameters.IsHidden (p) && !parameters.HideData && (i == 0 || parameters [i - 1].Scope != "notified")) { - call_parm = "IntPtr.Zero"; + var param = parameters [i - 1]; + var cb = param.Generatable as CallbackGen; + if (cb != null && cb.WithParamGCHandle) + call_parm = "(IntPtr)gch"; + else + call_parm = "IntPtr.Zero"; } result [i] += call_parm; @@ -75,17 +78,21 @@ public string GetCallString (bool is_set) return String.Join (", ", result); } - public void Initialize (GenerationInfo gen_info) + public void Initialize (GenerationInfo gen_info, bool is_callback) { - Initialize (gen_info, false, false, String.Empty); + Initialize (gen_info, false, false, String.Empty, is_callback); } - public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, string indent) + public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, string indent, bool is_callback) { if (parameters.Count == 0) return; + this.is_callback = is_callback; StreamWriter sw = gen_info.Writer; + if (gen_info.AssemblyName == "gtk-sharp") + sw.WriteLine (indent + "\t\t\tGtk.Application.AssertMainThread();"); + for (int i = 0; i < parameters.Count; i++) { Parameter p = parameters [i]; @@ -95,7 +102,8 @@ public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, strin name = "value"; p.CallName = name; - foreach (string prep in p.Prepare) + var prepare = is_callback ? p.PrepareCallback : p.Prepare; + foreach (string prep in prepare) sw.WriteLine (indent + "\t\t\t" + prep); if (gen is CallbackGen) { @@ -103,29 +111,46 @@ public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, strin 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); + if (!cbgen.GenerateStaticWrapper) { + 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} = (IntPtr) GCHandle.Alloc ({1});", parameters [i + 1].Name, cbgen.GenerateStaticWrapper ? name : name + "_wrapper"); 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); + if (cbgen.GenerateStaticWrapper) { + sw.WriteLine (indent + "\t\t\tIntPtr gch = IntPtr.Zero;"); + sw.WriteLine (indent + "\t\t\tif ({0} != null) {{", name); + sw.WriteLine (indent + "\t\t\t\tgch = (IntPtr)GCHandle.Alloc ({0});", name); + sw.WriteLine (indent + "\t\t\t}"); + } else { + sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); + if (cbgen.WithParamGCHandle) + sw.Write (indent + "\t\t\tGCHandle gch = "); + sw.WriteLine ("{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); + if (!cbgen.GenerateStaticWrapper) { + sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); + if (cbgen.WithParamGCHandle) + sw.WriteLine (indent + "\t\t\tGCHandle gch = GCHandle.Alloc ({0}_wrapper);", name); + } else + sw.WriteLine (indent + "\t\t\tGCHandle gch = GCHandle.Alloc ({0});", name); break; } + } } @@ -140,9 +165,16 @@ public void InitAccessor (StreamWriter sw, Signature sig, string indent) 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); + foreach (Parameter p in parameters) { + var finish = is_callback ? p.FinishCallback : p.Finish; + foreach (string s in finish) + sw.WriteLine (indent + "\t\t\t" + s); + + var cbgen = p.Generatable as CallbackGen; + if (cbgen != null && p.Scope != "notified" && p.Scope != "async" && cbgen.WithParamGCHandle) { + sw.WriteLine (indent + "\t\t\tgch.Free();"); + } + } } public void FinishAccessor (StreamWriter sw, Signature sig, string indent) diff --git a/generator/ObjectField.cs b/generator/ObjectField.cs index 47e015623..128480eec 100644 --- a/generator/ObjectField.cs +++ b/generator/ObjectField.cs @@ -16,14 +16,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System.Xml; 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) @@ -34,7 +30,7 @@ public ObjectField (XmlElement elem, ClassBase container_type) : base (elem, con protected override bool Writable { get { - return elem.GetAttribute ("writeable") == "true"; + return elem.GetAttribute (Constants.Writeable) == "true"; } } diff --git a/generator/ObjectGen.cs b/generator/ObjectGen.cs index 58d2c17df..6ff30ab6a 100644 --- a/generator/ObjectGen.cs +++ b/generator/ObjectGen.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.ObjectGen.cs - The Object Generatable. +// GtkSharp.Generation.ObjectGen.cs - The Object Generatable. // // Author: Mike Kestner // @@ -18,23 +18,22 @@ // 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.Collections.Generic; +using System; +using System.IO; +using System.Xml; +using System.Linq; 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 (); + List custom_attrs = new List(); + List strings = new List(); + List vm_nodes = new List(); + Dictionary childprops = new Dictionary(); + static Dictionary dirs = new Dictionary(); public ObjectGen (XmlElement ns, XmlElement elem) : base (ns, elem) { @@ -45,24 +44,24 @@ public ObjectGen (XmlElement ns, XmlElement elem) : base (ns, elem) XmlElement member = (XmlElement) node; switch (node.Name) { - case "callback": + case Constants.Callback: Statistics.IgnoreCount++; break; - case "custom-attribute": + case Constants.CustomAttribute: custom_attrs.Add (member.InnerXml); break; - case "virtual_method": + case Constants.VirtualMethod: Statistics.IgnoreCount++; break; - case "static-string": + case Constants.StaticString: strings.Add (node); break; - case "childprop": - name = member.GetAttribute ("name"); + case Constants.ChildProp: + name = member.GetAttribute (Constants.Name); while (childprops.ContainsKey (name)) name += "mangled"; childprops.Add (name, new ChildProperty (member, this)); @@ -78,39 +77,39 @@ public ObjectGen (XmlElement ns, XmlElement elem) : base (ns, elem) public override bool Validate () { - ArrayList invalids = new ArrayList (); + var invalids = new List(); - foreach (ChildProperty prop in childprops.Values) { - if (!prop.Validate ()) { + foreach (var prop in childprops) { + if (!prop.Value.Validate ()) { Console.WriteLine ("in Object " + QualifiedName); - invalids.Add (prop); + invalids.Add (prop.Key); } } - foreach (ChildProperty prop in invalids) - childprops.Remove (prop); + foreach (var item in invalids) + childprops.Remove (item); return base.Validate (); } private bool DisableVoidCtor { get { - return Elem.HasAttribute ("disable_void_ctor"); + return Elem.HasAttribute (Constants.DisableVoidCtor); } } private bool DisableGTypeCtor { get { - return Elem.HasAttribute ("disable_gtype_ctor"); + return Elem.HasAttribute (Constants.DisableGTypeCtor); } } private class DirectoryInfo { public string assembly_name; - public Hashtable objects; + public Dictionary objects; public DirectoryInfo (string assembly_name) { this.assembly_name = assembly_name; - objects = new Hashtable (); + objects = new Dictionary(); } } @@ -134,6 +133,28 @@ private static DirectoryInfo GetDirectoryInfo (string dir, string assembly_name) 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; @@ -157,8 +178,9 @@ public override void Generate (GenerationInfo gen_info) 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")); + string cs_parent = table.GetCSType(Elem.GetAttribute(Constants.Parent)); if (cs_parent != "") { di.objects.Add (CName, QualifiedName); sw.Write (" : " + cs_parent); @@ -192,7 +214,7 @@ public override void Generate (GenerationInfo gen_info) } } - if (has_sigs && Elem.HasAttribute("parent")) { + if (has_sigs && Elem.HasAttribute(Constants.Parent)) { GenSignals (gen_info, null); } @@ -208,15 +230,15 @@ public override void Generate (GenerationInfo gen_info) GenMethods (gen_info, null, null); if (interfaces.Count != 0) { - Hashtable all_methods = new Hashtable (); + Dictionary all_methods = new Dictionary(); foreach (Method m in Methods.Values) all_methods[m.Name] = m; - Hashtable collisions = new Hashtable (); + var collisions = new Dictionary(); 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) + Method collision; + if (all_methods.TryGetValue (m.Name, out collision) && collision.Signature.Types == m.Signature.Types) collisions[m.Name] = true; else all_methods[m.Name] = m; @@ -234,8 +256,8 @@ public override void Generate (GenerationInfo gen_info) } 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}"); + sw.Write ("\t\tpublic static string " + str.GetAttribute (Constants.Name)); + sw.WriteLine (" {\n\t\t\t get { return \"" + str.GetAttribute (Constants.Value) + "\"; }\n\t\t}"); } if (cs_parent != String.Empty && GetExpected (CName) != QualifiedName) { @@ -250,6 +272,11 @@ public override void Generate (GenerationInfo gen_info) 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 (); @@ -259,7 +286,7 @@ public override void Generate (GenerationInfo gen_info) protected override void GenCtors (GenerationInfo gen_info) { - if (!Elem.HasAttribute("parent")) + if (!Elem.HasAttribute(Constants.Parent)) return; if (!DisableGTypeCtor) { @@ -271,7 +298,7 @@ protected override void GenCtors (GenerationInfo gen_info) 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 string [0], new GLib.Value [0]);"); + gen_info.Writer.WriteLine("\t\t\tCreateNativeObject (Array.Empty (), Array.Empty (), 0);"); gen_info.Writer.WriteLine("\t\t}"); } gen_info.Writer.WriteLine(); @@ -314,7 +341,7 @@ private void GenVMGlue (GenerationInfo gen_info, XmlElement elem) { StreamWriter sw = gen_info.GlueWriter; - string vm_name = elem.GetAttribute ("cname"); + string vm_name = elem.GetAttribute (Constants.CName); string method = gen_info.GluelibName + "_" + NS + Name + "_override_" + vm_name; sw.WriteLine (); sw.WriteLine ("void " + method + " (GType type, gpointer cb);"); @@ -358,10 +385,10 @@ private static string GetExpected (string cname) throw new ArgumentException ("cname doesn't follow the NamespaceType capitalization style: " + cname); } - private static bool NeedsMap (Hashtable objs, string assembly_name) + private static bool NeedsMap (Dictionary objs, string assembly_name) { foreach (string key in objs.Keys) - if (GetExpected (key) != ((string) objs[key])) + if (GetExpected (key) != objs[key]) return true; return false; diff --git a/generator/OpaqueGen.cs b/generator/OpaqueGen.cs index 6c2af67d1..7b44f78ca 100644 --- a/generator/OpaqueGen.cs +++ b/generator/OpaqueGen.cs @@ -18,14 +18,11 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System.IO; +using System.Xml; 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) {} @@ -37,7 +34,30 @@ public override string FromNative(string var, bool owned) private bool DisableRawCtor { get { - return Elem.HasAttribute ("disable_raw_ctor"); + return Elem.HasAttribute (Constants.DisableRawCtor); + } + } + + 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); } } @@ -63,8 +83,9 @@ public override void Generate (GenerationInfo gen_info) 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")); + string cs_parent = table.GetCSType(Elem.GetAttribute(Constants.Parent)); if (cs_parent != "") sw.Write (" : " + cs_parent); else @@ -96,6 +117,7 @@ public override void Generate (GenerationInfo gen_info) sw.WriteLine (); } } + if (unref != null) { unref.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Unref (IntPtr raw)"); @@ -111,7 +133,7 @@ public override void Generate (GenerationInfo gen_info) sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now refcounted automatically\")]"); sw.WriteLine ("\t\tpublic void Unref () {}"); sw.WriteLine (); - } + } } if (dispose != null) { @@ -126,7 +148,7 @@ public override void Generate (GenerationInfo gen_info) sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now freed automatically\")]"); sw.WriteLine ("\t\tpublic void " + dispose.Name + " () {}"); sw.WriteLine (); - } + } } #if false @@ -146,6 +168,11 @@ public override void Generate (GenerationInfo gen_info) 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 (); diff --git a/generator/Parameters.cs b/generator/Parameters.cs index 75dd68f2c..6bddf2a86 100644 --- a/generator/Parameters.cs +++ b/generator/Parameters.cs @@ -1,32 +1,31 @@ -// 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. - +// 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. + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Xml; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.IO; - using System.Xml; - public class Parameter { private XmlElement elem; @@ -51,7 +50,7 @@ public string CallName { public string CType { get { - string type = elem.GetAttribute("type"); + string type = elem.GetAttribute(Constants.Type); if (type == "void*") type = "gpointer"; return type; @@ -60,7 +59,7 @@ public string CType { public string CSType { get { - string cstype = SymbolTable.Table.GetCSType( elem.GetAttribute("type")); + string cstype = SymbolTable.Table.GetCSType( elem.GetAttribute(Constants.Type)); if (cstype == "void") cstype = "System.IntPtr"; if (IsArray) { @@ -81,13 +80,13 @@ public IGeneratable Generatable { public bool IsArray { get { - return elem.HasAttribute("array") || elem.HasAttribute("null_term_array"); + return elem.HasAttribute(Constants.Array) || elem.HasAttribute(Constants.NullTermArray); } } public bool IsEllipsis { get { - return elem.HasAttribute("ellipsis"); + return elem.HasAttribute(Constants.Ellipsis); } } @@ -139,7 +138,7 @@ public bool IsLength { public bool IsParams { get { - return elem.HasAttribute("params"); + return elem.HasAttribute(Constants.Params); } } @@ -157,7 +156,20 @@ public bool IsUserData { public virtual string MarshalType { get { - string type = SymbolTable.Table.GetMarshalType( elem.GetAttribute("type")); + string type = SymbolTable.Table.GetMarshalType( elem.GetAttribute(Constants.Type)); + if (type == "void" || Generatable is IManualMarshaler) + type = "IntPtr"; + if (IsArray) { + type += "[]"; + type = type.Replace ("ref ", ""); + } + return type; + } + } + + public virtual string MarshalCallbackType { + get { + string type = SymbolTable.Table.GetMarshalCallbackType (elem.GetAttribute (Constants.Type)); if (type == "void" || Generatable is IManualMarshaler) type = "IntPtr"; if (IsArray) { @@ -170,13 +182,22 @@ public virtual string MarshalType { public string Name { get { - return SymbolTable.Table.MangleName (elem.GetAttribute("name")); + return SymbolTable.Table.MangleName (elem.GetAttribute(Constants.Name)); } } public bool Owned { get { - return elem.GetAttribute ("owned") == "true"; + return elem.GetAttribute (Constants.Owned) == "true"; + } + } + + public virtual string NativeCallbackSignature { + get { + string sig = MarshalCallbackType + " " + Name; + if (PassAs != String.Empty) + sig = PassAs + " " + sig; + return sig; } } @@ -191,7 +212,7 @@ public virtual string NativeSignature { public string PropertyName { get { - return elem.GetAttribute("property_name"); + return elem.GetAttribute(Constants.PropertyName); } } @@ -202,8 +223,8 @@ public string PassAs { if (pass_as != null) return pass_as; - if (elem.HasAttribute ("pass_as")) - return elem.GetAttribute ("pass_as"); + if (elem.HasAttribute (Constants.PassAs)) + return elem.GetAttribute (Constants.PassAs); if (IsArray || CSType.EndsWith ("IntPtr")) return ""; @@ -222,7 +243,7 @@ public string PassAs { public string Scope { get { if (scope == null) - scope = elem.GetAttribute ("scope"); + scope = elem.GetAttribute (Constants.Scope); return scope; } set { @@ -245,13 +266,25 @@ public virtual string[] Prepare { } } + public virtual string [] PrepareCallback { + get { + return Prepare; + } + } + public virtual string CallString { get { string call_parm; IGeneratable gen = Generatable; - if (gen is CallbackGen) - return SymbolTable.Table.CallByName (CType, CallName + "_wrapper"); + if (gen is CallbackGen) { + var cb = (CallbackGen)gen; + if (cb.GenerateStaticWrapper) { + return SymbolTable.Table.CallByName (CType, CallName); + } else { + return SymbolTable.Table.CallByName (CType, CallName + "_wrapper"); + } + } else if (PassAs != String.Empty) { call_parm = PassAs + " "; if (CSType != MarshalType) @@ -266,6 +299,12 @@ public virtual string CallString { } } + public virtual string CallStringCallback { + get { + return CallString; + } + } + public virtual string[] Finish { get { IGeneratable gen = Generatable; @@ -277,12 +316,23 @@ public virtual string[] Finish { if (PassAs != "out") result [i] = (gen as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; return result; - } else if (PassAs != String.Empty && MarshalType != CSType) + } 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 virtual string [] FinishCallback { + get { + return Finish; + } + } + public string FromNative (string var) { if (Generatable == null) @@ -295,7 +345,7 @@ public string FromNative (string var) public string StudlyName { get { - string name = elem.GetAttribute("name"); + string name = elem.GetAttribute(Constants.Name); string[] segs = name.Split('_'); string studly = ""; foreach (string s in segs) { @@ -315,7 +365,7 @@ public class ArrayParameter : Parameter { public ArrayParameter (XmlElement elem) : base (elem) { - null_terminated = elem.HasAttribute ("null_term_array"); + null_terminated = elem.HasAttribute (Constants.NullTermArray); } public override string MarshalType { @@ -338,19 +388,23 @@ public override string[] Prepare { if (CSType == MarshalType) return new string [0]; - ArrayList result = new ArrayList (); + var result = new List (); 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)); - result.Add (String.Format ("for (int i = 0; i < cnt_{0}; i++)", 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) - result.Add (String.Format ("\tnative_{0} [i] = {1};", CallName, (gen as IManualMarshaler).AllocNative (CallName + "[i]"))); + marshalRes = ((IManualMarshaler)gen).AllocNative (CallName + "[i]"); else - result.Add (String.Format ("\tnative_{0} [i] = {1};", CallName, gen.CallByName (CallName + "[i]"))); + 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)); + + return result.ToArray(); } } @@ -368,17 +422,24 @@ public override string[] Finish { if (CSType == MarshalType) return new string [0]; + var result = new List (); IGeneratable gen = Generatable; - if (gen is IManualMarshaler) { - string [] result = new string [4]; - result [0] = "for (int i = 0; i < native_" + CallName + ".Length" + (NullTerminated ? " - 1" : "") + "; i++) {"; - result [1] = "\t" + CallName + " [i] = " + Generatable.FromNative ("native_" + CallName + "[i]") + ";"; - result [2] = "\t" + (gen as IManualMarshaler).ReleaseNative ("native_" + CallName + "[i]") + ";"; - result [3] = "}"; - return result; + 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 new string [0]; + return result.ToArray (); } } } @@ -396,13 +457,13 @@ public ArrayCountPair (XmlElement array_elem, XmlElement count_elem, bool invert string CountNativeType { get { - return SymbolTable.Table.GetMarshalType(count_elem.GetAttribute("type")); + return SymbolTable.Table.GetMarshalType(count_elem.GetAttribute(Constants.Type)); } } string CountType { get { - return SymbolTable.Table.GetCSType(count_elem.GetAttribute("type")); + return SymbolTable.Table.GetCSType(count_elem.GetAttribute(Constants.Type)); } } @@ -417,14 +478,14 @@ string CountCast { string CountName { get { - return SymbolTable.Table.MangleName (count_elem.GetAttribute("name")); + return SymbolTable.Table.MangleName (count_elem.GetAttribute(Constants.Name)); } } string CallCount (string name) { string result = CountCast + "(" + name + " == null ? 0 : " + name + ".Length)"; - IGeneratable gen = SymbolTable.Table[count_elem.GetAttribute("type")]; + IGeneratable gen = SymbolTable.Table[count_elem.GetAttribute(Constants.Type)]; return gen.CallByName (result); } @@ -437,6 +498,12 @@ public override string CallString { } } + public override string NativeCallbackSignature { + get { + return NativeSignature; + } + } + public override string NativeSignature { get { if (invert) @@ -466,6 +533,12 @@ public class StructParameter : Parameter { public StructParameter (XmlElement elem) : base (elem) {} public override string MarshalType { + get { + return "ref " + Generatable.QualifiedName; + } + } + + public override string MarshalCallbackType { get { return "IntPtr"; } @@ -474,13 +547,27 @@ public override string MarshalType { public override string[] Prepare { get { if (PassAs == "out") - return new string [] { "IntPtr native_" + CallName + " = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + Generatable.QualifiedName + ")));"}; + return new string [] { CallName + " = new " + Generatable.QualifiedName + "();"}; + return new string [0]; + } + } + + public override string [] PrepareCallback { + 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) + ";"}; + return new string [] { "IntPtr native_" + CallName + " = " + (Generatable as IManualMarshaler).AllocNative (CallName) + ";" }; } } public override string CallString { + get { + return "ref " + CallName; + } + } + + public override string CallStringCallback { get { return "native_" + CallName; } @@ -488,23 +575,80 @@ public override string CallString { public override string[] Finish { get { - string[] result = new string [2]; - result [0] = CallName + " = " + FromNative ("native_" + CallName) + ";"; - result [1] = (Generatable as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; + return new string [0]; + } + } + + public override string [] FinishCallback { + 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 { + public override string NativeCallbackSignature { get { return "IntPtr " + CallName; } } + + public override string NativeSignature { + get { + return "ref " + Generatable.QualifiedName + " " + CallName; + } + } } - public class Parameters : IEnumerable { - - ArrayList param_list = new ArrayList (); + 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 NativeCallbackSignature { + get { + return NativeSignature; + } + } + + public override string NativeSignature { + get { + return "ref " + CSType + " " + CallName; + } + } + } + + public class Parameters : IEnumerable { + + List param_list = new List(); XmlElement elem; public Parameters (XmlElement elem) @@ -600,11 +744,21 @@ void Clear () param_list.Clear (); param_list = null; } - - public IEnumerator GetEnumerator () - { - return param_list.GetEnumerator (); - } + + public IEnumerator GetEnumerator() + { + return param_list.GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } bool valid = false; @@ -660,8 +814,10 @@ public bool Validate () } } else if (p.CType == "GError**") p = new ErrorParameter (parm); - else if (gen is StructBase || gen is ByRefGen) { + 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; } @@ -671,10 +827,17 @@ public bool Validate () if (has_cb && Count > 2 && this [Count - 3].Generatable is CallbackGen && this [Count - 2].IsUserData && this [Count - 1].IsDestroyNotify) this [Count - 3].Scope = "notified"; + if (has_cb) { + foreach (Parameter p in param_list) { + if (p.Generatable is CallbackGen) + ((CallbackGen)p.Generatable).parameterScopeList.Add (p.Scope); + } + } + valid = true; return true; - } - + } + public bool IsAccessor { get { return VisibleCount == 1 && AccessorParam.PassAs == "out"; @@ -711,6 +874,19 @@ public string AccessorName { } } + public string CallbackImportSignature { + get { + if (Count == 0) + return String.Empty; + + string [] result = new string [Count]; + for (int i = 0; i < Count; i++) + result [i] = this [i].NativeCallbackSignature; + + return String.Join (", ", result); + } + } + public string ImportSignature { get { if (Count == 0) diff --git a/generator/Parser.cs b/generator/Parser.cs index 61e371407..34b8f6409 100644 --- a/generator/Parser.cs +++ b/generator/Parser.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.Parser.cs - The XML Parsing engine. +// GtkSharp.Generation.Parser.cs - The XML Parsing engine. // // Author: Mike Kestner // @@ -19,14 +19,13 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; +using System.IO; +using System.Xml; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.IO; - using System.Xml; - public class Parser { private XmlDocument Load (string filename) @@ -59,7 +58,7 @@ public IGeneratable[] Parse (string filename) return null; } - ArrayList gens = new ArrayList (); + var gens = new List(); foreach (XmlNode child in root.ChildNodes) { XmlElement elem = child as XmlElement; @@ -67,10 +66,10 @@ public IGeneratable[] Parse (string filename) continue; switch (child.Name) { - case "namespace": + case Constants.Namespace: gens.AddRange (ParseNamespace (elem)); break; - case "symbol": + case Constants.Symbol: gens.Add (ParseSymbol (elem)); break; default: @@ -79,12 +78,12 @@ public IGeneratable[] Parse (string filename) } } - return (IGeneratable[]) gens.ToArray (typeof (IGeneratable)); + return gens.ToArray(); } - private ArrayList ParseNamespace (XmlElement ns) + private List ParseNamespace (XmlElement ns) { - ArrayList result = new ArrayList (); + var result = new List(); foreach (XmlNode def in ns.ChildNodes) { @@ -92,42 +91,48 @@ private ArrayList ParseNamespace (XmlElement ns) if (elem == null) continue; - if (elem.HasAttribute("hidden")) + if (elem.HasAttribute(Constants.Hidden)) continue; bool is_opaque = false; - if (elem.GetAttribute ("opaque") == "true" || - elem.GetAttribute ("opaque") == "1") + if (elem.GetAttribute (Constants.Opaque) == "true" || + elem.GetAttribute (Constants.Opaque) == "1") is_opaque = true; switch (def.Name) { - case "alias": - string aname = elem.GetAttribute("cname"); - string atype = elem.GetAttribute("type"); + case Constants.Alias: + string aname = elem.GetAttribute(Constants.CName); + string atype = elem.GetAttribute(Constants.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); + case Constants.Boxed: + if (is_opaque) + result.Add(new OpaqueGen(ns, elem)); + else + result.Add(new BoxedGen(ns, elem)); break; - case "callback": + case Constants.Callback: result.Add (new CallbackGen (ns, elem)); break; - case "enum": + case Constants.Enumeration: result.Add (new EnumGen (ns, elem)); break; - case "interface": + case Constants.Interface: result.Add (new InterfaceGen (ns, elem)); break; - case "object": + case Constants.Object: result.Add (new ObjectGen (ns, elem)); break; - case "class": + case Constants.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); + case Constants.Struct: + if (is_opaque) + result.Add(new OpaqueGen(ns, elem)); + else + result.Add(new StructGen (ns, elem)); break; default: Console.WriteLine ("Parser::ParseNamespace - Unexpected node: " + def.Name); @@ -140,26 +145,26 @@ private ArrayList ParseNamespace (XmlElement ns) private IGeneratable ParseSymbol (XmlElement symbol) { - string type = symbol.GetAttribute ("type"); - string cname = symbol.GetAttribute ("cname"); - string name = symbol.GetAttribute ("name"); + string type = symbol.GetAttribute (Constants.Type); + string cname = symbol.GetAttribute (Constants.CName); + string name = symbol.GetAttribute (Constants.Name); IGeneratable result = null; - if (type == "simple") { - if (symbol.HasAttribute ("default_value")) - result = new SimpleGen (cname, name, symbol.GetAttribute ("default_value")); + if (type == Constants.Simple) { + if (symbol.HasAttribute (Constants.DefaultValue)) + result = new SimpleGen (cname, name, symbol.GetAttribute (Constants.DefaultValue)); else { Console.WriteLine ("Simple type element " + cname + " has no specified default value"); result = new SimpleGen (cname, name, String.Empty); } - } else if (type == "manual") + } else if (type == Constants.Manual) result = new ManualGen (cname, name); - else if (type == "alias") + else if (type == Constants.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"); + else if (type == Constants.Marshal) { + string mtype = symbol.GetAttribute (Constants.MarshalType); + string call = symbol.GetAttribute (Constants.CallFmt); + string from = symbol.GetAttribute (Constants.FromFmt); result = new MarshalGen (cname, name, mtype, call, from); } else Console.WriteLine ("Parser::ParseSymbol - Unexpected symbol type " + type); diff --git a/generator/Property.cs b/generator/Property.cs index fbf940b81..4d2822560 100644 --- a/generator/Property.cs +++ b/generator/Property.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.Property.cs - The Property Generatable. +// GtkSharp.Generation.Property.cs - The Property Generatable. // // Author: Mike Kestner // @@ -19,14 +19,12 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.IO; +using System.Xml; 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) {} @@ -44,22 +42,22 @@ public bool Validate () bool Readable { get { - return elem.GetAttribute ("readable") == "true"; + return elem.GetAttribute (Constants.Readable) == "true"; } } bool Writable { get { - return elem.GetAttribute ("writeable") == "true" && - !elem.HasAttribute ("construct-only"); + return elem.GetAttribute (Constants.Writeable) == "true" && + !elem.HasAttribute (Constants.ConstructOnly); } } bool IsDeprecated { get { return !container_type.IsDeprecated && - (elem.GetAttribute ("deprecated") == "1" || - elem.GetAttribute ("deprecated") == "true"); + (elem.GetAttribute (Constants.Deprecated) == "1" || + elem.GetAttribute (Constants.Deprecated) == "true"); } } @@ -101,7 +99,7 @@ public void Generate (GenerationInfo gen_info, string indent, ClassBase implemen if (Hidden || (!Readable && !Writable)) return; - + string modifiers = ""; if (IsNew || (container_type.Parent != null && container_type.Parent.GetPropertyRecursively (Name) != null)) @@ -140,14 +138,14 @@ public void Generate (GenerationInfo gen_info, string indent, ClassBase implemen sw.WriteLine(); } else if (Readable) { sw.WriteLine(indent + "get {"); - sw.WriteLine(indent + "\tGLib.Value val = " + RawGetter (qpname) + ";"); + sw.WriteLine(indent + "\tusing (GLib.Value val = " + RawGetter (qpname) + ") {"); if (table.IsOpaque (CType) || table.IsBoxed (CType)) { - sw.WriteLine(indent + "\t" + CSType + " ret = (" + CSType + ") val;"); + 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{0} ret = {0}Adapter.GetObject ((GLib.Object) val);", CSType); + sw.WriteLine (indent + "\t\t{0} ret = {0}Adapter.GetObject ((GLib.Object) val);", CSType); } else { - sw.Write(indent + "\t" + CSType + " ret = "); + sw.Write(indent + "\t\t" + CSType + " ret = "); sw.Write ("(" + CSType + ") "); if (v_type != "") { sw.Write(v_type + " "); @@ -155,8 +153,8 @@ public void Generate (GenerationInfo gen_info, string indent, ClassBase implemen sw.WriteLine("val;"); } - sw.WriteLine(indent + "\tval.Dispose ();"); - sw.WriteLine(indent + "\treturn ret;"); + sw.WriteLine(indent + "\t\treturn ret;"); + sw.WriteLine(indent + "\t}"); sw.WriteLine(indent + "}"); } @@ -166,21 +164,22 @@ public void Generate (GenerationInfo gen_info, string indent, ClassBase implemen sw.WriteLine(); } else if (Writable) { sw.WriteLine(indent + "set {"); - sw.Write(indent + "\tGLib.Value val = "); + sw.Write(indent + "\tusing (GLib.Value val = "); if (table.IsBoxed (CType)) { - sw.WriteLine("(GLib.Value) value;"); + sw.Write("(GLib.Value) value"); } else if (table.IsOpaque (CType)) { - sw.WriteLine("new GLib.Value(value, \"{0}\");", 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.WriteLine("value);"); + sw.Write("value)"); } - sw.WriteLine(indent + "\t" + RawSetter (qpname) + ";"); - sw.WriteLine(indent + "\tval.Dispose ();"); - sw.WriteLine(indent + "}"); + sw.WriteLine (") {"); + sw.WriteLine(indent + "\t\t" + RawSetter (qpname) + ";"); + sw.WriteLine(indent + "\t}"); + sw.WriteLine (indent + "}"); } sw.WriteLine(indent.Substring (1) + "}"); diff --git a/generator/PropertyBase.cs b/generator/PropertyBase.cs index ef106f6bc..41ff1f0fa 100644 --- a/generator/PropertyBase.cs +++ b/generator/PropertyBase.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.PropertyBase.cs - base class for properties and +// GtkSharp.Generation.PropertyBase.cs - base class for properties and // fields // // Copyright (c) 2005 Novell, Inc. @@ -36,13 +36,13 @@ public PropertyBase (XmlElement elem, ClassBase container_type) public string Name { get { - return elem.GetAttribute ("name"); + return elem.GetAttribute (Constants.Name); } } public string CName { get { - return elem.GetAttribute ("cname"); + return elem.GetAttribute (Constants.CName); } } @@ -50,10 +50,10 @@ public string CName { public string CType { get { if (ctype == null) { - if (elem.GetAttribute("bits") == "1") + if (elem.GetAttribute(Constants.Bits) == "1") ctype = "gboolean"; else - ctype = elem.GetAttribute("type"); + ctype = elem.GetAttribute(Constants.Type); } return ctype; } @@ -62,11 +62,7 @@ public string CType { protected string cstype; public string CSType { get { - if (Getter != null) - return Getter.Signature.IsAccessor ? Getter.Signature.AccessorType : Getter.ReturnType; - else if (Setter != null) - return Setter.Signature.Types; - else if (cstype == null) + if (cstype == null) cstype = SymbolTable.Table.GetCSType (CType); return cstype; } @@ -74,33 +70,43 @@ public string CSType { public bool Hidden { get { - return elem.HasAttribute("hidden"); + return elem.HasAttribute(Constants.Hidden); } } protected bool IsNew { get { - return elem.HasAttribute("new_flag"); + return elem.HasAttribute(Constants.NewFlag); } } + Method getter; protected Method Getter { get { - Method getter = container_type.GetMethod ("Get" + Name); - if (getter != null && getter.Name == "Get" + Name && getter.IsGetter) - return getter; - else - return null; + 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 { - Method setter = container_type.GetMethod ("Set" + Name); - if (setter != null && setter.Name == "Set" + Name && setter.IsSetter && (Getter == null || setter.Signature.Types == CSType)) - return setter; - else - return null; + 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; } } diff --git a/generator/ReturnValue.cs b/generator/ReturnValue.cs index 54a971d61..2adfeb0e5 100644 --- a/generator/ReturnValue.cs +++ b/generator/ReturnValue.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.ReturnValue.cs - The ReturnValue Generatable. +// GtkSharp.Generation.ReturnValue.cs - The ReturnValue Generatable. // // Author: Mike Kestner // @@ -31,18 +31,20 @@ public class ReturnValue { bool is_array; bool elements_owned; bool owned; + bool needs_ref; 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"); + is_null_term = elem.HasAttribute (Constants.NullTermArray); + is_array = elem.HasAttribute (Constants.Array); + elements_owned = elem.GetAttribute (Constants.ElementsOwned) == "true"; + owned = elem.GetAttribute (Constants.Owned) == "true"; + ctype = elem.GetAttribute(Constants.Type); + element_ctype = elem.GetAttribute (Constants.ElementType); + needs_ref = elem.GetAttribute (Constants.NeedsRef) == "true"; } } @@ -124,9 +126,9 @@ public string FromNative (string var) if (ElementType != String.Empty) { string args = (owned ? "true" : "false") + ", " + (elements_owned ? "true" : "false"); if (IGen.QualifiedName == "GLib.PtrArray") - return String.Format ("({0}[]) GLib.Marshaller.PtrArrayToArray ({1}, {2}, typeof({0}))", ElementType, var, args); + return String.Format ("GLib.Marshaller.PtrArrayToArray<{0}> ({1}, {2})", ElementType, var, args); else - return String.Format ("({0}[]) GLib.Marshaller.ListPtrToArray ({1}, typeof({2}), {3}, typeof({4}))", ElementType, var, IGen.QualifiedName, args, element_ctype == "gfilename*" ? "GLib.ListBase.FilenameString" : ElementType); + 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) @@ -134,6 +136,14 @@ public string FromNative (string var) else return IGen.FromNativeReturn (var); } + + public string PostFromNative (string var) + { + if (!needs_ref) + return string.Empty; + + return "g_object_ref (" + var + ");"; + } public string ToNative (string var) { @@ -163,6 +173,10 @@ public bool Validate () return false; } + if (IGen is CallbackGen) { + ((CallbackGen)IGen).hasInvoker = true; + } + return true; } } diff --git a/generator/Signal.cs b/generator/Signal.cs index c51c109de..c2cb2ac6e 100644 --- a/generator/Signal.cs +++ b/generator/Signal.cs @@ -1,8 +1,8 @@ -// GtkSharp.Generation.Signal.cs - The Signal Generatable. +// GtkSharp.Generation.Signal.cs - The Signal Generatable. // // Author: Mike Kestner // -// Copyright (c) 2001-2003 Mike Kestner +// Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2005 Novell, Inc. // Copyright (c) 2007 Novell, Inc. // @@ -20,14 +20,12 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.IO; +using System.Xml; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.IO; - using System.Xml; - public class Signal { bool marshaled; @@ -40,10 +38,10 @@ public class Signal { 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"]); + name = elem.GetAttribute (Constants.Name); + marshaled = elem.GetAttribute (Constants.Manual) == "true"; + retval = new ReturnValue (elem [Constants.ReturnType]); + parms = new Parameters (elem[Constants.Parameters]); this.container_type = container_type; } @@ -53,7 +51,7 @@ bool Marshaled { public string Name { get { - return name; + return name; } set { name = value; @@ -67,19 +65,22 @@ public bool Validate () Statistics.ThrottledCount++; return false; } - + if (!parms.Validate () || !retval.Validate ()) { Console.Write (" in signal " + Name + " "); Statistics.ThrottledCount++; return false; } + if (!ManagedCallString.Validate (parms)) + return false; + return true; } public void GenerateDecl (StreamWriter sw) { - if (elem.HasAttribute("new_flag") || (container_type != null && container_type.GetSignalRecursively (Name) != null)) + if (elem.HasAttribute(Constants.NewFlag) || (container_type != null && container_type.GetSignalRecursively (Name) != null)) sw.Write("new "); sw.WriteLine ("\t\tevent " + EventHandlerQualifiedName + " " + Name + ";"); @@ -87,7 +88,7 @@ public void GenerateDecl (StreamWriter sw) public string CName { get { - return "\"" + elem.GetAttribute("cname") + "\""; + return "\"" + elem.GetAttribute(Constants.CName) + "\""; } } @@ -101,7 +102,7 @@ string CallbackSig { Parameter p = parms [i]; if (p.PassAs != "" && !(p.Generatable is StructBase)) result += p.PassAs + " "; - result += (p.MarshalType + " arg" + i); + result += (p.MarshalCallbackType + " arg" + i); } return result; @@ -124,7 +125,7 @@ private string EventArgsName { return Name + "Args"; } } - + private string EventArgsQualifiedName { get { if (IsEventHandler) @@ -133,7 +134,7 @@ private string EventArgsQualifiedName { return container_type.NS + "." + Name + "Args"; } } - + private string EventHandlerName { get { if (IsEventHandler) @@ -144,7 +145,7 @@ private string EventHandlerName { return Name + "Handler"; } } - + private string EventHandlerQualifiedName { get { if (IsEventHandler) @@ -156,7 +157,7 @@ private string EventHandlerQualifiedName { string ClassFieldName { get { - return elem.HasAttribute ("field_name") ? elem.GetAttribute("field_name") : String.Empty; + return elem.HasAttribute (Constants.FieldName) ? elem.GetAttribute(Constants.FieldName) : String.Empty; } } @@ -191,7 +192,7 @@ private string ReturnGType { if (igen is BoxedGen) return retval.CSType + ".GType"; if (igen is EnumGen) - return retval.CSType + "GType.GType"; + return retval.CSType + "Attribute.GType"; switch (retval.CSType) { case "bool": @@ -216,17 +217,22 @@ public string GenArgsInitialization (StreamWriter sw) 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) + ";"); + 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 != "") + if (igen is StructBase && p.PassAs == "ref") { + if (SymbolTable.Table.IsBlittable (SymbolTable.Table [igen.CName])) { + finish += "\t\t\t\tunsafe { if (arg" + idx + " != IntPtr.Zero) " + string.Format ("*({0}*){1} = my{1}", p.CSType, p.Name) + "; }\n"; + } else { + 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; @@ -249,7 +255,7 @@ public void GenArgsCleanup (StreamWriter sw, string finish) 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}"); @@ -260,7 +266,7 @@ public void GenCallback (StreamWriter sw) if (IsEventHandler) return; - sw.WriteLine ("\t\t[GLib.CDeclCallback]"); + 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)"); @@ -284,7 +290,7 @@ public void GenCallback (StreamWriter sw) private bool NeedNew (ClassBase implementor) { - return elem.HasAttribute ("new_flag") || + return elem.HasAttribute (Constants.NewFlag) || (container_type != null && container_type.GetSignalRecursively (Name) != null) || (implementor != null && implementor.GetSignalRecursively (Name) != null); } @@ -297,7 +303,7 @@ public void GenEventHandler (GenerationInfo gen_info) string ns = container_type.NS; StreamWriter sw = gen_info.OpenStream (EventHandlerName); - + sw.WriteLine ("namespace " + ns + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); @@ -310,12 +316,18 @@ public void GenEventHandler (GenerationInfo gen_info) sw.WriteLine ("\t\tpublic " + parms[i].CSType + " " + parms[i].StudlyName + "{"); if (parms[i].PassAs != "out") { sw.WriteLine ("\t\t\tget {"); - sw.WriteLine ("\t\t\t\treturn (" + parms[i].CSType + ") Args[" + (i - 1) + "];"); + 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 {"); - sw.WriteLine ("\t\t\t\tArgs[" + (i - 1) + "] = (" + parms[i].CSType + ")value;"); + 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}"); @@ -359,7 +371,7 @@ private string GlueCallString { string call_parm = p.CallString; if (p.IsUserData && parms.IsHidden (p) && !parms.HideData && (i == 1 || parms [i - 1].Scope != "notified")) { - call_parm = "IntPtr.Zero"; + call_parm = "IntPtr.Zero"; } result += ", " + call_parm; @@ -413,16 +425,21 @@ private void GenGlueVirtualMethod (GenerationInfo gen_info) glue.WriteLine ("}"); StreamWriter sw = gen_info.Writer; - sw.WriteLine ("\t\t[DllImport (\"{0}\")]", gen_info.GluelibName); + 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); + body.Initialize (gen_info, false, false, String.Empty, false); sw.WriteLine ("\t\t\t{0}{1} ({2});", IsVoid ? "" : retval.MarshalType + " __ret = ", glue_name, GlueCallString); body.Finish (sw, ""); - if (!IsVoid) + if (!IsVoid) { sw.WriteLine ("\t\t\treturn {0};", retval.FromNative ("__ret")); + var postRef = retval.PostFromNative ("__ret"); + if (postRef != string.Empty) + sw.WriteLine ("\t\t\t" + postRef); + + } sw.WriteLine ("\t\t}\n"); } @@ -433,45 +450,52 @@ private void GenChainVirtualMethod (StreamWriter sw, ClassBase implementor) 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.Value ret = new GLib\t\t.Value (" + ReturnGType + ");"); - sw.WriteLine ("\t\t\tGLib.ValueArray inst_and_params = new GLib.ValueArray (" + parms.Count + ");"); - sw.WriteLine ("\t\t\tGLib.Value[] vals = new GLib.Value [" + parms.Count + "];"); - sw.WriteLine ("\t\t\tvals [0] = new GLib.Value (this);"); - sw.WriteLine ("\t\t\tinst_and_params.Append (vals [0]);"); - string cleanup = ""; + sw.WriteLine ("\t\t\tunsafe {"); + sw.WriteLine ("\t\t\t\tGLib.Value* inst_and_params = stackalloc GLib.Value [" + parms.Count + "];"); + sw.WriteLine ("\t\t\t\tusing (inst_and_params[0] = new GLib.Value (this)) {"); + string cleanup = ""; + string indent = new string ('\t', 5); for (int i = 1; i < parms.Count; i++) { - Parameter p = parms [i]; + Parameter p = parms [i]; + indent = new string ('\t', 4 + i); + + string paramAssignName = "inst_and_params [" + i + "]"; if (p.PassAs != "") { if (SymbolTable.Table.IsBoxed (p.CType)) { if (p.PassAs == "ref") - sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (" + p.Name + ");"); + sw.WriteLine (indent + "using (" + paramAssignName + " = new GLib.Value (" + p.Name + ")) {"); else - sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value ((GLib.GType)typeof (" + p.CSType + "));"); - cleanup += "\t\t\t" + p.Name + " = (" + p.CSType + ") vals [" + i + "];\n"; + sw.WriteLine (indent + "using (" + paramAssignName + " = new GLib.Value ((GLib.GType)typeof (" + p.CSType + "))) {"); + cleanup += indent + p.Name + " = (" + p.CSType + ") vals [" + i + "];\n"; } else { if (p.PassAs == "ref") - sw.WriteLine ("\t\t\tIntPtr " + p.Name + "_ptr = GLib.Marshaller.StructureToPtrAlloc (" + p.Generatable.CallByName (p.Name) + ");"); + sw.WriteLine (indent + "IntPtr " + p.Name + "_ptr = GLib.Marshaller.StructureToPtrAlloc<" + p.MarshalType + "> (" + p.Generatable.CallByName (p.Name) + ");"); else - sw.WriteLine ("\t\t\tIntPtr " + p.Name + "_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + p.MarshalType + ")));"); + sw.WriteLine (indent + "IntPtr " + p.Name + "_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + p.MarshalType + ")));"); - sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (" + p.Name + "_ptr);"); - cleanup += "\t\t\t" + p.Name + " = " + p.FromNative ("(" + p.MarshalType + ") Marshal.PtrToStructure (" + p.Name + "_ptr, typeof (" + p.MarshalType + "))") + ";\n"; - cleanup += "\t\t\tMarshal.FreeHGlobal (" + p.Name + "_ptr);\n"; + sw.WriteLine (indent + "using (" + paramAssignName + " = new GLib.Value (" + p.Name + "_ptr)) {"); + cleanup += indent + "\t" + p.Name + " = " + p.FromNative ("Marshal.PtrToStructure<" + p.MarshalType + "> (" + p.Name + "_ptr)") + ";\n"; + cleanup += indent + "\t" + "Marshal.FreeHGlobal (" + p.Name + "_ptr);\n"; } } else if (p.IsLength && parms [i - 1].IsString) - sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (System.Text.Encoding.UTF8.GetByteCount (" + parms [i-1].Name + "));"); + sw.WriteLine (indent + "using (" + paramAssignName + " = new GLib.Value (System.Text.Encoding.UTF8.GetByteCount (" + parms [i-1].Name + "))) {"); else - sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (" + p.Name + ");"); + sw.WriteLine (indent + "using (" + paramAssignName + " = new GLib.Value (" + p.Name + ")) {"); - sw.WriteLine ("\t\t\tinst_and_params.Append (vals [" + i + "]);"); + indent += "\t"; } - sw.WriteLine ("\t\t\tg_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);"); + sw.WriteLine (indent + "g_signal_chain_from_overridden (inst_and_params, ref ret);"); if (cleanup != "") sw.WriteLine (cleanup); - sw.WriteLine ("\t\t\tforeach (GLib.Value v in vals)"); - sw.WriteLine ("\t\t\t\tv.Dispose ();"); + for (int i = 1; i < parms.Count; ++i) { + indent = new string ('\t', parms.Count - i + 3); + sw.WriteLine (indent + "\t}"); + } + sw.WriteLine ("\t\t\t\t}"); + 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;"); @@ -488,13 +512,13 @@ private void GenDefaultHandlerDelegate (GenerationInfo gen_info, ClassBase imple 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[GLib.CDeclCallback]"); - sw.WriteLine ("\t\tdelegate " + retval.ToNativeType + " " + Name + "VMDelegate (" + parms.ImportSignature + ");\n"); + sw.WriteLine ("\t\t[UnmanagedFunctionPointer (CallingConvention.Cdecl)]"); + sw.WriteLine ("\t\tdelegate " + retval.ToNativeType + " " + Name + "VMDelegate (" + parms.CallbackImportSignature + ");\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}\")]", gen_info.GluelibName); + 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); @@ -507,7 +531,7 @@ private void GenDefaultHandlerDelegate (GenerationInfo gen_info, ClassBase imple } 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\tstatic " + retval.ToNativeType + " " + Name.ToLower() + "_cb (" + parms.CallbackImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) @@ -543,7 +567,7 @@ private void GenDefaultHandlerDelegate (GenerationInfo gen_info, ClassBase imple public void GenEvent (StreamWriter sw, ClassBase implementor, string target) { string args_type = IsEventHandler ? "" : ", typeof (" + EventArgsQualifiedName + ")"; - + if (Marshaled) { GenCallback (sw); args_type = ", new " + DelegateName + "(" + CallbackName + ")"; @@ -579,9 +603,8 @@ public void Generate (GenerationInfo gen_info, ClassBase implementor) else GenChainVirtualMethod (sw, implementor); GenEvent (sw, implementor, "this"); - + Statistics.SignalCount++; } } } - diff --git a/generator/Signature.cs b/generator/Signature.cs index 1b0123424..5548c04b5 100644 --- a/generator/Signature.cs +++ b/generator/Signature.cs @@ -18,16 +18,13 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.Xml; - - public class Signature { - - private ArrayList parms = new ArrayList (); + public class Signature { + readonly List parms = new List(); public Signature (Parameters parms) { diff --git a/generator/SimpleBase.cs b/generator/SimpleBase.cs index 38bfbe36b..e2a1e8ac6 100644 --- a/generator/SimpleBase.cs +++ b/generator/SimpleBase.cs @@ -72,6 +72,12 @@ public virtual string MarshalReturnType { } } + public virtual string MarshalCallbackType { + get { + return MarshalType; + } + } + public virtual string DefaultValue { get { return default_value; diff --git a/generator/Statistics.cs b/generator/Statistics.cs index 45457657a..2b4971034 100644 --- a/generator/Statistics.cs +++ b/generator/Statistics.cs @@ -19,12 +19,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; namespace GtkSharp.Generation { - - using System; - using System.Collections; - + public class Statistics { static int cbs = 0; diff --git a/generator/StructBase.cs b/generator/StructBase.cs index 7e1b87aa0..91b383bae 100644 --- a/generator/StructBase.cs +++ b/generator/StructBase.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.StructBase.cs - The Structure/Boxed Base Class. +// GtkSharp.Generation.StructBase.cs - The Structure/Boxed Base Class. // // Author: Mike Kestner // @@ -18,19 +18,16 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.IO; +using System.Xml; +using System.Collections.Generic; 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; + + internal new List fields = new List(); protected StructBase (XmlElement ns, XmlElement elem) : base (ns, elem) { @@ -40,11 +37,11 @@ protected StructBase (XmlElement ns, XmlElement elem) : base (ns, elem) XmlElement member = (XmlElement) node; switch (node.Name) { - case "field": + case Constants.Field: fields.Add (new StructField (member, this)); break; - case "callback": + case Constants.Callback: Statistics.IgnoreCount++; break; @@ -62,37 +59,49 @@ public override string DefaultValue { } } - public override string MarshalType { + public override string MarshalReturnType { + get { + return "IntPtr"; + } + } + + public override string MarshalCallbackType { get { return "IntPtr"; } } + public override string MarshalType { + get { + return "ref " + QualifiedName; + } + } + public override string AssignToName { get { throw new NotImplementedException (); } } public override string CallByName () { - return "this_as_native"; + return "ref this"; } public override string CallByName (string var) { - return var + "_as_native"; + return "ref " + var; } public override string FromNative (string var) { if (DisableNew) - return var + " == IntPtr.Zero ? " + QualifiedName + ".Zero : (" + QualifiedName + ") System.Runtime.InteropServices.Marshal.PtrToStructure (" + var + ", typeof (" + QualifiedName + "))"; + return var + " == IntPtr.Zero ? " + QualifiedName + ".Zero : System.Runtime.InteropServices.Marshal.PtrToStructure<" + QualifiedName + "> (var)"; else return QualifiedName + ".New (" + var + ")"; } public string AllocNative (string var) { - return "GLib.Marshaller.StructureToPtrAlloc (" + var + ")"; + return "GLib.Marshaller.StructureToPtrAlloc<" + QualifiedName + "> (" + var + ")"; } public string ReleaseNative (string var) @@ -102,7 +111,7 @@ public string ReleaseNative (string var) private bool DisableNew { get { - return Elem.HasAttribute ("disable_new"); + return Elem.HasAttribute (Constants.DisableNew); } } @@ -138,6 +147,13 @@ public override bool Validate () return base.Validate (); } + string GetInterfaceImplExtra () + { + if (Elem.HasAttribute (Constants.IEquatable) && Elem.GetAttribute (Constants.IEquatable) == "1") + return " : IEquatable<" + Name + ">"; + return string.Empty; + } + public override void Generate (GenerationInfo gen_info) { bool need_close = false; @@ -159,17 +175,15 @@ public override void Generate (GenerationInfo gen_info) 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 ("\t" + access + " struct " + Name + GetInterfaceImplExtra () + " {"); 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; @@ -179,10 +193,37 @@ public override void Generate (GenerationInfo gen_info) 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); + } + + void GenNewWithMarshal (StreamWriter sw) + { + 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 Marshal.PtrToStructure<{0}> (raw);", QualifiedName); + sw.WriteLine ("\t\t}"); + sw.WriteLine (); + } + + void GenNewWithMemCpy (StreamWriter sw) + { + 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\tunsafe {{ return *({0}*)raw; }}", QualifiedName); + sw.WriteLine ("\t\t}"); + sw.WriteLine (); + } + protected override void GenCtors (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; @@ -190,12 +231,12 @@ protected override void GenCtors (GenerationInfo gen_info) 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 (); + bool viaMarshal = !SymbolTable.Table.IsBlittable(SymbolTable.Table[this.CName]); + + if (viaMarshal) + GenNewWithMarshal (sw); + else + GenNewWithMemCpy (sw); } foreach (Ctor ctor in Ctors) @@ -204,26 +245,12 @@ protected override void GenCtors (GenerationInfo gen_info) 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);"); } } } diff --git a/generator/StructField.cs b/generator/StructField.cs index 58f92d494..43c7d2373 100644 --- a/generator/StructField.cs +++ b/generator/StructField.cs @@ -32,6 +32,20 @@ public class StructField : FieldBase { public StructField (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} + public override bool Validate() + { + if (!base.Validate ()) + return false; + + SymbolTable table = SymbolTable.Table; + IGeneratable gen = table [CType]; + + if (gen is CallbackGen) { + ((CallbackGen)gen).hasInvoker = true; + } + return true; + } + protected override string DefaultAccess { get { if (IsPadding) @@ -48,9 +62,9 @@ int ArrayLength { int result; try { - result = Int32.Parse (elem.GetAttribute("array_len")); + result = Int32.Parse (elem.GetAttribute(Constants.ArrayLen)); } catch (Exception) { - Console.Write ("Non-numeric array_len: " + elem.GetAttribute("array_len")); + Console.Write ("Non-numeric array_len: " + elem.GetAttribute(Constants.ArrayLen)); Console.WriteLine (" warning: array field {0} incorrectly generated", Name); result = 0; } @@ -61,7 +75,7 @@ int ArrayLength { public new string CSType { get { string type = base.CSType; - if (IsArray) + if (IsArray || IsNullTermArray) type += "[]"; else if ((IsPointer || SymbolTable.Table.IsOpaque (CType)) && type != "string") type = "IntPtr"; @@ -115,7 +129,14 @@ public override void Generate (GenerationInfo gen_info, string indent) string wrapped_name = SymbolTable.Table.MangleName (CName); IGeneratable gen = table [CType]; - if (IsArray) { + 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) { diff --git a/generator/StructGen.cs b/generator/StructGen.cs index 4d615ad15..06959404e 100644 --- a/generator/StructGen.cs +++ b/generator/StructGen.cs @@ -28,21 +28,28 @@ namespace GtkSharp.Generation { 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); - if (GetMethod ("GetType") == null && GetMethod ("GetGType") == null) { - sw.WriteLine ("\t\tprivate static GLib.GType GType {"); - sw.WriteLine ("\t\t\tget { return GLib.GType.Pointer; }"); - 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; diff --git a/generator/SymbolTable.cs b/generator/SymbolTable.cs index e10b51f1d..dd92ffe16 100644 --- a/generator/SymbolTable.cs +++ b/generator/SymbolTable.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.SymbolTable.cs - The Symbol Table Class. +// GtkSharp.Generation.SymbolTable.cs - The Symbol Table Class. // // Author: Mike Kestner // @@ -19,17 +19,16 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; namespace GtkSharp.Generation { - using System; - using System.Collections; - public class SymbolTable { static SymbolTable table = null; - Hashtable types = new Hashtable (); + Dictionary types = new Dictionary(); public static SymbolTable Table { get { @@ -107,9 +106,9 @@ public SymbolTable () AddType (new ConstStringGen ("const-xmlChar")); AddType (new ConstStringGen ("const-char")); AddType (new ConstFilenameGen ("const-gfilename")); - AddType (new MarshalGen ("gfilename", "string", "IntPtr", "GLib.Marshaller.StringToFilenamePtr({0})", "GLib.Marshaller.FilenamePtrToStringGFree({0})")); - AddType (new MarshalGen ("gchar", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); - AddType (new MarshalGen ("char", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); + 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 @@ -121,7 +120,7 @@ public SymbolTable () 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})")); + 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")); @@ -160,7 +159,7 @@ public int Count { } } - public IEnumerable Generatables { + public IEnumerable Generatables { get { return types.Values; } @@ -168,7 +167,7 @@ public IEnumerable Generatables { public IGeneratable this [string ctype] { get { - return DeAlias (ctype) as IGeneratable; + return DeAlias (ctype); } } @@ -200,16 +199,20 @@ private string Trim(string type) return trim_type; } - private object DeAlias (string type) + private IGeneratable DeAlias (string type) { type = Trim (type); - while (types [type] is AliasGen) { - IGeneratable igen = types [type] as AliasGen; - types [type] = types [igen.Name]; + IGeneratable gen; + while (types.TryGetValue (type, out gen) && gen is AliasGen) { + IGeneratable igen = gen as AliasGen; + IGeneratable temp; + if (types.TryGetValue (igen.Name, out temp)) + types [type] = temp; type = igen.Name; } - return types [type]; + types.TryGetValue (type, out gen); + return gen; } public string FromNativeReturn(string c_type, string val) @@ -267,6 +270,14 @@ public string GetToNativeReturnType(string c_type) return ""; return gen.ToNativeReturnType; } + + public string GetMarshalCallbackType (string c_type) + { + IGeneratable gen = this [c_type]; + if (gen == null) + return ""; + return gen.MarshalCallbackType; + } public string GetMarshalType(string c_type) { @@ -319,7 +330,7 @@ public bool IsEnum(string c_type) public bool IsEnumFlags(string c_type) { EnumGen gen = this [c_type] as EnumGen; - return (gen != null && gen.Elem.GetAttribute ("type") == "flags"); + return (gen != null && gen.Elem.GetAttribute (Constants.Type) == "flags"); } public bool IsInterface(string c_type) @@ -368,7 +379,7 @@ public string MangleName(string name) return "evnt"; case "null": return "is_null"; - case "object": + case Constants.Object: return "objekt"; case "params": return "parms"; @@ -388,11 +399,11 @@ public string MangleName(string name) return "_base"; case "lock": return "_lock"; - case "callback": + case Constants.Callback: return "cb"; case "readonly": return "read_only"; - case "interface": + case Constants.Interface: return "iface"; case "internal": return "_internal"; @@ -408,5 +419,37 @@ public string MangleName(string name) return name; } + + public bool IsBlittable (IGeneratable t) + { + if (t is SimpleGen) + return true; + if (t is EnumGen) + return true; + if (t is ByRefGen && t.CName == "GValue") + return true; + if (t is IAccessor && t.MarshalType == "IntPtr") + return true; + + if (t is StructBase) { + foreach (StructField field in (t as StructBase).fields) { + if (field.IsArray || field.IsNullTermArray) + return false; + + if (field.CSType == "string") + return false; + + // We don't care about pointers. + if (field.IsPointer) + continue; + + var gen = SymbolTable.Table [field.CType]; + if (!IsBlittable (gen)) + return false; + } + return true; + } + return false; + } } } diff --git a/generator/VMSignature.cs b/generator/VMSignature.cs index fe0ebf165..47ad6592c 100644 --- a/generator/VMSignature.cs +++ b/generator/VMSignature.cs @@ -18,16 +18,13 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.Collections.Generic; namespace GtkSharp.Generation { - using System; - using System.Collections; - using System.Xml; - - public class VMSignature { - - private ArrayList parms = new ArrayList (); + public class VMSignature { + readonly List parms = new List(); public VMSignature (Parameters parms) { diff --git a/generator/VirtualMethod.cs b/generator/VirtualMethod.cs index 8c09704da..d980793a3 100644 --- a/generator/VirtualMethod.cs +++ b/generator/VirtualMethod.cs @@ -1,4 +1,4 @@ -// GtkSharp.Generation.VirtualMethod.cs - The VirtualMethod Generatable. +// GtkSharp.Generation.VirtualMethod.cs - The VirtualMethod Generatable. // // Author: Mike Kestner // @@ -18,17 +18,15 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +using System; +using System.IO; +using System.Xml; 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; @@ -36,8 +34,8 @@ public class VirtualMethod : MethodBase { 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"]); + retval = new ReturnValue (elem [Constants.ReturnType]); + parms = new Parameters (elem[Constants.Parameters]); parms.HideData = true; } @@ -46,7 +44,7 @@ public bool IsGetter { return HasGetterName && ((!retval.IsVoid && parms.Count == 1) || (retval.IsVoid && parms.Count == 2 && parms [1].PassAs == "out")); } } - + public bool IsSetter { get { if (!HasSetterName || !retval.IsVoid) @@ -58,10 +56,10 @@ public bool IsSetter { return false; } } - + public string MarshalReturnType { get { - return SymbolTable.Table.GetToNativeReturnType (elem["return-type"].GetAttribute("type")); + return SymbolTable.Table.GetMarshalReturnType (elem[Constants.ReturnType].GetAttribute(Constants.Type)); } } @@ -79,10 +77,10 @@ public void GenerateCallback (StreamWriter sw) else if (IsSetter) call_string = "__obj." + Name.Substring (3) + " = " + call; - sw.WriteLine ("\t\t[GLib.CDeclCallback]"); - sw.WriteLine ("\t\tdelegate " + MarshalReturnType + " " + Name + "Delegate (" + parms.ImportSignature + ");"); + sw.WriteLine ("\t\t[UnmanagedFunctionPointer (CallingConvention.Cdecl)]"); + sw.WriteLine ("\t\tdelegate " + MarshalReturnType + " " + Name + "Delegate (" + parms.CallbackImportSignature + ");"); sw.WriteLine (); - sw.WriteLine ("\t\tstatic " + MarshalReturnType + " " + Name + "Callback (" + parms.ImportSignature + ")"); + sw.WriteLine ("\t\tstatic " + MarshalReturnType + " " + Name + "Callback (" + parms.CallbackImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) @@ -90,7 +88,7 @@ public void GenerateCallback (StreamWriter sw) 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 (retval.IsVoid) { if (IsGetter) { Parameter p = parms [1]; string out_name = p.Name; @@ -129,7 +127,7 @@ public void GenerateDeclaration (StreamWriter sw, VirtualMethod complement) if (complement != null) sw.WriteLine ("\t\t" + complement.retval.CSType + " " + complement.Name + " (" + (new VMSignature (complement.parms)) + ");"); } - } else if (IsSetter) + } else if (IsSetter) sw.WriteLine ("\t\t" + parms[1].CSType + " " + Name.Substring (3) + " { set; }"); else sw.WriteLine ("\t\t" + retval.CSType + " " + Name + " (" + vmsig + ");"); @@ -144,11 +142,11 @@ enum ValidState { ValidState vstate = ValidState.Unvalidated; public bool IsValid { - get { + get { if (vstate == ValidState.Unvalidated) return Validate (); else - return vstate == ValidState.Valid; + return vstate == ValidState.Valid; } } @@ -160,9 +158,11 @@ public override bool Validate () return false; } + if (!ManagedCallString.Validate (parms)) + return false; + vstate = ValidState.Valid; return true; } } } - diff --git a/generator/generator.csproj b/generator/generator.csproj new file mode 100644 index 000000000..8abcae3da --- /dev/null +++ b/generator/generator.csproj @@ -0,0 +1,187 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {80E73555-2284-40DC-9068-9A40B7359B0C} + Exe + generator + generator + v3.5 + + + true + full + false + bin\Debug + DEBUG + prompt + 4 + x86 + false + + + none + false + bin\Release + prompt + 4 + x86 + false + + + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + \ No newline at end of file diff --git a/gio/FileAdapter.custom b/gio/FileAdapter.custom deleted file mode 100644 index 24033678e..000000000 --- a/gio/FileAdapter.custom +++ /dev/null @@ -1,46 +0,0 @@ -// FileAdapter.custom - customizations to GLib.FileAdapter -// -// Authors: Stephane Delcroix -// -// 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. - -public override string ToString () -{ - return Uri.ToString (); -} - -public bool Exists { - get { return QueryExists (null); } -} - -public bool Delete () -{ - return Delete (null); -} - -[DllImport("gio")] -static extern IntPtr g_file_get_uri(IntPtr raw); - -public System.Uri Uri { - get { - IntPtr raw_ret = g_file_get_uri(Handle); - string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); - return new System.Uri (ret); - } -} - - diff --git a/gio/FileEnumerator.custom b/gio/FileEnumerator.custom deleted file mode 100644 index acd483295..000000000 --- a/gio/FileEnumerator.custom +++ /dev/null @@ -1,59 +0,0 @@ -// FileEnumerator.custom - customizations to GLib.FileEnumerator -// -// Authors: Stephane Delcroix -// -// 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. - -public IEnumerator GetEnumerator () -{ - return new Enumerator (this); -} - -public FileInfo NextFile () -{ - return NextFile ((Cancellable) null); -} - -class Enumerator : IEnumerator -{ - FileEnumerator file_enumerator; - - public Enumerator (FileEnumerator file_enumerator) - { - this.file_enumerator = file_enumerator; - } - - FileInfo current=null; - public object Current { - get { - return current; - } - } - - public bool MoveNext () - { - current = file_enumerator.NextFile (); - if (current == null) - return false; - return true; - } - - public void Reset () - { - throw new NotImplementedException (); - } -} diff --git a/gio/FileFactory.cs b/gio/FileFactory.cs deleted file mode 100644 index 0a5b0faa3..000000000 --- a/gio/FileFactory.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -// FileFactory.cs -// -// Author(s): -// Stephane Delcroix -// -// Copyright (c) 2008 Stephane Delcroix -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General -// Public License as published by the Free Software Foundation. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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 FileFactory - { - [DllImport ("libgio-2.0-0.dll")] - private static extern IntPtr g_file_new_for_uri (string uri); - - public static File NewForUri (string uri) - { - return GLib.FileAdapter.GetObject (g_file_new_for_uri (uri), false) as File; - } - - public static File NewForUri (Uri uri) - { - return GLib.FileAdapter.GetObject (g_file_new_for_uri (uri.ToString ()), false) as File; - } - - [DllImport ("libgio-2.0-0.dll")] - private static extern IntPtr g_file_new_for_path (string path); - - public static File NewForPath (string path) - { - return GLib.FileAdapter.GetObject (g_file_new_for_path (path), false) as File; - } - - [DllImport ("libgio-2.0-0.dll")] - private static extern IntPtr g_file_new_for_commandline_args (string args); - - public static File NewForCommandlineArgs (string args) - { - return GLib.FileAdapter.GetObject (g_file_new_for_commandline_args (args), false) as File; - } - } -} diff --git a/gio/Gio.metadata b/gio/Gio.metadata deleted file mode 100644 index 7a7332fbc..000000000 --- a/gio/Gio.metadata +++ /dev/null @@ -1,49 +0,0 @@ - - - - GLib - GAppInfo* - true - true - GAppInfo* - true - - GetShouldShow - GetSupportsFiles - GetSupportsUris - GetCanRemoveSupportsType - GetParsedName - 1 - async - GetMountInstance - GetCanSeek - GetPosition - async - - GetAttributeLong - SetAttributeLong - GetAttributeULong - SetAttributeULong - GetAttributeInt - SetAttributeInt - GetAttributeUInt - SetAttributeUInt - guchar* - 1 - guchar* - 1 - guchar* - 1 - 1 - EmitReply - guchar* - 1 - guchar* - 1 - guchar* - 1 - 1 - 1 - 1 - 1 - diff --git a/gio/GioStream.cs b/gio/GioStream.cs deleted file mode 100644 index 03d1696f1..000000000 --- a/gio/GioStream.cs +++ /dev/null @@ -1,215 +0,0 @@ -/* - * GioStream.cs: provide a System.IO.Stream api to [Input|Output]Streams - * - * Author(s): - * Stephane Delcroix (stephane@delcroix.org) - * - * Copyright (c) 2008 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. - * - */ -using System; - -namespace GLib -{ - public class GioStream : System.IO.Stream - { - object stream; - bool can_read; - bool can_seek; - bool can_write; - bool is_disposed; - - public GioStream (Uri uri, System.IO.FileMode mode) - { - throw new NotImplementedException (); - } - - public GioStream (string filename, System.IO.FileMode mode) - { - throw new NotImplementedException (); - } - - public GioStream (InputStream stream) - { - this.stream = stream; - can_read = true; - can_seek = stream is Seekable && (stream as Seekable).CanSeek; - } - - public GioStream (OutputStream stream) - { - this.stream = stream; - can_write = true; - can_seek = stream is Seekable && (stream as Seekable).CanSeek; - } - - public override bool CanSeek { - get { return can_seek; } - } - - public override bool CanRead { - get { return can_read; } - } - - public override bool CanWrite { - get { return can_write; } - } - - public override long Length { - get { - if (!CanSeek) - throw new NotSupportedException ("This stream doesn't support seeking"); - if (is_disposed) - throw new ObjectDisposedException ("The stream is closed"); - - if (stream is FileInputStream) { - FileInfo info = (stream as FileInputStream).QueryInfo ("standard::size", null); - return info.Size; - } - if (stream is FileOutputStream) { - FileInfo info = (stream as FileOutputStream).QueryInfo ("standard::size", null); - return info.Size; - } - throw new NotImplementedException (String.Format ("not implemented for {0} streams", stream.GetType())); - } - } - - public override long Position { - get { - if (!CanSeek) - throw new NotSupportedException ("This stream doesn't support seeking"); - if (is_disposed) - throw new ObjectDisposedException ("The stream is closed"); - return (stream as Seekable).Position; - } - set { - Seek (value, System.IO.SeekOrigin.Begin); - } - } - - public override void Flush () - { - if (is_disposed) - throw new ObjectDisposedException ("The stream is closed"); - } - - public override int Read (byte[] buffer, int offset, int count) - { - if (buffer == null) - throw new ArgumentNullException ("buffer"); - if (offset + count - 1 > buffer.Length) - throw new ArgumentException ("(offset + count - 1) is greater than the length of buffer"); - if (offset < 0) - throw new ArgumentOutOfRangeException ("offset"); - if (count < 0) - throw new ArgumentOutOfRangeException ("count"); - if (!CanRead) - throw new NotSupportedException ("The stream does not support reading"); - if (is_disposed) - throw new ObjectDisposedException ("The stream is closed"); - InputStream input_stream = stream as InputStream; - if (input_stream == null) - throw new System.Exception ("this shouldn't happen"); - - if (offset == 0) - return (int)input_stream.Read (buffer, (ulong)count, null); - else { - byte[] buf = new byte[count]; - int ret = (int)input_stream.Read (buf, (ulong)count, null); - buf.CopyTo (buffer, offset); - return ret; - } - } - - public override void Write (byte[] buffer, int offset, int count) - { - if (buffer == null) - throw new ArgumentNullException ("buffer"); - if (offset + count > buffer.Length) - throw new ArgumentException ("(offset + count) is greater than the length of buffer"); - if (offset < 0) - throw new ArgumentOutOfRangeException ("offset"); - if (count < 0) - throw new ArgumentOutOfRangeException ("count"); - if (!CanWrite) - throw new NotSupportedException ("The stream does not support writing"); - if (is_disposed) - throw new ObjectDisposedException ("The stream is closed"); - OutputStream output_stream = stream as OutputStream; - if (output_stream == null) - throw new System.Exception ("this shouldn't happen"); - if (offset == 0) { - output_stream.Write (buffer, (ulong)count, null); - return; - } else { - byte[] buf = new byte[count]; - Array.Copy (buffer, offset, buf, 0, count); - output_stream.Write (buf, (ulong)count, null); - return; - } - } - - public override long Seek (long offset, System.IO.SeekOrigin origin) - { - if (!CanSeek) - throw new NotSupportedException ("This stream doesn't support seeking"); - if (is_disposed) - throw new ObjectDisposedException ("The stream is closed"); - Seekable seekable = stream as Seekable; - - SeekType seek_type; - switch (origin) { - case System.IO.SeekOrigin.Current: - seek_type = SeekType.Cur; - break; - case System.IO.SeekOrigin.End: - seek_type = SeekType.End; - break; - case System.IO.SeekOrigin.Begin: - default: - seek_type = SeekType.Set; - break; - } - seekable.Seek (offset, seek_type, null); - return Position; - } - - public override void SetLength (long value) - { - if (!CanSeek || !CanWrite) - throw new NotSupportedException ("This stream doesn't support seeking"); - if (is_disposed) - throw new ObjectDisposedException ("The stream is closed"); - throw new NotImplementedException (); - } - - public override void Close () - { - if (stream is InputStream) - (stream as InputStream).Close (null); - if (stream is OutputStream) - (stream as OutputStream).Close (null); - is_disposed = true; - } - } -} diff --git a/gio/Makefile.am b/gio/Makefile.am deleted file mode 100644 index 94b951450..000000000 --- a/gio/Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ -SUBDIRS = . glue - -pkg = gio -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = gio-sharp-2.0.pc -METADATA = Gio.metadata -SYMBOLS = -references = ../glib/glib-sharp.dll -glue_includes = gio/gio.h - -POLICY_VERSIONS= - -sources = \ - FileFactory.cs \ - GioStream.cs - -customs = \ - File.custom \ - FileAdapter.custom \ - FileEnumerator.custom - -add_dist = gio-sharp-2.0.pc.in - -include ../Makefile.include - diff --git a/gio/gio-api.raw b/gio/gio-api.raw deleted file mode 100644 index e2c4e01d8..000000000 --- a/gio/gio-api.raw +++ /dev/null @@ -1,5078 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/gio/gio-sharp-2.0.pc.in b/gio/gio-sharp-2.0.pc.in deleted file mode 100644 index 00cd7335f..000000000 --- a/gio/gio-sharp-2.0.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -prefix=${pcfiledir}/../.. -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -assemblies_dir=${libdir}/mono/@PACKAGE_VERSION@ -gapidir=${prefix}/share/gapi-2.0 - -Name: GIO# -Description: GIO# - GIO .NET Binding -Version: @VERSION@ -Cflags: -I:${gapidir}/gio-api.xml -Libs: -r:${assemblies_dir}/gio-sharp.dll -Requires: glib-sharp-2.0 - diff --git a/gio/gio-sharp.dll.config.in b/gio/gio-sharp.dll.config.in deleted file mode 100644 index 6dc0e6865..000000000 --- a/gio/gio-sharp.dll.config.in +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/gio/glue/Makefile.am b/gio/glue/Makefile.am deleted file mode 100644 index da60af725..000000000 --- a/gio/glue/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -lib_LTLIBRARIES = libgiosharpglue-2.la - -libgiosharpglue_2_la_SOURCES = - -nodist_libgiosharpglue_2_la_SOURCES = generated.c - -libgiosharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined - -libgiosharpglue_2_la_LIBADD = $(GIO_LIBS) - -INCLUDES = $(GIO_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) - -libgiosharpglue.dll: $(libgiosharpglue_2_la_OBJECTS) libgiosharpglue.rc libgiosharpglue.def - ./build-dll libgiosharpglue-2 $(VERSION) - -CLEANFILES = lib*.a lib*.dll - -EXTRA_DIST = win32dll.c diff --git a/gio/glue/win32dll.c b/gio/glue/win32dll.c deleted file mode 100755 index a57c07683..000000000 --- a/gio/glue/win32dll.c +++ /dev/null @@ -1,16 +0,0 @@ -#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; -} -*/ diff --git a/glade/Makefile.am b/glade/Makefile.am index feac86104..99e9a83bf 100644 --- a/glade/Makefile.am +++ b/glade/Makefile.am @@ -8,10 +8,10 @@ else pkg = endif -INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml +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 = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll +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 = \ @@ -25,5 +25,5 @@ customs = \ add_dist = glade-sharp-2.0.pc.in -include ../Makefile.include +include $(top_srcdir)/Makefile.include diff --git a/glade/XML.custom b/glade/XML.custom index d713e4ffd..5adddb2a1 100644 --- a/glade/XML.custom +++ b/glade/XML.custom @@ -11,7 +11,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -25,15 +25,21 @@ // Boston, MA 02111-1307, USA. // keep this around so it doesn't get GC'd - static GladeSharp.XMLCustomWidgetHandlerWrapper callback_wrapper = null; + static GCHandle gch; + static Glade.XMLCustomWidgetHandler callback_wrapper = null; - [DllImport("libglade-2.0-0.dll")] + [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 { + public static Glade.XMLCustomWidgetHandler CustomHandler { set { - callback_wrapper = new GladeSharp.XMLCustomWidgetHandlerWrapper (value); - glade_set_custom_handler(callback_wrapper.NativeDelegate, IntPtr.Zero); + if (callback_wrapper != null) { + gch.Free (); + } + + gch = GCHandle.Alloc (value); + callback_wrapper = value; + glade_set_custom_handler(GladeSharp.XMLCustomWidgetHandlerWrapper.NativeDelegate, (IntPtr)gch); } } @@ -43,7 +49,7 @@ CustomHandler = handler; } - [DllImport("gladesharpglue-2")] + [DllImport("gladesharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_glade_xml_get_filename (IntPtr raw); public string Filename { @@ -69,7 +75,7 @@ } } - [DllImport("libglade-2.0-0.dll")] + [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) { @@ -82,7 +88,7 @@ return ret; } - [DllImport("libglade-2.0-0.dll")] + [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) { @@ -93,7 +99,7 @@ /* a constructor that reads the XML from a Stream */ - [DllImport("libglade-2.0-0.dll")] + [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) @@ -149,7 +155,7 @@ SignalConnector sc = new SignalConnector (this, handler); sc.Autoconnect (); } - + public void Autoconnect (Type handler_class) { BindFields (handler_class); @@ -157,112 +163,112 @@ sc.Autoconnect (); } - class SignalConnector + 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) + + 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; } - - [GLib.CDeclCallback] - delegate void RawXMLConnectFunc (IntPtr handler_name, IntPtr objekt, - IntPtr signal_name, IntPtr signal_data, + + [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")] + + [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, + + 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 + 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 + FindMembers (System.Reflection.MemberTypes.Event, + System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Static - | System.Reflection.BindingFlags.Public - | System.Reflection.BindingFlags.NonPublic, + | System.Reflection.BindingFlags.Public + | System.Reflection.BindingFlags.NonPublic, signalFilter, signal_name); - foreach (System.Reflection.EventInfo ei in evnts) + 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) + 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 + if (connect_object != null) try { - Delegate d = Delegate.CreateDelegate + Delegate d = Delegate.CreateDelegate (delegate_type, connect_object, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; - } - catch (ArgumentException) + } + 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 + if (!connected && handler_type != null) try { - Delegate d = Delegate.CreateDelegate + Delegate d = Delegate.CreateDelegate (delegate_type, handler_type, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; - } - catch (ArgumentException) + } + catch (ArgumentException) { /* ignore if there is not such static method */ } - - if (!connected) + + 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) @@ -320,11 +326,11 @@ 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) + static bool SignalFilter (System.Reflection.MemberInfo m, object filterCriteria) { string signame = (filterCriteria as string); object[] attrs = m.GetCustomAttributes (typeof (GLib.SignalAttribute), false); @@ -357,12 +363,12 @@ 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); @@ -372,9 +378,9 @@ // the first attribute. WidgetAttribute attr = (WidgetAttribute) attrs[0]; Gtk.Widget widget; - if (attr.Specified) + if (attr.Specified) widget = GetWidget (attr.Name); - else + else widget = GetWidget (field.Name); if (widget != null) @@ -389,7 +395,7 @@ } while (type != typeof(object) && type != null); } - + public void BindFields (object target) { BindFields (target, target.GetType ()); @@ -404,7 +410,7 @@ { return new Glade.XML (stream, root, domain); } - + public static Glade.XML FromAssembly ( System.Reflection.Assembly assembly, string resource_name, string root, string domain) { @@ -417,10 +423,10 @@ System.Reflection.Assembly.GetCallingAssembly (), resource_name, root, domain); } - [DllImport("libglade-2.0-0.dll")] + [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) + public Gtk.Widget[] GetWidgetPrefix(string name) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (name); IntPtr raw_ret = glade_xml_get_widget_prefix(Handle, native); diff --git a/glade/glade-api-2.14.raw b/glade/glade-api-2.12.raw similarity index 100% rename from glade/glade-api-2.14.raw rename to glade/glade-api-2.12.raw diff --git a/glib/Argv.cs b/glib/Argv.cs index 6f5d09307..d99b7735f 100644 --- a/glib/Argv.cs +++ b/glib/Argv.cs @@ -30,10 +30,10 @@ public class Argv { IntPtr handle; bool add_progname = false; - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_malloc(IntPtr size); - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr mem); ~Argv () diff --git a/glib/CDeclCallbackAttribute.cs b/glib/CDeclCallbackAttribute.cs index 533dbe427..833f1ccd6 100644 --- a/glib/CDeclCallbackAttribute.cs +++ b/glib/CDeclCallbackAttribute.cs @@ -23,7 +23,9 @@ 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 { } } + diff --git a/glib/DelegateWrapper.cs b/glib/DelegateWrapper.cs index c02060212..a67e7c6ff 100644 --- a/glib/DelegateWrapper.cs +++ b/glib/DelegateWrapper.cs @@ -8,7 +8,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -39,7 +39,7 @@ public class DelegateWrapper 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 @@ -69,12 +69,12 @@ protected DelegateWrapper (object o) } } - [CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] private delegate void DestroyNotify (IntPtr data); - [DllImport("libgobject-2.0-0.dll")] + [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 @@ -108,4 +108,3 @@ private void OnDestroy (IntPtr data) { } } } - diff --git a/glib/DestroyNotify.cs b/glib/DestroyNotify.cs index 820c6f573..ff918225a 100644 --- a/glib/DestroyNotify.cs +++ b/glib/DestroyNotify.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -23,13 +23,13 @@ namespace GLib { using System; using System.Runtime.InteropServices; - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate void DestroyNotify (IntPtr data); public class DestroyHelper { private DestroyHelper () {} - + static void ReleaseGCHandle (IntPtr data) { if (data == IntPtr.Zero) @@ -40,6 +40,10 @@ static void ReleaseGCHandle (IntPtr data) static DestroyNotify release_gchandle; + /// + /// Frees the GCHandle passed as data to the method. + /// + /// The notify handler. public static DestroyNotify NotifyHandler { get { if (release_gchandle == null) @@ -49,4 +53,3 @@ public static DestroyNotify NotifyHandler { } } } - diff --git a/glib/FastActivator.cs b/glib/FastActivator.cs new file mode 100644 index 000000000..018175247 --- /dev/null +++ b/glib/FastActivator.cs @@ -0,0 +1,103 @@ +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Reflection; +using System.Threading; + +namespace GLib +{ + static class FastActivator + { + const BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance; + + delegate object FastCreateObjectPtr (IntPtr ptr); + static FastCreateObjectPtr FastCtorPtr (Type t, Dictionary cache) + { + FastCreateObjectPtr method; + if (!cache.TryGetValue (t, out method)) { + var param = Expression.Parameter (typeof (IntPtr)); + var ctor = t.GetConstructor (flags, null, new [] { typeof (IntPtr) }, new ParameterModifier [0]); + if (ctor == null) + throw new MissingMethodException (); + + var newExpr = Expression.New (ctor, param); + cache [t] = method = Expression.Lambda (newExpr, param).Compile (); + } + return method; + } + + delegate object FastCreateObject (); + static FastCreateObject FastCtor (Type t, Dictionary cache) + { + FastCreateObject method; + if (!cache.TryGetValue (t, out method)) { + var newExpr = Expression.New (t); + cache [t] = method = Expression.Lambda (newExpr).Compile (); + } + return method; + } + + delegate object FastCreateBoxed (IntPtr ptr); + static FastCreateBoxed FastBoxed (Type t, Dictionary cache) + { + FastCreateBoxed method; + if (!cache.TryGetValue (t, out method)) { + var newMethod = t.GetMethod ("New", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy); + if (newMethod != null) { + var param = Expression.Parameter (typeof (IntPtr)); + var call = Expression.Call (newMethod, param); + var callWithConvert = Expression.Convert (call, typeof (object)); + cache [t] = method = Expression.Lambda (callWithConvert, param).Compile (); + } else { + cache [t] = method = null; + } + } + return method; + } + + static readonly ThreadLocal> cacheOpaque = + new ThreadLocal> (() => new Dictionary (new TypeEqualityComparer ())); + public static Opaque CreateOpaque (IntPtr o, Type type) + { + return (Opaque)FastCtorPtr (type, cacheOpaque.Value)(o); + } + + static readonly ThreadLocal> cacheObject = + new ThreadLocal> (() => new Dictionary (new TypeEqualityComparer ())); + public static Object CreateObject (IntPtr o, Type type) + { + return (Object)FastCtorPtr (type, cacheObject.Value)(o); + } + + static readonly ThreadLocal> cacheSignalArgs = + new ThreadLocal> (() => new Dictionary (new TypeEqualityComparer ())); + public static SignalArgs CreateSignalArgs (Type type) + { + return (SignalArgs)FastCtor (type, cacheSignalArgs.Value)(); + } + + static readonly ThreadLocal> cacheBoxed = + new ThreadLocal> (() => new Dictionary (new TypeEqualityComparer ())); + public static object CreateBoxed (IntPtr o, Type type) + { + var activator = FastBoxed (type, cacheBoxed.Value); + if (activator != null) + return activator (o); + return System.Runtime.InteropServices.Marshal.PtrToStructure (o, type); + } + + class TypeEqualityComparer : IEqualityComparer + { + public bool Equals (Type x, Type y) + { + return x == y; + } + public int GetHashCode (Type obj) + { + if (obj == null) + return 0; + return obj.GetHashCode (); + } + } + } +} diff --git a/glib/FileUtils.cs b/glib/FileUtils.cs index 53d96ff3a..64b022a92 100644 --- a/glib/FileUtils.cs +++ b/glib/FileUtils.cs @@ -27,17 +27,25 @@ namespace GLib { public class FileUtils { - [DllImport("libglib-2.0-0.dll")] + [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 (!g_file_get_contents (native_filename, out contents, out length, out error)) - throw new GException (error); + 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); diff --git a/glib/Format.cs b/glib/Format.cs index 3448466dc..fa763fde9 100644 --- a/glib/Format.cs +++ b/glib/Format.cs @@ -26,7 +26,7 @@ namespace GLib { #if GTK_SHARP_2_14 public class Format { - [DllImport("libglib-2.0-0.dll")] + [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) diff --git a/glib/GException.cs b/glib/GException.cs index a360a6907..5b4007d30 100644 --- a/glib/GException.cs +++ b/glib/GException.cs @@ -33,20 +33,15 @@ public GException (IntPtr errptr) : base () this.errptr = errptr; } - struct GError { - public int Domain; - public int Code; - public IntPtr Msg; - } - + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr gtksharp_error_get_message (IntPtr errptr); public override string Message { get { - GError err = (GError) Marshal.PtrToStructure (errptr, typeof (GError)); - return Marshaller.Utf8PtrToString (err.Msg); + return Marshaller.Utf8PtrToString (gtksharp_error_get_message (errptr)); } } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_clear_error (ref IntPtr errptr); ~GException () { diff --git a/glib/GInterfaceAdapter.cs b/glib/GInterfaceAdapter.cs index e44c9401c..94859299b 100644 --- a/glib/GInterfaceAdapter.cs +++ b/glib/GInterfaceAdapter.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -24,8 +24,10 @@ 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 { @@ -40,8 +42,6 @@ public abstract class GInterfaceAdapter { protected GInterfaceAdapter () { - info.FinalizeHandler = new GInterfaceFinalizeHandler (Finalize); - info.Data = (IntPtr) GCHandle.Alloc (this); } protected GInterfaceInitHandler InitHandler { @@ -56,14 +56,11 @@ protected GInterfaceInitHandler InitHandler { internal GInterfaceInfo Info { get { + if (info.Data == IntPtr.Zero) + info.Data = (IntPtr) GCHandle.Alloc (this); + return info; } } - - void Finalize (IntPtr iface_ptr, IntPtr data) - { - GCHandle gch = (GCHandle) data; - gch.Free (); - } } } diff --git a/glib/GString.cs b/glib/GString.cs index 673103f77..e9ac5e3d9 100644 --- a/glib/GString.cs +++ b/glib/GString.cs @@ -27,7 +27,7 @@ public class GString : GLib.IWrapper { IntPtr handle; - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_string_free (IntPtr mem, bool free_segments); ~GString () @@ -35,7 +35,7 @@ public class GString : GLib.IWrapper { g_string_free (handle, true); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_string_new (IntPtr text); public GString (string text) diff --git a/glib/GType.cs b/glib/GType.cs old mode 100755 new mode 100644 index dcc76fed0..d37682e58 --- a/glib/GType.cs +++ b/glib/GType.cs @@ -24,36 +24,16 @@ namespace GLib { using System; using System.Collections; + using System.Collections.Generic; using System.IO; using System.Reflection; using System.Runtime.InteropServices; - using System.Text; [StructLayout(LayoutKind.Sequential)] - public struct GType { + public struct GType : IEquatable { IntPtr val; - struct GTypeInfo { - public ushort class_size; - IntPtr base_init; - IntPtr base_finalize; - IntPtr class_init; - IntPtr class_finalize; - IntPtr class_data; - public ushort instance_size; - ushort n_preallocs; - IntPtr instance_init; - IntPtr value_table; - } - - struct GTypeQuery { - public IntPtr type; - public IntPtr type_name; - public uint class_size; - public uint instance_size; - } - public GType (IntPtr val) { this.val = val; @@ -86,8 +66,8 @@ public static GType FromName (string native_name) public static readonly GType Param = new GType ((IntPtr) TypeFundamentals.TypeParam); public static readonly GType Object = new GType ((IntPtr) TypeFundamentals.TypeObject); - static Hashtable types = new Hashtable (); - static Hashtable gtypes = new Hashtable (); + static Dictionary types = new Dictionary (IntPtrEqualityComparer.Instance); + static Dictionary gtypes = new Dictionary (); public static void Register (GType native_type, System.Type type) { @@ -97,8 +77,14 @@ public static void Register (GType native_type, System.Type type) 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)); @@ -113,7 +99,6 @@ static GType () Register (GType.String, typeof (string)); Register (GType.Pointer, typeof (IntPtr)); Register (GType.Object, typeof (GLib.Object)); - Register (GType.Pointer, typeof (IntPtr)); // One-way mapping gtypes[typeof (char)] = GType.UInt; @@ -123,26 +108,39 @@ public static explicit operator GType (System.Type type) { GType gtype; - if (gtypes.Contains (type)) - return (GType)gtypes[type]; - + if (gtypes.TryGetValue (type, out gtype)) + return gtype; + if (type.IsSubclassOf (typeof (GLib.Object))) { gtype = GLib.Object.LookupGType (type); Register (gtype, type); return gtype; } - PropertyInfo pi = type.GetProperty ("GType", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.FlattenHierarchy); - if (pi != null) - gtype = (GType) pi.GetValue (null, null); - else if (type.IsDefined (typeof (GTypeAttribute), false)) { - GTypeAttribute gattr = (GTypeAttribute)Attribute.GetCustomAttribute (type, typeof (GTypeAttribute), false); - pi = gattr.WrapperType.GetProperty ("GType", BindingFlags.Public | BindingFlags.Static); - gtype = (GType) pi.GetValue (null, null); - } else if (type.IsSubclassOf (typeof (GLib.Opaque))) - gtype = GType.Pointer; - else - gtype = ManagedValue.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; @@ -174,12 +172,12 @@ public static void Init () public static Type LookupType (IntPtr typeid) { - if (types.Contains (typeid)) - return (Type)types[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); - Type result = null; Assembly[] assemblies = (Assembly[]) AppDomain.CurrentDomain.GetAssemblies ().Clone (); foreach (Assembly asm in assemblies) { result = asm.GetType (type_name); @@ -200,8 +198,8 @@ public static Type LookupType (IntPtr typeid) foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) { if (ref_name.Name != asm_name) continue; - string asm_dir = Path.GetDirectoryName (asm.Location); 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")); @@ -224,17 +222,9 @@ public static Type LookupType (IntPtr typeid) } public IntPtr Val { - get { return val; } - } - - 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; + get { + return val; + } } public override bool Equals (object o) @@ -245,127 +235,35 @@ public override bool Equals (object o) return ((GType) o) == this; } - public override int GetHashCode () - { - return val.GetHashCode (); - } - - public override string ToString () - { - return Marshaller.Utf8PtrToString (g_type_name (val)); - } - - internal IntPtr ClassPtr { - get { - IntPtr klass = g_type_class_peek (val); - if (klass == IntPtr.Zero) - klass = g_type_class_ref (val); - return klass; - } - } - - internal void EnsureClass () - { - if (g_type_class_peek (val) == IntPtr.Zero) - g_type_class_ref (val); - } - - 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 (); - } - - internal static GType RegisterGObjectType (System.Type t) + public bool Equals (GType other) { - GType parent_gtype = LookupGObjectType (t.BaseType); - string name = BuildEscapedName (t); - IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); - GTypeQuery query; - g_type_query (parent_gtype.Val, out query); - GTypeInfo info = new GTypeInfo (); - info.class_size = (ushort) query.class_size; - info.instance_size = (ushort) query.instance_size; - GType gtype = new GType (g_type_register_static (parent_gtype.Val, native_name, ref info, 0)); - GLib.Marshaller.Free (native_name); - Register (gtype, t); - return gtype; + return this == other; } - internal static GType LookupGObjectType (System.Type t) - { - if (gtypes.Contains (t)) - return (GType) gtypes [t]; - - PropertyInfo pi = t.GetProperty ("GType", BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.Public); - if (pi != null) - return (GType) pi.GetValue (null, null); - - return GLib.Object.RegisterGType (t); - } - - internal static IntPtr ValFromInstancePtr (IntPtr handle) + public static bool operator == (GType a, GType b) { - if (handle == IntPtr.Zero) - return IntPtr.Zero; - - // First field of instance is a GTypeClass*. - IntPtr klass = Marshal.ReadIntPtr (handle); - // First field of GTypeClass is a GType. - return Marshal.ReadIntPtr (klass); + return a.Val == b.Val; } - internal static bool Is (IntPtr type, GType is_a_type) + public static bool operator != (GType a, GType b) { - return g_type_is_a (type, is_a_type.Val); + return a.Val != b.Val; } - public bool IsInstance (IntPtr raw) + public override int GetHashCode () { - return GType.Is (ValFromInstancePtr (raw), this); + return val.GetHashCode (); } - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_type_class_peek (IntPtr gtype); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_type_class_ref (IntPtr gtype); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_type_from_name (string name); - - [DllImport("libgobject-2.0-0.dll")] - static extern void g_type_init (); - - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_type_name (IntPtr raw); - [DllImport("libgobject-2.0-0.dll")] - static extern void g_type_query (IntPtr type, out GTypeQuery query); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_type_register_static (IntPtr parent, IntPtr name, ref GTypeInfo info, int flags); + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr g_type_from_name (string name); - [DllImport("libgobject-2.0-0.dll")] - static extern bool g_type_is_a (IntPtr type, IntPtr is_a_type); + public override string ToString () + { + return Marshaller.Utf8PtrToString (g_type_name (val)); + } } } diff --git a/glib/GTypeAttribute.cs b/glib/GTypeAttribute.cs index 7a2e14f00..a0274e8d2 100644 --- a/glib/GTypeAttribute.cs +++ b/glib/GTypeAttribute.cs @@ -21,6 +21,7 @@ namespace GLib { using System; + [Obsolete ("Use GTypeTypeAttribute instead.")] [AttributeUsage (AttributeTargets.Enum)] public sealed class GTypeAttribute : Attribute { Type wrapper_type; @@ -39,4 +40,39 @@ public Type WrapperType { } } } + + [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; + } + } + } } diff --git a/glib/Global.cs b/glib/Global.cs index fb7f3eb0e..ba4bf04f7 100644 --- a/glib/Global.cs +++ b/glib/Global.cs @@ -31,9 +31,23 @@ 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.PtrToStringGFree(g_get_prgname()); + return GLib.Marshaller.Utf8PtrToString (g_get_prgname()); } set { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (value); @@ -42,15 +56,15 @@ public static string ProgramName { } } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_set_prgname (IntPtr name); - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_get_prgname (); public static string ApplicationName { get { - return GLib.Marshaller.PtrToStringGFree(g_get_application_name()); + return GLib.Marshaller.Utf8PtrToString (g_get_application_name()); } set { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (value); @@ -59,10 +73,10 @@ public static string ApplicationName { } } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_set_application_name (IntPtr name); - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_get_application_name (); } } diff --git a/glib/IOChannel.cs b/glib/IOChannel.cs index d41ce36bc..fb8d412d8 100644 --- a/glib/IOChannel.cs +++ b/glib/IOChannel.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -25,23 +25,16 @@ namespace GLibSharp { using System.Runtime.InteropServices; using GLib; - [CDeclCallback] + [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) + internal static class IOFuncWrapper { + + public static IOFuncNative NativeDelegate; + static bool NativeCallback (IntPtr source, int condition, IntPtr data) { try { + var managed = (IOFunc)((GCHandle)data).Target; return managed (IOChannel.FromHandle (source), (IOCondition) condition); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); @@ -61,33 +54,37 @@ public class IOChannel : IDisposable, IWrapper { IntPtr handle; - private IOChannel(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) + public IOChannel (string filename, string mode) { IntPtr native_filename = Marshaller.StringToPtrGStrdup (filename); IntPtr native_mode = Marshaller.StringToPtrGStrdup (mode); IntPtr error; - handle = g_io_channel_new_file(native_filename, native_mode, out 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 - { + public IOCondition BufferCondition + { get { return (IOCondition) g_io_channel_get_buffer_condition (Handle); } } - public bool Buffered - { + public bool Buffered + { get { return g_io_channel_get_buffered (Handle); } @@ -96,8 +93,8 @@ public bool Buffered } } - public ulong BufferSize - { + public ulong BufferSize + { get { return (ulong) g_io_channel_get_buffer_size (Handle); } @@ -106,8 +103,8 @@ public ulong BufferSize } } - public bool CloseOnUnref - { + public bool CloseOnUnref + { get { return g_io_channel_get_close_on_unref (Handle); } @@ -116,8 +113,8 @@ public bool CloseOnUnref } } - public string Encoding - { + public string Encoding + { get { return Marshaller.Utf8PtrToString (g_io_channel_get_encoding (Handle)); } @@ -130,8 +127,8 @@ public string Encoding } } - public IOFlags Flags - { + public IOFlags Flags + { get { return (IOFlags) g_io_channel_get_flags(Handle); } @@ -169,7 +166,7 @@ public int UnixFd { } } - protected void Init () + protected void Init () { g_io_channel_init (Handle); } @@ -179,20 +176,18 @@ public void Dispose () g_io_channel_unref (Handle); } - public uint AddWatch (int priority, IOCondition condition, IOFunc func) + 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); + user_data = (IntPtr) GCHandle.Alloc (func); notify = DestroyHelper.NotifyHandler; } - return g_io_add_watch_full (Handle, priority, (int) condition, func_wrapper.NativeDelegate, user_data, notify); + return g_io_add_watch_full (Handle, priority, (int) condition, IOFuncWrapper.NativeDelegate, user_data, notify); } - public IOStatus Flush () + public IOStatus Flush () { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_flush (Handle, out error); @@ -200,7 +195,7 @@ public IOStatus Flush () return ret; } - public IOStatus ReadChars (byte[] buf, out ulong bytes_read) + public IOStatus ReadChars (byte[] buf, out ulong bytes_read) { UIntPtr native_bytes_read; IntPtr error; @@ -216,7 +211,7 @@ public IOStatus ReadLine (out string str_return) return ReadLine (out str_return, out dump); } - public IOStatus ReadLine (out string str_return, out ulong terminator_pos) + public IOStatus ReadLine (out string str_return, out ulong terminator_pos) { IntPtr native_string; UIntPtr native_terminator_pos; @@ -230,7 +225,7 @@ public IOStatus ReadLine (out string str_return, out ulong terminator_pos) return ret; } - public IOStatus ReadToEnd (out string str_return) + public IOStatus ReadToEnd (out string str_return) { IntPtr native_str; UIntPtr native_length; @@ -247,7 +242,7 @@ public IOStatus ReadToEnd (out string str_return) return ret; } - public IOStatus ReadUnichar (out uint thechar) + public IOStatus ReadUnichar (out uint thechar) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_unichar (Handle, out thechar, out error); @@ -255,7 +250,7 @@ public IOStatus ReadUnichar (out uint thechar) return ret; } - public IOStatus SeekPosition (long offset, SeekType type) + public IOStatus SeekPosition (long offset, SeekType type) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_seek_position (Handle, offset, (int) type, out error); @@ -263,7 +258,7 @@ public IOStatus SeekPosition (long offset, SeekType type) return ret; } - public IOStatus Shutdown (bool flush) + public IOStatus Shutdown (bool flush) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_shutdown (Handle, flush, out error); @@ -271,7 +266,7 @@ public IOStatus Shutdown (bool flush) return ret; } - public IOStatus WriteChars (string str, out string remainder) + public IOStatus WriteChars (string str, out string remainder) { ulong written; System.Text.Encoding enc = System.Text.Encoding.UTF8; @@ -287,7 +282,7 @@ public IOStatus WriteChars (string str, out string remainder) return ret; } - public IOStatus WriteChars (byte[] buf, out ulong bytes_written) + public IOStatus WriteChars (byte[] buf, out ulong bytes_written) { UIntPtr native_bytes_written; IntPtr error; @@ -297,7 +292,7 @@ public IOStatus WriteChars (byte[] buf, out ulong bytes_written) return ret; } - public IOStatus WriteUnichar (uint thechar) + public IOStatus WriteUnichar (uint thechar) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_write_unichar (Handle, thechar, out error); @@ -314,107 +309,110 @@ public static IOChannel FromHandle (IntPtr handle) return new IOChannel (handle); } - public static IOChannelError ErrorFromErrno (int en) + 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)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_unix_new (int fd); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_new_file (IntPtr filename, IntPtr mode, out IntPtr error); - [DllImport (libname)] + [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)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_error_from_errno (int en); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_flush (IntPtr raw, out IntPtr error); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_init (IntPtr raw); - [DllImport (libname)] + [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)] + [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)] + [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)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_read_unichar (IntPtr raw, out uint thechar, out IntPtr error); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_seek_position (IntPtr raw, long offset, int type, out IntPtr error); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_shutdown (IntPtr raw, bool flush, out IntPtr err); - [DllImport (libname)] + [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)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_write_unichar (IntPtr raw, uint thechar, out IntPtr error); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_get_buffer_condition (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern bool g_io_channel_get_buffered (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_buffered (IntPtr raw, bool buffered); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern UIntPtr g_io_channel_get_buffer_size (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_buffer_size (IntPtr raw, UIntPtr size); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern bool g_io_channel_get_close_on_unref (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_close_on_unref (IntPtr raw, bool do_close); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_get_encoding (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_set_encoding (IntPtr raw, IntPtr encoding, out IntPtr error); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_get_flags (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_set_flags (IntPtr raw, int flags, out IntPtr error); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_get_line_term (IntPtr raw, out int length); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_line_term (IntPtr raw, byte[] term, int length); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_unix_get_fd (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_ref (IntPtr raw); - [DllImport (libname)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_unref (IntPtr raw); - [DllImport (libname)] + [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)] + [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_create_watch (IntPtr raw, int condition); } diff --git a/glib/Idle.cs b/glib/Idle.cs old mode 100755 new mode 100644 index 02f44c68e..b01ca0c3c --- a/glib/Idle.cs +++ b/glib/Idle.cs @@ -25,80 +25,116 @@ namespace GLib { using System; using System.Collections; + using System.Collections.Generic; + using System.Linq; using System.Runtime.InteropServices; public delegate bool IdleHandler (); - public class Idle { - - [CDeclCallback] - delegate bool IdleHandlerInternal (); - + public class Idle + { + internal class IdleProxy : SourceProxy + { + internal readonly IdleHandler real_handler; + internal uint ID; + internal bool needsAdd = true; - internal class IdleProxy : SourceProxy { public IdleProxy (IdleHandler real) { real_handler = real; - proxy_handler = new IdleHandlerInternal (Handler); } - public bool Handler () + protected override bool Invoke () { - try { - IdleHandler idle_handler = (IdleHandler) real_handler; - - bool cont = idle_handler (); - if (!cont) - Remove (); - return cont; - } catch (Exception e) { - ExceptionManager.RaiseUnhandledException (e, false); - } - return false; + return real_handler (); } } - + private Idle () { } - - [DllImport("libglib-2.0-0.dll")] - static extern uint g_idle_add (IdleHandlerInternal d, IntPtr data); + + static readonly int defaultPriority = glibsharp_idle_priority_default (); + + [DllImport ("glibsharpglue-2", CallingConvention = CallingConvention.Cdecl)] + static extern int glibsharp_idle_priority_default (); + + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern uint g_idle_add_full (int priority, SourceProxy.GSourceFuncInternal d, IntPtr data, DestroyNotify notify); public static uint Add (IdleHandler hndlr) { IdleProxy p = new IdleProxy (hndlr); - p.ID = g_idle_add ((IdleHandlerInternal) p.proxy_handler, IntPtr.Zero); - lock (Source.source_handlers) - Source.source_handlers [p.ID] = p; + var handle = GCHandle.Alloc (p); + + p.ID = g_idle_add_full (defaultPriority, SourceProxy.SourceHandler, (IntPtr)handle, FreeGCHandleAndRemoveFromDictionary); + + lock (idle_handlers) { + if (p.needsAdd) { + p.needsAdd = false; + idle_handlers [p.ID] = p; + } + } return p.ID; } - - [DllImport("libglib-2.0-0.dll")] - static extern bool g_source_remove_by_funcs_user_data (Delegate d, IntPtr data); - + + internal static Dictionary idle_handlers = new Dictionary (); + + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern bool g_source_remove (uint id); + + [Obsolete ("This method is inefficient, please use the GLib.Source.Remove(uint) method")] public static bool Remove (IdleHandler hndlr) { bool result = false; - ArrayList keys = new ArrayList (); - lock (Source.source_handlers) { - foreach (uint code in Source.source_handlers.Keys) { - IdleProxy p = Source.source_handlers [code] as IdleProxy; - + lock (idle_handlers) { + // While we could delegate the removal by userdata to native, + // that method is slower, as it would lock and iterate the whole source + // list instead of a simple hashtable lookup. + foreach (KeyValuePair kvp in idle_handlers.ToArray ()) { + uint code = kvp.Key; + IdleProxy p = kvp.Value; + if (p != null && p.real_handler == hndlr) { - keys.Add (code); - result = g_source_remove_by_funcs_user_data (p.proxy_handler, IntPtr.Zero); + result = g_source_remove (code); } } - - foreach (object key in keys) - Source.source_handlers.Remove (key); } return result; } + + #region IdleProxy DestroyNotify + static void ReleaseGCHandle (IntPtr data) + { + if (data == IntPtr.Zero) + return; + + GCHandle gch = (GCHandle)data; + IdleProxy proxy = (IdleProxy)gch.Target; + + lock (idle_handlers) { + if (proxy.needsAdd) + proxy.needsAdd = false; + else + idle_handlers.Remove (proxy.ID); + } + + gch.Free (); + } + + static DestroyNotify release_gchandle; + + static DestroyNotify FreeGCHandleAndRemoveFromDictionary { + get { + if (release_gchandle == null) + release_gchandle = new DestroyNotify (ReleaseGCHandle); + return release_gchandle; + } + } + #endregion } } diff --git a/glib/IntPtrEqualityComparer.cs b/glib/IntPtrEqualityComparer.cs new file mode 100644 index 000000000..cd7cb770e --- /dev/null +++ b/glib/IntPtrEqualityComparer.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; + +namespace GLib +{ + class IntPtrEqualityComparer : IEqualityComparer + { + public static readonly IEqualityComparer Instance = new IntPtrEqualityComparer (); + + public bool Equals (IntPtr x, IntPtr y) + { + return x == y; + } + + public int GetHashCode (IntPtr obj) + { + return obj.GetHashCode (); + } + } +} diff --git a/glib/List.cs b/glib/List.cs index eefb21a2e..aadb36e23 100644 --- a/glib/List.cs +++ b/glib/List.cs @@ -26,7 +26,7 @@ namespace GLib { public class List : ListBase { - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_list_copy (IntPtr l); public override object Clone () @@ -34,7 +34,7 @@ public override object Clone () return new List (g_list_copy (Handle)); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int g_list_length (IntPtr l); internal override int Length (IntPtr list) @@ -42,7 +42,7 @@ internal override int Length (IntPtr list) return g_list_length (list); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_list_free(IntPtr l); internal override void Free (IntPtr list) @@ -51,7 +51,7 @@ internal override void Free (IntPtr list) g_list_free (list); } - [DllImport("libglib-2.0-0.dll")] + [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) @@ -59,7 +59,7 @@ internal override IntPtr Append (IntPtr list, IntPtr raw) return g_list_append (list, raw); } - [DllImport("libglib-2.0-0.dll")] + [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) @@ -67,7 +67,7 @@ internal override IntPtr Prepend (IntPtr list, IntPtr raw) return g_list_prepend (list, raw); } - [DllImport("libglib-2.0-0.dll")] + [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) @@ -81,7 +81,9 @@ 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) {} + public List (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) : base (raw, element_type, owned, elements_owned, GFreeFunc) { } + + 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) { diff --git a/glib/ListBase.cs b/glib/ListBase.cs index 8ff94a71c..8fcd661d0 100644 --- a/glib/ListBase.cs +++ b/glib/ListBase.cs @@ -6,7 +6,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -26,13 +26,14 @@ namespace GLib { 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 int length = -1; 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); @@ -40,24 +41,39 @@ public abstract class ListBase : IDisposable, ICollection, GLib.IWrapper, IClone 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) + + + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void g_free (IntPtr item); + + static ListElementFree gFreeFunc; + protected static ListElementFree GFreeFunc { + get { + if (gFreeFunc == null) + gFreeFunc = new ListElementFree (g_free);; + return gFreeFunc; + } + } + + 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; @@ -87,14 +103,12 @@ public void Prepend (IntPtr raw) // ICollection public int Count { get { - if (length == -1) - length = Length (list_ptr); - return length; + return Length (list_ptr); } } - public object this [int index] { - get { + public object this [int index] { + get { IntPtr data = NthData ((uint) index); object ret = null; ret = DataMarshal (data); @@ -113,12 +127,24 @@ public object SyncRoot { public void CopyTo (Array array, int index) { - object[] orig = new object[Count]; + 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); + + 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 { @@ -149,7 +175,7 @@ IntPtr AllocNativeElement (object element) return IntPtr.Zero; } - internal object DataMarshal (IntPtr data) + internal object DataMarshal (IntPtr data) { object ret = null; if (element_type != null) { @@ -180,22 +206,33 @@ internal object DataMarshal (IntPtr data) return ret; } - [DllImport ("libglib-2.0-0.dll")] - static extern void g_free (IntPtr item); - - [DllImport ("libglib-2.0-0.dll")] + [DllImport ("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr item); public void Empty () { - if (elements_owned) - 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 - g_free (NthData (i)); + 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 (GetData (temp)); + } + } else if (typeof (GLib.Opaque).IsAssignableFrom (element_type)) { + while (current != IntPtr.Zero) { + var temp = current; + current = Next (temp); + GLib.Opaque.GetOpaque (GetData (temp), element_type, true).Dispose (); + } + } else { + while (current != IntPtr.Zero) { + var temp = current; + current = Next (temp); + free_func (GetData (temp)); + } + } + } if (managed) FreeList (); @@ -246,7 +283,7 @@ public void Reset () current = IntPtr.Zero; } } - + // IEnumerable public IEnumerator GetEnumerator () { @@ -264,13 +301,12 @@ protected virtual void Dispose (bool disposing) { Empty (); } - + void FreeList () { if (list_ptr != IntPtr.Zero) Free (list_ptr); list_ptr = IntPtr.Zero; - length = -1; } // ICloneable diff --git a/glib/Log.cs b/glib/Log.cs index b3d20e12d..6496155a7 100644 --- a/glib/Log.cs +++ b/glib/Log.cs @@ -2,12 +2,12 @@ // // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -30,6 +30,10 @@ namespace GLib { 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] @@ -66,25 +70,42 @@ static void EnsureHash () handlers = new Hashtable (); } - [DllImport("libglib-2.0-0.dll")] - static extern void g_logv (IntPtr log_domain, LogLevelFlags flags, IntPtr message); - + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + // CallingConvention.Cdecl is used to allow binding the the C varargs signature, and each possible call signature must be enumerated. + // __argslist was an option, but is an undocumented feature that should likely not be used here. + static extern void g_log (IntPtr log_domain, LogLevelFlags flags, IntPtr format, IntPtr arg1); + + static IntPtr SingleStringFormat = Marshaller.StringToPtrGStrdup ("%s"); + 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_log (ndom, flags, SingleStringFormat, 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); + g_log (ndom, flags, SingleStringFormat, nmessage); Marshaller.Free (ndom); Marshaller.Free (nmessage); } - [DllImport("libglib-2.0-0.dll")] - static extern uint g_log_set_handler (IntPtr log_domain, LogLevelFlags flags, LogFunc log_func, IntPtr user_data); - + [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, logFunc, IntPtr.Zero); + uint result = g_log_set_handler (ndom, flags, LogFuncTrampoline, logFunc); Marshaller.Free (ndom); EnsureHash (); handlers [result] = logFunc; @@ -92,21 +113,21 @@ public static uint SetLogHandler (string logDomain, LogLevelFlags flags, LogFunc return result; } - [DllImport("libglib-2.0-0.dll")] + [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")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern PrintFunc g_set_print_handler (PrintFunc handler); public static PrintFunc SetPrintHandler (PrintFunc handler) @@ -116,8 +137,8 @@ public static PrintFunc SetPrintHandler (PrintFunc handler) return g_set_print_handler (handler); } - - [DllImport("libglib-2.0-0.dll")] + + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern PrintFunc g_set_printerr_handler (PrintFunc handler); public static PrintFunc SetPrintErrorHandler (PrintFunc handler) @@ -127,12 +148,12 @@ public static PrintFunc SetPrintErrorHandler (PrintFunc handler) return g_set_printerr_handler (handler); } - - [DllImport("libglib-2.0-0.dll")] + + [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); @@ -141,17 +162,17 @@ public static void DefaultHandler (string logDomain, LogLevelFlags logLevel, str Marshaller.Free (nmess); } - [DllImport("libglib-2.0-0.dll")] + [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")] + [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); @@ -188,4 +209,3 @@ public static void PrintTraceLogFunction (string domain, LogLevelFlags level, st } } } - diff --git a/glib/MainContext.cs b/glib/MainContext.cs index a56899bce..08ef13dba 100644 --- a/glib/MainContext.cs +++ b/glib/MainContext.cs @@ -26,13 +26,13 @@ namespace GLib { public class MainContext { - [DllImport("libglib-2.0-0.dll")] + [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")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_main_context_iteration (IntPtr Raw, bool MayBlock); public static bool Iteration () @@ -45,7 +45,7 @@ public static bool Iteration (bool MayBlock) return g_main_context_iteration (IntPtr.Zero, MayBlock); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_main_context_pending (IntPtr Raw); public static bool Pending () diff --git a/glib/MainLoop.cs b/glib/MainLoop.cs index 67caf4319..c2460757a 100644 --- a/glib/MainLoop.cs +++ b/glib/MainLoop.cs @@ -25,7 +25,7 @@ namespace GLib { public class MainLoop { private IntPtr handle; - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_main_loop_new (IntPtr context, bool isRunning); public MainLoop () @@ -33,7 +33,7 @@ public MainLoop () handle = g_main_loop_new (IntPtr.Zero, false); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_main_loop_unref (IntPtr loop); ~MainLoop () @@ -42,7 +42,7 @@ public MainLoop () handle = IntPtr.Zero; } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_main_loop_is_running (IntPtr loop); public bool IsRunning { @@ -51,7 +51,7 @@ public bool IsRunning { } } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_main_loop_run (IntPtr loop); public void Run () @@ -59,7 +59,7 @@ public void Run () g_main_loop_run (handle); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_main_loop_quit (IntPtr loop); public void Quit () diff --git a/glib/Makefile.am b/glib/Makefile.am index dcebe3d65..e2f1dd078 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -15,7 +15,7 @@ DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) -references = +references = sources = \ Argv.cs \ @@ -28,6 +28,7 @@ sources = \ DestroyNotify.cs \ EnumWrapper.cs \ ExceptionManager.cs \ + FastActivator.cs \ FileUtils.cs \ Format.cs \ GException.cs \ @@ -40,6 +41,7 @@ sources = \ Idle.cs \ IgnoreClassInitializersAttribute.cs \ InitiallyUnowned.cs \ + IntPtrEqualityComparer.cs \ IOChannel.cs \ IWrapper.cs \ ListBase.cs \ @@ -55,8 +57,8 @@ sources = \ Object.cs \ ObjectManager.cs \ Opaque.cs \ - ParamSpec.cs \ PropertyAttribute.cs \ + PointerWrapper.cs \ PtrArray.cs \ Signal.cs \ SignalArgs.cs \ @@ -90,46 +92,39 @@ gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . - -if PLATFORM_WIN32 -GAPI_CDECL_INSERT=$(top_srcdir)/gapi-cdecl-insert --keyfile=gtk-sharp.snk $(ASSEMBLY) -else -GAPI_CDECL_INSERT= -endif + echo "[assembly:InternalsVisibleTo(\"gtk-sharp, PublicKey=002400000480000094000000060200000024000052534131000400000100010071eb6c5575529cbf7244f7a6ea056284f9eae03bcff2cc132c9c490ab309eab0b56bce449df503d9c0a81e520585cdbe70e2fb90434bac04fa6222a80098b7a1a7b3af991a412324bb4325f6b865bb64ebf6d1c206d5732ddfbc70a7389ee53e0c246e3279741ad00503e49842e19bf37b198b402126cb3689c2ea6496a47cb4\")]" >> AssemblyInfo.cs $(ASSEMBLY): $(build_sources) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb - $(CSC) $(CSFLAGS) -unsafe -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) + $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(GAPI_CDECL_INSERT) -$(POLICY_ASSEMBLIES): $(top_builddir)/policy.config gtk-sharp.snk - @for i in $(POLICY_VERSIONS); do \ - echo "Creating policy.$$i.$(ASSEMBLY)"; \ - sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$$i/" $(top_builddir)/policy.config > policy.$$i.config; \ - $(AL) -link:policy.$$i.config -out:policy.$$i.$(ASSEMBLY) -keyfile:gtk-sharp.snk; \ - done +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; \ + 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; \ + 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; \ + 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; \ + echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ + $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi - diff --git a/glib/ManagedValue.cs b/glib/ManagedValue.cs index 908da459b..1fbaaa79c 100644 --- a/glib/ManagedValue.cs +++ b/glib/ManagedValue.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -24,13 +24,13 @@ namespace GLib { 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; @@ -58,24 +58,24 @@ void Unref () } } - [CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr CopyFunc (IntPtr gch); - [CDeclCallback] + [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")] + [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); @@ -84,7 +84,7 @@ public static GType GType { return boxed_type; } } - + static ManagedValue FromHandle (IntPtr ptr) { GCHandle gch = (GCHandle) ptr; @@ -146,4 +146,3 @@ public static void ReleaseWrapper (IntPtr ptr) } } } - diff --git a/glib/Markup.cs b/glib/Markup.cs index 254199371..68aee94ff 100644 --- a/glib/Markup.cs +++ b/glib/Markup.cs @@ -29,7 +29,7 @@ namespace GLib { public class Markup { private Markup () {} - [DllImport("libglib-2.0-0.dll")] + [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) diff --git a/glib/Marshaller.cs b/glib/Marshaller.cs index 520c9a38d..1ec6003f4 100644 --- a/glib/Marshaller.cs +++ b/glib/Marshaller.cs @@ -28,8 +28,8 @@ namespace GLib { public class Marshaller { private Marshaller () {} - - [DllImport("libglib-2.0-0.dll")] + + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr mem); public static void Free (IntPtr ptr) @@ -46,15 +46,24 @@ public static void Free (IntPtr[] ptrs) g_free (ptrs [i]); } - [DllImport("libglib-2.0-0.dll")] + [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 = g_filename_to_utf8 (ptr, -1, IntPtr.Zero, out dummy, out 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); @@ -67,26 +76,30 @@ public static string FilenamePtrToStringGFree (IntPtr ptr) return ret; } - static unsafe ulong strlen (IntPtr s) - { - ulong cnt = 0; - byte *b = (byte *)s; - while (*b != 0) { - b++; - cnt++; - } - return cnt; - } + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + unsafe static extern char* g_utf8_to_utf16 (IntPtr native_str, IntPtr len, IntPtr items_read, ref IntPtr items_written, out IntPtr error); + + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + unsafe static extern IntPtr g_utf16_to_utf8 (char* native_str, IntPtr len, IntPtr items_read, IntPtr items_written, out IntPtr error); + [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) strlen (ptr); - byte[] bytes = new byte [len]; - Marshal.Copy (ptr, bytes, 0, len); - return System.Text.Encoding.UTF8.GetString (bytes); + unsafe + { + IntPtr written = IntPtr.Zero; + IntPtr error; + char *utf16 = g_utf8_to_utf16 (ptr, new IntPtr (-1), IntPtr.Zero, ref written, out error); + if (error != IntPtr.Zero) + throw new GLib.GException (error); + + var result = new string (utf16, 0, (int)written); + g_free ((IntPtr)utf16); + return result; + } } public static string[] Utf8PtrToString (IntPtr[] ptrs) { @@ -114,9 +127,12 @@ public static string[] PtrToStringGFree (IntPtr[] ptrs) { return ret; } - [DllImport("libglib-2.0-0.dll")] + [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) @@ -124,7 +140,14 @@ public static IntPtr StringToFilenamePtr (string str) IntPtr dummy, error; IntPtr utf8 = StringToPtrGStrdup (str); - IntPtr result = g_filename_from_utf8 (utf8, -1, IntPtr.Zero, out dummy, out error); + + 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); @@ -135,11 +158,19 @@ public static IntPtr StringToFilenamePtr (string str) public static IntPtr StringToPtrGStrdup (string str) { if (str == null) return IntPtr.Zero; - byte[] bytes = System.Text.Encoding.UTF8.GetBytes (str); - IntPtr result = g_malloc (new UIntPtr ((ulong)bytes.Length + 1)); - Marshal.Copy (bytes, 0, result, bytes.Length); - Marshal.WriteByte (result, bytes.Length, 0); - return result; + + unsafe + { + fixed (char* p = str) { + IntPtr error; + var result = g_utf16_to_utf8 (p, new IntPtr (str.Length), IntPtr.Zero, IntPtr.Zero, out error); + + if (error != IntPtr.Zero) + throw new GLib.GException (error); + + return result; + } + } } public static string StringFormat (string format, params object[] args) { @@ -161,7 +192,7 @@ public static IntPtr[] StringArrayToNullTermPointer (string[] strs) return result; } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_strfreev (IntPtr mem); public static void StrFreeV (IntPtr null_term_array) @@ -172,10 +203,10 @@ public static void StrFreeV (IntPtr null_term_array) public static string[] NullTermPtrToStringArray (IntPtr null_term_array, bool owned) { if (null_term_array == IntPtr.Zero) - return new string [0]; + return Array.Empty (); int count = 0; - System.Collections.ArrayList result = new System.Collections.ArrayList (); + 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)); @@ -185,13 +216,13 @@ public static string[] NullTermPtrToStringArray (IntPtr null_term_array, bool ow if (owned) g_strfreev (null_term_array); - return (string[]) result.ToArray (typeof(string)); + return result.ToArray (); } public static string[] PtrToStringArrayGFree (IntPtr string_array) { if (string_array == IntPtr.Zero) - return new string [0]; + return Array.Empty (); int count = 0; while (Marshal.ReadIntPtr (string_array, count*IntPtr.Size) != IntPtr.Zero) @@ -215,7 +246,7 @@ public static string[] PtrToStringArrayGFree (IntPtr string_array) // transparently, since we need to alloc buffers of // [native pointer size] * [count] bytes. - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_malloc(UIntPtr size); public static IntPtr Malloc (ulong size) @@ -224,8 +255,8 @@ public static IntPtr Malloc (ulong size) } static bool check_sixtyfour () { - int szint = Marshal.SizeOf (typeof (int)); - int szlong = Marshal.SizeOf (typeof (long)); + int szint = sizeof (int); + int szlong = sizeof (long); int szptr = IntPtr.Size; if (szptr == szint) @@ -243,7 +274,7 @@ static IntPtr make_buf_32 (string[] args) for (int i = 0; i < args.Length; i++) ptrs[i] = (int) Marshal.StringToHGlobalAuto (args[i]); - IntPtr buf = g_malloc (new UIntPtr ((ulong) Marshal.SizeOf(typeof(int)) * + IntPtr buf = g_malloc (new UIntPtr ((ulong) sizeof (int) * (ulong) args.Length)); Marshal.Copy (ptrs, 0, buf, ptrs.Length); return buf; @@ -256,7 +287,7 @@ static IntPtr make_buf_64 (string[] args) for (int i = 0; i < args.Length; i++) ptrs[i] = (long) Marshal.StringToHGlobalAuto (args[i]); - IntPtr buf = g_malloc (new UIntPtr ((ulong) Marshal.SizeOf(typeof(long)) * + IntPtr buf = g_malloc (new UIntPtr ((ulong) sizeof (long) * (ulong) args.Length)); Marshal.Copy (ptrs, 0, buf, ptrs.Length); return buf; @@ -307,7 +338,7 @@ static string[] unmarshal_64 (IntPtr buf, int argc) public static string[] ArrayPtrToArgv (IntPtr array, int argc) { if (argc == 0) - return new string[0]; + return Array.Empty (); if (check_sixtyfour ()) return unmarshal_64 (array, argc); @@ -328,56 +359,47 @@ public static DateTime time_tToDateTime (IntPtr time_t) return local_epoch.AddSeconds (time_t.ToInt64 () + utc_offset); } - [DllImport("libglib-2.0-0.dll")] - static extern IntPtr g_malloc0 (UIntPtr size); - - [DllImport("libglib-2.0-0.dll")] - static extern int g_unichar_to_utf8 (uint c, IntPtr buf); + [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; - string ret = GUnicharToString (ucs4_char); - if (ret.Length != 1) + 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]; } - public static string GUnicharToString (uint ucs4_char) - { - if (ucs4_char == 0) - return String.Empty; + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern uint glibsharp_utf16_to_unichar (ushort c); - IntPtr buf = g_malloc0 (new UIntPtr (7)); - g_unichar_to_utf8 (ucs4_char, buf); - return PtrToStringGFree (buf); + public static uint CharToGUnichar (char c) + { + return glibsharp_utf16_to_unichar ((ushort) c); } - [DllImport("libglib-2.0-0.dll")] - static extern IntPtr g_utf16_to_ucs4 (ref ushort c, IntPtr len, IntPtr d1, IntPtr d2, IntPtr d3); - - public static uint CharToGUnichar (char c) + public static IntPtr StructureToPtrAlloc (object o) { - ushort val = (ushort) c; - IntPtr ucs4_str = g_utf16_to_ucs4 (ref val, new IntPtr (1), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero); - uint result = (uint) Marshal.ReadInt32 (ucs4_str); - g_free (ucs4_str); + IntPtr result = Marshal.AllocHGlobal (Marshal.SizeOf (o)); + Marshal.StructureToPtr (o, result, false); return result; } - public static IntPtr StructureToPtrAlloc (object o) + public static IntPtr StructureToPtrAlloc (T 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) { - Type array_type = elem_type == typeof (ListBase.FilenameString) ? typeof (string) : elem_type; ListBase list; if (list_type == typeof(GLib.List)) list = new GLib.List (list_ptr, elem_type, owned, elements_owned); @@ -385,9 +407,34 @@ public static Array ListPtrToArray (IntPtr list_ptr, Type list_type, bool owned, list = new GLib.SList (list_ptr, elem_type, owned, elements_owned); using (list) - return ListToArray (list, array_type); + 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); @@ -397,17 +444,52 @@ public static Array PtrArrayToArray (IntPtr list_ptr, bool owned, bool elements_ 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) { - Array result = Array.CreateInstance (type, list.Count); - if (list.Count > 0) - list.CopyTo (result, 0); + 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; + } } } diff --git a/glib/NotifyHandler.cs b/glib/NotifyHandler.cs index 0ea3e250b..efc83d518 100644 --- a/glib/NotifyHandler.cs +++ b/glib/NotifyHandler.cs @@ -22,7 +22,7 @@ namespace GLib { public delegate void NotifyHandler (object o, NotifyArgs args); public class NotifyArgs : GLib.SignalArgs { - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_param_spec_get_name (IntPtr pspec); public string Property { diff --git a/glib/Object.cs b/glib/Object.cs index bd1627c77..a910b1cc3 100644 --- a/glib/Object.cs +++ b/glib/Object.cs @@ -6,7 +6,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -24,106 +24,67 @@ namespace GLib { using System; using System.Collections; + using System.Collections.Generic; using System.ComponentModel; + using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using System.Text; public class Object : IWrapper, IDisposable { - - IntPtr handle; - ToggleRef tref; - bool disposed = false; + + internal protected bool owned = false; Hashtable data; - static Hashtable Objects = new Hashtable(); - static ArrayList PendingDestroys = new ArrayList (); - static bool idle_queued; - - ~Object () - { - lock (PendingDestroys) { - lock (Objects) { - if (Objects[Handle] is ToggleRef) - PendingDestroys.Add (Objects [Handle]); - Objects.Remove (Handle); - } - if (!idle_queued){ - Timeout.Add (50, new TimeoutHandler (PerformQueuedUnrefs)); - idle_queued = true; - } - } - } + internal PointerWrapper handle; - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr raw); - - static bool PerformQueuedUnrefs () - { - object [] references; - - lock (PendingDestroys){ - references = new object [PendingDestroys.Count]; - PendingDestroys.CopyTo (references, 0); - PendingDestroys.Clear (); - idle_queued = false; - } - - foreach (ToggleRef r in references) - r.Free (); - - return false; - } public virtual void Dispose () { - if (disposed) + if (handle == null) return; - disposed = true; - ToggleRef toggle_ref = Objects [Handle] as ToggleRef; - Objects.Remove (Handle); try { - if (toggle_ref != null) - toggle_ref.Free (); + handle.Dispose (); + handle = null; } catch (Exception e) { Console.WriteLine ("Exception while disposing a " + this + " in Gtk#"); throw e; } - handle = IntPtr.Zero; - GC.SuppressFinalize (this); } - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr raw); - public static Object GetObject(IntPtr o, bool owned_ref) + public static Object TryGetObject (IntPtr o) { if (o == IntPtr.Zero) return null; - Object obj = null; + Object obj; + PointerWrapper.TryGetObject (o, out obj); + return obj; + } - if (Objects.Contains (o)) { - ToggleRef toggle_ref = Objects [o] as ToggleRef; - if (toggle_ref != null && toggle_ref.IsAlive) - obj = toggle_ref.Target; - } + public static Object GetObject(IntPtr o, bool owned_ref) + { + if (o == IntPtr.Zero) + return null; - if (obj != null && obj.Handle == o) { - if (owned_ref) - g_object_unref (obj.Handle); - return obj; - } + Object obj; - if (!owned_ref) - g_object_ref (o); + if (PointerWrapper.TryGetObject (o, out obj) && obj.Handle == o) + return obj; - obj = GLib.ObjectManager.CreateObject(o); + obj = GLib.ObjectManager.CreateObject (o); if (obj == null) { g_object_unref (o); return null; } + if (owned_ref) + g_object_unref (o); return obj; } @@ -148,7 +109,7 @@ private static void ConnectDefaultHandlers (GType gtype, System.Type t) break; } } - + } private static void InvokeClassInitializers (GType gtype, System.Type t) @@ -164,106 +125,76 @@ private static void InvokeClassInitializers (GType gtype, System.Type t) } 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 { + static Dictionary properties; + static Dictionary Properties { get { if (properties == null) - properties = new Hashtable (); + properties = new Dictionary (IntPtrEqualityComparer.Instance); return properties; } } - struct GTypeClass { - IntPtr gtype; - } + [DllImport ("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern void gtksharp_override_property_handlers (IntPtr type, GetPropertyDelegate get_cb, SetPropertyDelegate set_cb); - struct GObjectClass { - GTypeClass type_class; - IntPtr construct_props; - IntPtr constructor_cb; - public SetPropertyDelegate set_prop_cb; - public GetPropertyDelegate get_prop_cb; - IntPtr dispose; - IntPtr finalize; - IntPtr dispatch_properties_changed; - IntPtr notify; - IntPtr constructed; - IntPtr dummy1; - IntPtr dummy2; - IntPtr dummy3; - IntPtr dummy4; - IntPtr dummy5; - IntPtr dummy6; - IntPtr dummy7; - } - - static void OverridePropertyHandlers (GType gtype, GetPropertyDelegate get_cb, SetPropertyDelegate set_cb) - { - IntPtr class_ptr = gtype.ClassPtr; - GObjectClass klass = (GObjectClass) Marshal.PtrToStructure (class_ptr, typeof (GObjectClass)); - klass.get_prop_cb = get_cb; - klass.set_prop_cb = set_cb; - Marshal.StructureToPtr (klass, class_ptr, false); - } - - [DllImport("libgobject-2.0-0.dll")] - static extern void g_object_class_install_property (IntPtr klass, uint prop_id, IntPtr param_spec); - - static IntPtr RegisterProperty (GType type, string name, string nick, string blurb, uint property_id, GType property_type, bool can_read, bool can_write) - { - IntPtr declaring_class = type.ClassPtr; - ParamSpec pspec = new ParamSpec (name, nick, blurb, property_type, can_read, can_write); - - g_object_class_install_property (declaring_class, property_id, pspec.Handle); - return pspec.Handle; - } + [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) { - OverridePropertyHandlers (gtype, GetPropertyHandler, SetPropertyHandler); + gtksharp_override_property_handlers (gtype.Val, GetPropertyHandler, SetPropertyHandler); handlers_overridden = true; } - try { - IntPtr param_spec = RegisterProperty (gtype, property_attr.Name, property_attr.Nickname, property_attr.Blurb, idx, (GType) pinfo.PropertyType, pinfo.CanRead, pinfo.CanWrite); - Properties.Add (param_spec, pinfo); - idx++; - } catch (ArgumentException) { + 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++; } } } - - [GLib.CDeclCallback] + + [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]); + value.Val = (Properties [param_spec] as PropertyInfo).GetValue (obj); } static GetPropertyDelegate get_property_handler; @@ -275,13 +206,13 @@ static GetPropertyDelegate GetPropertyHandler { } } - [GLib.CDeclCallback] + [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]); + (Properties [param_spec] as PropertyInfo).SetValue (obj, value.Val); } static SetPropertyDelegate set_property_handler; @@ -293,7 +224,7 @@ static SetPropertyDelegate SetPropertyHandler { } } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -304,23 +235,59 @@ static void AddInterfaces (GType gtype, Type t) 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); } } - protected internal static GType RegisterGType (System.Type t) + [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 gtype = GType.RegisterGObjectType (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 ()); @@ -328,7 +295,25 @@ protected GType LookupGType () protected internal static GType LookupGType (System.Type t) { - return GType.LookupGObjectType (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) @@ -338,10 +323,10 @@ protected Object (IntPtr raw) protected Object () { - CreateNativeObject (new string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty ()); } - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_new (IntPtr gtype, IntPtr dummy); [Obsolete] @@ -350,48 +335,59 @@ protected Object (GType gtype) Raw = g_object_new (gtype.Val, IntPtr.Zero); } - struct GParameter { - public IntPtr name; - public GLib.Value val; + [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); } - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_object_newv (IntPtr gtype, int n_params, GParameter[] parms); + protected void CreateNativeObject (string [] names, GLib.Value [] vals, int count) + { + IntPtr [] native_names = count == 0 ? Array.Empty () : new IntPtr[count]; + for (int i = 0; i < count; i++) + native_names [i] = GLib.Marshaller.StringToPtrGStrdup (names [i]); + CreateNativeObject (native_names, vals, count); + } - protected virtual void CreateNativeObject (string[] names, GLib.Value[] vals) + protected void CreateNativeObject (IntPtr [] native_names, GLib.Value [] vals, int count) { - GParameter[] parms = new GParameter [names.Length]; - for (int i = 0; i < names.Length; i++) { - parms [i].name = GLib.Marshaller.StringToPtrGStrdup (names [i]); - parms [i].val = vals [i]; + owned = true; + 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 (); + } + } + + [DllImport ("glibsharpglue-2", CallingConvention = CallingConvention.Cdecl)] + unsafe static extern IntPtr gtksharp_object_newv (IntPtr gtype, int n_params, IntPtr* names, GLib.Value* vals); + + unsafe protected void CreateNativeObject (IntPtr* native_names, GLib.Value* vals, int count) + { + owned = true; + 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 (); } - Raw = g_object_newv (LookupGType ().Val, parms.Length, parms); - foreach (GParameter p in parms) - GLib.Marshaller.Free (p.name); } protected virtual IntPtr Raw { get { - return handle; + return Handle; } set { - if (handle == value) - return; - - 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; + if (handle != null) { + if (handle.handle == value) + return; + + handle.Dispose (); } + handle = PointerWrapper.Create (this, value); } - } + } public static GLib.GType GType { get { @@ -399,9 +395,12 @@ public static GLib.GType GType { } } + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr gtksharp_get_type_name (IntPtr raw); + protected string TypeName { get { - return NativeType.ToString (); + return Marshaller.Utf8PtrToString (gtksharp_get_type_name (Raw)); } } @@ -411,21 +410,28 @@ internal GLib.GType NativeType { } } + internal void FreeSignals () + { + if (handle != null) + handle.tref.FreeSignals (); + } + internal ToggleRef ToggleRef { get { - return tref; + return handle != null ? handle.tref : null; } } public IntPtr Handle { get { - return handle; + return handle != null ? handle.handle : IntPtr.Zero; } } + [DebuggerBrowsable (DebuggerBrowsableState.Never)] public IntPtr OwnedHandle { get { - return g_object_ref (handle); + return g_object_ref (Handle); } } @@ -469,10 +475,10 @@ protected EventHandlerList AfterHandlers { } } - [CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void NotifyDelegate (IntPtr handle, IntPtr pspec, IntPtr gch); - void NotifyCallback (IntPtr handle, IntPtr pspec, IntPtr gch) + static void NotifyCallback (IntPtr handle, IntPtr pspec, IntPtr gch) { try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; @@ -527,10 +533,10 @@ public override int GetHashCode () } public Hashtable Data { - get { + get { if (data == null) data = new Hashtable (); - + return data; } } @@ -540,24 +546,24 @@ protected Hashtable PersistentData { get { if (persistent_data == null) persistent_data = new Hashtable (); - + return persistent_data; } } - [DllImport("libgobject-2.0-0.dll")] + [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) { - Value val = new Value (this, 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")] + [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) @@ -567,7 +573,7 @@ protected void SetProperty (string name, GLib.Value val) GLib.Marshaller.Free (native_name); } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -577,42 +583,43 @@ protected void Notify (string property_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) { - Signal.OverrideDefaultHandler (gtype, name, 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")] + [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("libgobject-2.0-0.dll")] - static extern bool g_type_check_instance_is_a (IntPtr obj, IntPtr gtype); + + [DllImport ("libgobject-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + unsafe protected static extern void g_signal_chain_from_overridden (GLib.Value* 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 g_type_check_instance_is_a (obj, GType.Object.Val); + return gtksharp_is_object (obj); } - struct GTypeInstance { - public IntPtr g_class; - } - - struct GObject { - public GTypeInstance type_instance; - public uint ref_count; - public IntPtr qdata; - } + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int gtksharp_object_get_ref_count (IntPtr obj); protected int RefCount { get { - GObject native = (GObject) Marshal.PtrToStructure (Handle, typeof (GObject)); - return (int) native.ref_count; + return gtksharp_object_get_ref_count (Handle); } } internal void Harden () { - tref.Harden (); + handle.tref.Harden (); } static Object () diff --git a/glib/ObjectManager.cs b/glib/ObjectManager.cs index 5e8022123..fe233308d 100644 --- a/glib/ObjectManager.cs +++ b/glib/ObjectManager.cs @@ -42,7 +42,7 @@ public static GLib.Object CreateObject (IntPtr raw) GLib.Object obj; try { - obj = Activator.CreateInstance (type, flags, null, new object[] {raw}, null) as GLib.Object; + obj = FastActivator.CreateObject (raw, type); } 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."); } @@ -69,9 +69,7 @@ public static void RegisterType (GType native_type, System.Type type) static Type GetTypeOrParent (IntPtr obj) { - IntPtr typeid = GType.ValFromInstancePtr (obj); - if (typeid == GType.Invalid.Val) - return null; + IntPtr typeid = gtksharp_get_type_id (obj); Type result = GType.LookupType (typeid); while (result == null) { @@ -83,7 +81,10 @@ static Type GetTypeOrParent (IntPtr obj) return result; } - [DllImport("libgobject-2.0-0.dll")] + [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); } } diff --git a/glib/Opaque.cs b/glib/Opaque.cs index 4258d56b6..f4c7d2395 100644 --- a/glib/Opaque.cs +++ b/glib/Opaque.cs @@ -28,7 +28,9 @@ namespace GLib { using System; using System.Collections; + using System.Collections.Generic; using System.ComponentModel; + using System.Diagnostics; using System.Runtime.InteropServices; public class Opaque : IWrapper, IDisposable { @@ -44,13 +46,13 @@ public static Opaque GetOpaque (IntPtr o) public static Opaque GetOpaque (IntPtr o, Type type, bool owned) { - Opaque opaque = (Opaque)Activator.CreateInstance (type, new object[] { o }); + Opaque opaque = FastActivator.CreateOpaque (o, type); if (owned) { - if (opaque.owned) { + if (opaque.Owned) { // The constructor took a Ref it shouldn't have, so undo it opaque.Unref (o); } - opaque.owned = true; + opaque.Owned = true; } else opaque = opaque.Copy (o); @@ -64,6 +66,7 @@ public Opaque () public Opaque (IntPtr raw) { + GC.SuppressFinalize (this); owned = false; Raw = raw; } @@ -83,11 +86,37 @@ protected IntPtr Raw { Ref (_obj); } } - } + } + + static object lockObject = new object (); + static List PendingFrees = new List (); + static bool idleQueued; + + static TimeoutHandler PerformQueuedFreesHandler = PerformQueuedFrees; + static bool PerformQueuedFrees () + { + List references; + lock (lockObject) { + references = PendingFrees; + PendingFrees = new List (); + idleQueued = false; + } + + foreach (var opaque in references) + opaque.Raw = IntPtr.Zero; + + return false; + } ~Opaque () { - Dispose (); + lock (lockObject) { + PendingFrees.Add (this); + if (!idleQueued) { + idleQueued = true; + Timeout.Add (50, PerformQueuedFreesHandler); + } + } } public virtual void Dispose () @@ -113,6 +142,7 @@ public IntPtr Handle { } } + [DebuggerBrowsable(DebuggerBrowsableState.Never)] public IntPtr OwnedCopy { get { Opaque result = Copy (Handle); @@ -126,6 +156,13 @@ public bool Owned { return owned; } set { + if (owned == value) + return; + + if (value) + GC.ReRegisterForFinalize (this); + else + GC.SuppressFinalize (this); owned = value; } } diff --git a/glib/ParamSpec.cs b/glib/ParamSpec.cs deleted file mode 100644 index 885b83786..000000000 --- a/glib/ParamSpec.cs +++ /dev/null @@ -1,185 +0,0 @@ -// ParamSpec.cs - GParamSpec class wrapper implementation -// -// 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.Runtime.InteropServices; - - internal enum ParamFlags { - None = 0, - Readable = 1 << 0, - Writable = 1 << 1, - } - - internal class ParamSpec { - - IntPtr handle; - - public ParamSpec (string name, string nick, string blurb, GType type, bool readable, bool writable) - { - ParamFlags pflags = ParamFlags.None; - if (readable) pflags |= ParamFlags.Readable; - if (writable) pflags |= ParamFlags.Writable; - int flags = (int) pflags; - - IntPtr p_name = GLib.Marshaller.StringToPtrGStrdup (name); - IntPtr p_nick = GLib.Marshaller.StringToPtrGStrdup (nick); - IntPtr p_blurb = GLib.Marshaller.StringToPtrGStrdup (blurb); - - if (type == GType.Char) - handle = g_param_spec_char (p_name, p_nick, p_blurb, SByte.MinValue, SByte.MaxValue, 0, flags); - else if (type == GType.UChar) - handle = g_param_spec_uchar (p_name, p_nick, p_blurb, Byte.MinValue, Byte.MaxValue, 0, flags); - else if (type == GType.Boolean) - handle = g_param_spec_boolean (p_name, p_nick, p_blurb, false, flags); - else if (type == GType.Int) - handle = g_param_spec_int (p_name, p_nick, p_blurb, Int32.MinValue, Int32.MaxValue, 0, flags); - else if (type == GType.UInt) - handle = g_param_spec_uint (p_name, p_nick, p_blurb, 0, UInt32.MaxValue, 0, flags); - else if (type == GType.Long) - handle = g_param_spec_long (p_name, p_nick, p_blurb, IntPtr.Zero, IntPtr.Size == 4 ? new IntPtr (Int32.MaxValue) : new IntPtr (Int64.MaxValue), IntPtr.Zero, flags); - else if (type == GType.ULong) - handle = g_param_spec_ulong (p_name, p_nick, p_blurb, UIntPtr.Zero, UIntPtr.Size == 4 ? new UIntPtr (UInt32.MaxValue) : new UIntPtr (UInt64.MaxValue), UIntPtr.Zero, flags); - else if (type == GType.Int64) - handle = g_param_spec_int64 (p_name, p_nick, p_blurb, Int64.MinValue, Int64.MaxValue, 0, flags); - else if (type == GType.UInt64) - handle = g_param_spec_uint64 (p_name, p_nick, p_blurb, 0, UInt64.MaxValue, 0, flags); - /* - else if (type == GType.Enum) - else if (type == GType.Flags) - * TODO: - * Both g_param_spec_enum and g_param_spec_flags expect default property values and the members of the enum seemingly cannot be enumerated - */ - else if (type == GType.Float) - handle = g_param_spec_float (p_name, p_nick, p_blurb, Single.MinValue, Single.MaxValue, 0.0f, flags); - else if (type == GType.Double) - handle = g_param_spec_double (p_name, p_nick, p_blurb, Double.MinValue, Double.MaxValue, 0.0, flags); - else if (type == GType.String) - handle = g_param_spec_string (p_name, p_nick, p_blurb, IntPtr.Zero, flags); - else if (type == GType.Pointer) - handle = g_param_spec_pointer (p_name, p_nick, p_blurb, flags); - else if (type.Val == g_gtype_get_type ()) - handle = g_param_spec_gtype (p_name, p_nick, p_blurb, GType.None.Val, flags); - else if (g_type_is_a (type.Val, GType.Boxed.Val)) - handle = g_param_spec_boxed (p_name, p_nick, p_blurb, type.Val, flags); - else if (g_type_is_a (type.Val, GType.Object.Val)) - handle = g_param_spec_object (p_name, p_nick, p_blurb, type.Val, flags); - else - throw new ArgumentException ("type"); - - GLib.Marshaller.Free (p_name); - GLib.Marshaller.Free (p_nick); - GLib.Marshaller.Free (p_blurb); - } - - public ParamSpec (IntPtr native) - { - handle = native; - } - - public IntPtr Handle { - get { return handle; } - } - - public GType ValueType { - get { - GParamSpec spec = (GParamSpec) Marshal.PtrToStructure (Handle, typeof (GParamSpec)); - return new GType (spec.value_type); - } - } - - struct GTypeInstance { - IntPtr g_class; - } - - struct GParamSpec { - GTypeInstance g_type_instance; - - IntPtr name; - ParamFlags flags; - public IntPtr value_type; - IntPtr owner_type; - - IntPtr _nick; - IntPtr _blurb; - IntPtr qdata; - uint ref_count; - uint param_id; - } - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_char (IntPtr name, IntPtr nick, IntPtr blurb, sbyte min, sbyte max, sbyte dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_uchar (IntPtr name, IntPtr nick, IntPtr blurb, byte min, byte max, byte dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_boolean (IntPtr name, IntPtr nick, IntPtr blurb, bool dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_int (IntPtr name, IntPtr nick, IntPtr blurb, int min, int max, int dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_uint (IntPtr name, IntPtr nick, IntPtr blurb, uint min, uint max, uint dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_long (IntPtr name, IntPtr nick, IntPtr blurb, IntPtr min, IntPtr max, IntPtr dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_ulong (IntPtr name, IntPtr nick, IntPtr blurb, UIntPtr min, UIntPtr max, UIntPtr dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_int64 (IntPtr name, IntPtr nick, IntPtr blurb, long min, long max, long dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_uint64 (IntPtr name, IntPtr nick, IntPtr blurb, ulong min, ulong max, ulong dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_float (IntPtr name, IntPtr nick, IntPtr blurb, float min, float max, float dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_double (IntPtr name, IntPtr nick, IntPtr blurb, double min, double max, double dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_string (IntPtr name, IntPtr nick, IntPtr blurb, IntPtr dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_pointer (IntPtr name, IntPtr nick, IntPtr blurb, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_gtype (IntPtr name, IntPtr nick, IntPtr blurb, IntPtr dval, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_boxed (IntPtr name, IntPtr nick, IntPtr blurb, IntPtr return_type, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_param_spec_object (IntPtr name, IntPtr nick, IntPtr blurb, IntPtr return_type, int flags); - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_gtype_get_type (); - - [DllImport("libgobject-2.0-0.dll")] - static extern bool g_type_is_a (IntPtr a, IntPtr b); - - } -} - diff --git a/glib/PointerWrapper.cs b/glib/PointerWrapper.cs new file mode 100644 index 000000000..e3e3dc7a1 --- /dev/null +++ b/glib/PointerWrapper.cs @@ -0,0 +1,129 @@ +// SafeObjectHandle.cs - SafeHandle implementation for GObject +// +// Authors: Marius Ungureanu +// +// Copyright (c) 2017-2017 Microsoft, 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.Collections.Generic; + +namespace GLib +{ + class PointerWrapper : IDisposable + { + internal ToggleRef tref; + internal IntPtr handle; + + static Action ObjectCreated; + static Action ObjectDestroyed; + + static readonly Dictionary Objects = new Dictionary (IntPtrEqualityComparer.Instance); + + protected PointerWrapper (IntPtr handle) + { + this.handle = handle; + } + + internal static PointerWrapper Create (Object obj, IntPtr handle) + { + if (handle == IntPtr.Zero) + return null; + + PointerWrapper safeHandle; + safeHandle = new PointerWrapper (handle); + safeHandle.tref = new ToggleRef (obj, handle); + + lock (Objects) + Objects [handle] = safeHandle.tref; + + if (ObjectCreated != null) + ObjectCreated.Invoke (handle); + + return safeHandle; + } + + internal static bool TryGetObject (IntPtr o, out Object obj) + { + bool ret; + ToggleRef tr; + + lock (Objects) + ret = Objects.TryGetValue (o, out tr); + + obj = ret ? tr.Target : null; + return obj != null; + } + + static List PendingDestroys = new List (); + static readonly object lockObject = new object (); + static bool idle_queued; + + static TimeoutHandler PerformQueuedUnrefsHandler = PerformQueuedUnrefs; + static bool PerformQueuedUnrefs () + { + List references; + + lock (lockObject) { + references = PendingDestroys; + PendingDestroys = new List(); + idle_queued = false; + } + + foreach (ToggleRef r in references) + r.Free(); + + return false; + } + + #region IDisposable + ~PointerWrapper () + { + lock (Objects) + Objects.Remove (handle); + + if (ObjectDestroyed != null) + ObjectDestroyed.Invoke (handle); + + lock (lockObject) { + if (tref != null) { + PendingDestroys.Add (tref); + if (!idle_queued) { + Timeout.Add (50, PerformQueuedUnrefsHandler); + idle_queued = true; + } + } + } + } + + public void Dispose () + { + if (handle == IntPtr.Zero) + return; + + GC.SuppressFinalize (this); + lock (Objects) + Objects.Remove (handle); + + if (ObjectDestroyed != null) + ObjectDestroyed.Invoke (handle); + + handle = IntPtr.Zero; + tref.Free (); + } + #endregion + } +} diff --git a/glib/PtrArray.cs b/glib/PtrArray.cs index f3371989b..0659e8c76 100644 --- a/glib/PtrArray.cs +++ b/glib/PtrArray.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -31,8 +31,9 @@ public class PtrArray : IDisposable, ICollection, ICloneable, IWrapper { 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")] + [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) @@ -43,7 +44,7 @@ public PtrArray (uint n_preallocs, System.Type element_type, bool owned, bool el this.elements_owned = elements_owned; } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -54,15 +55,19 @@ public PtrArray (System.Type element_type, bool owned, bool elements_owned) this.elements_owned = elements_owned; } - internal PtrArray (IntPtr raw, System.Type element_type, bool owned, bool 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, GFreeFunc) + { } public PtrArray (IntPtr raw, System.Type element_type) : this (raw, element_type, false, false) {} - + public PtrArray (IntPtr raw) : this (raw, null) {} ~PtrArray () @@ -77,15 +82,24 @@ public void Dispose () GC.SuppressFinalize (this); } - [DllImport("libgobject-2.0-0.dll")] + [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")] + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr item); - [DllImport ("libglib-2.0-0.dll")] + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_free (IntPtr item); + static ListElementFree gFreeFunc; + protected static ListElementFree GFreeFunc { + get { + if (gFreeFunc == null) + gFreeFunc = new ListElementFree (g_free); ; + return gFreeFunc; + } + } + void Dispose (bool disposing) { if (Handle == IntPtr.Zero) @@ -98,8 +112,8 @@ void Dispose (bool disposing) g_object_unref (NthData (i)); else if (typeof (GLib.Opaque).IsAssignableFrom (element_type)) GLib.Opaque.GetOpaque (NthData (i), element_type, true).Dispose (); - else - g_free (NthData (i)); + else + free_func (NthData (i)); } if (managed) @@ -114,13 +128,16 @@ public IntPtr Handle { } } + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr gtksharp_ptr_array_get_array (IntPtr raw); + public IntPtr ArrayPtr { get { - return Marshal.ReadIntPtr (Handle); + return gtksharp_ptr_array_get_array (Handle); } } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -128,7 +145,7 @@ public void Add (IntPtr val) g_ptr_array_add (Handle, val); } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -136,7 +153,7 @@ public void Remove (IntPtr data) g_ptr_array_remove (Handle, data); } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -144,20 +161,20 @@ public void RemoveRange (IntPtr data, uint index, uint length) g_ptr_array_remove_range (Handle, index, length); } - struct GPtrArray { - IntPtr pdata; - public uint len; - } + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int gtksharp_ptr_array_get_count (IntPtr raw); // ICollection public int Count { get { - GPtrArray native = (GPtrArray) Marshal.PtrToStructure (Handle, typeof (GPtrArray)); - return (int) native.len; + return gtksharp_ptr_array_get_count (Handle); } } - public object this [int index] { + [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; @@ -166,7 +183,7 @@ public object this [int index] { } } - internal object DataMarshal (IntPtr data) + internal object DataMarshal (IntPtr data) { object ret = null; if (element_type != null) { @@ -193,7 +210,7 @@ internal object DataMarshal (IntPtr data) internal IntPtr NthData (uint index) { - return Marshal.ReadIntPtr (ArrayPtr, (int) index * IntPtr.Size);; + return gtksharp_ptr_array_get_nth (Handle, index);; } // Synchronization could be tricky here. Hmm. @@ -215,7 +232,7 @@ public void CopyTo (Array array, int index) 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]; } @@ -253,14 +270,14 @@ public void Reset () current = -1; } } - + // IEnumerable public IEnumerator GetEnumerator () { return new ListEnumerator (this); } - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_ptr_array_copy (IntPtr raw); // ICloneable diff --git a/glib/SList.cs b/glib/SList.cs index 198bc3de4..f6aef4389 100644 --- a/glib/SList.cs +++ b/glib/SList.cs @@ -26,7 +26,7 @@ namespace GLib { public class SList : ListBase { - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_slist_copy (IntPtr l); public override object Clone () @@ -34,7 +34,7 @@ public override object Clone () return new SList (g_slist_copy (Handle)); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int g_slist_length (IntPtr l); internal override int Length (IntPtr list) @@ -42,7 +42,7 @@ internal override int Length (IntPtr list) return g_slist_length (list); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_slist_free(IntPtr l); internal override void Free (IntPtr list) @@ -51,7 +51,7 @@ internal override void Free (IntPtr list) g_slist_free (list); } - [DllImport("libglib-2.0-0.dll")] + [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) @@ -59,7 +59,7 @@ internal override IntPtr Append (IntPtr list, IntPtr raw) return g_slist_append (list, raw); } - [DllImport("libglib-2.0-0.dll")] + [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) @@ -68,7 +68,7 @@ internal override IntPtr Prepend (IntPtr list, IntPtr raw) } - [DllImport("libglib-2.0-0.dll")] + [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) @@ -76,13 +76,20 @@ 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, false, false) {} + public SList (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) : base (raw, element_type, owned, elements_owned, GFreeFunc) { } + + 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) { diff --git a/glib/Signal.cs b/glib/Signal.cs index e8038c258..467867466 100644 --- a/glib/Signal.cs +++ b/glib/Signal.cs @@ -6,7 +6,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -32,7 +32,7 @@ public enum ConnectFlags { Swapped = 1 << 1, } - public class Signal { + public partial class Signal { [Flags] public enum Flags { @@ -52,18 +52,7 @@ public struct InvocationHint { public Flags run_type; } - [StructLayout (LayoutKind.Sequential)] - struct Query { - public uint signal_id; - public IntPtr signal_name; - public IntPtr itype; - public Flags signal_flags; - public IntPtr return_type; - public uint n_params; - public IntPtr param_types; - } - - [CDeclCallback] + [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); @@ -92,11 +81,13 @@ public EmissionHookMarshaler (EmissionHookNative callback, IntPtr user_data) bool NativeCallback (ref InvocationHint hint, uint n_pvals, IntPtr pvals_ptr, IntPtr data) { object[] pvals = new object [n_pvals]; - for (int i = 0; i < n_pvals; i++) { - IntPtr p = new IntPtr ((long) pvals_ptr + i * Marshal.SizeOf (typeof (Value))); - Value v = (Value) Marshal.PtrToStructure (p, typeof (Value)); - pvals [i] = v.Val; + + unsafe { + Value* vals = (Value *)pvals_ptr; + for (int i = 0; i < n_pvals; ++i) + pvals [i] = vals [i].Val; } + bool result = handler (hint, pvals); if (!result) gch.Free (); @@ -112,18 +103,19 @@ public EmissionHookNative Callback { 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); + unsafe + { + Value* vals = stackalloc Value [pvals.Length]; + for (int i = 0; i < pvals.Length; i++) { + vals [i] = new Value (pvals [i]); + } + + bool result = cb (ref ihint, (uint)pvals.Length, (IntPtr)vals, user_data); + + for (int i = 0; i < pvals.Length; ++i) + vals[i].Dispose (); + return result; } - 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 { @@ -158,35 +150,43 @@ private Signal (GLib.Object obj, string signal_name, Type args_type) internal void Free () { - if (before_closure != null) - before_closure.Dispose (); - if (after_closure != null) - after_closure.Dispose (); + if (before_closure != null) { + before_closure.Dispose(); + before_closure = null; + } + if (after_closure != null) { + after_closure.Dispose(); + after_closure = null; + } GC.SuppressFinalize (this); } - void ClosureDisposedCB (object o, EventArgs args) + static void ClosureDisposedCB (object o, EventArgs args) { - if (o == before_closure) { - before_closure.Disposed -= new EventHandler (ClosureDisposedHandler); - before_closure.Invoked -= new ClosureInvokedHandler (ClosureInvokedCB); + var closure = (SignalClosure)o; + var signal = closure.signal; + var tref = signal.tref; + var name = signal.name; + + closure.Disposed -= ClosureDisposedHandler; + closure.Invoked -= ClosureInvokedHandler; + + if (closure == signal.before_closure) { if (tref.Target != null) tref.Target.BeforeSignals.Remove (name); - before_closure = null; - } else if (o == after_closure) { - after_closure.Disposed -= new EventHandler (ClosureDisposedHandler); - after_closure.Invoked -= new ClosureInvokedHandler (ClosureInvokedCB); + signal.before_closure = null; + } else { if (tref.Target != null) tref.Target.AfterSignals.Remove (name); - after_closure = null; + signal.after_closure = null; } - if (before_closure == null && after_closure == null) - tref.Signals.Remove (name); + if (signal.before_closure == null && signal.after_closure == null) + tref.RemoveSignal (name); } - EventHandler closure_disposed_cb; - EventHandler ClosureDisposedHandler { + static EventHandler closure_disposed_cb; + static EventHandler ClosureDisposedHandler { get { if (closure_disposed_cb == null) closure_disposed_cb = new EventHandler (ClosureDisposedCB); @@ -194,20 +194,21 @@ EventHandler ClosureDisposedHandler { } } - void ClosureInvokedCB (object o, ClosureInvokedArgs args) + static void ClosureInvokedCB (object o, ClosureInvokedArgs args) { + var closure = (SignalClosure)o; Delegate handler; - if (o == before_closure) - handler = args.Target.BeforeSignals [name] as Delegate; + if (closure == closure.signal.before_closure) + handler = args.Target.BeforeSignals [closure.signal.name] as Delegate; else - handler = args.Target.AfterSignals [name] as Delegate; + handler = args.Target.AfterSignals [closure.signal.name] as Delegate; if (handler != null) - handler.DynamicInvoke (new object[] {args.Target, args.Args}); + handler.DynamicInvoke (new object [] { args.Target, args.Args }); } - ClosureInvokedHandler closure_invoked_cb; - ClosureInvokedHandler ClosureInvokedHandler { + static ClosureInvokedHandler closure_invoked_cb; + static ClosureInvokedHandler ClosureInvokedHandler { get { if (closure_invoked_cb == null) closure_invoked_cb = new ClosureInvokedHandler (ClosureInvokedCB); @@ -239,11 +240,14 @@ public static Signal Lookup (GLib.Object obj, string name, Type args_type) 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; + unsafe + { + InvocationHint *hint = (InvocationHint*)g_signal_get_invocation_hint (tref.Handle); + if (hint->run_type == Flags.RunFirst) + return tref.Target.BeforeSignals [name] as Delegate; + else + return tref.Target.AfterSignals [name] as Delegate; + } } } @@ -256,9 +260,9 @@ public void AddDelegate (Delegate d) 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 = new SignalClosure (this); else - before_closure = new SignalClosure (tref.Handle, name, marshaler, this); + before_closure = new SignalClosure (this, marshaler); before_closure.Disposed += ClosureDisposedHandler; before_closure.Invoked += ClosureInvokedHandler; before_closure.Connect (false); @@ -267,9 +271,9 @@ public void AddDelegate (Delegate d) 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); + after_closure = new SignalClosure (this); else - after_closure = new SignalClosure (tref.Handle, name, marshaler, this); + after_closure = new SignalClosure (this, marshaler); after_closure.Disposed += ClosureDisposedHandler; after_closure.Invoked += ClosureInvokedHandler; after_closure.Connect (true); @@ -282,15 +286,23 @@ 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) { + bool before = d.Method.IsDefined (typeof (ConnectBeforeAttribute), false); + Hashtable hash = before ? tref.Target.BeforeSignals : tref.Target.AfterSignals; + + Delegate del = Delegate.Remove (hash [name] as Delegate, d); + if (del != null) { + hash [name] = del; + return; + } + + hash.Remove (name); + if (before) { + if (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) { + if (after_closure != null) { after_closure.Dispose (); after_closure = null; } @@ -312,7 +324,7 @@ private static void ParseSignalDetail (string signal_detail, out string signal_n 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; @@ -321,33 +333,31 @@ public static object Emit (GLib.Object instance, string detailed_signal, params 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]); + unsafe + { + int valsLength = args.Length + 1; + GLib.Value *vals = stackalloc GLib.Value [valsLength]; + + vals [0] = new GLib.Value (instance); + for (int i = 1; i < valsLength; i++) + vals [i] = new GLib.Value (args [i - 1]); + + object ret_obj = null; + if (glibsharp_signal_get_return_type (signal_id) != GType.None.Val) { + GLib.Value ret = GLib.Value.Empty; + g_signal_emitv (vals, signal_id, gquark, ref ret); + ret_obj = ret.Val; + ret.Dispose (); + } else + g_signal_emitv (vals, signal_id, gquark, IntPtr.Zero); + + for (int i = 0; i < valsLength; ++i) + vals[i].Dispose (); + + return ret_obj; } - - object ret_obj = null; - Query query; - g_signal_query (signal_id, out query); - if (query.return_type != 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); @@ -357,10 +367,10 @@ private static uint GetGQuarkFromString (string str) { private static uint GetSignalId (string signal_name, GLib.Object obj) { - IntPtr typeid = GType.ValFromInstancePtr (obj.Handle); + 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); @@ -368,7 +378,7 @@ private static uint GetSignalId (string signal_name, IntPtr typeid) GLib.Marshaller.Free (native_name); return signal_id; } - + public static ulong AddEmissionHook (string detailed_signal, GLib.GType type, EmissionHook handler_func) { uint gquark; @@ -379,43 +389,31 @@ public static ulong AddEmissionHook (string detailed_signal, GLib.GType type, Em 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); } - - internal static void OverrideDefaultHandler (GType gtype, string name, Delegate cb) - { - IntPtr closure = g_cclosure_new (cb, IntPtr.Zero, IntPtr.Zero); - gtype.EnsureClass (); - uint id = GetSignalId (name, gtype.Val); - g_signal_override_class_closure (id, gtype.Val, closure); - } - - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_cclosure_new (Delegate cb, IntPtr data, IntPtr notify); - [DllImport("libgobject-2.0-0.dll")] + [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")] - 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")] - static extern void g_signal_emitv (IntPtr instance_and_params, uint signal_id, uint gquark_detail, IntPtr return_value); - - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + unsafe static extern void g_signal_emitv (GLib.Value* instance_and_params, uint signal_id, uint gquark_detail, ref GLib.Value return_value); + + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + unsafe static extern void g_signal_emitv (GLib.Value* 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); - - [DllImport("libgobject-2.0-0.dll")] - static extern void g_signal_override_class_closure (uint id, IntPtr gtype, IntPtr closure); - - [DllImport("libgobject-2.0-0.dll")] - static extern void g_signal_query (uint signal_id, out Query query); //better not to expose g_quark_from_static_string () due to memory allocation issues - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_quark_from_string (IntPtr str); - - [DllImport("libgobject-2.0-0.dll")] + + [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); } } - diff --git a/glib/SignalCallback.cs b/glib/SignalCallback.cs index 1daa04dcb..8eadecf57 100644 --- a/glib/SignalCallback.cs +++ b/glib/SignalCallback.cs @@ -23,6 +23,7 @@ namespace GLib { using System; using System.Collections; + using System.Collections.Generic; using System.Runtime.InteropServices; [Obsolete ("Replaced by GLib.Signal.")] @@ -32,7 +33,7 @@ public abstract class SignalCallback : IDisposable { protected static int _NextKey = 0; // Hashtable containing refs to all current instances. - protected static Hashtable _Instances = new Hashtable (); + protected static Dictionary _Instances = new Dictionary (); // protected instance members protected GLib.Object _obj; @@ -60,7 +61,7 @@ public void RemoveDelegate (Delegate d) _handler = Delegate.Remove (_handler, d); } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -70,10 +71,10 @@ protected void Connect (string name, Delegate cb, int flags) Marshaller.Free (native_name); } - [DllImport("libgobject-2.0-0.dll")] + [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")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_signal_handler_is_connected (IntPtr instance, uint handler); protected void Disconnect () diff --git a/glib/SignalClosure.cs b/glib/SignalClosure.cs index 8402d09db..23400b7b2 100644 --- a/glib/SignalClosure.cs +++ b/glib/SignalClosure.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -23,13 +23,13 @@ namespace GLib { using System; using System.Collections; + using System.Collections.Generic; using System.Runtime.InteropServices; internal class ClosureInvokedArgs : EventArgs { EventArgs args; GLib.Object obj; - object result; public ClosureInvokedArgs (GLib.Object obj, EventArgs args) { @@ -50,178 +50,154 @@ public GLib.Object Target { } } - struct GClosure { - long fields; - IntPtr marshaler; - IntPtr data; - IntPtr notifiers; - } - internal delegate void ClosureInvokedHandler (object o, ClosureInvokedArgs args); - internal class SignalClosure : IDisposable { - - IntPtr handle; - IntPtr raw_closure; - string name; - uint id = UInt32.MaxValue; - System.Type args_type; - Delegate custom_marshaler; - GCHandle gch; - - static Hashtable closures = new Hashtable (); - - public SignalClosure (IntPtr obj, string signal_name, System.Type args_type) - { - raw_closure = g_closure_new_simple (Marshal.SizeOf (typeof (GClosure)), IntPtr.Zero); - g_closure_set_marshal (raw_closure, Marshaler); - g_closure_add_finalize_notifier (raw_closure, IntPtr.Zero, Notify); - closures [raw_closure] = this; - handle = obj; - name = signal_name; - this.args_type = args_type; - } - - public SignalClosure (IntPtr obj, string signal_name, Delegate custom_marshaler, Signal signal) - { - gch = GCHandle.Alloc (signal); - raw_closure = g_cclosure_new (custom_marshaler, (IntPtr) gch, Notify); - closures [raw_closure] = this; - handle = obj; - name = signal_name; - this.custom_marshaler = custom_marshaler; - } - - public event EventHandler Disposed; - public event ClosureInvokedHandler Invoked; - - public void Connect (bool is_after) + public partial class Signal + { + class SignalClosure : IDisposable { - IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); - id = g_signal_connect_closure (handle, native_name, raw_closure, is_after); - GLib.Marshaller.Free (native_name); - } + internal Signal signal; + IntPtr raw_closure; + uint id = UInt32.MaxValue; + GCHandle? gch; + + static Dictionary closures = new Dictionary (IntPtrEqualityComparer.Instance); + + public SignalClosure (Signal sig) + { + raw_closure = glibsharp_closure_new (Marshaler, Notify, IntPtr.Zero); + closures [raw_closure] = this; + signal = sig; + } - public void Disconnect () - { - if (id != UInt32.MaxValue && g_signal_handler_is_connected (handle, id)) - g_signal_handler_disconnect (handle, id); - } + public SignalClosure (Signal sig, Delegate custom_marshaler) + { + gch = GCHandle.Alloc (sig); + raw_closure = g_cclosure_new (custom_marshaler, (IntPtr)gch, Notify); + closures [raw_closure] = this; + signal = sig; + } - public void Dispose () - { - Disconnect (); - closures.Remove (raw_closure); - if (custom_marshaler != null) - gch.Free (); - custom_marshaler = null; - if (Disposed != null) - Disposed (this, EventArgs.Empty); - GC.SuppressFinalize (this); - } + public event EventHandler Disposed; + public event ClosureInvokedHandler Invoked; - public void Invoke (ClosureInvokedArgs args) - { - if (Invoked == null) - return; - Invoked (this, args); - } + public void Connect (bool is_after) + { + IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (signal.name); + id = g_signal_connect_closure (signal.tref.Handle, native_name, raw_closure, is_after); + GLib.Marshaller.Free (native_name); + } - static ClosureMarshal marshaler; - static ClosureMarshal Marshaler { - get { - if (marshaler == null) - marshaler = new ClosureMarshal (MarshalCallback); - return marshaler; + public void Disconnect () + { + if (id != UInt32.MaxValue && g_signal_handler_is_connected (signal.tref.Handle, id)) + g_signal_handler_disconnect (signal.tref.Handle, id); } - } - [CDeclCallback] - delegate void ClosureMarshal (IntPtr closure, IntPtr return_val, uint n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data); + public void Dispose () + { + Disconnect (); + closures.Remove (raw_closure); + if (gch != null) { + gch.Value.Free (); + gch = null; + } + if (Disposed != null) + Disposed (this, EventArgs.Empty); + GC.SuppressFinalize (this); + } - static void MarshalCallback (IntPtr raw_closure, IntPtr return_val, uint n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) - { - string message = String.Empty; - - try { - SignalClosure closure = closures [raw_closure] as SignalClosure; - message = "Marshaling " + closure.name + " signal"; - Value objval = (Value) Marshal.PtrToStructure (param_values, typeof (Value)); - GLib.Object __obj = objval.Val as GLib.Object; - if (__obj == null) + public void Invoke (ClosureInvokedArgs args) + { + if (Invoked == null) return; + Invoked (this, args); + } - if (closure.args_type == typeof (EventArgs)) { - closure.Invoke (new ClosureInvokedArgs (__obj, EventArgs.Empty)); - return; + static ClosureMarshal marshaler; + static ClosureMarshal Marshaler { + get { + if (marshaler == null) { + unsafe + { + marshaler = new ClosureMarshal (MarshalCallback); + } + } + return marshaler; } + } - 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]; - for (int i = 1; i < n_param_vals; i++) { - IntPtr ptr = new IntPtr (param_values.ToInt64 () + i * Marshal.SizeOf (typeof (Value))); - 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 * Marshal.SizeOf (typeof (Value))); - Marshal.StructureToPtr (vals [i - 1], ptr, false); + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + unsafe delegate void ClosureMarshal (IntPtr closure, Value* return_val, uint n_param_vals, Value* param_values, IntPtr invocation_hint, IntPtr marshal_data); + + unsafe static void MarshalCallback (IntPtr raw_closure, Value* return_val, uint n_param_vals, Value* param_values, IntPtr invocation_hint, IntPtr marshal_data) + { + SignalClosure closure = null; + try { + closure = closures [raw_closure] as SignalClosure; + GLib.Object __obj = param_values [0].Val as GLib.Object; + if (__obj == null) + return; + + if (closure.signal.args_type == typeof (EventArgs)) { + closure.Invoke (new ClosureInvokedArgs (__obj, EventArgs.Empty)); + return; + } + + SignalArgs args = FastActivator.CreateSignalArgs (closure.signal.args_type); + args.Args = new object [n_param_vals - 1]; + for (int i = 1; i < n_param_vals; i++) { + args.Args [i - 1] = param_values [i].Val; + } + ClosureInvokedArgs ci_args = new ClosureInvokedArgs (__obj, args); + closure.Invoke (ci_args); + for (int i = 1; i < n_param_vals; i++) { + param_values [i].Update (args.Args [i - 1]); + } + if (return_val == null || args.RetVal == null) + return; + + return_val->Val = args.RetVal; + } catch (Exception e) { + if (closure != null) + Console.WriteLine ("Marshaling {0} signal", closure.signal.name); + ExceptionManager.RaiseUnhandledException (e, 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) { - Console.WriteLine (message); - ExceptionManager.RaiseUnhandledException (e, false); } - } - [CDeclCallback] - delegate void ClosureNotify (IntPtr data, IntPtr closure); + [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; + static void NotifyCallback (IntPtr data, IntPtr raw_closure) + { + SignalClosure closure; + if (closures.TryGetValue (raw_closure, out closure)) + closure.Dispose (); } - } - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_cclosure_new (Delegate cb, IntPtr user_data, ClosureNotify notify); + static ClosureNotify notify_handler; + static ClosureNotify Notify { + get { + if (notify_handler == null) + notify_handler = new ClosureNotify (NotifyCallback); + return notify_handler; + } + } - [DllImport("libgobject-2.0-0.dll")] - static extern IntPtr g_closure_new_simple (int closure_size, IntPtr dummy); - - [DllImport("libgobject-2.0-0.dll")] - static extern void g_closure_set_marshal (IntPtr closure, ClosureMarshal marshaler); + [DllImport ("glibsharpglue-2", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr glibsharp_closure_new (ClosureMarshal marshaler, ClosureNotify notify, IntPtr gch); - [DllImport("libgobject-2.0-0.dll")] - static extern void g_closure_add_finalize_notifier (IntPtr closure, IntPtr dummy, ClosureNotify notify); + [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")] - 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 uint g_signal_connect_closure (IntPtr obj, IntPtr name, IntPtr closure, bool is_after); - [DllImport("libgobject-2.0-0.dll")] - static extern void g_signal_handler_disconnect (IntPtr instance, uint handler); + [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")] - static extern bool g_signal_handler_is_connected (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); + } } } - diff --git a/glib/Source.cs b/glib/Source.cs index afbd020f3..b66957691 100644 --- a/glib/Source.cs +++ b/glib/Source.cs @@ -23,40 +23,47 @@ 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 abstract class SourceProxy { + protected SourceProxy () + { + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + internal delegate bool GSourceFuncInternal (IntPtr ptr); - internal void Remove () + internal static readonly GSourceFuncInternal SourceHandler = HandlerInternal; + static bool HandlerInternal (IntPtr data) { - lock (Source.source_handlers) - Source.source_handlers.Remove (ID); - real_handler = null; - proxy_handler = null; + try { + SourceProxy proxy = (SourceProxy)((GCHandle)data).Target; + return proxy.Invoke (); + } catch (Exception e) { + ExceptionManager.RaiseUnhandledException (e, false); + } + return false; } + + protected abstract bool Invoke (); } public class Source { private Source () {} - internal static Hashtable source_handlers = new Hashtable (); - - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_source_remove (uint tag); public static bool Remove (uint tag) { - lock (Source.source_handlers) - source_handlers.Remove (tag); - return g_source_remove (tag); + return tag == 0 || g_source_remove (tag); } } } diff --git a/glib/Spawn.cs b/glib/Spawn.cs index 9c1166ef8..1427ec10d 100644 --- a/glib/Spawn.cs +++ b/glib/Spawn.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -23,28 +23,28 @@ namespace GLib { using System; using System.Runtime.InteropServices; - + public enum SpawnError { - Fork, + Fork, Read, Chdir, Acces, - Perm, + Perm, TooBig, NoExec, NameTooLong, - NoEnt, - NoMem, - NotDir, - Loop, - TxtBusy, - IO, - NFile, - MFile, - Inval, + NoEnt, + NoMem, + NotDir, + Loop, + TxtBusy, + IO, + NFile, + MFile, + Inval, IsDir, - LibBad, - Failed, + LibBad, + Failed, } [Flags] @@ -60,32 +60,20 @@ public enum SpawnFlags { public delegate void SpawnChildSetupFunc (); - [CDeclCallback] + [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); - } + internal static class SpawnChildSetupWrapper { - public IntPtr Data; - public SpawnChildSetupFuncNative NativeCallback; + public static SpawnChildSetupFuncNative NativeCallback = InvokeHandler; static void InvokeHandler (IntPtr data) { if (data == IntPtr.Zero) return; GCHandle gch = (GCHandle) data; - (gch.Target as SpawnChildSetupWrapper).handler (); + var func = (SpawnChildSetupFunc)gch.Target; + func (); gch.Free (); } } @@ -97,12 +85,12 @@ public class Process { long pid; - private Process (int pid) + private Process (int pid) { this.pid = pid; } - [DllImport ("libglib-2.0-0.dll")] + [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_spawn_close_pid (int pid); public void Close () @@ -110,9 +98,12 @@ public void Close () g_spawn_close_pid ((int) pid); } - [DllImport ("libglib-2.0-0.dll")] + [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; @@ -120,19 +111,28 @@ public static bool SpawnAsync (string working_directory, string[] argv, string[] 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 = g_spawn_async (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, out error); + var data = (IntPtr)GCHandle.Alloc (child_setup); + bool result; + + if (Global.IsWindowsPlatform) + result = g_spawn_async_utf8 (native_dir, native_argv, native_envp, (int) flags, SpawnChildSetupWrapper.NativeCallback, data, out pid, out error); + else + result = g_spawn_async (native_dir, native_argv, native_envp, (int) flags, SpawnChildSetupWrapper.NativeCallback, 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")] + [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; @@ -140,11 +140,17 @@ public static bool SpawnAsyncWithPipes (string working_directory, string[] argv, 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); + var data = (IntPtr)GCHandle.Alloc (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 = 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); + bool result; + + if (Global.IsWindowsPlatform) + result = g_spawn_async_with_pipes_utf8 (native_dir, native_argv, native_envp, (int) flags, SpawnChildSetupWrapper.NativeCallback, 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, SpawnChildSetupWrapper.NativeCallback, 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); @@ -163,19 +169,28 @@ public static bool SpawnAsyncWithPipes (string working_directory, string[] argv, Marshaller.Free (native_envp); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; - } + } - [DllImport ("libglib-2.0-0.dll")] + [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 = 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); + var data = (IntPtr)GCHandle.Alloc (child_setup); + bool result; + + if (Global.IsWindowsPlatform) + result = g_spawn_sync (native_dir, native_argv, native_envp, (int) flags, SpawnChildSetupWrapper.NativeCallback, 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, SpawnChildSetupWrapper.NativeCallback, data, out native_stdout, out native_stderr, out exit_status, out error); + Marshaller.Free (native_dir); Marshaller.Free (native_argv); Marshaller.Free (native_envp); @@ -183,29 +198,47 @@ public static bool SpawnSync (string working_directory, string[] argv, string[] stderr = Marshaller.PtrToStringGFree (native_stderr); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; - } + } - [DllImport ("libglib-2.0-0.dll")] + [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 = g_spawn_command_line_async (native_cmd, out error); + 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")] + [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 = g_spawn_command_line_sync (native_cmd, out native_stdout, out native_stderr, out exit_status, out error); + 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); diff --git a/glib/Thread.cs b/glib/Thread.cs index 25097e6fa..9ebb83e99 100644 --- a/glib/Thread.cs +++ b/glib/Thread.cs @@ -27,8 +27,19 @@ namespace GLib public class Thread { private Thread () {} - - [DllImport("libgthread-2.0-0.dll")] + +#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 () @@ -36,7 +47,7 @@ public static void Init () g_thread_init (IntPtr.Zero); } - [DllImport("glibsharpglue-2")] + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool glibsharp_g_thread_supported (); public static bool Supported @@ -45,5 +56,7 @@ public static bool Supported return glibsharp_g_thread_supported (); } } +#endif + } } diff --git a/glib/Timeout.cs b/glib/Timeout.cs index 372d85a05..988efb90e 100755 --- a/glib/Timeout.cs +++ b/glib/Timeout.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -28,60 +28,47 @@ namespace GLib { public class Timeout { - [CDeclCallback] - delegate bool TimeoutHandlerInternal (); + internal static class TimeoutProxy { + internal static readonly SourceProxy.GSourceFuncInternal SourceHandler = HandlerInternal; - internal class TimeoutProxy : SourceProxy { - public TimeoutProxy (TimeoutHandler real) - { - real_handler = real; - proxy_handler = new TimeoutHandlerInternal (Handler); - } - - public bool Handler () + static bool HandlerInternal (IntPtr data) { try { - TimeoutHandler timeout_handler = (TimeoutHandler) real_handler; - - bool cont = timeout_handler (); - if (!cont) - Remove (); - return cont; + var proxy = (TimeoutHandler)((GCHandle)data).Target; + return proxy.Invoke (); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } return false; } } - - private Timeout () {} - [DllImport("libglib-2.0-0.dll")] - 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); + private Timeout () {} - p.ID = g_timeout_add (interval, (TimeoutHandlerInternal) p.proxy_handler, IntPtr.Zero); - lock (Source.source_handlers) - Source.source_handlers [p.ID] = p; + static readonly int defaultPriority = glibsharp_timeout_priority_default (); - return p.ID; - } + [DllImport ("glibsharpglue-2", CallingConvention = CallingConvention.Cdecl)] + static extern int glibsharp_timeout_priority_default (); - [DllImport("libglib-2.0-0.dll")] - static extern uint g_timeout_add_seconds (uint interval, TimeoutHandlerInternal d, IntPtr data); + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + static extern uint g_timeout_add_full (int priority, uint interval, SourceProxy.GSourceFuncInternal d, IntPtr data, DestroyNotify notify); - public static uint AddSeconds (uint interval, TimeoutHandler hndlr) + public static uint Add (uint interval, TimeoutHandler hndlr) { - TimeoutProxy p = new TimeoutProxy (hndlr); + var handle = GCHandle.Alloc (hndlr); - p.ID = g_timeout_add_seconds (interval, (TimeoutHandlerInternal) p.proxy_handler, IntPtr.Zero); - lock (Source.source_handlers) - Source.source_handlers [p.ID] = p; + return Add (interval, TimeoutProxy.SourceHandler, handle); + } - return p.ID; + /// + /// The handle will be freed automatically on source removal. + /// + /// The add. + /// Interval. + /// Handle. + internal static uint Add (uint interval, SourceProxy.GSourceFuncInternal handler, GCHandle handle) + { + return g_timeout_add_full (defaultPriority, interval, handler, (IntPtr)handle, DestroyHelper.NotifyHandler); } } } - diff --git a/glib/ToggleRef.cs b/glib/ToggleRef.cs index a0235f495..d6fee6cbb 100644 --- a/glib/ToggleRef.cs +++ b/glib/ToggleRef.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -33,24 +33,14 @@ internal class ToggleRef { GCHandle gch; Hashtable signals; - public ToggleRef (GLib.Object target) + public ToggleRef (GLib.Object target, IntPtr handle) { - handle = target.Handle; + this.handle = handle; gch = GCHandle.Alloc (this); reference = target; - g_object_add_toggle_ref (target.Handle, ToggleNotifyCallback, (IntPtr) gch); - g_object_unref (target.Handle); - } - - public bool IsAlive { - get { - if (reference is WeakReference) { - WeakReference weak = reference as WeakReference; - return weak.IsAlive; - } else if (reference == null) - return false; - return true; - } + g_object_add_toggle_ref (handle, ToggleNotifyCallback, (IntPtr) gch); + if (target.owned && !(target is InitiallyUnowned)) + g_object_unref (handle); } public IntPtr Handle { @@ -79,12 +69,28 @@ public GLib.Object Target { } } - public void Free () - { - Signal[] signals = new Signal [Signals.Count]; - Signals.Values.CopyTo (signals, 0); - foreach (Signal s in signals) - s.Free (); + internal void RemoveSignal (string name) + { + if (signals == null) + return; + + signals.Remove (name); + } + + public void FreeSignals () + { + if (signals != null) { + var copy = signals.Values; + signals = null; + foreach (Signal s in copy) + s.Free (); + } + } + + public void Free () + { + FreeSignals (); + if (hardened) g_object_unref (handle); else @@ -96,10 +102,10 @@ public void 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 + // 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); @@ -120,7 +126,7 @@ void Toggle (bool is_last_ref) } } - [CDeclCallback] + [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) @@ -143,16 +149,16 @@ static ToggleNotifyHandler ToggleNotifyCallback { } } - [DllImport("libgobject-2.0-0.dll")] + [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")] + [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")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr raw); - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr raw); } diff --git a/glib/Value.cs b/glib/Value.cs old mode 100755 new mode 100644 index d8954b856..4fa389230 --- a/glib/Value.cs +++ b/glib/Value.cs @@ -98,7 +98,9 @@ public Value (EnumWrapper wrap, string type_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; - g_value_init (ref this, GType.FromName (type_name).Val); + 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 @@ -131,7 +133,9 @@ public Value (Opaque val, string type_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; - g_value_init (ref this, GType.FromName (type_name).Val); + 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); } @@ -149,7 +153,16 @@ public Value (GLib.Object obj, string prop_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; - InitForProperty (obj, prop_name); + 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] @@ -157,7 +170,9 @@ public Value (GLib.Object obj, string prop_name, EnumWrapper wrap) { type = IntPtr.Zero; pad_1 = pad_2 = 0; - InitForProperty (obj.NativeType, prop_name); + 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 @@ -169,7 +184,9 @@ public Value (IntPtr obj, string prop_name, Opaque val) { type = IntPtr.Zero; pad_1 = pad_2 = 0; - InitForProperty (GLib.Object.GetObject (obj), prop_name); + 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); } @@ -195,7 +212,8 @@ public Value (string[] val) : this (new GLib.GType (g_strv_get_type ())) public void Dispose () { - g_value_unset (ref this); + if (type != IntPtr.Zero) + g_value_unset (ref this); } public void Init (GLib.GType gtype) @@ -247,7 +265,7 @@ public static explicit operator ulong (Value val) [Obsolete ("Replaced by Enum cast")] public static explicit operator EnumWrapper (Value val) { - if (val.HoldsFlags) + 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); @@ -255,7 +273,7 @@ public static explicit operator EnumWrapper (Value val) public static explicit operator Enum (Value val) { - if (val.HoldsFlags) + 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)); @@ -327,11 +345,7 @@ object ToBoxed () 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}); + return FastActivator.CreateBoxed (boxed_ptr, t); } public object Val @@ -351,8 +365,8 @@ public object Val return (long) this; else if (type == GType.UInt64.Val) return (ulong) this; - else if (GType.Is (type, GType.Enum) || - GType.Is (type, GType.Flags)) + 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; @@ -366,9 +380,9 @@ public object 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 (GType.Is (type, GType.Object)) + else if (g_type_is_a (type, GType.Object.Val)) return (GLib.Object) this; - else if (GType.Is (type, GType.Boxed)) + else if (g_type_is_a (type, GType.Boxed.Val)) return ToBoxed (); else if (type == IntPtr.Zero) return null; @@ -390,9 +404,9 @@ public object 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 (GType.Is (type, GType.Enum)) + else if (g_type_is_a (type, GType.Enum.Val)) g_value_set_enum (ref this, (int)value); - else if (GType.Is (type, GType.Flags)) + 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); @@ -403,28 +417,31 @@ public object Val g_value_set_string (ref this, native); GLib.Marshaller.Free (native); } else if (type == GType.Pointer.Val) { - if (value.GetType () == typeof (IntPtr)) { + 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); + IntPtr wrapper = ManagedValue.WrapObject (value); + if (type != IntPtr.Zero) + g_value_unset (ref this); + g_value_init (ref this, ManagedValue.GType.Val); + g_value_set_boxed (ref this, wrapper); + ManagedValue.ReleaseWrapper (wrapper); } 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 (GType.Is (type, GType.Object)) + } 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 (GType.Is (type, GType.Boxed)) { + else if (g_type_is_a (type, GType.Boxed.Val)) { if (value is IWrapper) { g_value_set_boxed (ref this, ((IWrapper)value).Handle); return; @@ -439,135 +456,125 @@ public object Val internal void Update (object val) { - if (GType.Is (type, GType.Boxed) && !(val is IWrapper)) + if (g_type_is_a (type, GType.Boxed.Val) && !(val is IWrapper)) Marshal.StructureToPtr (val, g_value_get_boxed (ref this), false); } - bool HoldsFlags { - get { return g_type_check_value_holds (ref this, GType.Flags.Val); } - } - - void InitForProperty (Object obj, string name) - { - GType gtype = Object.LookupGType (obj.GetType ()); - InitForProperty (gtype, name); - } - - void InitForProperty (GType gtype, string name) - { - IntPtr p_name = Marshaller.StringToPtrGStrdup (name); - ParamSpec spec = new ParamSpec (g_object_class_find_property (gtype.ClassPtr, p_name)); - Marshaller.Free (p_name); - g_value_init (ref this, spec.ValueType.Val); - } + [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")] - static extern IntPtr g_object_class_find_property (IntPtr klass, IntPtr name); + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + static extern void g_value_unset (ref GLib.Value val); - [DllImport("libgobject-2.0-0.dll")] - static extern bool g_type_check_value_holds (ref Value val, IntPtr gtype); + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr gtksharp_value_create_from_property(ref GLib.Value val, IntPtr obj, IntPtr name); - [DllImport("libgobject-2.0-0.dll")] - static extern void g_value_init (ref GLib.Value val, IntPtr gtype); + [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("libgobject-2.0-0.dll")] - static extern void g_value_unset (ref GLib.Value val); + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [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")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_strv_get_type (); } } diff --git a/glib/ValueArray.cs b/glib/ValueArray.cs index 0d32b3049..d91002fe5 100644 --- a/glib/ValueArray.cs +++ b/glib/ValueArray.cs @@ -23,16 +23,18 @@ 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 ArrayList PendingFrees = new ArrayList (); + 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")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_array_new (uint n_preallocs); public ValueArray (uint n_preallocs) @@ -57,7 +59,7 @@ public void Dispose () GC.SuppressFinalize (this); } - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_array_free (IntPtr raw); void Dispose (bool disposing) @@ -65,11 +67,11 @@ void Dispose (bool disposing) if (Handle == IntPtr.Zero) return; - lock (PendingFrees) { + lock (lockObject) { PendingFrees.Add (handle); if (! idle_queued) { - Timeout.Add (50, new TimeoutHandler (PerformFrees)); + Timeout.Add (50, PerformFreesHandler); idle_queued = true; } } @@ -77,20 +79,20 @@ void Dispose (bool disposing) handle = IntPtr.Zero; } + static TimeoutHandler PerformFreesHandler = new TimeoutHandler (PerformFrees); static bool PerformFrees () { - IntPtr[] handles; + List handles; - lock (PendingFrees) { + lock (lockObject) { idle_queued = false; - handles = new IntPtr [PendingFrees.Count]; - PendingFrees.CopyTo (handles, 0); - PendingFrees.Clear (); + handles = PendingFrees; + PendingFrees = new List (8); } - foreach (IntPtr h in handles) - g_value_array_free (h); + for (int i = 0; i < handles.Count; ++i) + g_value_array_free (handles [i]); return false; } @@ -101,21 +103,16 @@ public IntPtr Handle { } } - struct NativeStruct { - public uint n_values; - public IntPtr values; - public uint n_prealloced; - } - - NativeStruct Native { - get { return (NativeStruct) Marshal.PtrToStructure (Handle, typeof(NativeStruct)); } - } + [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr gtksharp_value_array_get_array (IntPtr raw); public IntPtr ArrayPtr { - get { return Native.values; } + get { + return gtksharp_value_array_get_array (Handle); + } } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -123,7 +120,7 @@ public void Append (GLib.Value val) g_value_array_append (Handle, ref val); } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -131,7 +128,7 @@ public void Insert (uint idx, GLib.Value val) g_value_array_insert (Handle, idx, ref val); } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -139,7 +136,7 @@ public void Prepend (GLib.Value val) g_value_array_prepend (Handle, ref val); } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -147,12 +144,17 @@ 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 (int) Native.n_values; } + get { + return gtksharp_value_array_get_count (Handle); + } } - [DllImport("libgobject-2.0-0.dll")] + [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] { @@ -227,7 +229,7 @@ public IEnumerator GetEnumerator () return new ListEnumerator (this); } - [DllImport("libgobject-2.0-0.dll")] + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_array_copy (IntPtr raw); // ICloneable diff --git a/glib/glib.csproj b/glib/glib.csproj new file mode 100644 index 000000000..1da396616 --- /dev/null +++ b/glib/glib.csproj @@ -0,0 +1,206 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {3BF1D531-8840-4F15-8066-A9788D8C398B} + Library + GLib + glib + v4.6 + + + + true + full + false + bin\Debug + DEBUG;GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + prompt + 4 + x86 + false + true + 0618;0169;0612;0414;1616;1699 + + + none + false + bin\Release + prompt + 4 + x86 + false + true + 0618;0169;0612;0414;1616;1699 + GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + + + true + + + gtk-sharp.snk + + + + Code + + + + + + + Code + + + Code + + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + + + + + + + + + + + + \ No newline at end of file diff --git a/glib/glue/Makefile.am b/glib/glue/Makefile.am index 1d1b60f92..601d3d09c 100644 --- a/glib/glue/Makefile.am +++ b/glib/glue/Makefile.am @@ -3,6 +3,16 @@ 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 \ + source.c \ + type.c \ + unichar.c \ + value.c \ + valuearray.c \ thread.c # Adding a new glue file? diff --git a/glib/glue/closure.c b/glib/glue/closure.c new file mode 100644 index 000000000..21d51c1e9 --- /dev/null +++ b/glib/glue/closure.c @@ -0,0 +1,35 @@ +/* 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; +} diff --git a/glib/glue/error.c b/glib/glue/error.c new file mode 100755 index 000000000..bad283133 --- /dev/null +++ b/glib/glue/error.c @@ -0,0 +1,33 @@ +/* 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; +} + diff --git a/glib/glue/object.c b/glib/glue/object.c new file mode 100644 index 000000000..00db4d4a5 --- /dev/null +++ b/glib/glue/object.c @@ -0,0 +1,149 @@ +/* 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; +} diff --git a/glib/glue/ptrarray.c b/glib/glue/ptrarray.c new file mode 100644 index 000000000..25e2b0bbd --- /dev/null +++ b/glib/glue/ptrarray.c @@ -0,0 +1,45 @@ +/* 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); +} + diff --git a/glib/glue/signal.c b/glib/glue/signal.c new file mode 100644 index 000000000..24286e0fe --- /dev/null +++ b/glib/glue/signal.c @@ -0,0 +1,34 @@ +/* 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; +} diff --git a/glib/glue/source.c b/glib/glue/source.c new file mode 100644 index 000000000..f24bb4a92 --- /dev/null +++ b/glib/glue/source.c @@ -0,0 +1,33 @@ +/* source.c : Native source wrappers for getting priorities + * + * Author: Marius Ungureanu + * + * Copyright (c) 2017 Microsoft, 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 + +gint glibsharp_timeout_priority_default () +{ + return G_PRIORITY_DEFAULT; +} + +gint glibsharp_idle_priority_default () +{ + return G_PRIORITY_DEFAULT_IDLE; +} + diff --git a/glib/glue/thread.c b/glib/glue/thread.c index 4fcf8c699..b0f4f8767 100644 --- a/glib/glue/thread.c +++ b/glib/glue/thread.c @@ -19,14 +19,21 @@ * 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 } diff --git a/glib/glue/type.c b/glib/glue/type.c new file mode 100644 index 000000000..7a98fe61d --- /dev/null +++ b/glib/glue/type.c @@ -0,0 +1,79 @@ +/* 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); +} diff --git a/glib/glue/unichar.c b/glib/glue/unichar.c new file mode 100644 index 000000000..b0f361dd9 --- /dev/null +++ b/glib/glue/unichar.c @@ -0,0 +1,59 @@ +/* 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; +} + diff --git a/glib/glue/value.c b/glib/glue/value.c new file mode 100644 index 000000000..23645361f --- /dev/null +++ b/glib/glue/value.c @@ -0,0 +1,69 @@ +/* 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); +} diff --git a/glib/glue/valuearray.c b/glib/glue/valuearray.c new file mode 100644 index 000000000..f64bf46b6 --- /dev/null +++ b/glib/glue/valuearray.c @@ -0,0 +1,38 @@ +/* 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; +} + diff --git a/gtk-sharp-2.0-dev.wxs.in b/gtk-sharp-2.0-dev.wxs.in deleted file mode 100644 index 98bfea000..000000000 --- a/gtk-sharp-2.0-dev.wxs.in +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - "" OR Installed]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "" OR Installed]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gtk-sharp-2.0-lib.wxs.in b/gtk-sharp-2.0-lib.wxs.in deleted file mode 100755 index 15649ef12..000000000 --- a/gtk-sharp-2.0-lib.wxs.in +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gtk-sharp.sln b/gtk-sharp.sln new file mode 100644 index 000000000..42f23b741 --- /dev/null +++ b/gtk-sharp.sln @@ -0,0 +1,247 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "generator", "generator\generator.csproj", "{80E73555-2284-40DC-9068-9A40B7359B0C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gtk-sharp", "gtk-sharp", "{E0AD538D-9979-479B-8CBA-ED9143536CE0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "glib", "glib\glib.csproj", "{3BF1D531-8840-4F15-8066-A9788D8C398B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "atk", "atk\atk.csproj", "{42FE871A-D8CF-4B29-9AFF-B02454E6C976}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cairo", "cairo\cairo.csproj", "{364577DB-9728-4951-AC2C-EDF7A6FCC09D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gdk", "gdk\gdk.csproj", "{58346CC6-DE93-45B4-8093-3508BD5DAA12}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gtk", "gtk\gtk.csproj", "{94045F11-4266-40B4-910F-298985AF69D5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pango", "pango\pango.csproj", "{FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gtkdotnet", "gtkdotnet\gtkdotnet.csproj", "{F6C52EAE-CB2A-48F6-9C80-E0B776873022}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {80E73555-2284-40DC-9068-9A40B7359B0C}.Debug|x86.ActiveCfg = Debug|x86 + {80E73555-2284-40DC-9068-9A40B7359B0C}.Debug|x86.Build.0 = Debug|x86 + {80E73555-2284-40DC-9068-9A40B7359B0C}.Release|x86.ActiveCfg = Release|x86 + {80E73555-2284-40DC-9068-9A40B7359B0C}.Release|x86.Build.0 = Release|x86 + {3BF1D531-8840-4F15-8066-A9788D8C398B}.Debug|x86.ActiveCfg = Debug|x86 + {3BF1D531-8840-4F15-8066-A9788D8C398B}.Debug|x86.Build.0 = Debug|x86 + {3BF1D531-8840-4F15-8066-A9788D8C398B}.Release|x86.ActiveCfg = Release|x86 + {3BF1D531-8840-4F15-8066-A9788D8C398B}.Release|x86.Build.0 = Release|x86 + {42FE871A-D8CF-4B29-9AFF-B02454E6C976}.Debug|x86.ActiveCfg = Debug|x86 + {42FE871A-D8CF-4B29-9AFF-B02454E6C976}.Debug|x86.Build.0 = Debug|x86 + {42FE871A-D8CF-4B29-9AFF-B02454E6C976}.Release|x86.ActiveCfg = Release|x86 + {42FE871A-D8CF-4B29-9AFF-B02454E6C976}.Release|x86.Build.0 = Release|x86 + {364577DB-9728-4951-AC2C-EDF7A6FCC09D}.Debug|x86.ActiveCfg = Debug|x86 + {364577DB-9728-4951-AC2C-EDF7A6FCC09D}.Debug|x86.Build.0 = Debug|x86 + {364577DB-9728-4951-AC2C-EDF7A6FCC09D}.Release|x86.ActiveCfg = Release|x86 + {364577DB-9728-4951-AC2C-EDF7A6FCC09D}.Release|x86.Build.0 = Release|x86 + {58346CC6-DE93-45B4-8093-3508BD5DAA12}.Debug|x86.ActiveCfg = Debug|x86 + {58346CC6-DE93-45B4-8093-3508BD5DAA12}.Debug|x86.Build.0 = Debug|x86 + {58346CC6-DE93-45B4-8093-3508BD5DAA12}.Release|x86.ActiveCfg = Release|x86 + {58346CC6-DE93-45B4-8093-3508BD5DAA12}.Release|x86.Build.0 = Release|x86 + {94045F11-4266-40B4-910F-298985AF69D5}.Debug|x86.ActiveCfg = Debug|x86 + {94045F11-4266-40B4-910F-298985AF69D5}.Debug|x86.Build.0 = Debug|x86 + {94045F11-4266-40B4-910F-298985AF69D5}.Release|x86.ActiveCfg = Release|x86 + {94045F11-4266-40B4-910F-298985AF69D5}.Release|x86.Build.0 = Release|x86 + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}.Debug|x86.ActiveCfg = Debug|x86 + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}.Debug|x86.Build.0 = Debug|x86 + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}.Release|x86.ActiveCfg = Release|x86 + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4}.Release|x86.Build.0 = Release|x86 + {F6C52EAE-CB2A-48F6-9C80-E0B776873022}.Debug|x86.ActiveCfg = Debug|x86 + {F6C52EAE-CB2A-48F6-9C80-E0B776873022}.Debug|x86.Build.0 = Debug|x86 + {F6C52EAE-CB2A-48F6-9C80-E0B776873022}.Release|x86.ActiveCfg = Release|x86 + {F6C52EAE-CB2A-48F6-9C80-E0B776873022}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {3BF1D531-8840-4F15-8066-A9788D8C398B} = {E0AD538D-9979-479B-8CBA-ED9143536CE0} + {42FE871A-D8CF-4B29-9AFF-B02454E6C976} = {E0AD538D-9979-479B-8CBA-ED9143536CE0} + {364577DB-9728-4951-AC2C-EDF7A6FCC09D} = {E0AD538D-9979-479B-8CBA-ED9143536CE0} + {58346CC6-DE93-45B4-8093-3508BD5DAA12} = {E0AD538D-9979-479B-8CBA-ED9143536CE0} + {94045F11-4266-40B4-910F-298985AF69D5} = {E0AD538D-9979-479B-8CBA-ED9143536CE0} + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4} = {E0AD538D-9979-479B-8CBA-ED9143536CE0} + {F6C52EAE-CB2A-48F6-9C80-E0B776873022} = {E0AD538D-9979-479B-8CBA-ED9143536CE0} + EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + StartupItem = gtk\gtk.csproj + Policies = $0 + $0.TextStylePolicy = $1 + $1.inheritsSet = null + $1.scope = text/x-csharp + $0.CSharpFormattingPolicy = $2 + $2.inheritsSet = Mono + $2.inheritsScope = text/x-csharp + $2.scope = text/x-csharp + $0.TextStylePolicy = $3 + $3.FileWidth = 120 + $3.TabsToSpaces = False + $3.inheritsSet = VisualStudio + $3.inheritsScope = text/plain + $3.scope = text/plain + $0.DotNetNamingPolicy = $4 + $4.DirectoryNamespaceAssociation = None + $4.ResourceNamePolicy = FileFormatDefault + $0.StandardHeader = $5 + $5.Text = + $5.IncludeInNewFiles = True + $0.NameConventionPolicy = $6 + $6.Rules = $7 + $7.NamingRule = $8 + $8.Name = Namespaces + $8.AffectedEntity = Namespace + $8.VisibilityMask = VisibilityMask + $8.NamingStyle = PascalCase + $8.IncludeInstanceMembers = True + $8.IncludeStaticEntities = True + $7.NamingRule = $9 + $9.Name = Types + $9.AffectedEntity = Class, Struct, Enum, Delegate + $9.VisibilityMask = VisibilityMask + $9.NamingStyle = PascalCase + $9.IncludeInstanceMembers = True + $9.IncludeStaticEntities = True + $7.NamingRule = $10 + $10.Name = Interfaces + $10.RequiredPrefixes = $11 + $11.String = I + $10.AffectedEntity = Interface + $10.VisibilityMask = VisibilityMask + $10.NamingStyle = PascalCase + $10.IncludeInstanceMembers = True + $10.IncludeStaticEntities = True + $7.NamingRule = $12 + $12.Name = Attributes + $12.RequiredSuffixes = $13 + $13.String = Attribute + $12.AffectedEntity = CustomAttributes + $12.VisibilityMask = VisibilityMask + $12.NamingStyle = PascalCase + $12.IncludeInstanceMembers = True + $12.IncludeStaticEntities = True + $7.NamingRule = $14 + $14.Name = Event Arguments + $14.RequiredSuffixes = $15 + $15.String = EventArgs + $14.AffectedEntity = CustomEventArgs + $14.VisibilityMask = VisibilityMask + $14.NamingStyle = PascalCase + $14.IncludeInstanceMembers = True + $14.IncludeStaticEntities = True + $7.NamingRule = $16 + $16.Name = Exceptions + $16.RequiredSuffixes = $17 + $17.String = Exception + $16.AffectedEntity = CustomExceptions + $16.VisibilityMask = VisibilityMask + $16.NamingStyle = PascalCase + $16.IncludeInstanceMembers = True + $16.IncludeStaticEntities = True + $7.NamingRule = $18 + $18.Name = Methods + $18.AffectedEntity = Methods + $18.VisibilityMask = VisibilityMask + $18.NamingStyle = PascalCase + $18.IncludeInstanceMembers = True + $18.IncludeStaticEntities = True + $7.NamingRule = $19 + $19.Name = Static Readonly Fields + $19.AffectedEntity = ReadonlyField + $19.VisibilityMask = Internal, Protected, Public + $19.NamingStyle = PascalCase + $19.IncludeInstanceMembers = False + $19.IncludeStaticEntities = True + $7.NamingRule = $20 + $20.Name = Fields (Non Private) + $20.AffectedEntity = Field + $20.VisibilityMask = Internal, Protected, Public + $20.NamingStyle = PascalCase + $20.IncludeInstanceMembers = True + $20.IncludeStaticEntities = True + $7.NamingRule = $21 + $21.Name = ReadOnly Fields (Non Private) + $21.AffectedEntity = ReadonlyField + $21.VisibilityMask = Internal, Protected, Public + $21.NamingStyle = PascalCase + $21.IncludeInstanceMembers = True + $21.IncludeStaticEntities = False + $7.NamingRule = $22 + $22.Name = Fields (Private) + $22.AllowedPrefixes = $23 + $23.String = _ + $23.String = m_ + $22.AffectedEntity = Field, ReadonlyField + $22.VisibilityMask = Private + $22.NamingStyle = CamelCase + $22.IncludeInstanceMembers = True + $22.IncludeStaticEntities = False + $7.NamingRule = $24 + $24.Name = Static Fields (Private) + $24.AffectedEntity = Field + $24.VisibilityMask = Private + $24.NamingStyle = CamelCase + $24.IncludeInstanceMembers = False + $24.IncludeStaticEntities = True + $7.NamingRule = $25 + $25.Name = ReadOnly Fields (Private) + $25.AllowedPrefixes = $26 + $26.String = _ + $26.String = m_ + $25.AffectedEntity = ReadonlyField + $25.VisibilityMask = Private + $25.NamingStyle = CamelCase + $25.IncludeInstanceMembers = True + $25.IncludeStaticEntities = False + $7.NamingRule = $27 + $27.Name = Constant Fields + $27.AffectedEntity = ConstantField + $27.VisibilityMask = VisibilityMask + $27.NamingStyle = PascalCase + $27.IncludeInstanceMembers = True + $27.IncludeStaticEntities = True + $7.NamingRule = $28 + $28.Name = Properties + $28.AffectedEntity = Property + $28.VisibilityMask = VisibilityMask + $28.NamingStyle = PascalCase + $28.IncludeInstanceMembers = True + $28.IncludeStaticEntities = True + $7.NamingRule = $29 + $29.Name = Events + $29.AffectedEntity = Event + $29.VisibilityMask = VisibilityMask + $29.NamingStyle = PascalCase + $29.IncludeInstanceMembers = True + $29.IncludeStaticEntities = True + $7.NamingRule = $30 + $30.Name = Enum Members + $30.AffectedEntity = EnumMember + $30.VisibilityMask = VisibilityMask + $30.NamingStyle = PascalCase + $30.IncludeInstanceMembers = True + $30.IncludeStaticEntities = True + $7.NamingRule = $31 + $31.Name = Parameters + $31.AffectedEntity = Parameter + $31.VisibilityMask = VisibilityMask + $31.NamingStyle = CamelCase + $31.IncludeInstanceMembers = True + $31.IncludeStaticEntities = True + $7.NamingRule = $32 + $32.Name = Type Parameters + $32.RequiredPrefixes = $33 + $33.String = T + $32.AffectedEntity = TypeParameter + $32.VisibilityMask = VisibilityMask + $32.NamingStyle = PascalCase + $32.IncludeInstanceMembers = True + $32.IncludeStaticEntities = True + EndGlobalSection +EndGlobal diff --git a/gtk/AboutDialog.custom b/gtk/AboutDialog.custom index 87a6684e5..bd9d3b39c 100644 --- a/gtk/AboutDialog.custom +++ b/gtk/AboutDialog.custom @@ -29,3 +29,67 @@ } } + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern GtkSharp.AboutDialogActivateLinkFuncNative gtk_about_dialog_set_url_hook(GtkSharp.AboutDialogActivateLinkFuncNative func, IntPtr data, GLib.DestroyNotify destroy); + + static WeakReference urlManagedFunc = new WeakReference (null); + public static Gtk.AboutDialogActivateLinkFunc SetUrlHook(Gtk.AboutDialogActivateLinkFunc func) { + Gtk.Application.AssertMainThread(); + IntPtr data; + GLib.DestroyNotify destroy; + + Gtk.AboutDialogActivateLinkFunc toRet; + urlManagedFunc.TryGetTarget (out toRet); + + if (func == null) { + data = IntPtr.Zero; + destroy = null; + } else { + data = (IntPtr) GCHandle.Alloc (func); + destroy = GLib.DestroyHelper.NotifyHandler; + } + urlManagedFunc.SetTarget (func); + + var raw_ret = gtk_about_dialog_set_url_hook(GtkSharp.AboutDialogActivateLinkFuncWrapper.NativeDelegate, data, destroy); + if (raw_ret == GtkSharp.AboutDialogActivateLinkFuncWrapper.NativeDelegate) + return toRet; + + if (raw_ret == null) + return null; + + Gtk.AboutDialogActivateLinkFunc ret = new GtkSharp.AboutDialogActivateLinkFuncInvoker (raw_ret).Handler; + return ret; + } + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern GtkSharp.AboutDialogActivateLinkFuncNative gtk_about_dialog_set_email_hook(GtkSharp.AboutDialogActivateLinkFuncNative func, IntPtr data, GLib.DestroyNotify destroy); + + static WeakReference emailManagedFunc = new WeakReference (null); + public static Gtk.AboutDialogActivateLinkFunc SetEmailHook(Gtk.AboutDialogActivateLinkFunc func) { + Gtk.Application.AssertMainThread(); + IntPtr data; + GLib.DestroyNotify destroy; + + Gtk.AboutDialogActivateLinkFunc toRet; + emailManagedFunc.TryGetTarget (out toRet); + + if (func == null) { + data = IntPtr.Zero; + destroy = null; + } else { + data = (IntPtr) GCHandle.Alloc (func); + destroy = GLib.DestroyHelper.NotifyHandler; + } + emailManagedFunc.SetTarget (func); + + var raw_ret = gtk_about_dialog_set_email_hook(GtkSharp.AboutDialogActivateLinkFuncWrapper.NativeDelegate, data, destroy); + if (raw_ret == GtkSharp.AboutDialogActivateLinkFuncWrapper.NativeDelegate) + return toRet; + + if (raw_ret == null) + return null; + + Gtk.AboutDialogActivateLinkFunc ret = new GtkSharp.AboutDialogActivateLinkFuncInvoker (raw_ret).Handler; + return ret; + } + diff --git a/gtk/Accel.custom b/gtk/Accel.custom index ebeee247d..6338cb570 100644 --- a/gtk/Accel.custom +++ b/gtk/Accel.custom @@ -18,7 +18,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -28,7 +28,7 @@ GLib.Marshaller.Free (native); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -38,7 +38,7 @@ GLib.Marshaller.Free (native); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -47,7 +47,7 @@ gtk_accel_map_foreach_unfiltered(data, foreach_func_wrapper.NativeDelegate); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -55,7 +55,7 @@ gtk_accel_map_save_fd(fd); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -65,7 +65,7 @@ GLib.Marshaller.Free (native); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -73,7 +73,7 @@ gtk_accel_map_load_fd(fd); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -84,7 +84,7 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -95,7 +95,7 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -105,7 +105,7 @@ GLib.Marshaller.Free (native); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -114,7 +114,7 @@ gtk_accel_map_foreach(data, foreach_func_wrapper.NativeDelegate); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) @@ -123,9 +123,6 @@ if (raw_ret == IntPtr.Zero) return new AccelGroup [0]; GLib.SList list = new GLib.SList(raw_ret); - AccelGroup[] result = new AccelGroup [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as AccelGroup; - return result; + return GLib.Marshaller.ListToArray (list); } diff --git a/gtk/Action.custom b/gtk/Action.custom index ac6a0e6ec..5f1cb0c57 100644 --- a/gtk/Action.custom +++ b/gtk/Action.custom @@ -24,16 +24,13 @@ { } - [DllImport("libgtk-win32-2.0-0.dll")] + [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); - Widget[] result = new Widget [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Widget; - return result; + return GLib.Marshaller.ListToArray (list); } } diff --git a/gtk/ActionGroup.custom b/gtk/ActionGroup.custom index 2a1a0f2ab..b9ccec8af 100644 --- a/gtk/ActionGroup.custom +++ b/gtk/ActionGroup.custom @@ -73,14 +73,10 @@ actions[0].Changed += changed; } - [DllImport ("libgtk-win32-2.0-0.dll")] + [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); - GLib.List list = new GLib.List (raw_ret); - Gtk.Action[] result = new Gtk.Action [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Gtk.Action; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } diff --git a/gtk/Adjustment.custom b/gtk/Adjustment.custom index 615ae2566..9095b8ab8 100644 --- a/gtk/Adjustment.custom +++ b/gtk/Adjustment.custom @@ -18,13 +18,13 @@ // Boston, MA 02111-1307, USA. // -[DllImport("libgtk-win32-2.0-0.dll")] +[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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); Value = value; Lower = lower; Upper = upper; @@ -34,10 +34,11 @@ public Adjustment (double value, double lower, double upper, double step_increme return; } + owned = true; Raw = gtk_adjustment_new(value, lower, upper, step_increment, page_increment, page_size); } -[DllImport("gtksharpglue-2")] +[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) diff --git a/gtk/Application.cs b/gtk/Application.cs old mode 100755 new mode 100644 index 46bb93244..a97979e21 --- a/gtk/Application.cs +++ b/gtk/Application.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -21,10 +21,12 @@ namespace Gtk { using System; + using System.Reflection; using System.Runtime.InteropServices; using Gdk; public class Application { + static System.Threading.Thread MainThread; // // Disables creation of instances. @@ -32,11 +34,39 @@ public class Application { private Application () { } - - [DllImport("libgtk-win32-2.0-0.dll")] + + 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")] + [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 () @@ -78,7 +108,7 @@ static bool do_init (string progname, ref string[] args, bool check) // not interested in. if (argc <= 1) - args = new string[0]; + args = Array.Empty (); else { progargs = argv.GetArgs (argc); args = new string[argc - 1]; @@ -88,17 +118,26 @@ static bool do_init (string progname, ref string[] args, bool check) return res; } + internal static void AssertMainThread () + { + if (MainThread != null && System.Threading.Thread.CurrentThread != MainThread) { + GLib.Log.Write (null, GLib.LogLevelFlags.Warning, "Gtk operations should be done on the main Thread\n" + Environment.StackTrace); + } + } + public static void Init (string progname, ref string[] args) { + MainThread = System.Threading.Thread.CurrentThread; do_init (progname, ref args, false); } public static bool InitCheck (string progname, ref string[] args) { + MainThread = System.Threading.Thread.CurrentThread; return do_init (progname, ref args, true); } - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_main (); public static void Run () @@ -106,19 +145,18 @@ public static void Run () gtk_main (); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_main_iteration (); - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_main_iteration_do (bool blocking); public static void RunIteration () @@ -130,8 +168,8 @@ public static bool RunIteration (bool blocking) { return gtk_main_iteration_do (blocking); } - - [DllImport("libgtk-win32-2.0-0.dll")] + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_main_quit (); public static void Quit () @@ -140,53 +178,116 @@ public static void Quit () } - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_get_current_event (); public static Gdk.Event CurrentEvent { get { - return Gdk.Event.GetEvent (gtk_get_current_event ()); + var raw_ret = gtk_get_current_event (); + var ret = Gdk.Event.GetEvent (raw_ret, true); + return ret; } } - internal class InvokeCB { - EventHandler d; - object sender; - EventArgs args; - - internal InvokeCB (EventHandler d) + internal static class InvokeProxy { + internal static readonly GLib.SourceProxy.GSourceFuncInternal SourceHandler = HandlerInternal; + + static bool HandlerInternal (IntPtr data) { - this.d = d; - args = EventArgs.Empty; - sender = this; + try { + var proxy = (EventHandler)((GCHandle)data).Target; + proxy.Invoke (proxy, EventArgs.Empty); + return false; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + return false; } - - internal InvokeCB (EventHandler d, object sender, EventArgs args) + } + + internal class InvokeProxyWithArgs : GLib.SourceProxy + { + readonly EventHandler d; + readonly object sender; + readonly EventArgs args; + + internal InvokeProxyWithArgs (EventHandler d, object sender, EventArgs args) { this.d = d; this.args = args; this.sender = sender; } - - internal bool Invoke () + + protected override bool Invoke () { d (sender, args); return false; } } - + + internal static class InvokeProxyAction + { + internal static readonly GLib.SourceProxy.GSourceFuncInternal SourceHandler = HandlerInternal; + + static bool HandlerInternal (IntPtr data) + { + try { + var proxy = (System.Action)((GCHandle)data).Target; + proxy.Invoke (); + return false; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + return false; + } + } + + internal class InvokeProxyAction : GLib.SourceProxy + { + readonly Action act; + readonly T arg; + + internal InvokeProxyAction (Action act, T arg) + { + this.act = act; + this.arg = arg; + } + + protected override bool Invoke () + { + act (arg); + return false; + } + } + public static void Invoke (EventHandler d) { - InvokeCB icb = new InvokeCB (d); - - GLib.Timeout.Add (0, new GLib.TimeoutHandler (icb.Invoke)); + var handle = GCHandle.Alloc (d); + + GLib.Timeout.Add (0, InvokeProxy.SourceHandler, handle); } 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)); + var p = new InvokeProxyWithArgs (d, sender, args); + var handle = GCHandle.Alloc (p); + + GLib.Timeout.Add (0, GLib.SourceProxy.SourceHandler, handle); + } + + public static void InvokeAction (System.Action act) + { + var handle = GCHandle.Alloc (act); + + GLib.Timeout.Add (0, InvokeProxyAction.SourceHandler, handle); + } + + public static void InvokeAction (Action act, T arg) + { + var p = new InvokeProxyAction (act, arg); + var handle = GCHandle.Alloc (p); + + GLib.Timeout.Add (0, GLib.SourceProxy.SourceHandler, handle); } } } diff --git a/gtk/Bin.custom b/gtk/Bin.custom index 4b721ce79..cd8928f4f 100644 --- a/gtk/Bin.custom +++ b/gtk/Bin.custom @@ -21,7 +21,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_bin_get_child(IntPtr raw); public new Gtk.Widget Child { diff --git a/gtk/Builder.custom b/gtk/Builder.custom index 408e3f6aa..59e95bdc2 100644 --- a/gtk/Builder.custom +++ b/gtk/Builder.custom @@ -23,7 +23,6 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -#if GTK_SHARP_2_14 [System.Serializable] public class HandlerNotFoundException : SystemException @@ -226,12 +225,14 @@ class SignalConnector this.handler_type = handler_type; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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); + BuilderConnectFunc func = ConnectFunc; + var gch = GCHandle.Alloc (func); + gtk_builder_connect_signals_full(builder.Handle, GtkSharp.BuilderConnectFuncWrapper.NativeDelegate, (IntPtr)gch); + gch.Free (); } public void ConnectFunc (Builder builder, GLib.Object objekt, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags) @@ -412,4 +413,3 @@ void BindFields (object target, Type type) while (type != typeof(object) && type != null); } -#endif diff --git a/gtk/Button.custom b/gtk/Button.custom index df992dec0..4ebcf055f 100644 --- a/gtk/Button.custom +++ b/gtk/Button.custom @@ -21,21 +21,24 @@ // Boston, MA 02111-1307, USA. -[DllImport("libgtk-win32-2.0-0.dll")] +[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]; - string[] names = new string [2]; - names [0] = "label"; - vals [0] = new GLib.Value (stock_id); - names [1] = "use_stock"; - vals [1] = new GLib.Value (true); - CreateNativeObject (names, vals); + unsafe { + var vals = stackalloc GLib.Value [2]; + var names = stackalloc 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; } + owned = true; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_button_new_from_stock (native); GLib.Marshaller.Free (native); diff --git a/gtk/CellRenderer.custom b/gtk/CellRenderer.custom index 7f18a61b4..0ca4385c9 100644 --- a/gtk/CellRenderer.custom +++ b/gtk/CellRenderer.custom @@ -11,7 +11,7 @@ // // // This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -25,17 +25,17 @@ // Boston, MA 02111-1307, USA. - [DllImport("gtksharpglue-2")] + [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")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_override_get_size (IntPtr gtype, GetSizeDelegate cb); - - [GLib.CDeclCallback] + + [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 { @@ -64,28 +64,28 @@ 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) + + [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")] + [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) + 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")] - static extern void gtksharp_cellrenderer_base_render (IntPtr handle, IntPtr window, IntPtr widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags); + [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")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_override_render (IntPtr gtype, RenderDelegate cb); - [GLib.CDeclCallback] + [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; @@ -112,21 +112,21 @@ [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, background_area, cell_area, expose_area, flags); + gtksharp_cellrenderer_base_render (Handle, window.Handle, widget.Handle, ref background_area, ref cell_area, ref expose_area, flags); } - [DllImport("gtksharpglue-2")] - static extern void gtksharp_cellrenderer_invoke_render (IntPtr gtype, IntPtr handle, IntPtr window, IntPtr widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState 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, background_area, cell_area, expose_area, 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")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_override_start_editing (IntPtr gtype, StartEditingDelegate cb); - [GLib.CDeclCallback] + [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; @@ -135,7 +135,7 @@ { try { CellRenderer obj = GLib.Object.GetObject (raw, false) as CellRenderer; - Gdk.Event _event = new Gdk.Event (evnt); + 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) @@ -155,22 +155,22 @@ gtksharp_cellrenderer_override_start_editing (gtype.Val, StartEditingCallback); } - [DllImport("gtksharpglue-2")] + [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.Handle, widget.Handle, native, ref background_area, ref cell_area, (int) flags); + 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")] + [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) + 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); diff --git a/gtk/CheckMenuItem.custom b/gtk/CheckMenuItem.custom index e0a642268..011ff27a6 100644 --- a/gtk/CheckMenuItem.custom +++ b/gtk/CheckMenuItem.custom @@ -21,13 +21,13 @@ // Boston, MA 02111-1307, USA. - [DllImport ("libgtk-win32-2.0-0.dll")] + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); @@ -36,6 +36,7 @@ return; } + owned = true; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_check_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); diff --git a/gtk/Clipboard.custom b/gtk/Clipboard.custom index 4199427bb..56c669111 100644 --- a/gtk/Clipboard.custom +++ b/gtk/Clipboard.custom @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -19,19 +19,19 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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) + static void ClearProxy (Clipboard clipboard) { - if (PersistentData ["clear_func"] != null) { - ClipboardClearFunc clear = PersistentData ["clear_func"] as ClipboardClearFunc; + if (clipboard.PersistentData ["clear_func"] != null) { + ClipboardClearFunc clear = clipboard.PersistentData ["clear_func"] as ClipboardClearFunc; clear (clipboard); } - SetPersistentData (null, null, null); + clipboard.SetPersistentData (null, null, null); } void SetPersistentData (object get_func_wrapper, object clear_func, object clear_proxy_wrapper) @@ -41,9 +41,9 @@ PersistentData ["clear_proxy_wrapper"] = clear_proxy_wrapper; } + static readonly ClipboardClearFunc clear_proxy = ClearProxy; 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); @@ -53,7 +53,6 @@ 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); @@ -67,32 +66,32 @@ Text = text; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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]; + return Array.Empty (); 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; + static readonly RichTextReceivedFuncNative rt_rcvd_marshaler = new RichTextReceivedFuncNative (RichTextReceivedCallback); - [GLib.CDeclCallback] + [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) + static 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; @@ -109,13 +108,10 @@ } } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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)); } - diff --git a/gtk/ColorSelection.custom b/gtk/ColorSelection.custom index 09a5e7f0a..1cde47ba9 100644 --- a/gtk/ColorSelection.custom +++ b/gtk/ColorSelection.custom @@ -17,7 +17,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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 @@ -28,7 +28,7 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) { @@ -43,20 +43,24 @@ { return null; } - System.Console.WriteLine("Raw call finished, making " + n_colors + " actual colors"); Gdk.Color[] colors = new Gdk.Color[n_colors]; + int colorSize = 0; + unsafe { + colorSize = sizeof(Gdk.Color); + } for (int i=0; i < n_colors; i++) { colors[i] = Gdk.Color.New(parsedColors); - parsedColors = (IntPtr) ((int)parsedColors + Marshal.SizeOf(colors[i])); + parsedColors = (IntPtr) ((int)parsedColors + colorSize); } + GLib.Marshaller.Free (parsedColors); return colors; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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 diff --git a/gtk/ColorSelectionDialog.custom b/gtk/ColorSelectionDialog.custom index 76450ca4d..528b470fb 100644 --- a/gtk/ColorSelectionDialog.custom +++ b/gtk/ColorSelectionDialog.custom @@ -35,3 +35,27 @@ public class ColorSelectionButton : Gtk.Button { } } +[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; } +} + diff --git a/gtk/Combo.custom b/gtk/Combo.custom index 7b54eeabf..733390162 100644 --- a/gtk/Combo.custom +++ b/gtk/Combo.custom @@ -14,12 +14,12 @@ // Boston, MA 02111-1307, USA. -[DllImport("libgtk-win32-2.0-0.dll")] +[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)); + 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); diff --git a/gtk/ComboBox.custom b/gtk/ComboBox.custom index d7b8f7b2e..9473ce525 100644 --- a/gtk/ComboBox.custom +++ b/gtk/ComboBox.custom @@ -39,3 +39,41 @@ AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern GtkSharp.TreeViewRowSeparatorFuncNative gtk_combo_box_get_row_separator_func(IntPtr raw); + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gtk_combo_box_set_row_separator_func(IntPtr raw, GtkSharp.TreeViewRowSeparatorFuncNative func, IntPtr data, GLib.DestroyNotify destroy); + + WeakReference lastRowSeparatorFunc = new WeakReference (null); + public Gtk.TreeViewRowSeparatorFunc RowSeparatorFunc { + get { + GtkSharp.TreeViewRowSeparatorFuncNative raw_ret = gtk_combo_box_get_row_separator_func(Handle); + if (raw_ret == GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeDelegate) { + Gtk.TreeViewRowSeparatorFunc result; + lastRowSeparatorFunc.TryGetTarget (out result); + return result; + } + + if (raw_ret == null) + return null; + + Gtk.TreeViewRowSeparatorFunc ret = new GtkSharp.TreeViewRowSeparatorFuncInvoker (raw_ret).Handler; + return ret; + } + set { + Gtk.Application.AssertMainThread(); + IntPtr data; + GLib.DestroyNotify destroy; + if (value == null) { + data = IntPtr.Zero; + destroy = null; + } else { + data = (IntPtr) GCHandle.Alloc (value); + destroy = GLib.DestroyHelper.NotifyHandler; + } + lastRowSeparatorFunc.SetTarget (value); + gtk_combo_box_set_row_separator_func(Handle, GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeDelegate, data, destroy); + } + } diff --git a/gtk/Container.custom b/gtk/Container.custom index 941efd049..fc3073d3e 100644 --- a/gtk/Container.custom +++ b/gtk/Container.custom @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -19,7 +19,7 @@ // Boston, MA 02111-1307, USA. -[DllImport("gtksharpglue-2")] +[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) { @@ -53,10 +53,10 @@ public IEnumerable AllChildren { } } -[DllImport("libgtk-win32-2.0-0.dll")] +[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")] +[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 { @@ -66,31 +66,27 @@ public Widget[] FocusChain { if (!success) return new Widget [0]; - GLib.List list = new GLib.List (list_ptr); - Widget[] result = new Widget [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Widget; - return result; + return GLib.Marshaller.ListPtrToArray (list_ptr, typeof(GLib.List), true, false); } set { - GLib.List list = new GLib.List (IntPtr.Zero); + 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")] +[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")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_override_forall (IntPtr gtype, ForallDelegate cb); -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_invoke_gtk_callback (IntPtr cb, IntPtr handle, IntPtr data); -[GLib.CDeclCallback] +[UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ForallDelegate (IntPtr container, bool include_internals, IntPtr cb, IntPtr data); static ForallDelegate ForallOldCallback; @@ -127,9 +123,16 @@ public struct CallbackInvoker { static void ForallOld_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { try { - Container obj = GLib.Object.GetObject (container, false) as Container; - CallbackInvoker invoker = new CallbackInvoker (cb, data); - obj.ForAll (include_internals, invoker); + //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); } @@ -152,9 +155,16 @@ protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) static void Forall_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { try { - Container obj = GLib.Object.GetObject (container, false) as Container; - CallbackInvoker invoker = new CallbackInvoker (cb, data); - obj.ForAll (include_internals, new Gtk.Callback (invoker.Invoke)); + //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); } @@ -179,13 +189,13 @@ protected virtual void ForAll (bool include_internals, Gtk.Callback callback) gtksharp_container_base_forall (Handle, include_internals, invoker.Callback, invoker.Data); } -[DllImport("libgtk-win32-2.0-0.dll")] +[DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_container_child_type(IntPtr raw); -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_override_child_type (IntPtr type, ChildTypeDelegate cb); -[GLib.CDeclCallback] +[UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr ChildTypeDelegate (IntPtr raw); static ChildTypeDelegate ChildTypeCallback; @@ -219,7 +229,7 @@ public virtual GLib.GType ChildType() { public class ContainerChild { protected Container parent; - protected Widget child; + protected Widget child; public ContainerChild (Container parent, Widget child) { diff --git a/gtk/Dialog.custom b/gtk/Dialog.custom index c81465a29..ac6e2a514 100644 --- a/gtk/Dialog.custom +++ b/gtk/Dialog.custom @@ -24,16 +24,18 @@ // Boston, MA 02111-1307, USA. -[DllImport("libgtk-win32-2.0-0.dll")] +[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]; - string[] names = new string [1]; - names [0] = "title"; - vals [0] = new GLib.Value (title); - CreateNativeObject (names, vals); + unsafe { + var vals = stackalloc GLib.Value [1]; + var names = stackalloc 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; @@ -42,6 +44,7 @@ public Dialog (string title, Gtk.Window parent, Gtk.DialogFlags flags, params ob if ((flags & DialogFlags.NoSeparator) > 0) HasSeparator = false; } else { + owned = true; 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); diff --git a/gtk/Drag.custom b/gtk/Drag.custom index 190a71c40..57831e6b8 100644 --- a/gtk/Drag.custom +++ b/gtk/Drag.custom @@ -18,7 +18,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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) diff --git a/gio/File.custom b/gtk/FileChooser.custom similarity index 76% rename from gio/File.custom rename to gtk/FileChooser.custom index f764de790..a5b42635f 100644 --- a/gio/File.custom +++ b/gtk/FileChooser.custom @@ -1,8 +1,8 @@ -// File.custom - customizations to GLib.File +// Gtk.FileChooser.custom - Gtk FileChooser customizations // -// Authors: Stephane Delcroix +// Authors: Mike Kestner // -// Copyright (c) 2008 Novell, 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 @@ -18,14 +18,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -bool Exists -{ - get; -} -System.Uri Uri -{ - get; -} + string[] Filenames { get; } + string[] ShortcutFolders { get; } -bool Delete(); diff --git a/gtk/FileChooserButton.custom b/gtk/FileChooserButton.custom new file mode 100644 index 000000000..5fc70d048 --- /dev/null +++ b/gtk/FileChooserButton.custom @@ -0,0 +1,71 @@ +// 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 (string), 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 (string), true, true); + return GLib.Marshaller.ListToArray (list); + } + } + diff --git a/gtk/FileChooserDialog.custom b/gtk/FileChooserDialog.custom index 8c9aafab7..1d10175ab 100644 --- a/gtk/FileChooserDialog.custom +++ b/gtk/FileChooserDialog.custom @@ -22,18 +22,19 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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 string[0], new GLib.Value[0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); Title = title; if (parent != null) TransientFor = parent; Action = action; } else { + owned = true; 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); @@ -43,18 +44,19 @@ AddButton ((string) button_data [i], (int) button_data [i + 1]); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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 string[] { "file-system-backend" }, new GLib.Value[] { new GLib.Value (backend) } ); + 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 { + owned = true; 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); @@ -66,3 +68,53 @@ 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 (string), 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 (string), true, true); + return GLib.Marshaller.ListToArray (list); + } + } + diff --git a/gtk/FileChooserWidget.custom b/gtk/FileChooserWidget.custom new file mode 100644 index 000000000..779966260 --- /dev/null +++ b/gtk/FileChooserWidget.custom @@ -0,0 +1,71 @@ +// 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 (string), 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 (string), true, true); + return GLib.Marshaller.ListToArray (list); + } + } + diff --git a/gtk/FileSelection.custom b/gtk/FileSelection.custom index 603dc13d9..23c5faab7 100644 --- a/gtk/FileSelection.custom +++ b/gtk/FileSelection.custom @@ -36,17 +36,32 @@ public class FSButton : Gtk.Button { } } -[DllImport("libgtk-win32-2.0-0.dll")] +[DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_selection_get_selections (IntPtr handle); -[DllImport("libglib-2.0-0.dll")] +[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 = gtk_file_selection_get_selections (Handle); + 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; + } - System.Collections.ArrayList result = new System.Collections.ArrayList (); + var result = new System.Collections.Generic.List (); int i = 0; IntPtr strptr = Marshal.ReadIntPtr (strv, IntPtr.Size * i++); @@ -57,7 +72,7 @@ public string[] Selections { g_strfreev (strv); - return result.ToArray (typeof (string)) as string[]; + return result.ToArray (); } } diff --git a/gtk/Global.custom b/gtk/Global.custom new file mode 100644 index 000000000..92fe77b23 --- /dev/null +++ b/gtk/Global.custom @@ -0,0 +1,50 @@ +// 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, true); + return ret; + } + } diff --git a/gtk/Gtk.metadata b/gtk/Gtk.metadata index 80f3f84a5..8077e770b 100644 --- a/gtk/Gtk.metadata +++ b/gtk/Gtk.metadata @@ -13,10 +13,13 @@ 1 1 1 + true 1 1 1 1 + true + true GtkPaperSize* true true @@ -31,7 +34,6 @@ public public 1 - 1 1 1 1 @@ -52,9 +54,19 @@ 1 1 true + 1 + 1 + 1 + 1 1 1 + 1 1 + 1 + 1 + 1 + + ref 1 1 @@ -96,6 +108,7 @@ GdkDrawable* GdkDrawable* GdkDrawable* + 1 1 1 1 @@ -105,7 +118,10 @@ async 1 1 + true 1 + true + true 1 1 1 @@ -151,11 +167,13 @@ SelectRegion 1 1 + true gfilename* + true gfilename* - true - gfilename* - true + true + 1 + true gfilename* const-gfilename* const-gfilename* @@ -165,14 +183,18 @@ GetFilters GtkFileFilter* true - GetShortcutFolders - true - gfilename* - true + true + 1 GetShortcutFolderUris gchar* true true + true + true + true + true + true + true GetFilenames gfilename* true @@ -202,8 +224,9 @@ EmitRowHasChildToggled EmitRowInserted EmitRowsReordered - ChangeSortColumn + 1 1 + ChangeSortColumn 1 label 1 @@ -212,6 +235,8 @@ 1 1 1 + 1 + 1 Activated 1 1 @@ -222,6 +247,8 @@ modifier call call + true + true MapChanged map accel_path @@ -279,7 +306,6 @@ CancelEditing 1 1 - Icon TextXAlign TextYAlign 1 @@ -292,6 +318,8 @@ async 1 1 + out + true true 1 1 @@ -306,11 +334,6 @@ 1 1 1 - GtkColorSelection* - GtkButton* - GtkButton* - GtkColorSelection* - GtkButton* GtkButton* public GtkEntry* @@ -318,8 +341,11 @@ out GetTearoffTitle SetTearoffTitle - PoppedDown - PoppedUp + ActiveMoved + PopdownRequested + PopupRequested + 1 + 1 public 1 @@ -346,7 +372,6 @@ VBox GtkVBox* 1 - GtkHButtonBox* Respond GtkResponseType GtkResponseType @@ -389,8 +414,11 @@ GtkButton* GtkEntry* GtkLabel* + true const-gfilename* + true 1 + true const-gfilename* gfilename* GtkButton* @@ -399,18 +427,15 @@ public GtkButton* public - GtkButton* - GtkButton* - GtkButton* 1 1 - 1 1 - IsChildDetached 1 + true 1 1 + true 1 gchar* true @@ -418,8 +443,8 @@ 1 true true - true - LookupIcon + true + true 1 ActivateItem 1 @@ -450,6 +475,7 @@ 1 1 pixbuf_animation + true file true 1 @@ -461,12 +487,9 @@ out out SetAnimation + true SetFile SetPixbuf - out - GetIcon - SetFromIcon - Icon SurroundingDeleted out out @@ -487,7 +510,9 @@ label LineWrapMode ScrollAdjustmentsSet + 1 + 1 1 out @@ -511,11 +536,19 @@ async call 1 + ScrollMoved Canceled Deactivated + FocusCycled + PopupRequested + PopdownRequested + ViewportMoved + FocusMoved + CursorVisibleToggled + HomeOrEndFocused + KeynavFail 1 1 - GetIsShowing 1 void void @@ -533,7 +566,8 @@ 1 1 IsEmbedded - GetIsEmbedded + true + true 1 GetAcceptsPdf GetAcceptsPs @@ -581,7 +615,6 @@ 1 1 1 - PoppedUp private private GetHScrollbar @@ -592,15 +625,11 @@ GtkWidget* 1 true - out - out + 1 SetStock SetPixbuf SetIconName SetFile - SetIcon - GetIcon - Icon 1 out n_columns @@ -701,7 +730,6 @@ 1 1 1 - EmitToolbarReconfigured TooltipSet 1 virtual-root @@ -773,8 +801,15 @@ ActivateRow GetRowExpanded SetEnableGridLines + 1 + 1 + 1 + 1 + 1 + 1 ScrollAdjustmentsSet 1 + true 1 1 ScrollAdjustmentsSet @@ -791,19 +826,13 @@ 1 1 out + true + true 1 1 ProcessEvent out - 1 - 1 - 1 - 1 GdkEventMask - 1 - 1 - 1 - 1 out GetIsFocus 1 @@ -829,10 +858,10 @@ Focused FocusGrabbed Hidden - 1 + KeynavFail Mapped MnemonicActivated - direction + FocusMoved Realized HelpShown Shown @@ -851,11 +880,14 @@ 1 GtkWindow* true + true 1 + true 1 1 DefaultActivated FocusActivated + FocusMoved 1 1 1 @@ -918,4 +950,44 @@ /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 + 1 + async + + GetSelectedUris + GetSelectedUris + SetSelectedUris + GetRecentApplications + GetRecentGroups + 1 + + + async + async diff --git a/gtk/GtkSharp.TextBufferSerializeFuncNative.cs b/gtk/GtkSharp.TextBufferSerializeFuncNative.cs new file mode 100644 index 000000000..ab08a7bc1 --- /dev/null +++ b/gtk/GtkSharp.TextBufferSerializeFuncNative.cs @@ -0,0 +1,44 @@ +// 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 static class TextBufferSerializeFuncWrapper { + + public static IntPtr NativeCallback (IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data) + { + try { + ulong mylength; + + var gch = (GCHandle)user_data; + var managed = (Gtk.TextBufferSerializeFunc)gch.Target; + + 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; + } + return ret_ptr; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, true); + // NOTREACHED: Above call does not return. + throw e; + } + } + + internal static TextBufferSerializeFuncNative NativeDelegate = new TextBufferSerializeFuncNative (NativeCallback); + } +} diff --git a/gtk/HScale.custom b/gtk/HScale.custom index a2f4a517a..d1327adf0 100644 --- a/gtk/HScale.custom +++ b/gtk/HScale.custom @@ -21,22 +21,24 @@ // Boston, MA 02111-1307, USA. - [DllImport ("libgtk-win32-2.0-0.dll")] + [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); - string[] names = new string [1]; - GLib.Value[] vals = new GLib.Value [1]; - names [0] = "adjustment"; - vals [0] = new GLib.Value (adj); - CreateNativeObject (names, vals); - vals [0].Dispose (); + unsafe { + var names = stackalloc IntPtr [1]; + var vals = stackalloc GLib.Value [1]; + names [0] = GLib.Marshaller.StringToPtrGStrdup ("adjustment"); + vals [0] = new GLib.Value (adj); + CreateNativeObject (names, vals, 1); + } return; } + owned = true; Raw = gtk_hscale_new_with_range (min, max, step); } diff --git a/gtk/IconFactory.custom b/gtk/IconFactory.custom index 69fe5c5f7..0b329bee2 100644 --- a/gtk/IconFactory.custom +++ b/gtk/IconFactory.custom @@ -13,7 +13,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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 diff --git a/gtk/IconSet.custom b/gtk/IconSet.custom index 247e0aaa9..273ff436a 100644 --- a/gtk/IconSet.custom +++ b/gtk/IconSet.custom @@ -13,11 +13,11 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] unsafe static extern void g_free (int *mem); /// Sizes Property diff --git a/gtk/IconTheme.custom b/gtk/IconTheme.custom index 709b092c9..3d9fe04d4 100644 --- a/gtk/IconTheme.custom +++ b/gtk/IconTheme.custom @@ -21,7 +21,7 @@ - [DllImport("libgtk-win32-2.0-0.dll")] + [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) @@ -40,43 +40,60 @@ return result; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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("libglib-2.0-0.dll")] + [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 { - string[] retval; - - unsafe { int length; IntPtr raw_ret; - gtk_icon_theme_get_search_path (Handle, out raw_ret, out length); - int size = Marshal.SizeOf (typeof (IntPtr)); - retval = new string[length]; - for (int i = 0, j = 0; i < length; i++, j += size) { - IntPtr string_ptr = Marshal.ReadIntPtr (new IntPtr (raw_ret.ToInt32 () + j)); - retval[i] = GLib.Marshaller.Utf8PtrToString (string_ptr); - } - - g_strfreev (raw_ret); - } - - return retval; + 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 { - int cnt_path = value == null ? 0 : value.Length; - IntPtr[] native_path = new IntPtr [cnt_path]; - for (int i = 0; i < cnt_path; i++) - native_path [i] = GLib.Marshaller.StringToPtrGStrdup (value[i]); - gtk_icon_theme_set_search_path (Handle, native_path, native_path.Length); - for (int i = 0; i < native_path.Length; i++) - GLib.Marshaller.Free (native_path[i]); + IntPtr[] native_path; + if (value == null) + native_path = Array.Empty (); + 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); } } @@ -87,14 +104,14 @@ } #if GTK_SHARP_2_6 - [DllImport("libgtk-win32-2.0-0.dll")] + [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); - ArrayList result = new ArrayList (); + var result = new System.Collections.Generic.List (); int offset = 0; int size = Marshal.ReadInt32 (raw_ret, offset); while (size != 0) { @@ -104,7 +121,7 @@ } GLib.Marshaller.Free (icon_name_as_native); GLib.Marshaller.Free (raw_ret); - return (int[]) result.ToArray (typeof (int)); + return result.ToArray (); } #endif diff --git a/gtk/IconView.custom b/gtk/IconView.custom index c5094e8e9..146010abc 100644 --- a/gtk/IconView.custom +++ b/gtk/IconView.custom @@ -31,7 +31,7 @@ } } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) diff --git a/gtk/Image.custom b/gtk/Image.custom index 923ffb24e..65f827522 100644 --- a/gtk/Image.custom +++ b/gtk/Image.custom @@ -19,39 +19,45 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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)) { - ArrayList vals = new ArrayList(); - ArrayList names = new ArrayList(); - names.Add ("icon_set"); - vals.Add (new GLib.Value (icon_set)); - names.Add ("icon_size"); - vals.Add (new GLib.Value ((int)size)); - CreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value))); + unsafe { + var vals = stackalloc GLib.Value[2]; + var names = stackalloc 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; } + owned = true; Raw = gtk_image_new_from_icon_set(icon_set.Handle, (int) size); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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)) { - ArrayList vals = new ArrayList(); - ArrayList names = new ArrayList(); - names.Add ("stock"); - vals.Add (new GLib.Value (stock_id)); - names.Add ("icon_size"); - vals.Add (new GLib.Value ((int)size)); - CreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value))); + unsafe { + var vals = stackalloc GLib.Value[2]; + var names = stackalloc 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; } + owned = true; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_image_new_from_stock(native, (int) size); GLib.Marshaller.Free (native); diff --git a/gtk/ImageMenuItem.custom b/gtk/ImageMenuItem.custom index e49db2700..d3c8875b5 100644 --- a/gtk/ImageMenuItem.custom +++ b/gtk/ImageMenuItem.custom @@ -21,13 +21,13 @@ // Boston, MA 02111-1307, USA. - [DllImport ("libgtk-win32-2.0-0.dll")] + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); @@ -36,6 +36,7 @@ return; } + owned = true; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_image_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); diff --git a/gtk/Input.custom b/gtk/Input.custom index 15e5e5f9d..9df90c8b4 100644 --- a/gtk/Input.custom +++ b/gtk/Input.custom @@ -2,10 +2,10 @@ // // Author: Mike Kestner // -// Copyright (c) 2005 Novell, Inc. +// 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -19,76 +19,70 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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); - [GLib.CDeclCallback] + [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; + Gdk.InputFunction function; + Gtk.CallbackMarshal marshal; IntPtr data; DestroyNotify destroy; - GLib.DestroyNotify handler; - public InputProxy (InputFunctionWrapper function, GtkSharp.CallbackMarshalWrapper marshal, IntPtr data, DestroyNotify destroy) + public InputProxy (Gdk.InputFunction function, Gtk.CallbackMarshal 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) + static void OnDestroy (IntPtr data) { - if (destroy != null) - destroy (); + var gch = (GCHandle)data; + var proxy = (InputProxy)gch.Target; + + if (proxy.destroy != null) + proxy.destroy (); - GCHandle gch = (GCHandle) data; gch.Free (); } - public GLib.DestroyNotify Handler { - get { - return handler; + static void OnInputFunction (IntPtr data, int source, int condition) + { + var gch = (GCHandle)data; + var proxy = (InputProxy)gch.Target; + + try { + proxy.function (data, source, (Gdk.InputCondition)condition); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + } + + static void OnCallbackMarshal (IntPtr objekt, IntPtr data, uint n_args, IntPtr args) + { + var gch = (GCHandle)data; + var proxy = (InputProxy)gch.Target; + + try { + proxy.marshal (GLib.Object.GetObject (objekt) as Gtk.Object, proxy.data, n_args, Gtk.Arg.New (args)); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); } } + + public static GtkSharp.CallbackMarshalNative MarshalHandler = new GtkSharp.CallbackMarshalNative (OnCallbackMarshal); + public static InputFunctionNative FunctionHandler = new InputFunctionNative (OnInputFunction); + public static GLib.DestroyNotify DestroyHandler = new GLib.DestroyNotify (OnDestroy); } [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); + InputProxy proxy = new InputProxy (function, marshal, 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); + return gtk_input_add_full (source, (int) condition, InputProxy.FunctionHandler, InputProxy.MarshalHandler, (IntPtr) gch, InputProxy.DestroyHandler); } - diff --git a/gtk/IntPtrEqualityComparer.cs b/gtk/IntPtrEqualityComparer.cs new file mode 100644 index 000000000..e942f9a8b --- /dev/null +++ b/gtk/IntPtrEqualityComparer.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; + +namespace Gtk +{ + class IntPtrEqualityComparer : IEqualityComparer + { + public static readonly IEqualityComparer Instance = new IntPtrEqualityComparer (); + + public bool Equals (IntPtr x, IntPtr y) + { + return x == y; + } + + public int GetHashCode (IntPtr obj) + { + return obj.GetHashCode (); + } + } +} diff --git a/gtk/ItemFactory.custom b/gtk/ItemFactory.custom index 28b8f13d0..974fe98ea 100644 --- a/gtk/ItemFactory.custom +++ b/gtk/ItemFactory.custom @@ -21,16 +21,17 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); Construct (container_type, path, accel_group); return; } + owned = true; 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); diff --git a/gtk/Key.cs b/gtk/Key.cs index 89ac84074..ce0a28df6 100644 --- a/gtk/Key.cs +++ b/gtk/Key.cs @@ -22,30 +22,37 @@ namespace Gtk { using System; using System.Collections; + using System.Collections.Generic; using System.Runtime.InteropServices; public class Key { - static Hashtable wrappers = new Hashtable (); + static Dictionary wrappers = new Dictionary (); - [DllImport("libgtk-win32-2.0-0.dll")] + [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; + var gch = GCHandle.Alloc (snooper); + uint ret = gtk_key_snooper_install (GtkSharp.KeySnoopFuncWrapper.NativeDelegate, (IntPtr)gch); + wrappers [ret] = gch; + return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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); + + GCHandle gch; + if (wrappers.TryGetValue (snooper_handler_id, out gch)) { + gch.Free (); + wrappers.Remove (snooper_handler_id); + } } } } diff --git a/gtk/LinkButton.custom b/gtk/LinkButton.custom new file mode 100644 index 000000000..e0a05caeb --- /dev/null +++ b/gtk/LinkButton.custom @@ -0,0 +1,50 @@ +// Gtk.LinkButton.custom - Gtk LinkButton customizations +// +// Authors: Marius Ungureanu +// +// Copyright (c) 2017 Microsoft, 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 GtkSharp.LinkButtonUriFuncNative gtk_link_button_set_uri_hook(GtkSharp.LinkButtonUriFuncNative func, IntPtr data, GLib.DestroyNotify destroy); + + static WeakReference lastUriHook = new WeakReference (null); + public static Gtk.LinkButtonUriFunc SetUriHook(Gtk.LinkButtonUriFunc func) { + Gtk.Application.AssertMainThread(); + IntPtr data; + GLib.DestroyNotify destroy; + + Gtk.LinkButtonUriFunc toRet; + lastUriHook.TryGetTarget (out toRet); + if (func == null) { + data = IntPtr.Zero; + destroy = null; + } else { + data = (IntPtr) GCHandle.Alloc (func); + destroy = GLib.DestroyHelper.NotifyHandler; + } + lastUriHook.SetTarget (func); + GtkSharp.LinkButtonUriFuncNative raw_ret = gtk_link_button_set_uri_hook(GtkSharp.LinkButtonUriFuncWrapper.NativeDelegate, data, destroy); + if (raw_ret == GtkSharp.LinkButtonUriFuncWrapper.NativeDelegate) + return toRet; + + if (raw_ret == null) + return null; + + Gtk.LinkButtonUriFunc ret = new GtkSharp.LinkButtonUriFuncInvoker (raw_ret).Handler; + return ret; + } \ No newline at end of file diff --git a/gtk/ListStore.custom b/gtk/ListStore.custom index 7d7b553d8..f486a9cab 100644 --- a/gtk/ListStore.custom +++ b/gtk/ListStore.custom @@ -7,7 +7,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -27,154 +27,157 @@ return -1; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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 () + [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_model_iter_n_children", CallingConvention = CallingConvention.Cdecl)] + static extern int gtk_tree_model_iter_n_children_ptr(IntPtr raw, IntPtr iter); + + public int IterNChildren () { - int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); + int raw_ret = gtk_tree_model_iter_n_children_ptr (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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) + 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) + 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) + 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) + 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) + 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) + 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) + + 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) + public Gtk.TreeIter AppendValues (Array values) { Gtk.TreeIter iter = Append(); - int col = 0; - foreach (object value in values) { - if (value != null) { - GLib.Value val = new GLib.Value (value); - SetValue (iter, col, val); - val.Dispose (); - } - col++; - } + SetValues (iter, values); return iter; } - - public Gtk.TreeIter AppendValues (params object[] values) + + public Gtk.TreeIter AppendValues (params object[] values) { - return AppendValues ((Array) values); + Gtk.TreeIter iter = Append(); + + SetValues (iter, values); + + return iter; } - [DllImport("libgtk-win32-2.0-0.dll")] - static extern void gtk_list_store_insert_with_valuesv(IntPtr raw, out TreeIter iter, int position, int[] columns, GLib.Value[] values, int n_values); + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + unsafe 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++; + unsafe { + int* columns = stackalloc int[values.Length]; + GLib.Value* vals = stackalloc 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); + 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 (); + for (int i = 0; i < n_values; i++) + vals[i].Dispose (); - return iter; + return iter; + } } - [DllImport("libgtk-win32-2.0-0.dll")] - static extern void gtk_list_store_set_valuesv(IntPtr raw, ref TreeIter iter, int[] columns, GLib.Value[] values, int n_values); + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + unsafe 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++; + unsafe { + int* columns = stackalloc int[values.Length]; + GLib.Value* vals = stackalloc 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); + gtk_list_store_set_valuesv (Handle, ref iter, columns, vals, n_values); - for (int i = 0; i < n_values; i++) - vals[i].Dispose (); + for (int i = 0; i < n_values; i++) + vals[i].Dispose (); + } } public ListStore (params GLib.GType[] types) : base (IntPtr.Zero) { - CreateNativeObject (new string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); ColumnTypes = types; } @@ -186,8 +189,8 @@ gtypes[i] = (GLib.GType) type; i++; } - - CreateNativeObject (new string [0], new GLib.Value [0]); + + CreateNativeObject (Array.Empty (), Array.Empty (), 0); ColumnTypes = gtypes; } @@ -197,7 +200,7 @@ ColumnTypes = types; } - public object GetValue(Gtk.TreeIter iter, int column) + public object GetValue(Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); @@ -207,13 +210,13 @@ } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] - public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) + 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) + public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } @@ -223,7 +226,7 @@ return new TreeEnumerator(this); } - [GLib.CDeclCallback] + [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) @@ -249,7 +252,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; @@ -291,24 +294,23 @@ 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 (); - 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 (); + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [4]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (path)) { + using (inst_and_params [2] = new GLib.Value (iter)) { + + int cnt = IterNChildren (); + IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); + Marshal.Copy (new_order, 0, new_order_ptr, cnt); + using (inst_and_params [3] = new GLib.Value (new_order_ptr)) { + g_signal_chain_from_overridden (inst_and_params, ref ret); + Marshal.FreeHGlobal (new_order_ptr); + } + } + } + } + } } [GLib.Signal("rows_reordered")] @@ -322,4 +324,3 @@ sig.RemoveDelegate (value); } } - diff --git a/gtk/Makefile.am b/gtk/Makefile.am index d3f420d57..126e7a85c 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -11,9 +11,9 @@ pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=gtk-sharp-2.0.pc SYMBOLS = gtk-symbols.xml -INCLUDE_API = $(srcdir)/../glib/glib-api.xml $(top_builddir)/gio/gio-api.xml $(top_builddir)/pango/pango-api.xml $(top_builddir)/atk/atk-api.xml $(top_builddir)/gdk/gdk-api.xml +INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_builddir)/pango/pango-api.xml $(top_builddir)/gdk/gdk-api.xml $(top_builddir)/atk/atk-api.xml METADATA = Gtk.metadata -references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/gio/gio-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(local_mono_cairo) +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 = \ @@ -22,7 +22,9 @@ sources = \ BindingAttribute.cs \ ChildPropertyAttribute.cs \ ITreeNode.cs \ + IntPtrEqualityComparer.cs \ Key.cs \ + MoveFocusHandler.cs \ NodeCellDataFunc.cs \ NodeSelection.cs \ NodeStore.cs \ @@ -30,6 +32,8 @@ sources = \ RadioActionEntry.cs \ RowsReorderedHandler.cs \ StockManager.cs \ + TextBufferSerializeFunc.cs \ + GtkSharp.TextBufferSerializeFuncNative.cs \ ThreadNotify.cs \ ToggleActionEntry.cs \ Timeout.cs \ @@ -72,9 +76,13 @@ customs = \ 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 \ @@ -87,6 +95,7 @@ customs = \ Input.custom \ ItemFactory.custom \ Label.custom \ + LinkButton.custom \ ListStore.custom \ MessageDialog.custom \ Menu.custom \ @@ -95,10 +104,18 @@ customs = \ Object.custom \ Plug.custom \ PrintContext.custom \ + PrintSettings.custom \ Printer.custom \ RadioButton.custom \ RadioMenuItem.custom \ RadioToolButton.custom \ + RecentAction.custom \ + RecentChooserAdapter.custom \ + RecentChooserDialog.custom \ + RecentChooserDefault.custom \ + RecentChooserMenu.custom \ + RecentChooserWidget.custom \ + RecentInfo.custom \ ScrolledWindow.custom \ SelectionData.custom \ Settings.custom \ @@ -142,5 +159,5 @@ customs = \ add_dist = gtk-sharp-2.0.pc.in -include ../Makefile.include +include $(top_srcdir)/Makefile.include diff --git a/gtk/Menu.custom b/gtk/Menu.custom index 4b607a3ee..c90caab70 100644 --- a/gtk/Menu.custom +++ b/gtk/Menu.custom @@ -30,7 +30,7 @@ Popup (null, null, null, 3, Global.CurrentEventTime); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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 { @@ -42,11 +42,3 @@ } } - [DllImport("libgtk-win32-2.0-0.dll")] - static extern void gtk_menu_set_active (IntPtr raw, uint index_); - - public void SetActive (uint index_) - { - gtk_menu_set_active (Handle, index_); - } - diff --git a/gtk/MenuItem.custom b/gtk/MenuItem.custom index 987053158..3388570c3 100644 --- a/gtk/MenuItem.custom +++ b/gtk/MenuItem.custom @@ -21,13 +21,13 @@ // Boston, MA 02111-1307, USA. - [DllImport ("libgtk-win32-2.0-0.dll")] + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); @@ -36,6 +36,7 @@ return; } + owned = true; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); diff --git a/gtk/MessageDialog.custom b/gtk/MessageDialog.custom index 46df80aa7..4b913013e 100644 --- a/gtk/MessageDialog.custom +++ b/gtk/MessageDialog.custom @@ -13,10 +13,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -[DllImport ("libgtk-win32-2.0-0.dll")] +[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")] +[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) diff --git a/gtk/MoveFocusHandler.cs b/gtk/MoveFocusHandler.cs new file mode 100644 index 000000000..ea877b99b --- /dev/null +++ b/gtk/MoveFocusHandler.cs @@ -0,0 +1,20 @@ +// 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]; + } + } + + } +} diff --git a/gtk/NodeStore.cs b/gtk/NodeStore.cs index aae89bc9d..b2056e770 100644 --- a/gtk/NodeStore.cs +++ b/gtk/NodeStore.cs @@ -5,7 +5,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -23,6 +23,7 @@ namespace Gtk { using System; using System.Collections; + using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; @@ -49,29 +50,29 @@ public int GetHashCode (object o) public IDHashtable () : base (new IDHashCodeProvider (), new IDComparer ()) {} } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetFlagsDelegate (); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetNColumnsDelegate (); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetColumnTypeDelegate (int col); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool GetNodeDelegate (out int node_idx, IntPtr path); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetPathDelegate (int node_idx); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void GetValueDelegate (int node_idx, int col, ref GLib.Value val); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool NextDelegate (ref int node_idx); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool ChildrenDelegate (out int child, int parent); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool HasChildDelegate (int node_idx); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int NChildrenDelegate (int node_idx); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool NthChildDelegate (out int child, int parent, int n); - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool ParentDelegate (out int parent, int child); [StructLayout(LayoutKind.Sequential)] @@ -91,11 +92,11 @@ struct TreeModelIfaceDelegates { } Hashtable node_hash = new IDHashtable (); - GLib.GType[] ctypes; + GLib.GType[] ctypes; MemberInfo [] getters; int n_cols; bool list_only = false; - ArrayList nodes = new ArrayList (); + List nodes = new List (); TreeModelIfaceDelegates tree_model_iface; int get_flags_cb () @@ -158,7 +159,7 @@ IntPtr get_path_cb (int node_idx) return IntPtr.Zero; } - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -191,7 +192,7 @@ bool next_cb (ref int node_idx) 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) { @@ -226,7 +227,7 @@ bool children_cb (out int child_idx, int parent) node_hash [node.ID] = node; return true; } - + node = node_hash [parent] as ITreeNode; if (node == null || node.ChildCount <= 0) return false; @@ -261,7 +262,7 @@ 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; @@ -287,7 +288,7 @@ bool nth_child_cb (out int child_idx, int parent, int n) node_hash [node.ID] = node; return true; } - + node = node_hash [parent] as ITreeNode; if (node == null || node.ChildCount <= n) return false; @@ -319,7 +320,7 @@ bool parent_cb (out int parent_idx, int child) return false; } - [DllImport("gtksharpglue-2")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_node_store_set_tree_model_callbacks (IntPtr raw, ref TreeModelIfaceDelegates cbs); private void BuildTreeModelIface () @@ -342,7 +343,7 @@ private void BuildTreeModelIface () public NodeStore (Type node_type) : base (IntPtr.Zero) { - CreateNativeObject (new string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); ScanType (node_type); BuildTreeModelIface (); } @@ -352,17 +353,17 @@ void ScanType (Type type) TreeNodeAttribute tna = (TreeNodeAttribute) Attribute.GetCustomAttribute (type, typeof (TreeNodeAttribute), false); if (tna != null) list_only = tna.ListOnly; - - ArrayList minfos = new ArrayList (); - + + 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]; @@ -372,7 +373,7 @@ void ScanType (Type type) 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; @@ -383,11 +384,11 @@ void ScanType (Type type) private IList Nodes { get { - return nodes as IList; + return nodes; } - } + } - [DllImport("gtksharpglue-2")] + [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) @@ -396,7 +397,7 @@ private void changed_cb (object o, EventArgs args) gtksharp_node_store_emit_row_changed (Handle, get_path_cb (node.ID), node.ID); } - [DllImport("gtksharpglue-2")] + [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) @@ -412,10 +413,10 @@ private void child_added_cb (object o, ITreeNode child) EmitRowInserted (child); } - [DllImport("gtksharpglue-2")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_node_store_emit_row_deleted (IntPtr handle, IntPtr path); - [DllImport("gtksharpglue-2")] + [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) @@ -428,7 +429,7 @@ private void RemoveNodeInternal (ITreeNode node) 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); @@ -484,10 +485,10 @@ public void RemoveNode (ITreeNode node) public void Clear () { while (nodes.Count > 0) - RemoveNode ((ITreeNode)nodes [0]); - + RemoveNode (nodes [0]); + } - + private ITreeNode GetNodeAtPath (TreePath path) { int[] indices = path.Indices; @@ -546,9 +547,9 @@ internal TreeIter GetIter (ITreeNode node) return iter; } - [DllImport("gtksharpglue-2")] + [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 ()); diff --git a/gtk/NodeView.cs b/gtk/NodeView.cs index 5f4e07790..77f49d5ab 100644 --- a/gtk/NodeView.cs +++ b/gtk/NodeView.cs @@ -32,25 +32,30 @@ public class NodeView : TreeView { public NodeView (NodeStore store) : base (IntPtr.Zero) { - string[] names = { "model" }; + IntPtr[] names = { GLib.Marshaller.StringToPtrGStrdup ("model") }; GLib.Value[] vals = { new GLib.Value (store) }; - CreateNativeObject (names, vals); - vals [0].Dispose (); + CreateNativeObject (names, vals, 0); this.store = store; } public NodeView () : base () {} - [DllImport("libgtk-win32-2.0-0.dll")] + [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); store = value; - gtk_tree_view_set_model (Handle, store == null ? IntPtr.Zero : store.Handle); } } diff --git a/gtk/Notebook.custom b/gtk/Notebook.custom index bf7f7b1c1..21791cc9c 100644 --- a/gtk/Notebook.custom +++ b/gtk/Notebook.custom @@ -26,7 +26,7 @@ public Widget CurrentPageWidget { } } -[DllImport("libgtk-win32-2.0-0.dll")] +[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) diff --git a/gtk/Object.custom b/gtk/Object.custom old mode 100755 new mode 100644 index d1a2a1511..03f5cb880 --- a/gtk/Object.custom +++ b/gtk/Object.custom @@ -21,11 +21,11 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - static Hashtable destroy_handlers; - static Hashtable DestroyHandlers { + static System.Collections.Generic.Dictionary destroy_handlers; + static System.Collections.Generic.Dictionary DestroyHandlers { get { if (destroy_handlers == null) - destroy_handlers = new Hashtable (); + destroy_handlers = new System.Collections.Generic.Dictionary (IntPtrEqualityComparer.Instance); return destroy_handlers; } } @@ -41,8 +41,8 @@ [GLib.DefaultSignalHandler(Type=typeof(Gtk.Object), ConnectionMethod="OverrideDestroyed")] protected virtual void OnDestroyed () { - if (DestroyHandlers.Contains (Handle)) { - EventHandler handler = (EventHandler) DestroyHandlers [Handle]; + EventHandler handler; + if (DestroyHandlers.TryGetValue (Handle, out handler)) { handler (this, EventArgs.Empty); DestroyHandlers.Remove (Handle); } @@ -51,11 +51,13 @@ [GLib.Signal("destroy")] public event EventHandler Destroyed { add { - EventHandler handler = (EventHandler) DestroyHandlers [Handle]; - DestroyHandlers [Handle] = Delegate.Combine (handler, value); + EventHandler handler; + DestroyHandlers.TryGetValue (Handle, out handler); + DestroyHandlers [Handle] = (EventHandler)Delegate.Combine (handler, value); } remove { - EventHandler handler = (EventHandler) DestroyHandlers [Handle]; + EventHandler handler; + DestroyHandlers.TryGetValue (Handle, out handler); handler = (EventHandler) Delegate.Remove (handler, value); if (handler != null) DestroyHandlers [Handle] = handler; @@ -81,6 +83,7 @@ if (obj == null) return; obj.OnDestroyed (); + obj.FreeSignals (); } static EventHandler native_destroy_handler; @@ -92,50 +95,43 @@ } } - protected override void CreateNativeObject (string[] names, GLib.Value[] vals) - { - base.CreateNativeObject (names, vals); - } - public override void Dispose () { - if (Handle == IntPtr.Zero) - return; - InternalDestroyed -= NativeDestroyHandler; - base.Dispose (); - } + // Don't call base.Dispose because it's calling g_object_unref + // which is done by gtk_object_destroy for Gtk.Object - [DllImport("libgobject-2.0-0.dll")] - private static extern void g_object_ref_sink (IntPtr raw); + //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 { - if (value != IntPtr.Zero) - g_object_ref_sink (value); base.Raw = value; if (value != IntPtr.Zero) InternalDestroyed += NativeDestroyHandler; } } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] private static extern bool gtksharp_object_is_floating (IntPtr raw); - [DllImport("gtksharpglue-2")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] private static extern bool gtksharp_object_set_floating (IntPtr raw, bool val); public bool IsFloating { diff --git a/gtk/Plug.custom b/gtk/Plug.custom index c1844aebd..050352e4a 100644 --- a/gtk/Plug.custom +++ b/gtk/Plug.custom @@ -21,29 +21,31 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); Construct (socket_id); return; } + owned = true; Raw = gtk_plug_new(socket_id); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); ConstructForDisplay (display, socket_id); return; } + owned = true; Raw = gtk_plug_new_for_display(display.Handle, socket_id); } diff --git a/gtk/PrintContext.custom b/gtk/PrintContext.custom index c94cad313..9d5857c2e 100644 --- a/gtk/PrintContext.custom +++ b/gtk/PrintContext.custom @@ -19,10 +19,10 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [DllImport("libcairo-2.dll", CallingConvention=CallingConvention.Cdecl)] static extern void cairo_reference (IntPtr raw); public Cairo.Context CairoContext { diff --git a/gtk/PrintSettings.custom b/gtk/PrintSettings.custom new file mode 100644 index 000000000..c56c551ca --- /dev/null +++ b/gtk/PrintSettings.custom @@ -0,0 +1,15 @@ + + + [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; + } + diff --git a/gtk/Printer.custom b/gtk/Printer.custom index 732c31342..ce41e08ab 100644 --- a/gtk/Printer.custom +++ b/gtk/Printer.custom @@ -18,23 +18,20 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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); + func_data = (IntPtr) GCHandle.Alloc (func); destroy = GLib.DestroyHelper.NotifyHandler; } - gtk_enumerate_printers (func_wrapper.NativeDelegate, func_data, destroy, wait); + gtk_enumerate_printers (GtkSharp.PrinterFuncWrapper.NativeDelegate, func_data, destroy, wait); } diff --git a/gtk/Quit.custom b/gtk/Quit.custom index 68f1e7038..3ecc235a9 100644 --- a/gtk/Quit.custom +++ b/gtk/Quit.custom @@ -21,54 +21,72 @@ class QuitProxy { - GtkSharp.FunctionWrapper function; - GtkSharp.CallbackMarshalWrapper marshal; + Function function; + CallbackMarshal marshal; IntPtr data; DestroyNotify destroy; - GLib.DestroyNotify handler; - public QuitProxy (GtkSharp.FunctionWrapper function, GtkSharp.CallbackMarshalWrapper marshal, IntPtr data, DestroyNotify destroy) + public QuitProxy (Function function, CallbackMarshal 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) + static void OnDestroy (IntPtr data) { - if (destroy != null) - destroy (); + var gch = (GCHandle)data; + var proxy = (QuitProxy)gch.Target; + + if (proxy.destroy != null) + proxy.destroy (); - GCHandle gch = (GCHandle) data; gch.Free (); } - public GLib.DestroyNotify Handler { - get { - return handler; + static bool OnFunction (IntPtr data) + { + var gch = (GCHandle)data; + var proxy = (QuitProxy)gch.Target; + + return proxy.function (); + } + + static void OnCallbackMarshal (IntPtr objekt, IntPtr data, uint n_args, IntPtr args) + { + var gch = (GCHandle)data; + var proxy = (QuitProxy)gch.Target; + + try { + if (proxy.marshal != null) + proxy.marshal (GLib.Object.GetObject (objekt) as Gtk.Object, proxy.data, n_args, Gtk.Arg.New (args)); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); } } + + public static GtkSharp.CallbackMarshalNative MarshalHandler = new GtkSharp.CallbackMarshalNative (OnCallbackMarshal); + public static GtkSharp.FunctionNative FunctionHandler = new GtkSharp.FunctionNative (OnFunction); + public static GLib.DestroyNotify DestroyHandler = new GLib.DestroyNotify (OnDestroy); } - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint gtk_quit_add_full(uint main_level, GtkSharp.FunctionNative function, GtkSharp.CallbackMarshalNative marshal, IntPtr data, GLib.DestroyNotify destroy); [Obsolete ("Replaced by Add method")] public static uint AddFull (uint main_level, Function function, CallbackMarshal marshal, IntPtr data, DestroyNotify destroy) { - GtkSharp.FunctionWrapper function_wrapper = new GtkSharp.FunctionWrapper (function); - GtkSharp.CallbackMarshalWrapper marshal_wrapper = new GtkSharp.CallbackMarshalWrapper (marshal); - QuitProxy proxy = new QuitProxy (function_wrapper, marshal_wrapper, data, destroy); + QuitProxy proxy = new QuitProxy (function, marshal, data, destroy); GCHandle gch = GCHandle.Alloc (proxy); - return gtk_quit_add_full (main_level, function_wrapper.NativeDelegate, marshal_wrapper.NativeDelegate, (IntPtr) gch, proxy.Handler); + return gtk_quit_add_full (main_level, QuitProxy.FunctionHandler, QuitProxy.MarshalHandler, (IntPtr) gch, QuitProxy.DestroyHandler); } - public static uint Add (uint main_level, Function function) + public static uint Add (uint main_level, Function function) { - GtkSharp.FunctionWrapper function_wrapper = new GtkSharp.FunctionWrapper (function); - GCHandle gch = GCHandle.Alloc (function_wrapper); - return gtk_quit_add_full (main_level, function_wrapper.NativeDelegate, null, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); + QuitProxy proxy = new QuitProxy (function, null, IntPtr.Zero, null); + GCHandle gch = GCHandle.Alloc (proxy); + return gtk_quit_add_full (main_level, GtkSharp.FunctionWrapper.NativeDelegate, null, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } + diff --git a/gtk/RadioButton.custom b/gtk/RadioButton.custom index ee9792e62..31c381866 100644 --- a/gtk/RadioButton.custom +++ b/gtk/RadioButton.custom @@ -19,12 +19,13 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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) { + owned = true; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_radio_button_new_with_mnemonic (IntPtr.Zero, native); GLib.Marshaller.Free (native); diff --git a/gtk/RadioMenuItem.custom b/gtk/RadioMenuItem.custom index 324e08527..542e50fe0 100644 --- a/gtk/RadioMenuItem.custom +++ b/gtk/RadioMenuItem.custom @@ -23,7 +23,7 @@ public RadioMenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (RadioMenuItem)) { - CreateNativeObject (new string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); @@ -32,6 +32,7 @@ return; } + owned = true; 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); diff --git a/gtk/RadioToolButton.custom b/gtk/RadioToolButton.custom index 54e331a15..a3d66d8ec 100644 --- a/gtk/RadioToolButton.custom +++ b/gtk/RadioToolButton.custom @@ -21,32 +21,37 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); Group = group; return; } + owned = true; Raw = gtk_radio_tool_button_new(group == null ? IntPtr.Zero : group.Handle); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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]; - string[] names = { "stock_id" }; - vals [0] = new GLib.Value (stock_id); - CreateNativeObject (names, vals); + unsafe { + var vals = stackalloc GLib.Value [1]; + var names = stackalloc IntPtr [1]; + vals [0] = new GLib.Value (stock_id); + names [0] = GLib.Marshaller.StringToPtrGStrdup ("stock_id"); + CreateNativeObject (names, vals, 0); + } Group = group; return; } + owned = true; 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); diff --git a/gtk/RecentAction.custom b/gtk/RecentAction.custom new file mode 100644 index 000000000..93e104b21 --- /dev/null +++ b/gtk/RecentAction.custom @@ -0,0 +1,8 @@ + [Obsolete ("Use GetSelectedUris instead")] + public string GetUris (out ulong length) + { + var res = GetSelectedUris (out length); + if (length > 0) + return res [0]; + return null; + } diff --git a/gtk/RecentChooserAdapter.custom b/gtk/RecentChooserAdapter.custom new file mode 100644 index 000000000..93e104b21 --- /dev/null +++ b/gtk/RecentChooserAdapter.custom @@ -0,0 +1,8 @@ + [Obsolete ("Use GetSelectedUris instead")] + public string GetUris (out ulong length) + { + var res = GetSelectedUris (out length); + if (length > 0) + return res [0]; + return null; + } diff --git a/gtk/RecentChooserDefault.custom b/gtk/RecentChooserDefault.custom new file mode 100644 index 000000000..93e104b21 --- /dev/null +++ b/gtk/RecentChooserDefault.custom @@ -0,0 +1,8 @@ + [Obsolete ("Use GetSelectedUris instead")] + public string GetUris (out ulong length) + { + var res = GetSelectedUris (out length); + if (length > 0) + return res [0]; + return null; + } diff --git a/gtk/RecentChooserDialog.custom b/gtk/RecentChooserDialog.custom new file mode 100644 index 000000000..93e104b21 --- /dev/null +++ b/gtk/RecentChooserDialog.custom @@ -0,0 +1,8 @@ + [Obsolete ("Use GetSelectedUris instead")] + public string GetUris (out ulong length) + { + var res = GetSelectedUris (out length); + if (length > 0) + return res [0]; + return null; + } diff --git a/gtk/RecentChooserMenu.custom b/gtk/RecentChooserMenu.custom new file mode 100644 index 000000000..93e104b21 --- /dev/null +++ b/gtk/RecentChooserMenu.custom @@ -0,0 +1,8 @@ + [Obsolete ("Use GetSelectedUris instead")] + public string GetUris (out ulong length) + { + var res = GetSelectedUris (out length); + if (length > 0) + return res [0]; + return null; + } diff --git a/gtk/RecentChooserWidget.custom b/gtk/RecentChooserWidget.custom new file mode 100644 index 000000000..93e104b21 --- /dev/null +++ b/gtk/RecentChooserWidget.custom @@ -0,0 +1,8 @@ + [Obsolete ("Use GetSelectedUris instead")] + public string GetUris (out ulong length) + { + var res = GetSelectedUris (out length); + if (length > 0) + return res [0]; + return null; + } diff --git a/gtk/RecentInfo.custom b/gtk/RecentInfo.custom new file mode 100644 index 000000000..c452f1ebf --- /dev/null +++ b/gtk/RecentInfo.custom @@ -0,0 +1,17 @@ + [Obsolete ("Use GetRecentApplications")] + public string GetApplications (out ulong length) + { + var res = GetRecentApplications (out length); + if (length > 0) + return res [0]; + return null; + } + + [Obsolete ("Use GetRecentGroups")] + public string GetGroups (out ulong length) + { + var res = GetRecentGroups (out length); + if (length > 0) + return res [0]; + return null; + } diff --git a/gtk/SelectionData.custom b/gtk/SelectionData.custom index f3a0aeb4f..7dc311f71 100644 --- a/gtk/SelectionData.custom +++ b/gtk/SelectionData.custom @@ -18,10 +18,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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 { @@ -38,7 +38,7 @@ } } - [DllImport("gtksharpglue-2")] + [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] private static extern IntPtr gtksharp_gtk_selection_data_get_data_pointer (IntPtr selection_data); public byte[] Data { @@ -54,10 +54,10 @@ Set(type, format, data, data.Length); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr ptr); - [DllImport("libgtk-win32-2.0-0.dll")] + [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 { @@ -76,3 +76,19 @@ return new Gdk.Atom [0]; } } + + [Obsolete ("Use SetSelectedUris instead")] + public bool SetUris(string uris) + { + return SetSelectedUris (new [] { uris }); + } + + [Obsolete ("Use SelectedUris instead")] + public string Uris { + get { + var res = SelectedUris; + if (res.Length > 0) + return res [0]; + return null; + } + } diff --git a/gtk/SpinButton.custom b/gtk/SpinButton.custom index 668545108..c13242641 100644 --- a/gtk/SpinButton.custom +++ b/gtk/SpinButton.custom @@ -21,22 +21,24 @@ // Boston, MA 02111-1307, USA. - [DllImport ("libgtk-win32-2.0-0.dll")] + [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); - string[] names = new string [1]; - GLib.Value[] vals = new GLib.Value [1]; - names [0] = "adjustment"; - vals [0] = new GLib.Value (adj); - CreateNativeObject (names, vals); - vals [0].Dispose (); + unsafe { + var names = stackalloc IntPtr [1]; + var vals = stackalloc GLib.Value [1]; + names [0] = GLib.Marshaller.StringToPtrGStrdup ("adjustment"); + vals [0] = new GLib.Value (adj); + CreateNativeObject (names, vals, 1); + } return; } + owned = true; Raw = gtk_spin_button_new_with_range (min, max, step); } diff --git a/gtk/StatusIcon.custom b/gtk/StatusIcon.custom index 5ad48a1c6..4ef4cadb6 100644 --- a/gtk/StatusIcon.custom +++ b/gtk/StatusIcon.custom @@ -26,7 +26,7 @@ return GetGeometry (out junk, out area, out orientation); } - [DllImport("gtksharpglue-2")] + [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) @@ -68,4 +68,25 @@ } } + [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; + } diff --git a/gtk/Stock.custom b/gtk/Stock.custom index 14efcef29..4ea6fb70c 100644 --- a/gtk/Stock.custom +++ b/gtk/Stock.custom @@ -19,19 +19,15 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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]; - GLib.SList list = new GLib.SList(raw_ret, typeof (string)); - string[] result = new string [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = (string) list [i]; - return result; + return Array.Empty (); + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, true); } [StructLayout(LayoutKind.Sequential)] @@ -43,7 +39,7 @@ public IntPtr TranslationDomain; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) { diff --git a/gtk/StockManager.cs b/gtk/StockManager.cs index 6acdbd78c..17b606b61 100644 --- a/gtk/StockManager.cs +++ b/gtk/StockManager.cs @@ -26,7 +26,7 @@ namespace Gtk { public class StockManager { - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] @@ -55,7 +55,7 @@ public static explicit operator StockItem (ConstStockItem csi) } } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) @@ -76,10 +76,10 @@ public static bool LookupItem (string stock_id, out Gtk.StockItem item) return Lookup (stock_id, ref item); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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.")] diff --git a/gtk/Style.custom b/gtk/Style.custom index 1fe9be6a9..fbf45c166 100644 --- a/gtk/Style.custom +++ b/gtk/Style.custom @@ -35,21 +35,21 @@ static Gdk.GC EnsureGC (IntPtr raw) { return ret; } -[DllImport("gtksharpglue-2")] +[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")] +[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")] +[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) @@ -58,7 +58,7 @@ public Gdk.GC ForegroundGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -75,7 +75,7 @@ public Gdk.GC[] ForegroundGCs { } } -[DllImport("gtksharpglue-2")] +[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) @@ -84,7 +84,7 @@ public Gdk.GC BackgroundGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -101,7 +101,7 @@ public Gdk.GC[] BackgroundGCs { } } -[DllImport("gtksharpglue-2")] +[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) @@ -110,7 +110,7 @@ public Gdk.GC BaseGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -118,7 +118,7 @@ public void SetBaseGC (StateType state, Gdk.GC gc) gtksharp_gtk_style_set_base_gc (Handle, (int) state, gc.Handle); } -[DllImport("gtksharpglue-2")] +[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) @@ -127,7 +127,7 @@ public Gdk.GC TextGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -135,7 +135,7 @@ public void SetTextGC (StateType state, Gdk.GC gc) gtksharp_gtk_style_set_text_gc (Handle, (int) state, gc.Handle); } -[DllImport("gtksharpglue-2")] +[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) @@ -144,7 +144,7 @@ public Gdk.GC TextAAGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -152,7 +152,7 @@ public void SetTextAAGC (StateType state, Gdk.GC gc) gtksharp_gtk_style_set_text_aa_gc (Handle, (int) state, gc.Handle); } -[DllImport("gtksharpglue-2")] +[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) @@ -161,7 +161,7 @@ public Gdk.GC LightGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -169,7 +169,7 @@ public void SetLightGC (StateType state, Gdk.GC gc) gtksharp_gtk_style_set_light_gc (Handle, (int) state, gc.Handle); } -[DllImport("gtksharpglue-2")] +[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) @@ -178,7 +178,7 @@ public Gdk.GC DarkGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -186,7 +186,7 @@ public void SetDarkGC (StateType state, Gdk.GC gc) gtksharp_gtk_style_set_dark_gc (Handle, (int) state, gc.Handle); } -[DllImport("gtksharpglue-2")] +[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) @@ -195,7 +195,7 @@ public Gdk.GC MidGC (StateType state) return EnsureGC (raw); } -[DllImport("gtksharpglue-2")] +[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) @@ -203,7 +203,7 @@ public void SetMidGC (StateType state, Gdk.GC gc) gtksharp_gtk_style_set_mid_gc (Handle, (int) state, gc.Handle); } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_bg (IntPtr style, int i); public Gdk.Color Background (StateType state) @@ -221,7 +221,7 @@ public Gdk.Color[] Backgrounds { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_fg (IntPtr style, int i); public Gdk.Color Foreground (StateType state) @@ -239,7 +239,7 @@ public Gdk.Color[] Foregrounds { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_text (IntPtr style, int i); public Gdk.Color Text (StateType state) @@ -257,7 +257,7 @@ public Gdk.Color[] TextColors { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_base (IntPtr style, int i); public Gdk.Color Base (StateType state) @@ -275,7 +275,7 @@ public Gdk.Color[] BaseColors { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_light (IntPtr style, int i); public Gdk.Color Light (StateType state) @@ -293,7 +293,7 @@ public Gdk.Color[] LightColors { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_mid (IntPtr style, int i); public Gdk.Color Mid (StateType state) @@ -311,7 +311,7 @@ public Gdk.Color[] MidColors { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_dark (IntPtr style, int i); public Gdk.Color Dark (StateType state) @@ -329,9 +329,9 @@ public Gdk.Color[] DarkColors { } } -[DllImport ("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_style_get_thickness (IntPtr style, int x_axis); -[DllImport ("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_style_set_thickness (IntPtr style, int value); public int XThickness { @@ -354,7 +354,7 @@ public int YThickness { } } -[DllImport ("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_font_description (IntPtr style); public Pango.FontDescription FontDescription { @@ -370,10 +370,10 @@ public Pango.FontDescription FontDescription { } } -[DllImport ("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_bg_pixmap (IntPtr style, int state); -[DllImport ("gtksharpglue-2")] +[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) diff --git a/gtk/Table.custom b/gtk/Table.custom index 44900bed8..388b03828 100644 --- a/gtk/Table.custom +++ b/gtk/Table.custom @@ -16,6 +16,7 @@ /* FIXME: Uncomment this when the default ctor flag is added to the XML public Table() { + owned = true; Raw = gtk_table_new (0, 0, false); } */ diff --git a/gtk/TargetList.custom b/gtk/TargetList.custom index fc831426b..17279205a 100644 --- a/gtk/TargetList.custom +++ b/gtk/TargetList.custom @@ -16,7 +16,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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)) {} @@ -35,16 +35,20 @@ Remove(Gdk.Atom.Intern (target, false)); } - [DllImport("gtksharpglue-2")] - static extern int gtksharp_target_list_length (IntPtr list); - - [DllImport("gtksharpglue-2")] - static extern void gtksharp_target_list_to_entry_array (IntPtr list, [In, Out] TargetEntry[] entries); + [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 = gtksharp_target_list_length (list.Handle); + int length; + IntPtr ret = gtk_target_table_new_from_list (list.Handle, out length); TargetEntry[] entries = new TargetEntry[length]; - gtksharp_target_list_to_entry_array (list.Handle, entries); + 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; } diff --git a/gtk/TextBuffer.custom b/gtk/TextBuffer.custom index 613b8353c..e751cbf14 100644 --- a/gtk/TextBuffer.custom +++ b/gtk/TextBuffer.custom @@ -19,7 +19,7 @@ // Boston, MA 02111-1307, USA. -[DllImport("libgtk-win32-2.0-0.dll")] +[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 @@ -47,13 +47,16 @@ public void Delete (TextIter start, TextIter end ) Delete (ref start, ref end); } +[DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_text_buffer_paste_clipboard", CallingConvention = CallingConvention.Cdecl)] +static extern void gtk_text_buffer_paste_clipboard_ptr(IntPtr raw, IntPtr clipboard, IntPtr override_location, bool default_editable); + // 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); + gtk_text_buffer_paste_clipboard_ptr(Handle, clipboard.Handle, IntPtr.Zero, true); } -[DllImport("libgtk-win32-2.0-0.dll")] +[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")] @@ -116,7 +119,7 @@ public void SetText (string text) Text = text; } -[DllImport("libgtk-win32-2.0-0.dll")] +[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) @@ -127,7 +130,7 @@ public bool InsertInteractive(ref Gtk.TextIter iter, string text, bool default_e return result; } -[DllImport("libgtk-win32-2.0-0.dll")] +[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) @@ -138,7 +141,7 @@ public bool InsertInteractiveAtCursor(string text, bool default_editable) return result; } -[DllImport("libgtk-win32-2.0-0.dll")] +[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) @@ -148,7 +151,7 @@ public void InsertAtCursor(string text) GLib.Marshaller.Free (native); } -[DllImport("libgtk-win32-2.0-0.dll")] +[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) @@ -159,14 +162,15 @@ public byte[] Serialize(Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.Text return new byte [0]; int sz = (int) (uint) length; byte[] ret = new byte [sz]; - Marshal.Copy (ret, 0, raw_ret, sz); + Marshal.Copy (raw_ret, ret, 0, sz); + GLib.Marshaller.Free (raw_ret); return ret; } -[DllImport("libgtk-win32-2.0-0.dll")] +[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")] +[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 { @@ -178,6 +182,7 @@ public Gdk.Atom[] DeserializeFormats { 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; } } @@ -191,7 +196,31 @@ public Gdk.Atom[] SerializeFormats { 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); + 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); + user_data_destroy = GLib.DestroyHelper.NotifyHandler; + } + IntPtr raw_ret = gtk_text_buffer_register_serialize_format(Handle, native_mime_type, GtkSharp.TextBufferSerializeFuncWrapper.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; +} + diff --git a/gtk/TextBufferSerializeFunc.cs b/gtk/TextBufferSerializeFunc.cs new file mode 100644 index 000000000..d89ae165f --- /dev/null +++ b/gtk/TextBufferSerializeFunc.cs @@ -0,0 +1,11 @@ +// 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); + +} diff --git a/gtk/TextChildAnchor.custom b/gtk/TextChildAnchor.custom index bbeabdc00..e4139808f 100644 --- a/gtk/TextChildAnchor.custom +++ b/gtk/TextChildAnchor.custom @@ -19,7 +19,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_child_anchor_get_widgets (IntPtr raw); public Widget[] Widgets { @@ -27,11 +27,7 @@ IntPtr raw_ret = gtk_text_child_anchor_get_widgets (Handle); if (raw_ret == IntPtr.Zero) return new Widget [0]; - GLib.List list = new GLib.List(raw_ret); - Widget[] result = new Widget [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Widget; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } diff --git a/gtk/TextIter.custom b/gtk/TextIter.custom old mode 100755 new mode 100644 index 245d1fcaf..0c5b2f4b4 --- a/gtk/TextIter.custom +++ b/gtk/TextIter.custom @@ -19,16 +19,21 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] - static extern uint gtk_text_iter_get_char(ref Gtk.TextIter raw); + [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 { - return GLib.Marshaller.GUnicharToString (gtk_text_iter_get_char (ref this)); + 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")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_iter_get_marks (ref TextIter iter); public TextMark[] Marks { @@ -36,15 +41,11 @@ IntPtr raw_ret = gtk_text_iter_get_marks (ref this); if (raw_ret == IntPtr.Zero) return new TextMark [0]; - GLib.SList list = new GLib.SList(raw_ret); - TextMark[] result = new TextMark [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as TextMark; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } } - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_iter_get_tags (ref TextIter iter); public TextTag[] Tags { @@ -52,15 +53,11 @@ IntPtr raw_ret = gtk_text_iter_get_tags (ref this); if (raw_ret == IntPtr.Zero) return new TextTag [0]; - GLib.SList list = new GLib.SList(raw_ret); - TextTag[] result = new TextTag [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as TextTag; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) @@ -68,11 +65,7 @@ IntPtr raw_ret = gtk_text_iter_get_toggled_tags (ref this, toggled_on); if (raw_ret == IntPtr.Zero) return new TextTag [0]; - GLib.SList list = new GLib.SList(raw_ret); - TextTag[] result = new TextTag [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as TextTag; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } [Obsolete("Replaced by overload without IntPtr argument")] diff --git a/gtk/TextMark.custom b/gtk/TextMark.custom index fbd221485..1944b87be 100644 --- a/gtk/TextMark.custom +++ b/gtk/TextMark.custom @@ -23,6 +23,6 @@ protected TextMark () : base (IntPtr.Zero) { - CreateNativeObject (new string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); } diff --git a/gtk/TextView.custom b/gtk/TextView.custom index 6ffebf4c4..e4e74468c 100644 --- a/gtk/TextView.custom +++ b/gtk/TextView.custom @@ -1,13 +1,13 @@ // Gtk.TextView.custom - Gtk TextView class customizations // -// Author: Mike Kestner +// 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -20,22 +20,23 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - - [DllImport ("libgtk-win32-2.0-0.dll")] + + [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 string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); Buffer = buffer; return; } + owned = true; Raw = gtk_text_view_new_with_buffer (buffer.Handle); } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusSignalDelegate (IntPtr arg0, int arg1, IntPtr gch); static void MoveFocusSignalCallback (IntPtr arg0, int arg1, IntPtr gch) @@ -55,7 +56,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusVMDelegate (IntPtr text_view, int direction); static MoveFocusVMDelegate MoveFocusVMCallback; @@ -82,15 +83,14 @@ protected virtual void OnMoveFocus (Gtk.DirectionType direction) { GLib.Value ret = GLib.Value.Empty; - GLib.ValueArray inst_and_params = new GLib.ValueArray (2); - GLib.Value[] vals = new GLib.Value [2]; - vals [0] = new GLib.Value (this); - inst_and_params.Append (vals [0]); - vals [1] = new GLib.Value (direction); - inst_and_params.Append (vals [1]); - g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); - foreach (GLib.Value v in vals) - v.Dispose (); + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [2]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (direction)) { + g_signal_chain_from_overridden (inst_and_params, ref ret); + } + } + } } [Obsolete ("Replaced by keybinding signal on Gtk.Widget")] @@ -105,4 +105,3 @@ sig.RemoveDelegate (value); } } - diff --git a/gtk/Toolbar.custom b/gtk/Toolbar.custom index 67bdcc497..592a37f13 100644 --- a/gtk/Toolbar.custom +++ b/gtk/Toolbar.custom @@ -1,13 +1,13 @@ // Gtk.Toolbar.custom - Gtk Toolbar class customizations // -// Author: Mike Kestner +// 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -20,9 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libgobject-2.0-0.dll")] + [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) @@ -40,11 +41,11 @@ } } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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); @@ -64,11 +65,11 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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); @@ -89,11 +90,11 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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); @@ -113,11 +114,11 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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); @@ -137,11 +138,11 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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); @@ -161,11 +162,11 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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); @@ -185,17 +186,17 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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) + 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); @@ -214,4 +215,3 @@ } return ret; } - diff --git a/gtk/TreeEnumerator.cs b/gtk/TreeEnumerator.cs index ce07841bf..6d7e7b9c9 100644 --- a/gtk/TreeEnumerator.cs +++ b/gtk/TreeEnumerator.cs @@ -24,7 +24,7 @@ namespace Gtk { - internal class TreeEnumerator : IEnumerator + internal class TreeEnumerator : IEnumerator, IDisposable { private Gtk.TreeIter iter; private Gtk.TreeModel model; @@ -34,11 +34,10 @@ internal class TreeEnumerator : IEnumerator public TreeEnumerator (TreeModel model) { this.model = model; - - model.RowChanged += new RowChangedHandler (row_changed); - model.RowDeleted += new RowDeletedHandler (row_deleted); - model.RowInserted += new RowInsertedHandler (row_inserted); - model.RowsReordered += new RowsReorderedHandler (rows_reordered); + model.RowChanged += row_event; + model.RowDeleted += row_event; + model.RowInserted += row_event; + model.RowsReordered += row_event; } public object Current @@ -76,24 +75,18 @@ public void Reset() changed = false; } - private void row_changed(object o, RowChangedArgs args) + private void row_event(object o, EventArgs args) { changed = true; } - - private void row_deleted(object o, RowDeletedArgs args) - { - changed = true; - } - - private void row_inserted(object o, RowInsertedArgs args) - { - changed = true; - } - - private void rows_reordered(object o, RowsReorderedArgs args) + + public void Dispose () { - changed = true; + model.RowChanged -= row_event; + model.RowDeleted -= row_event; + model.RowInserted -= row_event; + model.RowsReordered -= row_event; + model = null; } } } diff --git a/gtk/TreeIter.custom b/gtk/TreeIter.custom index 2ddfabe42..e768061a1 100644 --- a/gtk/TreeIter.custom +++ b/gtk/TreeIter.custom @@ -16,24 +16,25 @@ // 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 int GetHashCode () + { + return Stamp ^ (int)_user_data ^ (int)_user_data2 ^ (int)_user_data3; + } - public override bool Equals (object o) - { - if (o == null) - return false; + public override bool Equals (object o) + { + if (!(o is TreeIter)) + return false; + return Equals ((TreeIter)o); + } - 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 bool Equals (TreeIter ti) + { + return ti.Stamp == Stamp && + ti._user_data == _user_data && + ti._user_data2 == _user_data2 && + ti._user_data3 == _user_data3; + } public IntPtr UserData { get { diff --git a/gtk/TreeModelAdapter.custom b/gtk/TreeModelAdapter.custom index 9d206e260..d0a288119 100644 --- a/gtk/TreeModelAdapter.custom +++ b/gtk/TreeModelAdapter.custom @@ -19,7 +19,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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); @@ -27,13 +27,17 @@ return ret; } - public int IterNChildren () { - int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); + [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_model_iter_n_children", CallingConvention = CallingConvention.Cdecl)] + static extern int gtk_tree_model_iter_n_children_ptr(IntPtr raw, IntPtr iter); + + public int IterNChildren () + { + int raw_ret = gtk_tree_model_iter_n_children_ptr (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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); @@ -64,7 +68,7 @@ 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 (); } @@ -77,7 +81,7 @@ return ret; } - [GLib.CDeclCallback] + [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) @@ -104,7 +108,7 @@ } #if false - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; @@ -178,4 +182,3 @@ sig.RemoveDelegate (value); } } - diff --git a/gtk/TreeModelFilter.custom b/gtk/TreeModelFilter.custom index b14602b3e..c9f68891d 100644 --- a/gtk/TreeModelFilter.custom +++ b/gtk/TreeModelFilter.custom @@ -1,4 +1,4 @@ - [DllImport("libgtk-win32-2.0-0.dll")] + [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); @@ -6,13 +6,17 @@ return ret; } - public int IterNChildren () { - int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); + [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_model_iter_n_children", CallingConvention = CallingConvention.Cdecl)] + static extern int gtk_tree_model_iter_n_children_ptr(IntPtr raw, IntPtr iter); + + public int IterNChildren () + { + int raw_ret = gtk_tree_model_iter_n_children_ptr (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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); @@ -43,7 +47,7 @@ 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 (); } @@ -56,20 +60,28 @@ return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) + 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); + IntPtr data; + GLib.DestroyNotify destroy; + if (func == null) { + data = IntPtr.Zero; + destroy = null; + } else { + data = (IntPtr)GCHandle.Alloc (func); + destroy = GLib.DestroyHelper.NotifyHandler; + } + + gtk_tree_model_filter_set_modify_func (Handle, n_columns, native_types, GtkSharp.TreeModelFilterModifyFuncWrapper.NativeDelegate, data, destroy); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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) @@ -81,7 +93,7 @@ return TreeIter.Zero; } - [GLib.CDeclCallback] + [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) @@ -107,7 +119,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; @@ -149,24 +161,23 @@ 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 (); + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [4]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (path)) { + using (inst_and_params [2] = new GLib.Value (iter)) { + + int cnt = IterNChildren (iter); + IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); + Marshal.Copy (new_order, 0, new_order_ptr, cnt); + using (inst_and_params [3] = new GLib.Value (new_order_ptr)) { + g_signal_chain_from_overridden (inst_and_params, ref ret); + Marshal.FreeHGlobal (new_order_ptr); + } + } + } + } + } } [GLib.Signal("rows_reordered")] @@ -180,4 +191,3 @@ sig.RemoveDelegate (value); } } - diff --git a/gtk/TreeModelSort.custom b/gtk/TreeModelSort.custom index c34b3dba2..ac2f493dc 100644 --- a/gtk/TreeModelSort.custom +++ b/gtk/TreeModelSort.custom @@ -7,7 +7,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -21,7 +21,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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); @@ -29,13 +29,17 @@ return ret; } - public int IterNChildren () { - int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); + [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_model_iter_n_children", CallingConvention = CallingConvention.Cdecl)] + static extern int gtk_tree_model_iter_n_children_ptr(IntPtr raw, IntPtr iter); + + public int IterNChildren () + { + int raw_ret = gtk_tree_model_iter_n_children_ptr (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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); @@ -43,16 +47,6 @@ return ret; } - - public TreeIter ConvertChildIterToIter (TreeIter iter) - { - TreeIter result; - if (ConvertChildIterToIter (out result, iter)) - return result; - else - return TreeIter.Zero; - } - public void SetValue (Gtk.TreeIter iter, int column, bool value) { throw new NotImplementedException (); } @@ -76,7 +70,7 @@ 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 (); } @@ -94,18 +88,18 @@ } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] - public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) + 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) + public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } - [GLib.CDeclCallback] + [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) @@ -131,7 +125,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; @@ -173,24 +167,23 @@ 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 (); + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [4]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (path)) { + using (inst_and_params [2] = new GLib.Value (iter)) { + + int cnt = IterNChildren (iter); + IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); + Marshal.Copy (new_order, 0, new_order_ptr, cnt); + using (inst_and_params [3] = new GLib.Value (new_order_ptr)) { + g_signal_chain_from_overridden (inst_and_params, ref ret); + Marshal.FreeHGlobal (new_order_ptr); + } + } + } + } + } } [GLib.Signal("rows_reordered")] @@ -204,4 +197,3 @@ sig.RemoveDelegate (value); } } - diff --git a/gtk/TreePath.custom b/gtk/TreePath.custom index 6491748a9..f6c79d9a2 100644 --- a/gtk/TreePath.custom +++ b/gtk/TreePath.custom @@ -14,7 +14,7 @@ // Boston, MA 02111-1307, USA. // Patch submitted by malte on bug #49518 - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_tree_path_get_indices(IntPtr raw); public int [] Indices { diff --git a/gtk/TreeSelection.custom b/gtk/TreeSelection.custom index a918aeae2..95bb22f1c 100644 --- a/gtk/TreeSelection.custom +++ b/gtk/TreeSelection.custom @@ -19,7 +19,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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 () @@ -28,8 +28,7 @@ if (list_ptr == IntPtr.Zero) return new TreePath [0]; - GLib.List list = new GLib.List (list_ptr, typeof (Gtk.TreePath)); - return (TreePath[]) GLib.Marshaller.ListToArray (list, typeof (Gtk.TreePath)); + return GLib.Marshaller.ListPtrToArray (list_ptr, typeof (GLib.List), true, true); } [Obsolete ("Replaced by SelectFunction property.")] @@ -38,7 +37,7 @@ SelectFunction = func; } - [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_selection_get_selected")] + [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) diff --git a/gtk/TreeStore.custom b/gtk/TreeStore.custom index 1d82be605..3762165e9 100644 --- a/gtk/TreeStore.custom +++ b/gtk/TreeStore.custom @@ -9,7 +9,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -23,14 +23,14 @@ // Boston, MA 02111-1307, USA. - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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) + public TreeIter Append (TreeIter parent) { TreeIter iter; gtk_tree_store_append (Handle, out iter, ref parent); @@ -38,33 +38,33 @@ } [Obsolete ("Replaced by AppendNode")] - public void Append (out TreeIter iter) + public void Append (out TreeIter iter) { gtk_tree_store_append (Handle, out iter, IntPtr.Zero); } - public TreeIter AppendNode () + public TreeIter AppendNode () { TreeIter iter; gtk_tree_store_append (Handle, out iter, IntPtr.Zero); return iter; } - public TreeIter AppendNode (TreeIter parent) + 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")] + [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")] + [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) + public TreeIter Insert (TreeIter parent, int position) { TreeIter iter; gtk_tree_store_insert (Handle, out iter, ref parent, position); @@ -72,33 +72,33 @@ } [Obsolete ("Replaced by InsertNode")] - public void Insert (out TreeIter iter, int position) + 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) + 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) + 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")] + [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")] + [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) + public TreeIter Prepend(TreeIter parent) { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, ref parent); @@ -106,33 +106,33 @@ } [Obsolete ("Replaced by PrependNode")] - public void Prepend (out TreeIter iter) + public void Prepend (out TreeIter iter) { gtk_tree_store_append (Handle, out iter, IntPtr.Zero); } - public TreeIter PrependNode (TreeIter parent) + public TreeIter PrependNode (TreeIter parent) { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, ref parent); return iter; } - public TreeIter PrependNode () + public TreeIter PrependNode () { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, IntPtr.Zero); return iter; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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) + public TreeIter InsertBefore (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_before (Handle, out iter, ref parent, ref sibling); @@ -140,33 +140,33 @@ } [Obsolete ("Replaced by InsertNodeBefore")] - public void InsertBefore (out TreeIter iter, TreeIter sibling) + 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) + 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) + 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")] + [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")] + [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) + public TreeIter InsertAfter (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_after (Handle, out iter, ref parent, ref sibling); @@ -174,26 +174,26 @@ } [Obsolete ("Replaced by InsertNodeAfter")] - public void InsertAfter (out TreeIter iter, TreeIter sibling) + 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) + 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) + 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")] + [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); @@ -201,13 +201,17 @@ return ret; } - public int IterNChildren () { - int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); + [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_model_iter_n_children", CallingConvention = CallingConvention.Cdecl)] + static extern int gtk_tree_model_iter_n_children_ptr(IntPtr raw, IntPtr iter); + + public int IterNChildren () + { + int raw_ret = gtk_tree_model_iter_n_children_ptr (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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); @@ -215,89 +219,84 @@ return ret; } - public void SetValue (Gtk.TreeIter iter, int column, bool value) + 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) + 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) + 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) + 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) + 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) + 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) + + public void SetValue (Gtk.TreeIter iter, int column, object value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } - private void _AppendValues (Gtk.TreeIter iter, Array values) { - int col = 0; - foreach (object value in values) { - if (value != null) - SetValue (iter, col, value); - col++; - } - } - public Gtk.TreeIter AppendValues (Gtk.TreeIter parent, Array values) { Gtk.TreeIter iter = AppendNode (parent); - _AppendValues (iter, values); + SetValues (iter, values); return iter; } - + public Gtk.TreeIter AppendValues (Gtk.TreeIter parent, params object[] values) { - return AppendValues (parent, (Array) values); + Gtk.TreeIter iter = AppendNode (parent); + SetValues (iter, values); + return iter; } public Gtk.TreeIter AppendValues (Array values) { Gtk.TreeIter iter = AppendNode (); - _AppendValues (iter, values); + SetValues (iter, values); return iter; } - + public Gtk.TreeIter AppendValues (params object[] values) { - return AppendValues ((Array) values); + Gtk.TreeIter iter = AppendNode (); + SetValues (iter, values); + return iter; } - [DllImport("libgtk-win32-2.0-0.dll")] - 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)] + unsafe 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")] - 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); + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + unsafe 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) { @@ -311,56 +310,60 @@ 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++; + unsafe { + int* columns = stackalloc int[values.Length]; + GLib.Value* vals = stackalloc 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); + 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 (); + for (int i = 0; i < n_values; i++) + vals[i].Dispose (); - return iter; + return iter; + } } - [DllImport("libgtk-win32-2.0-0.dll")] - static extern void gtk_tree_store_set_valuesv(IntPtr raw, ref TreeIter iter, int[] columns, GLib.Value[] values, int n_values); + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + unsafe 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++; + unsafe { + int *columns = stackalloc int[values.Length]; + GLib.Value *vals = stackalloc 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); + gtk_tree_store_set_valuesv (Handle, ref iter, columns, vals, n_values); - for (int i = 0; i < n_values; i++) - vals[i].Dispose (); + for (int i = 0; i < n_values; i++) + vals[i].Dispose (); + } } public TreeStore (params GLib.GType[] types) : base (IntPtr.Zero) { - CreateNativeObject (new string [0], new GLib.Value [0]); + CreateNativeObject (Array.Empty (), Array.Empty (), 0); ColumnTypes = types; } @@ -372,8 +375,8 @@ gtypes[i] = (GLib.GType) type; i++; } - - CreateNativeObject (new string [0], new GLib.Value [0]); + + CreateNativeObject (Array.Empty (), Array.Empty (), 0); ColumnTypes = gtypes; } @@ -392,18 +395,18 @@ } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] - public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) + 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) + public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } - [GLib.CDeclCallback] + [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) @@ -429,7 +432,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; @@ -471,24 +474,22 @@ 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 (); + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [4]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (path)) { + using (inst_and_params [2] = new GLib.Value (iter)) { + int cnt = IterNChildren (iter); + IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); + Marshal.Copy (new_order, 0, new_order_ptr, cnt); + using (inst_and_params [3] = new GLib.Value (new_order_ptr)) { + g_signal_chain_from_overridden (inst_and_params, ref ret); + Marshal.FreeHGlobal (new_order_ptr); + } + } + } + } + } } [GLib.Signal("rows_reordered")] @@ -502,4 +503,3 @@ sig.RemoveDelegate (value); } } - diff --git a/gtk/TreeView.custom b/gtk/TreeView.custom index 70fbabb71..eeacbb3e0 100644 --- a/gtk/TreeView.custom +++ b/gtk/TreeView.custom @@ -24,19 +24,48 @@ // Boston, MA 02111-1307, USA. + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gtk_tree_view_new_with_model(IntPtr model); + + [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] + static extern void g_object_ref (IntPtr raw); + + public TreeView (Gtk.TreeModel model) : base (IntPtr.Zero) + { + if (GetType () != typeof (TreeView)) { + unsafe { + var vals = stackalloc GLib.Value[1]; + var names = stackalloc IntPtr[1]; + var param_count = 0; + if (model != null) { + names[param_count] = GLib.Marshaller.StringToPtrGStrdup ("model"); + vals[param_count++] = new GLib.Value (model); + } + CreateNativeObject (names, vals, param_count); + } + return; + } + owned = true; + Raw = gtk_tree_view_new_with_model(model == null ? IntPtr.Zero : model.Handle); + if (model != null) + g_object_ref (model.Handle); + } + [Obsolete ("Use NodeView with NodeStores")] public TreeView (NodeStore store) : base (IntPtr.Zero) { if (GetType() != typeof (TreeView)) { - string[] names = new string [1]; - GLib.Value[] vals = new GLib.Value [1]; - names [0] = "model"; - vals [0] = new GLib.Value (store); - CreateNativeObject (names, vals); - vals [0].Dispose (); + unsafe { + var vals = stackalloc GLib.Value[1]; + var names = stackalloc IntPtr[1]; + names [0] = GLib.Marshaller.StringToPtrGStrdup ("model"); + vals [0] = new GLib.Value (store); + CreateNativeObject (names, vals, 1); + } return; } + owned = true; Raw = gtk_tree_view_new_with_model (store.Handle); } @@ -58,7 +87,7 @@ } } - [DllImport("libgtk-win32-2.0-0.dll")] + [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, @@ -67,7 +96,7 @@ out int cell_x, out int cell_y); - [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_view_get_path_at_pos")] + [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, @@ -186,3 +215,117 @@ public void GetVisibleRect(Gdk.Rectangle visible_rect) { ; } + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern GtkSharp.TreeViewRowSeparatorFuncNative gtk_tree_view_get_row_separator_func(IntPtr raw); + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gtk_tree_view_set_row_separator_func(IntPtr raw, GtkSharp.TreeViewRowSeparatorFuncNative func, IntPtr data, GLib.DestroyNotify destroy); + + WeakReference lastRowSeparatorFunc = new WeakReference (null); + public Gtk.TreeViewRowSeparatorFunc RowSeparatorFunc { + get { + GtkSharp.TreeViewRowSeparatorFuncNative raw_ret = gtk_tree_view_get_row_separator_func(Handle); + if (raw_ret == GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeDelegate) { + Gtk.TreeViewRowSeparatorFunc result; + lastRowSeparatorFunc.TryGetTarget (out result); + return result; + } + + if (raw_ret == null) + return null; + + Gtk.TreeViewRowSeparatorFunc ret = new GtkSharp.TreeViewRowSeparatorFuncInvoker (raw_ret).Handler; + return ret; + } + set { + Gtk.Application.AssertMainThread(); + IntPtr data; + GLib.DestroyNotify destroy; + if (value == null) { + data = IntPtr.Zero; + destroy = null; + } else { + data = (IntPtr) GCHandle.Alloc (value); + destroy = GLib.DestroyHelper.NotifyHandler; + } + lastRowSeparatorFunc.SetTarget (value); + gtk_tree_view_set_row_separator_func(Handle, GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeDelegate, data, destroy); + } + } + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern GtkSharp.TreeViewSearchEqualFuncNative gtk_tree_view_get_search_equal_func(IntPtr raw); + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gtk_tree_view_set_search_equal_func(IntPtr raw, GtkSharp.TreeViewSearchEqualFuncNative search_equal_func, IntPtr search_user_data, GLib.DestroyNotify search_destroy); + + WeakReference lastSearchEqualFunc = new WeakReference (null); + public Gtk.TreeViewSearchEqualFunc SearchEqualFunc { + get { + GtkSharp.TreeViewSearchEqualFuncNative raw_ret = gtk_tree_view_get_search_equal_func(Handle); + if (raw_ret == GtkSharp.TreeViewSearchEqualFuncWrapper.NativeDelegate) { + Gtk.TreeViewSearchEqualFunc result; + lastSearchEqualFunc.TryGetTarget (out result); + return result; + } + + if (raw_ret == null) + return null; + + Gtk.TreeViewSearchEqualFunc ret = new GtkSharp.TreeViewSearchEqualFuncInvoker (raw_ret).Handler; + return ret; + } + set { + Gtk.Application.AssertMainThread(); + IntPtr search_user_data; + GLib.DestroyNotify search_destroy; + if (value == null) { + search_user_data = IntPtr.Zero; + search_destroy = null; + } else { + search_user_data = (IntPtr) GCHandle.Alloc (value); + search_destroy = GLib.DestroyHelper.NotifyHandler; + } + lastSearchEqualFunc.SetTarget (value); + gtk_tree_view_set_search_equal_func(Handle, GtkSharp.TreeViewSearchEqualFuncWrapper.NativeDelegate, search_user_data, search_destroy); + } + } + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern GtkSharp.TreeViewSearchPositionFuncNative gtk_tree_view_get_search_position_func(IntPtr raw); + + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gtk_tree_view_set_search_position_func(IntPtr raw, GtkSharp.TreeViewSearchPositionFuncNative func, IntPtr data, GLib.DestroyNotify destroy); + + WeakReference lastSearchPositionFunc = new WeakReference (null); + public Gtk.TreeViewSearchPositionFunc SearchPositionFunc { + get { + GtkSharp.TreeViewSearchPositionFuncNative raw_ret = gtk_tree_view_get_search_position_func(Handle); + if (raw_ret == GtkSharp.TreeViewSearchPositionFuncWrapper.NativeDelegate) { + Gtk.TreeViewSearchPositionFunc result; + lastSearchPositionFunc.TryGetTarget (out result); + return result; + } + + if (raw_ret == null) + return null; + + Gtk.TreeViewSearchPositionFunc ret = new GtkSharp.TreeViewSearchPositionFuncInvoker (raw_ret).Handler; + return ret; + } + set { + Gtk.Application.AssertMainThread(); + IntPtr data; + GLib.DestroyNotify destroy; + if (value == null) { + data = IntPtr.Zero; + destroy = null; + } else { + data = (IntPtr) GCHandle.Alloc (value); + destroy = GLib.DestroyHelper.NotifyHandler; + } + lastSearchPositionFunc.SetTarget (value); + gtk_tree_view_set_search_position_func(Handle, GtkSharp.TreeViewSearchPositionFuncWrapper.NativeDelegate, data, destroy); + } + } diff --git a/gtk/TreeViewColumn.custom b/gtk/TreeViewColumn.custom index 9d4f577a5..ceec409cd 100644 --- a/gtk/TreeViewColumn.custom +++ b/gtk/TreeViewColumn.custom @@ -50,7 +50,7 @@ _NewWithAttributes (title, cell, attrs); } - [DllImport("libgtk-win32-2.0-0.dll")] + [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 { @@ -58,11 +58,8 @@ IntPtr raw_ret = gtk_tree_view_column_get_cell_renderers (Handle); if (raw_ret == IntPtr.Zero) return new CellRenderer [0]; - GLib.List list = new GLib.List (raw_ret); - CellRenderer[] result = new CellRenderer [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as CellRenderer; - return result; + + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } diff --git a/gtk/UIManager.custom b/gtk/UIManager.custom index 12ba7f736..ebbd3aefa 100644 --- a/gtk/UIManager.custom +++ b/gtk/UIManager.custom @@ -32,7 +32,7 @@ return AddUiFromString (new System.IO.StreamReader (s).ReadToEnd ()); } - [DllImport("libgtk-win32-2.0-0.dll")] + [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint gtk_ui_manager_new_merge_id (IntPtr raw); public uint NewMergeId () @@ -40,28 +40,21 @@ return gtk_ui_manager_new_merge_id (Handle); } - [DllImport ("libgtk-win32-2.0-0.dll")] + [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); - GLib.SList list = new GLib.SList (raw_ret); - Widget[] result = new Widget [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Widget; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } - [DllImport ("libgtk-win32-2.0-0.dll")] + [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); - ActionGroup[] result = new ActionGroup [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as ActionGroup; - return result; + return GLib.Marshaller.ListToArray (list); } } diff --git a/gtk/VScale.custom b/gtk/VScale.custom index 43ec814a7..33794e4f4 100644 --- a/gtk/VScale.custom +++ b/gtk/VScale.custom @@ -21,22 +21,24 @@ // Boston, MA 02111-1307, USA. - [DllImport ("libgtk-win32-2.0-0.dll")] + [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); - string[] names = new string [1]; - GLib.Value[] vals = new GLib.Value [1]; - names [0] = "adjustment"; - vals [0] = new GLib.Value (adj); - CreateNativeObject (names, vals); - vals [0].Dispose (); + unsafe { + var names = stackalloc IntPtr [1]; + var vals = stackalloc GLib.Value [1]; + names [0] = GLib.Marshaller.StringToPtrGStrdup ("adjustment"); + vals [0] = new GLib.Value (adj); + CreateNativeObject (names, vals, 1); + } return; } + owned = true; Raw = gtk_vscale_new_with_range (min, max, step); } diff --git a/gtk/Widget.custom b/gtk/Widget.custom index cda38afc1..cff78672d 100644 --- a/gtk/Widget.custom +++ b/gtk/Widget.custom @@ -5,13 +5,13 @@ // Brad Taylor // // Copyright (C) 2007 Brad Taylor -// Copyright (C) 2002 Rachel Hestilow +// 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -24,7 +24,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -[Obsolete] +[Obsolete] protected Widget (GLib.GType gtype) : base(gtype) { } @@ -34,12 +34,7 @@ public override void Destroy () base.Destroy (); } -protected override void CreateNativeObject (string[] names, GLib.Value[] vals) -{ - base.CreateNativeObject (names, vals); -} - -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_widget_get_allocation (IntPtr style); public Gdk.Rectangle Allocation { @@ -47,9 +42,9 @@ public Gdk.Rectangle Allocation { set { SizeAllocate (value); } } -[DllImport ("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_widget_get_window (IntPtr widget); -[DllImport ("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_widget_set_window (IntPtr widget, IntPtr window); public Gdk.Window GdkWindow { get { @@ -73,10 +68,10 @@ public void AddAccelerator (string accel_signal, AccelGroup accel_group, AccelKe } -[DllImport("libgtk-win32-2.0-0.dll")] +[DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_widget_set_state (IntPtr raw, int state); -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_widget_get_state (IntPtr raw); public Gtk.StateType State { @@ -88,10 +83,10 @@ public Gtk.StateType State { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_widget_get_flags (IntPtr raw); -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_widget_set_flags (IntPtr raw, int flags); [Obsolete] @@ -178,7 +173,7 @@ public bool IsDrawable { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_widget_style_get_int (IntPtr raw, IntPtr name); public int FocusLineWidth { @@ -190,10 +185,10 @@ public int FocusLineWidth { } } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_widget_connect_set_scroll_adjustments_signal (IntPtr gtype, SetScrollAdjustmentsDelegate cb); -[GLib.CDeclCallback] +[UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetScrollAdjustmentsDelegate (IntPtr widget, IntPtr hadj, IntPtr vadj); static SetScrollAdjustmentsDelegate SetScrollAdjustmentsCallback; @@ -227,10 +222,10 @@ protected virtual void OnSetScrollAdjustments (Gtk.Adjustment hadj, Gtk.Adjustme { } -[DllImport("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_widget_connect_activate_signal (IntPtr gtype, ActivateDelegate cb); -[GLib.CDeclCallback] +[UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ActivateDelegate (IntPtr widget); static ActivateDelegate ActivateCallback; @@ -278,7 +273,7 @@ private class BindingInvoker { } } -[GLib.CDeclCallback] +[UnmanagedFunctionPointer (CallingConvention.Cdecl)] private delegate void BindingHandler (IntPtr handle, IntPtr user_data); private static void BindingCallback (IntPtr handle, IntPtr user_data) @@ -301,10 +296,10 @@ static BindingHandler BindingDelegate { } } -[DllImport ("gtksharpglue-2")] +[DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_widget_add_binding_signal (IntPtr gvalue, IntPtr name, BindingHandler handler); -[DllImport ("gtksharpglue-2")] +[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) @@ -329,7 +324,7 @@ static void ClassInit (GLib.GType gtype, Type t) GLib.Marshaller.Free (signame); } -[DllImport("gtksharpglue-2")] +[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) { @@ -343,7 +338,7 @@ public object StyleGetProperty (string property_name) { value.Dispose (); return ret; } - + return null; } @@ -356,7 +351,7 @@ internal GLib.Value StyleGetPropertyValue (string property_name) { return value; } -[DllImport("libgtk-win32-2.0-0.dll")] +[DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_widget_list_mnemonic_labels (IntPtr raw); public Widget[] ListMnemonicLabels () @@ -364,30 +359,37 @@ public Widget[] ListMnemonicLabels () IntPtr raw_ret = gtk_widget_list_mnemonic_labels (Handle); if (raw_ret == IntPtr.Zero) return new Widget [0]; - GLib.List list = new GLib.List(raw_ret); - Widget[] result = new Widget [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Widget; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } -public void ModifyBase (Gtk.StateType state) +[DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_widget_modify_base", CallingConvention = CallingConvention.Cdecl)] +static extern void gtk_widget_modify_base_ptr(IntPtr raw, int state, IntPtr color); + +public void ModifyBase (Gtk.StateType state) { - gtk_widget_modify_base (Handle, (int) state, IntPtr.Zero); + gtk_widget_modify_base_ptr (Handle, (int) state, IntPtr.Zero); } -public void ModifyBg (Gtk.StateType state) +[DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_widget_modify_bg", CallingConvention = CallingConvention.Cdecl)] +static extern void gtk_widget_modify_bg_ptr(IntPtr raw, int state, IntPtr color); + +public void ModifyBg (Gtk.StateType state) { - gtk_widget_modify_bg (Handle, (int) state, IntPtr.Zero); + gtk_widget_modify_bg_ptr (Handle, (int) state, IntPtr.Zero); } -public void ModifyFg (Gtk.StateType state) +[DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_widget_modify_fg", CallingConvention = CallingConvention.Cdecl)] +static extern void gtk_widget_modify_fg_ptr(IntPtr raw, int state, IntPtr color); + +public void ModifyFg (Gtk.StateType state) { - gtk_widget_modify_fg (Handle, (int) state, IntPtr.Zero); + gtk_widget_modify_fg_ptr (Handle, (int) state, IntPtr.Zero); } -public void ModifyText (Gtk.StateType state) +[DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_widget_modify_text", CallingConvention = CallingConvention.Cdecl)] +static extern void gtk_widget_modify_text_ptr(IntPtr raw, int state, IntPtr color); + +public void ModifyText (Gtk.StateType state) { - gtk_widget_modify_text (Handle, (int) state, IntPtr.Zero); + gtk_widget_modify_text_ptr (Handle, (int) state, IntPtr.Zero); } - diff --git a/gtk/Window.custom b/gtk/Window.custom old mode 100755 new mode 100644 index 81a218500..11ab51d46 --- a/gtk/Window.custom +++ b/gtk/Window.custom @@ -8,7 +8,7 @@ // 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 +// modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, @@ -26,10 +26,10 @@ this.Title = title; } - [DllImport("libgtk-win32-2.0-0.dll")] + [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")] + [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 { @@ -37,24 +37,20 @@ IntPtr raw_ret = gtk_window_get_default_icon_list(); if (raw_ret == IntPtr.Zero) return new Gdk.Pixbuf [0]; - GLib.List list = new GLib.List(raw_ret); - Gdk.Pixbuf[] result = new Gdk.Pixbuf [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Gdk.Pixbuf; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } set { - GLib.List list = new GLib.List(IntPtr.Zero); + 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")] + [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")] + [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 { @@ -62,14 +58,10 @@ IntPtr raw_ret = gtk_window_get_icon_list(Handle); if (raw_ret == IntPtr.Zero) return new Gdk.Pixbuf [0]; - GLib.List list = new GLib.List(raw_ret); - Gdk.Pixbuf[] result = new Gdk.Pixbuf [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as Gdk.Pixbuf; - return result; + return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } set { - GLib.List list = new GLib.List(IntPtr.Zero); + 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); @@ -86,7 +78,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusSignalDelegate (IntPtr arg0, int arg1, IntPtr gch); static void MoveFocusSignalCallback (IntPtr arg0, int arg1, IntPtr gch) @@ -106,7 +98,7 @@ } } - [GLib.CDeclCallback] + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusVMDelegate (IntPtr window, int direction); static MoveFocusVMDelegate MoveFocusVMCallback; @@ -133,15 +125,14 @@ protected virtual void OnMoveFocus (Gtk.DirectionType direction) { GLib.Value ret = GLib.Value.Empty; - GLib.ValueArray inst_and_params = new GLib.ValueArray (2); - GLib.Value[] vals = new GLib.Value [2]; - vals [0] = new GLib.Value (this); - inst_and_params.Append (vals [0]); - vals [1] = new GLib.Value (direction); - inst_and_params.Append (vals [1]); - g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); - foreach (GLib.Value v in vals) - v.Dispose (); + unsafe { + GLib.Value* inst_and_params = stackalloc GLib.Value [2]; + using (inst_and_params [0] = new GLib.Value (this)) { + using (inst_and_params [1] = new GLib.Value (direction)) { + g_signal_chain_from_overridden (inst_and_params, ref ret); + } + } + } } [Obsolete ("Replaced by Keybinding signal on Gtk.Widget")] @@ -156,4 +147,3 @@ sig.RemoveDelegate (value); } } - diff --git a/gtk/glue/Makefile.am b/gtk/glue/Makefile.am index 7f4f0e6b8..81a8964a8 100644 --- a/gtk/glue/Makefile.am +++ b/gtk/glue/Makefile.am @@ -4,6 +4,7 @@ libgtksharpglue_2_la_SOURCES = \ adjustment.c \ cellrenderer.c \ clipboard.c \ + colorseldialog.c \ container.c \ nodestore.c \ object.c \ diff --git a/gtk/glue/cellrenderer.c b/gtk/glue/cellrenderer.c index 8676adad4..5ae6aa507 100644 --- a/gtk/glue/cellrenderer.c +++ b/gtk/glue/cellrenderer.c @@ -23,6 +23,21 @@ #include +static const gchar *__prefix = "__gtksharp_"; + +#define HAS_PREFIX(a) (*((guint64 *)(a)) == *((guint64 *) __prefix)) + +static GObjectClass * +get_threshold_class (GObject *obj) +{ + GType gtype = G_TYPE_FROM_INSTANCE (obj); + while (HAS_PREFIX (g_type_name (gtype))) + gtype = g_type_parent (gtype); + GObjectClass *klass = g_type_class_peek (gtype); + if (klass == NULL) klass = g_type_class_ref (gtype); + return klass; +} + 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 @@ -37,7 +52,7 @@ void gtksharp_cellrenderer_base_get_size (GtkCellRenderer *cell, GtkWidget *widg 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)); + GtkCellRendererClass *parent = (GtkCellRendererClass *)get_threshold_class (G_OBJECT (cell)); if (parent->get_size) (*parent->get_size) (cell, widget, cell_area, x_offset, y_offset, width, height); } @@ -67,7 +82,7 @@ void gtksharp_cellrenderer_base_render (GtkCellRenderer *cell, GdkDrawable *wind 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)); + GtkCellRendererClass *parent = (GtkCellRendererClass *)get_threshold_class (G_OBJECT (cell)); if (parent->render) (*parent->render) (cell, window, widget, background_area, cell_area, expose_area, flags); } @@ -97,7 +112,7 @@ GtkCellEditable * gtksharp_cellrenderer_base_start_editing (GtkCellRenderer *cel 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)); + GtkCellRendererClass *parent = (GtkCellRendererClass *)get_threshold_class (G_OBJECT (cell)); if (parent->start_editing) return (*parent->start_editing) (cell, event, widget, path, background_area, cell_area, flags); return NULL; diff --git a/gtk/glue/colorseldialog.c b/gtk/glue/colorseldialog.c new file mode 100644 index 000000000..e02cdca00 --- /dev/null +++ b/gtk/glue/colorseldialog.c @@ -0,0 +1,56 @@ +/* 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; +} diff --git a/gtk/glue/container.c b/gtk/glue/container.c index 369d8d5e7..8a890c894 100644 --- a/gtk/glue/container.c +++ b/gtk/glue/container.c @@ -19,16 +19,32 @@ * 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); + +void gtksharp_container_leak_fixed_marker (void) +{ +} + 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) { - GtkContainerClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (container)); - if (parent->forall) - (*parent->forall) (container, include_internals, cb, 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); diff --git a/gtk/gtk-api-2.14.raw b/gtk/gtk-api-2.12.raw similarity index 95% rename from gtk/gtk-api-2.14.raw rename to gtk/gtk-api-2.12.raw index cfd8fdd18..b7f1a8d36 100644 --- a/gtk/gtk-api-2.14.raw +++ b/gtk/gtk-api-2.12.raw @@ -65,7 +65,6 @@ - @@ -89,7 +88,6 @@ - @@ -212,7 +210,6 @@ - @@ -244,7 +241,6 @@ - @@ -294,16 +290,6 @@ - - - - - - - - - - @@ -373,7 +359,6 @@ - @@ -867,16 +852,6 @@ - - - - - - - - - - @@ -962,14 +937,6 @@ - - - - - - - - @@ -1505,13 +1472,13 @@ - + - + @@ -1665,7 +1632,7 @@ - + @@ -1674,7 +1641,7 @@ - + @@ -1817,12 +1784,12 @@ - + - + @@ -1834,19 +1801,19 @@ - + - + - + - + @@ -1861,14 +1828,14 @@ - + - - + + @@ -1903,7 +1870,7 @@ - + @@ -1911,7 +1878,7 @@ - + @@ -1991,9 +1958,6 @@ - - - @@ -2003,27 +1967,18 @@ - - - - - - - - - @@ -2086,13 +2041,6 @@ - - - - - - - @@ -2117,13 +2065,6 @@ - - - - - - - @@ -2148,13 +2089,6 @@ - - - - - - - @@ -2212,12 +2146,6 @@ - - - - - - @@ -2552,56 +2480,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2684,7 +2562,7 @@ - + @@ -2692,7 +2570,7 @@ - + @@ -2700,7 +2578,7 @@ - + @@ -2708,14 +2586,14 @@ - + - + @@ -2992,7 +2870,7 @@ - + @@ -3021,7 +2899,7 @@ - + @@ -3030,7 +2908,7 @@ - + @@ -3057,7 +2935,7 @@ - + @@ -3073,7 +2951,7 @@ - + @@ -3258,9 +3136,7 @@ - - - + @@ -3269,7 +3145,7 @@ - + @@ -3329,12 +3205,6 @@ - - - - - - @@ -3689,7 +3559,7 @@ - + @@ -3697,7 +3567,7 @@ - + @@ -3705,14 +3575,14 @@ - + - + @@ -3833,7 +3703,7 @@ - + @@ -3874,7 +3744,7 @@ - + @@ -3890,35 +3760,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3932,36 +3776,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4284,7 +4098,7 @@ - + @@ -4299,7 +4113,7 @@ - + @@ -4370,23 +4184,6 @@ - - - - - - - - - - - - - - - - - @@ -4736,46 +4533,43 @@ - - - - + - + - + - + - + - + - + @@ -4801,12 +4595,6 @@ - - - - - - @@ -4833,26 +4621,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -4958,15 +4726,14 @@ - - - + + @@ -4984,7 +4751,7 @@ - + @@ -4999,9 +4766,9 @@ - - - + + + @@ -5018,8 +4785,8 @@ - - + + @@ -5072,14 +4839,6 @@ - - - - - - - - @@ -5097,7 +4856,6 @@ - @@ -5387,7 +5145,7 @@ - + @@ -5456,13 +5214,6 @@ - - - - - - - @@ -5533,9 +5284,6 @@ - - - @@ -5554,9 +5302,6 @@ - - - @@ -5564,7 +5309,7 @@ - + @@ -5625,7 +5370,7 @@ - + @@ -5749,16 +5494,9 @@ - - - - - - - @@ -5877,7 +5615,6 @@ - @@ -5904,9 +5641,6 @@ - - - @@ -5984,12 +5718,6 @@ - - - - - - @@ -6013,7 +5741,7 @@ - + @@ -6086,7 +5814,7 @@ - + @@ -6254,7 +5982,7 @@ - + @@ -6269,9 +5997,6 @@ - - - @@ -6366,7 +6091,7 @@ - + @@ -6457,12 +6182,6 @@ - - - - - - @@ -6548,7 +6267,7 @@ - + @@ -6599,9 +6318,7 @@ - - - + @@ -6614,7 +6331,7 @@ - + @@ -6623,14 +6340,14 @@ - + - + @@ -6644,40 +6361,30 @@ - + - + - + - + - - - - - - - - - - @@ -6722,15 +6429,9 @@ - - - - - - @@ -6819,12 +6520,6 @@ - - - - - - @@ -6858,14 +6553,14 @@ - + - + @@ -6873,7 +6568,7 @@ - + @@ -6881,7 +6576,7 @@ - + @@ -7161,7 +6856,7 @@ - + @@ -7209,7 +6904,7 @@ - + @@ -7234,7 +6929,7 @@ - + @@ -7487,39 +7182,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -7549,21 +7220,12 @@ - - - - - - - - - @@ -7691,24 +7353,20 @@ - - + - + - - - @@ -7887,9 +7545,6 @@ - - - @@ -8005,14 +7660,6 @@ - - - - - - - - @@ -8067,7 +7714,7 @@ - + @@ -8075,7 +7722,7 @@ - + @@ -8088,37 +7735,37 @@ - + - + - + - + - + - + @@ -8449,7 +8096,6 @@ - @@ -8464,7 +8110,6 @@ - @@ -8479,13 +8124,6 @@ - - - - - - - @@ -8544,12 +8182,6 @@ - - - - - - @@ -8604,13 +8236,6 @@ - - - - - - - @@ -8693,19 +8318,19 @@ - + - + - + @@ -8718,13 +8343,13 @@ - + - + @@ -8853,7 +8478,7 @@ - + @@ -8894,7 +8519,7 @@ - + @@ -8916,14 +8541,14 @@ - + - + @@ -9004,7 +8629,7 @@ - + @@ -9148,7 +8773,7 @@ - + @@ -9160,7 +8785,7 @@ - + @@ -9184,7 +8809,7 @@ - + @@ -9193,13 +8818,13 @@ - + - + @@ -9224,9 +8849,6 @@ - - - @@ -9456,7 +9078,7 @@ - + @@ -9467,9 +9089,6 @@ - - - @@ -9534,7 +9153,6 @@ - @@ -9553,9 +9171,6 @@ - - - @@ -9581,12 +9196,6 @@ - - - - - - @@ -9600,7 +9209,7 @@ - + @@ -9785,20 +9394,15 @@ - + - - - - - @@ -9826,9 +9430,6 @@ - - - @@ -9841,9 +9442,6 @@ - - - @@ -9966,38 +9564,33 @@ - + - + - + - - - - - @@ -10079,14 +9672,14 @@ - + - + @@ -10120,14 +9713,14 @@ - + - + @@ -10272,9 +9865,6 @@ - - - @@ -10352,41 +9942,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10443,7 +9998,7 @@ - + @@ -10451,35 +10006,35 @@ - + - + - + - + - + @@ -10487,7 +10042,7 @@ - + @@ -10495,7 +10050,7 @@ - + @@ -10503,7 +10058,7 @@ - + @@ -10511,7 +10066,7 @@ - + @@ -10857,7 +10412,7 @@ - + @@ -10922,7 +10477,7 @@ - + @@ -10930,7 +10485,7 @@ - + @@ -10948,14 +10503,14 @@ - + - + @@ -11059,21 +10614,6 @@ - - - - - - - - - - - - - - - @@ -11210,40 +10750,40 @@ - + - + - + - + - + - + @@ -11311,7 +10851,6 @@ - @@ -11331,15 +10870,9 @@ - - - - - - @@ -11366,8 +10899,6 @@ - - @@ -11393,9 +10924,6 @@ - - - @@ -11420,18 +10948,12 @@ - - - - - - @@ -11846,9 +11368,6 @@ - - - @@ -11909,21 +11428,6 @@ - - - - - - - - - - - - - - - @@ -12022,12 +11526,6 @@ - - - - - - @@ -12525,20 +12023,20 @@ - + - + - + @@ -12552,7 +12050,7 @@ - + @@ -13082,7 +12580,7 @@ - + @@ -13151,7 +12649,6 @@ - @@ -13178,18 +12675,6 @@ - - - - - - - - - - - - @@ -13217,12 +12702,6 @@ - - - - - - @@ -13252,7 +12731,7 @@ - + @@ -13260,7 +12739,7 @@ - + @@ -13502,13 +12981,13 @@ - + - + @@ -13523,9 +13002,6 @@ - - - @@ -13574,7 +13050,7 @@ - + @@ -13586,7 +13062,7 @@ - + @@ -13736,7 +13212,7 @@ - + @@ -13744,7 +13220,7 @@ - + @@ -13798,7 +13274,6 @@ - @@ -13812,7 +13287,7 @@ - + @@ -13820,7 +13295,7 @@ - + @@ -13838,9 +13313,6 @@ - - - @@ -13865,9 +13337,6 @@ - - - @@ -13877,11 +13346,6 @@ - - - - - @@ -13919,12 +13383,6 @@ - - - - - - @@ -14390,7 +13848,7 @@ - + @@ -14599,7 +14057,7 @@ - + @@ -14608,7 +14066,7 @@ - + @@ -14616,7 +14074,7 @@ - + @@ -14624,7 +14082,7 @@ - + @@ -14638,13 +14096,13 @@ - + - + @@ -14652,14 +14110,14 @@ - + - + @@ -14668,7 +14126,7 @@ - + @@ -14677,13 +14135,13 @@ - + - + @@ -15331,7 +14789,7 @@ - + @@ -15339,14 +14797,14 @@ - + - + @@ -15448,7 +14906,7 @@ - + @@ -15457,7 +14915,7 @@ - + @@ -15465,7 +14923,7 @@ - + @@ -15473,20 +14931,20 @@ - + - + - + @@ -15500,31 +14958,31 @@ - + - + - + - + - + @@ -15539,21 +14997,21 @@ - + - + - + @@ -16042,7 +15500,7 @@ - + @@ -16051,7 +15509,7 @@ - + @@ -16066,9 +15524,6 @@ - - - @@ -16141,7 +15596,7 @@ - + @@ -16279,7 +15734,7 @@ - + @@ -16308,13 +15763,6 @@ - - - - - - - @@ -16337,7 +15785,7 @@ - + @@ -16482,19 +15930,19 @@ - + - + - + @@ -16612,9 +16060,6 @@ - - - @@ -16682,7 +16127,7 @@ - + @@ -16696,7 +16141,7 @@ - + @@ -16711,7 +16156,7 @@ - + @@ -16727,7 +16172,7 @@ - + @@ -16778,7 +16223,7 @@ - + @@ -16791,9 +16236,6 @@ - - - @@ -16868,7 +16310,7 @@ - + @@ -16905,7 +16347,7 @@ - + @@ -17103,7 +16545,7 @@ - + @@ -17111,7 +16553,7 @@ - + @@ -17163,7 +16605,7 @@ - + @@ -17171,32 +16613,32 @@ - + - + - + - + - + @@ -17205,13 +16647,13 @@ - + - + @@ -17586,7 +17028,7 @@ - + @@ -17611,7 +17053,7 @@ - + @@ -17704,7 +17146,7 @@ - + @@ -17736,7 +17178,7 @@ - + @@ -17887,7 +17329,7 @@ - + @@ -18028,7 +17470,7 @@ - + @@ -18126,20 +17568,20 @@ - + - + - + @@ -18147,7 +17589,7 @@ - + @@ -18155,14 +17597,14 @@ - + - + @@ -18324,7 +17766,7 @@ - + @@ -18451,7 +17893,6 @@ - @@ -18488,77 +17929,77 @@ - + - + - + - + - + - + - + - + - + - + - + @@ -18571,7 +18012,7 @@ - + @@ -18585,42 +18026,42 @@ - + - + - + - + - + - + @@ -18633,119 +18074,119 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -18753,7 +18194,7 @@ - + @@ -18762,21 +18203,21 @@ - + - + - + @@ -18784,28 +18225,28 @@ - + - + - + - + @@ -18813,7 +18254,7 @@ - + @@ -18823,7 +18264,7 @@ - + @@ -18833,7 +18274,7 @@ - + @@ -18843,7 +18284,7 @@ - + @@ -18855,42 +18296,35 @@ - + - + - + - + - - - - - - - - + @@ -18907,33 +18341,33 @@ - + - + - + - + - + @@ -19071,7 +18505,7 @@ - + @@ -19190,12 +18624,6 @@ - - - - - - @@ -19217,9 +18645,6 @@ - - - @@ -19249,7 +18674,7 @@ - + @@ -19402,7 +18827,7 @@ - + @@ -19772,27 +19197,27 @@ - + - + - + - + @@ -19805,7 +19230,7 @@ - + @@ -19835,7 +19260,7 @@ - + @@ -19886,9 +19311,6 @@ - - - @@ -20045,7 +19467,7 @@ - + @@ -20334,9 +19756,6 @@ - - - @@ -20346,10 +19765,10 @@ - + - - + + @@ -20383,7 +19802,7 @@ - + @@ -20496,11 +19915,11 @@ - - - - - + + + + + @@ -20510,7 +19929,6 @@ - @@ -20584,12 +20002,6 @@ - - - - - - @@ -20739,11 +20151,6 @@ - - - - - @@ -20928,7 +20335,7 @@ - + @@ -20942,12 +20349,6 @@ - - - - - - @@ -21156,27 +20557,9 @@ - - - - - - - - - - - - - - - - - - @@ -22169,7 +21552,7 @@ - + @@ -22231,7 +21614,7 @@ - + @@ -22249,7 +21632,7 @@ - + @@ -22265,9 +21648,9 @@ - + - + @@ -22284,7 +21667,7 @@ - + @@ -22300,7 +21683,7 @@ - + @@ -22315,7 +21698,7 @@ - + @@ -22330,9 +21713,9 @@ - + - + @@ -22347,7 +21730,7 @@ - + @@ -22362,7 +21745,7 @@ - + @@ -22378,7 +21761,7 @@ - + @@ -22394,7 +21777,7 @@ - + @@ -22409,7 +21792,7 @@ - + @@ -22424,7 +21807,7 @@ - + @@ -22440,11 +21823,11 @@ - + - - + + @@ -22454,7 +21837,7 @@ - + @@ -22471,7 +21854,7 @@ - + @@ -22487,9 +21870,9 @@ - + - + @@ -22506,7 +21889,7 @@ - + @@ -22522,7 +21905,7 @@ - + @@ -22537,7 +21920,7 @@ - + @@ -22552,7 +21935,7 @@ - + @@ -22599,15 +21982,6 @@ - - - - - - - - - @@ -23081,8 +22455,8 @@ - - + + @@ -23312,7 +22686,7 @@ - + @@ -23392,7 +22766,7 @@ - + @@ -23486,7 +22860,7 @@ - + @@ -23726,7 +23100,7 @@ - + @@ -23847,7 +23221,7 @@ - + @@ -23915,7 +23289,7 @@ - + @@ -23944,7 +23318,7 @@ - + @@ -24067,15 +23441,10 @@ - - - - - diff --git a/gtk/gtk-sharp.dll.config.in b/gtk/gtk-sharp.dll.config.in index ec9d3b93d..abdce8f36 100644 --- a/gtk/gtk-sharp.dll.config.in +++ b/gtk/gtk-sharp.dll.config.in @@ -2,5 +2,6 @@ - + + diff --git a/gtk/gtk.csproj b/gtk/gtk.csproj new file mode 100644 index 000000000..172dcdde3 --- /dev/null +++ b/gtk/gtk.csproj @@ -0,0 +1,1799 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {94045F11-4266-40B4-910F-298985AF69D5} + Library + Gtk + gtk + v4.6 + + + + true + full + false + bin\Debug + DEBUG;GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + prompt + 4 + x86 + false + true + 0618;0649;0169;0414;0612;1616;1699 + + + none + false + bin\Release + prompt + 4 + x86 + false + true + 0618;0649;0169;0414;0612;1616;1699 + GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + + + true + + + gtk-sharp.snk + + + + + + + + {364577DB-9728-4951-AC2C-EDF7A6FCC09D} + cairo + + + {3BF1D531-8840-4F15-8066-A9788D8C398B} + glib + + + {58346CC6-DE93-45B4-8093-3508BD5DAA12} + gdk + + + {42FE871A-D8CF-4B29-9AFF-B02454E6C976} + atk + + + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4} + pango + + + + + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + + + + + + Code + + + Code + + + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + + + Code + + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + + + + Code + + + Code + + + + + + Code + + + + Code + + + Code + + + + + Code + + + Code + + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + + + + + + + + \ No newline at end of file diff --git a/gtk/textbuffer-serializefunc.patch b/gtk/textbuffer-serializefunc.patch new file mode 100644 index 000000000..614fe5e10 --- /dev/null +++ b/gtk/textbuffer-serializefunc.patch @@ -0,0 +1,106 @@ +--- generated-trunk/TextBufferSerializeFunc.cs 2009-11-16 14:50:34.000000000 -0800 ++++ TextBufferSerializeFunc.cs 2009-11-16 15:01:15.000000000 -0800 +@@ -1,10 +1,11 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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); ++ public delegate byte [] TextBufferSerializeFunc(Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, out ulong length); + + } +--- generated-trunk/GtkSharp.TextBufferSerializeFuncNative.cs 2009-11-16 14:50:35.000000000 -0800 ++++ GtkSharp.TextBufferSerializeFuncNative.cs 2009-11-16 15:17:14.000000000 -0800 +@@ -1,14 +1,14 @@ +-// This file was generated by the Gtk# code generator. +-// Any changes made will be lost if regenerated. ++// 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; + +-#region Autogenerated code + [GLib.CDeclCallback] +- internal delegate byte TextBufferSerializeFuncNative(IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data); ++ internal delegate IntPtr TextBufferSerializeFuncNative(IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data); + + internal class TextBufferSerializeFuncInvoker { + +@@ -40,34 +40,55 @@ + } + } + +- byte InvokeNative (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, out ulong length) ++ 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; +- byte result = 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); ++ 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; +- return result; ++ ++ 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 byte NativeCallback (IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data) ++ 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); ++ 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)(Marshal.SizeOf (typeof(byte)) * (int)mylength)); ++ Marshal.Copy (__ret, 0, ret_ptr, (int)mylength); ++ } else { ++ ret_ptr = IntPtr.Zero; ++ } ++ + if (release_on_call) + gch.Free (); +- return __ret; ++ return ret_ptr; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, true); + // NOTREACHED: Above call does not return. +@@ -104,5 +125,4 @@ + return wrapper.managed; + } + } +-#endregion + } diff --git a/gtkdotnet/Graphics.cs b/gtkdotnet/Graphics.cs index 4a8b02705..fe98336c1 100644 --- a/gtkdotnet/Graphics.cs +++ b/gtkdotnet/Graphics.cs @@ -33,19 +33,19 @@ public class Graphics { private Graphics () {} - [DllImport("libgdk-win32-2.0-0.dll")] + [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")] + [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")] + [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")] + [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")] + [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) diff --git a/gtkdotnet/Makefile.am b/gtkdotnet/Makefile.am index 2ea69ec6c..93a61412a 100644 --- a/gtkdotnet/Makefile.am +++ b/gtkdotnet/Makefile.am @@ -15,7 +15,7 @@ DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) -references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../gdk/gdk-sharp.dll +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 = \ @@ -34,45 +34,37 @@ gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . -if PLATFORM_WIN32 -GAPI_CDECL_INSERT=$(top_srcdir)/gapi-cdecl-insert --keyfile=gtk-sharp.snk $(ASSEMBLY) -else -GAPI_CDECL_INSERT= -endif - $(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_ASSEMBLIES): $(top_builddir)/policy.config gtk-sharp.snk - @for i in $(POLICY_VERSIONS); do \ - echo "Creating policy.$$i.$(ASSEMBLY)"; \ - sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$$i/" $(top_builddir)/policy.config > policy.$$i.config; \ - $(AL) -link:policy.$$i.config -out:policy.$$i.$(ASSEMBLY) -keyfile:gtk-sharp.snk; \ - done +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; \ + 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; \ + 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; \ + 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; \ + echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ + $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi - diff --git a/gtkdotnet/gtk-dotnet.dll.config.in b/gtkdotnet/gtk-dotnet.dll.config.in index 75550978e..8f2e60d91 100644 --- a/gtkdotnet/gtk-dotnet.dll.config.in +++ b/gtkdotnet/gtk-dotnet.dll.config.in @@ -1,3 +1,3 @@ - + diff --git a/gtkdotnet/gtkdotnet.csproj b/gtkdotnet/gtkdotnet.csproj new file mode 100644 index 000000000..2c2b14e42 --- /dev/null +++ b/gtkdotnet/gtkdotnet.csproj @@ -0,0 +1,72 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {F6C52EAE-CB2A-48F6-9C80-E0B776873022} + Library + Gtk.DotNet + gtkdotnet + v4.6 + + + + true + full + false + bin\Debug + DEBUG;GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + prompt + 4 + x86 + false + true + 1616;1699 + + + + none + false + bin\Release + prompt + 4 + x86 + false + true + 1616;1699 + GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + + + true + + + + + gtk-sharp.snk + + + + + + + + + + + + + + + + + {58346CC6-DE93-45B4-8093-3508BD5DAA12} + gdk + + + {3BF1D531-8840-4F15-8066-A9788D8C398B} + glib + + + \ No newline at end of file diff --git a/makefile.win32 b/makefile.win32 deleted file mode 100755 index 029066542..000000000 --- a/makefile.win32 +++ /dev/null @@ -1,2 +0,0 @@ -all: - # makefile.win32 is no longer supported. Use configure && make for the autotools build. diff --git a/msi/.gitignore b/msi/.gitignore new file mode 100644 index 000000000..32d925c97 --- /dev/null +++ b/msi/.gitignore @@ -0,0 +1 @@ +gtk-sharp-2.0.wxs diff --git a/msi/Makefile.am b/msi/Makefile.am new file mode 100755 index 000000000..baf1280d2 --- /dev/null +++ b/msi/Makefile.am @@ -0,0 +1,42 @@ +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 + +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 diff --git a/msi/gtk-sharp-2.0.wxs.in b/msi/gtk-sharp-2.0.wxs.in new file mode 100755 index 000000000..b8c4ebc2f --- /dev/null +++ b/msi/gtk-sharp-2.0.wxs.in @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + + + diff --git a/msi/license.rtf b/msi/license.rtf new file mode 100644 index 000000000..707894b29 --- /dev/null +++ b/msi/license.rtf @@ -0,0 +1,508 @@ +{\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 +} + \ No newline at end of file diff --git a/msi/unmanaged/Makefile.am b/msi/unmanaged/Makefile.am new file mode 100644 index 000000000..e6b690687 --- /dev/null +++ b/msi/unmanaged/Makefile.am @@ -0,0 +1,35 @@ +SUBDIRS = 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 diff --git a/msi/unmanaged/bundle-scanner.cs b/msi/unmanaged/bundle-scanner.cs new file mode 100644 index 000000000..567f25da0 --- /dev/null +++ b/msi/unmanaged/bundle-scanner.cs @@ -0,0 +1,176 @@ +// Copyright (c) 2010 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. + +using System; +using System.Collections.Generic; +using System.IO; +using System.Xml; + +public class BundleScanner { + + public static int Main (string[] args) + { + Dictionary known_files = null; + string bundle_path = null; + + foreach (string arg in args) { + + if (arg.StartsWith("--wix=")) { + string wix_filename = arg.Substring (6); + try { + XmlDocument wix_doc = new XmlDocument (); + wix_doc.Load (wix_filename); + known_files = GetSourcesFromDoc (wix_doc); + } catch (XmlException e) { + Console.WriteLine ("Invalid wix file."); + Console.WriteLine (e); + return 1; + } + } else if (arg.StartsWith ("--bundle=")) { + bundle_path = arg.Substring (9); + if (!Directory.Exists (bundle_path)) { + Console.WriteLine ("Invalid bundle directory."); + return 1; + } + } else { + Console.WriteLine ("Usage: bundle-scanner --wix= --bundle="); + return 1; + } + } + + if (bundle_path == null || known_files == null) { + Console.WriteLine ("Usage: bundle-scanner --wix= --bundle="); + return 1; + } + + Dictionary ignores = new Dictionary (); + if (File.Exists ("ignores")) { + using (StreamReader rdr = new StreamReader ("ignores")) { + while (rdr.Peek () >= 0) + ignores [rdr.ReadLine ()] = true; + } + } + + BundleScanner scanner = new BundleScanner (bundle_path, known_files, ignores); + scanner.Scan (); + + List missing = scanner.ExpectedFiles; + if (missing.Count > 0) { + Console.WriteLine (); + Console.WriteLine ("Expected files missing in bundle:"); + Console.WriteLine ("---------------------------"); + foreach (string file in missing) + Console.WriteLine (" " + file); + } + + List unexpected = scanner.UnexpectedFiles; + if (unexpected.Count > 0) { + Console.WriteLine (); + Console.WriteLine ("Unexpected files in bundle:"); + Console.WriteLine ("---------------------------"); + foreach (string file in unexpected) + Console.WriteLine (" " + file); + } + + return 0; + } + + static Dictionary GetSourcesFromDoc (XmlDocument doc) + { + Dictionary result = new Dictionary (); + foreach (XmlNode node in doc.DocumentElement.ChildNodes) + FindFileNodes (node as XmlElement, result); + return result; + } + + static void FindFileNodes (XmlElement elem, Dictionary sources) + { + if (elem == null) + return; + if (elem.Name == "File") { + string source = elem.GetAttribute ("Source"); + if (!source.StartsWith ("custom\\")) + sources [source] = true; + } else { + foreach (XmlNode node in elem.ChildNodes) + FindFileNodes (node as XmlElement, sources); + } + } + + Dictionary ignores = null; + Dictionary known_files = null; + DirectoryInfo bundle_dir = null; + List unexpected_files = new List (); + int relative_prefix_length; + + BundleScanner (string path, Dictionary known_files, Dictionary ignores) + { + bundle_dir = new DirectoryInfo (path); + this.known_files = known_files; + this.ignores = ignores; + relative_prefix_length = bundle_dir.FullName.Length - bundle_dir.Name.Length; + } + + public List ExpectedFiles { + get { + List result = new List (); + foreach (string s in known_files.Keys) + result.Add (s); + result.Sort (); + return result; + } + } + + public List UnexpectedFiles { + get { + unexpected_files.Sort (); + return unexpected_files; + } + } + + public void Scan () + { + Scan (bundle_dir); + } + + string GetRelativeFileName (string filename) + { + return filename.Substring (relative_prefix_length); + } + + void Scan (DirectoryInfo dir) + { + foreach (FileInfo file in dir.GetFiles ()) { + string relative = GetRelativeFileName (file.FullName); + relative = relative.Replace ('/', '\\'); + if (ignores.ContainsKey (relative)) + continue; + if (known_files.ContainsKey (relative)) + known_files.Remove (relative); + else + unexpected_files.Add (relative); + } + + foreach (DirectoryInfo sub in dir.GetDirectories ()) { + string relative = GetRelativeFileName (sub.FullName); + relative = relative.Replace ('/', '\\'); + if (ignores.ContainsKey (relative)) + continue; + Scan (sub); + } + } + +} diff --git a/msi/unmanaged/custom/Makefile.am b/msi/unmanaged/custom/Makefile.am new file mode 100644 index 000000000..ba1491677 --- /dev/null +++ b/msi/unmanaged/custom/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = etc share diff --git a/msi/unmanaged/custom/etc/Makefile.am b/msi/unmanaged/custom/etc/Makefile.am new file mode 100644 index 000000000..7e652b8ff --- /dev/null +++ b/msi/unmanaged/custom/etc/Makefile.am @@ -0,0 +1 @@ +SUBDIRS=gtk-2.0 diff --git a/msi/unmanaged/custom/etc/gtk-2.0/Makefile.am b/msi/unmanaged/custom/etc/gtk-2.0/Makefile.am new file mode 100644 index 000000000..5d6c8be2b --- /dev/null +++ b/msi/unmanaged/custom/etc/gtk-2.0/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST=gtkrc diff --git a/msi/unmanaged/custom/etc/gtk-2.0/gtkrc b/msi/unmanaged/custom/etc/gtk-2.0/gtkrc new file mode 100644 index 000000000..a98bb5baf --- /dev/null +++ b/msi/unmanaged/custom/etc/gtk-2.0/gtkrc @@ -0,0 +1,8 @@ +gtk-theme-name = "MS-Windows" + +style "rules-hint" +{ + GtkTreeView::allow-rules = 1 +} + +class "*" style "rules-hint" diff --git a/msi/unmanaged/custom/share/Makefile.am b/msi/unmanaged/custom/share/Makefile.am new file mode 100644 index 000000000..b12621d97 --- /dev/null +++ b/msi/unmanaged/custom/share/Makefile.am @@ -0,0 +1 @@ +SUBDIRS=icons diff --git a/msi/unmanaged/custom/share/icons/Makefile.am b/msi/unmanaged/custom/share/icons/Makefile.am new file mode 100644 index 000000000..4e06273ff --- /dev/null +++ b/msi/unmanaged/custom/share/icons/Makefile.am @@ -0,0 +1 @@ +SUBDIRS=hicolor diff --git a/msi/unmanaged/custom/share/icons/hicolor/Makefile.am b/msi/unmanaged/custom/share/icons/hicolor/Makefile.am new file mode 100644 index 000000000..96dec3a1c --- /dev/null +++ b/msi/unmanaged/custom/share/icons/hicolor/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST=index.theme diff --git a/msi/unmanaged/custom/share/icons/hicolor/index.theme b/msi/unmanaged/custom/share/icons/hicolor/index.theme new file mode 100644 index 000000000..1bf66c84c --- /dev/null +++ b/msi/unmanaged/custom/share/icons/hicolor/index.theme @@ -0,0 +1,1494 @@ +[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 + diff --git a/msi/unmanaged/downloads.win32 b/msi/unmanaged/downloads.win32 new file mode 100644 index 000000000..619471717 --- /dev/null +++ b/msi/unmanaged/downloads.win32 @@ -0,0 +1 @@ +http://files.xamarin.com/~duncan/gtk+-bundle-2-12-25.zip diff --git a/msi/unmanaged/ignores b/msi/unmanaged/ignores new file mode 100644 index 000000000..31afd38b2 --- /dev/null +++ b/msi/unmanaged/ignores @@ -0,0 +1,123 @@ +source\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 diff --git a/msi/unmanaged/redirector.cs b/msi/unmanaged/redirector.cs new file mode 100755 index 000000000..f0d2ccbe3 --- /dev/null +++ b/msi/unmanaged/redirector.cs @@ -0,0 +1,53 @@ +// 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; + } + } +} + diff --git a/msi/unmanaged/unmanaged.wxs b/msi/unmanaged/unmanaged.wxs new file mode 100755 index 000000000..1a9123b39 --- /dev/null +++ b/msi/unmanaged/unmanaged.wxs @@ -0,0 +1,1147 @@ + + + + + + + + + + + Not Installed + Not Installed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pango/AttrBackground.cs b/pango/AttrBackground.cs index 38f7557af..fb33d3869 100644 --- a/pango/AttrBackground.cs +++ b/pango/AttrBackground.cs @@ -23,18 +23,21 @@ namespace Pango { public class AttrBackground : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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 (ushort red, ushort green, ushort blue) : this (pango_attr_background_new (red, green, blue), true) {} - public AttrBackground (Pango.Color color) : this (pango_attr_background_new (color.Red, color.Green, color.Blue)) {} + public AttrBackground (Pango.Color color) : this (pango_attr_background_new (color.Red, color.Green, color.Blue), true) {} - internal AttrBackground (IntPtr raw) : base (raw) {} + internal AttrBackground (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { - return AttrColor.New (Handle).Color; + return pangosharp_attr_color_get_color (Handle); } } } diff --git a/pango/AttrColor.cs b/pango/AttrColor.cs deleted file mode 100644 index 72f7e1041..000000000 --- a/pango/AttrColor.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Pango.AttrColor - Pango.Attribute for Colors -// -// 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 Pango { - - using System; - using System.Runtime.InteropServices; - - internal struct AttrColor { - Attribute.NativeStruct attr; - public Color Color; - - public static AttrColor New (IntPtr raw) - { - return (AttrColor) Marshal.PtrToStructure (raw, typeof (AttrColor)); - } - } -} diff --git a/pango/AttrFallback.cs b/pango/AttrFallback.cs index afecb95dd..fc0773d3f 100644 --- a/pango/AttrFallback.cs +++ b/pango/AttrFallback.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrFallback : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrFallback (bool fallback) : this (pango_attr_fallback_new (fallback), true) {} - internal AttrFallback (IntPtr raw) : base (raw) {} + internal AttrFallback (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public bool Fallback { get { - return AttrInt.New (Handle).Value != 0; + return pangosharp_attr_int_get_value (Handle) != 0; } } } diff --git a/pango/AttrFamily.cs b/pango/AttrFamily.cs index 728193295..3d1ed9845 100644 --- a/pango/AttrFamily.cs +++ b/pango/AttrFamily.cs @@ -23,10 +23,10 @@ namespace Pango { public class AttrFamily : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrFamily (string family) : base (NewAttrFamily (family), true) {} static IntPtr NewAttrFamily (string family) { @@ -36,17 +36,15 @@ static IntPtr NewAttrFamily (string family) return attr_raw; } - internal AttrFamily (IntPtr raw) : base (raw) {} + internal AttrFamily (IntPtr raw, bool owned) : base (raw, owned) {} - new struct NativeStruct { - Attribute.NativeStruct attr; - public IntPtr value; - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr pangosharp_attr_string_get_value (IntPtr raw); public string Family { get { - NativeStruct native = (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); - return GLib.Marshaller.Utf8PtrToString (native.value); + IntPtr raw_family = pangosharp_attr_string_get_value (Handle); + return GLib.Marshaller.Utf8PtrToString (raw_family); } } } diff --git a/pango/AttrFloat.cs b/pango/AttrFloat.cs deleted file mode 100644 index 6f73be0c7..000000000 --- a/pango/AttrFloat.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Pango.AttrFloat - Pango.Attribute for floating point values -// -// 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 Pango { - - using System; - using System.Runtime.InteropServices; - - internal struct AttrFloat { - Attribute.NativeStruct attr; - public double Value; - - public static AttrFloat New (IntPtr raw) - { - return (AttrFloat) Marshal.PtrToStructure (raw, typeof (AttrFloat)); - } - } -} diff --git a/pango/AttrFontDesc.cs b/pango/AttrFontDesc.cs index 9ab4e1f92..29174cf11 100644 --- a/pango/AttrFontDesc.cs +++ b/pango/AttrFontDesc.cs @@ -23,25 +23,23 @@ namespace Pango { public class AttrFontDesc : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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")] + [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))) {} + public AttrFontDesc (Pango.FontDescription font_desc) : this (pango_attr_font_desc_new (pango_font_description_copy (font_desc.Handle)), true) {} - internal AttrFontDesc (IntPtr raw) : base (raw) {} + internal AttrFontDesc (IntPtr raw, bool owned) : base (raw, owned) {} - new struct NativeStruct { - Attribute.NativeStruct attr; - public IntPtr desc; - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr pangosharp_attr_font_desc_get_desc (IntPtr raw); public Pango.FontDescription Desc { get { - NativeStruct native = (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); - return new Pango.FontDescription (native.desc); + IntPtr raw_ret = pangosharp_attr_font_desc_get_desc (Handle); + return new Pango.FontDescription (raw_ret); } } } diff --git a/pango/AttrForeground.cs b/pango/AttrForeground.cs index da44a0626..e8cd47d03 100644 --- a/pango/AttrForeground.cs +++ b/pango/AttrForeground.cs @@ -23,18 +23,21 @@ namespace Pango { public class AttrForeground : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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 (ushort red, ushort green, ushort blue) : this (pango_attr_foreground_new (red, green, blue), true) {} - public AttrForeground (Pango.Color color) : this (pango_attr_foreground_new (color.Red, color.Green, color.Blue)) {} + public AttrForeground (Pango.Color color) : this (pango_attr_foreground_new (color.Red, color.Green, color.Blue), true) {} - internal AttrForeground (IntPtr raw) : base (raw) {} + internal AttrForeground (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { - return AttrColor.New (Handle).Color; + return pangosharp_attr_color_get_color (Handle); } } } diff --git a/pango/AttrGravity.cs b/pango/AttrGravity.cs index 79284d98f..53fde91be 100644 --- a/pango/AttrGravity.cs +++ b/pango/AttrGravity.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrGravity : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrGravity (Gravity gravity) : this (pango_attr_gravity_new ((int) gravity), true) {} - internal AttrGravity (IntPtr raw) : base (raw) {} + internal AttrGravity (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public Gravity Gravity { get { - return (Gravity) (AttrInt.New (Handle).Value); + return (Gravity) pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrGravityHint.cs b/pango/AttrGravityHint.cs index c3011f152..18ef65b14 100644 --- a/pango/AttrGravityHint.cs +++ b/pango/AttrGravityHint.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrGravityHint : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrGravityHint (GravityHint hint) : this (pango_attr_gravity_hint_new ((int) hint), true) {} - internal AttrGravityHint (IntPtr raw) : base (raw) {} + internal AttrGravityHint (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public GravityHint GravityHint { get { - return (GravityHint) (AttrInt.New (Handle).Value); + return (GravityHint) pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrInt.cs b/pango/AttrInt.cs deleted file mode 100644 index d512f0df1..000000000 --- a/pango/AttrInt.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Pango.AttrInt - Pango.Attribute for integer values -// -// 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 Pango { - - using System; - using System.Runtime.InteropServices; - - internal struct AttrInt { - Attribute.NativeStruct attr; - public int Value; - - public static AttrInt New (IntPtr raw) - { - return (AttrInt) Marshal.PtrToStructure (raw, typeof (AttrInt)); - } - } -} diff --git a/pango/AttrIterator.custom b/pango/AttrIterator.custom index 8e4b8af31..bf12384f5 100644 --- a/pango/AttrIterator.custom +++ b/pango/AttrIterator.custom @@ -21,7 +21,7 @@ // Boston, MA 02111-1307, USA. - [DllImport("libpango-1.0-0.dll")] + [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) @@ -35,14 +35,14 @@ extra_attrs = new Pango.Attribute [0]; return; } - GLib.SList list = new GLib.SList (list_handle); + 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); + extra_attrs [i++] = Pango.Attribute.GetAttribute (raw_attr, true); } - [DllImport("libpango-1.0-0.dll")] + [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_iterator_get_attrs (IntPtr raw); public Pango.Attribute[] Attrs { @@ -50,11 +50,11 @@ 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); + 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); + attrs [i++] = Pango.Attribute.GetAttribute (raw_attr, true); return attrs; } } diff --git a/pango/AttrLanguage.cs b/pango/AttrLanguage.cs index 7f8d70ede..f48df458f 100644 --- a/pango/AttrLanguage.cs +++ b/pango/AttrLanguage.cs @@ -23,22 +23,20 @@ namespace Pango { public class AttrLanguage : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrLanguage (Pango.Language language) : this (pango_attr_language_new (language.Handle), true) {} - internal AttrLanguage (IntPtr raw) : base (raw) {} + internal AttrLanguage (IntPtr raw, bool owned) : base (raw, owned) {} - new struct NativeStruct { - Attribute.NativeStruct attr; - public IntPtr value; - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern IntPtr pangosharp_attr_language_get_value (IntPtr raw); public Pango.Language Language { get { - NativeStruct native = (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); - return new Pango.Language (native.value); + IntPtr raw_ret = pangosharp_attr_language_get_value (Handle); + return new Pango.Language (raw_ret); } } } diff --git a/pango/AttrLetterSpacing.cs b/pango/AttrLetterSpacing.cs index 92b0bd0fe..c72f36c46 100644 --- a/pango/AttrLetterSpacing.cs +++ b/pango/AttrLetterSpacing.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrLetterSpacing : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrLetterSpacing (int letter_spacing) : this (pango_attr_letter_spacing_new (letter_spacing), true) {} - internal AttrLetterSpacing (IntPtr raw) : base (raw) {} + internal AttrLetterSpacing (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public int LetterSpacing { get { - return AttrInt.New (Handle).Value; + return pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrList.custom b/pango/AttrList.custom index 5390fda3f..ee633d46b 100644 --- a/pango/AttrList.custom +++ b/pango/AttrList.custom @@ -20,10 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libpango-1.0-0.dll")] + [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attribute_copy (IntPtr raw); - [DllImport("libpango-1.0-0.dll")] + [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) @@ -31,7 +31,7 @@ pango_attr_list_insert (Handle, pango_attribute_copy (attr.Handle)); } - [DllImport("libpango-1.0-0.dll")] + [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) diff --git a/pango/AttrRise.cs b/pango/AttrRise.cs index 188d124e8..6c97faa07 100644 --- a/pango/AttrRise.cs +++ b/pango/AttrRise.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrRise : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrRise (int rise) : this (pango_attr_rise_new (rise), true) {} - internal AttrRise (IntPtr raw) : base (raw) {} + internal AttrRise (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public int Rise { get { - return AttrInt.New (Handle).Value; + return pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrScale.cs b/pango/AttrScale.cs index 3ffe7e41e..5c9479fc5 100644 --- a/pango/AttrScale.cs +++ b/pango/AttrScale.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrScale : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrScale (double scale) : this (pango_attr_scale_new (scale), true) {} - internal AttrScale (IntPtr raw) : base (raw) {} + internal AttrScale (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern double pangosharp_attr_float_get_value (IntPtr raw); public double Scale { get { - return AttrFloat.New (Handle).Value; + return pangosharp_attr_float_get_value (Handle); } } } diff --git a/pango/AttrShape.cs b/pango/AttrShape.cs index 1687b3ada..9b8922f15 100644 --- a/pango/AttrShape.cs +++ b/pango/AttrShape.cs @@ -23,33 +23,28 @@ namespace Pango { public class AttrShape : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrShape (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect) : this (pango_attr_shape_new (ref ink_rect, ref logical_rect), true) {} - internal AttrShape (IntPtr raw) : base (raw) {} + internal AttrShape (IntPtr raw, bool owned) : base (raw, owned) {} - new struct NativeStruct { - Attribute.NativeStruct attr; - public Rectangle ink_rect; - public Rectangle logical_rect; - IntPtr data; - IntPtr copy_func; - IntPtr destroy_func; - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern Pango.Rectangle pangosharp_attr_shape_get_ink_rect (IntPtr raw); public Pango.Rectangle InkRect { get { - NativeStruct native = (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); - return native.ink_rect; + 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 { - NativeStruct native = (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); - return native.logical_rect; + return pangosharp_attr_shape_get_logical_rect (Handle); } } } diff --git a/pango/AttrSize.cs b/pango/AttrSize.cs index f330c875b..f4dd617ca 100644 --- a/pango/AttrSize.cs +++ b/pango/AttrSize.cs @@ -23,35 +23,33 @@ namespace Pango { public class AttrSize : Attribute { - [DllImport("libpango-1.0-0.dll")] + [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_size_new (int size); - [DllImport("libpango-1.0-0.dll")] + [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) : this (pango_attr_size_new (size), true) {} - public AttrSize (int size, bool absolute) : this (absolute ? pango_attr_size_new (size) : pango_attr_size_new_absolute (size)) {} + public AttrSize (int size, bool absolute) : this (absolute ? pango_attr_size_new (size) : pango_attr_size_new_absolute (size), true) {} - internal AttrSize (IntPtr raw) : base (raw) {} + internal AttrSize (IntPtr raw, bool owned) : base (raw, owned) {} - new struct NativeStruct { - Attribute.NativeStruct attr; - public int sz; - public uint absolute; - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_size_get_size (IntPtr raw); public int Size { get { - NativeStruct native = (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); - return native.sz; + 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 { - NativeStruct native = (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); - return native.absolute != 0; + return pangosharp_attr_size_get_absolute (Handle); } } } diff --git a/pango/AttrStretch.cs b/pango/AttrStretch.cs index f2ccb39e5..4443fbd7d 100644 --- a/pango/AttrStretch.cs +++ b/pango/AttrStretch.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrStretch : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrStretch (Pango.Stretch stretch) : this (pango_attr_stretch_new (stretch), true) {} - internal AttrStretch (IntPtr raw) : base (raw) {} + internal AttrStretch (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Stretch Stretch { get { - return (Pango.Stretch) (AttrInt.New (Handle).Value); + return (Pango.Stretch)pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrStrikethrough.cs b/pango/AttrStrikethrough.cs index 91a490975..ebc0a1cef 100644 --- a/pango/AttrStrikethrough.cs +++ b/pango/AttrStrikethrough.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrStrikethrough : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrStrikethrough (bool strikethrough) : this (pango_attr_strikethrough_new (strikethrough), true) {} - internal AttrStrikethrough (IntPtr raw) : base (raw) {} + internal AttrStrikethrough (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public bool Strikethrough { get { - return AttrInt.New (Handle).Value != 0; + return pangosharp_attr_int_get_value (Handle) != 0; } } } diff --git a/pango/AttrStrikethroughColor.cs b/pango/AttrStrikethroughColor.cs index 729fbe288..abfadfb76 100644 --- a/pango/AttrStrikethroughColor.cs +++ b/pango/AttrStrikethroughColor.cs @@ -23,18 +23,21 @@ namespace Pango { public class AttrStrikethroughColor : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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 (ushort red, ushort green, ushort blue) : this (pango_attr_strikethrough_color_new (red, green, blue), true) {} - public AttrStrikethroughColor (Pango.Color color) : this (pango_attr_strikethrough_color_new (color.Red, color.Green, color.Blue)) {} + public AttrStrikethroughColor (Pango.Color color) : this (pango_attr_strikethrough_color_new (color.Red, color.Green, color.Blue), true) {} - internal AttrStrikethroughColor (IntPtr raw) : base (raw) {} + internal AttrStrikethroughColor (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { - return AttrColor.New (Handle).Color; + return pangosharp_attr_color_get_color (Handle); } } } diff --git a/pango/AttrStyle.cs b/pango/AttrStyle.cs index aeaa3d591..cf2b3cc86 100644 --- a/pango/AttrStyle.cs +++ b/pango/AttrStyle.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrStyle : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrStyle (Pango.Style style) : this (pango_attr_style_new (style), true) {} - internal AttrStyle (IntPtr raw) : base (raw) {} + internal AttrStyle (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Style Style { get { - return (Pango.Style) (AttrInt.New (Handle).Value); + return (Pango.Style)pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrUnderline.cs b/pango/AttrUnderline.cs index df22e1cf7..80ab367b4 100644 --- a/pango/AttrUnderline.cs +++ b/pango/AttrUnderline.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrUnderline : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrUnderline (Pango.Underline underline) : this (pango_attr_underline_new (underline), true) {} - internal AttrUnderline (IntPtr raw) : base (raw) {} + internal AttrUnderline (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Underline Underline { get { - return (Pango.Underline) (AttrInt.New (Handle).Value); + return (Pango.Underline)pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrUnderlineColor.cs b/pango/AttrUnderlineColor.cs index b5112d037..328fdd618 100644 --- a/pango/AttrUnderlineColor.cs +++ b/pango/AttrUnderlineColor.cs @@ -23,18 +23,21 @@ namespace Pango { public class AttrUnderlineColor : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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 (ushort red, ushort green, ushort blue) : this (pango_attr_underline_color_new (red, green, blue), true) {} - public AttrUnderlineColor (Pango.Color color) : this (pango_attr_underline_color_new (color.Red, color.Green, color.Blue)) {} + public AttrUnderlineColor (Pango.Color color) : this (pango_attr_underline_color_new (color.Red, color.Green, color.Blue), true) {} - internal AttrUnderlineColor (IntPtr raw) : base (raw) {} + internal AttrUnderlineColor (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { - return AttrColor.New (Handle).Color; + return pangosharp_attr_color_get_color (Handle); } } } diff --git a/pango/AttrVariant.cs b/pango/AttrVariant.cs index be862818f..0a1ad0612 100644 --- a/pango/AttrVariant.cs +++ b/pango/AttrVariant.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrVariant : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrVariant (Pango.Variant variant) : this (pango_attr_variant_new (variant), true) {} - internal AttrVariant (IntPtr raw) : base (raw) {} + internal AttrVariant (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Variant Variant { get { - return (Pango.Variant) (AttrInt.New (Handle).Value); + return (Pango.Variant)pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/AttrWeight.cs b/pango/AttrWeight.cs index f2e306d3b..e0a89d2ab 100644 --- a/pango/AttrWeight.cs +++ b/pango/AttrWeight.cs @@ -23,16 +23,19 @@ namespace Pango { public class AttrWeight : Attribute { - [DllImport("libpango-1.0-0.dll")] + [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)) {} + public AttrWeight (Pango.Weight weight) : this (pango_attr_weight_new (weight), true) {} - internal AttrWeight (IntPtr raw) : base (raw) {} + internal AttrWeight (IntPtr raw, bool owned) : base (raw, owned) {} + + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Weight Weight { get { - return (Pango.Weight) (AttrInt.New (Handle).Value); + return (Pango.Weight)pangosharp_attr_int_get_value (Handle); } } } diff --git a/pango/Attribute.cs b/pango/Attribute.cs index af0fa07a7..7040241f3 100644 --- a/pango/Attribute.cs +++ b/pango/Attribute.cs @@ -1,6 +1,6 @@ // Pango.Attribute - Attribute "base class" // -// Copyright (c) 2005, 2007, 2008 Novell, Inc. +// 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 @@ -24,89 +24,95 @@ namespace Pango { public class Attribute : GLib.IWrapper, IDisposable { IntPtr raw; + bool owned; - internal Attribute (IntPtr raw) + internal Attribute (IntPtr raw, bool owned) { this.raw = raw; + this.owned = owned; + if (!owned) + GC.SuppressFinalize (this); } - static Pango.AttrType GetAttrType (IntPtr raw) - { - if (raw == IntPtr.Zero) - return AttrType.Invalid; - IntPtr klass = Marshal.ReadIntPtr (raw); - return (AttrType) Marshal.ReadInt32 (klass); - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern Pango.AttrType pangosharp_attribute_get_attr_type (IntPtr raw); - public static Attribute GetAttribute (IntPtr raw) + public static Attribute GetAttribute (IntPtr raw, bool owned) { - switch (GetAttrType (raw)) { + switch (pangosharp_attribute_get_attr_type (raw)) { case Pango.AttrType.Language: - return new AttrLanguage (raw); + return new AttrLanguage (raw, owned); case Pango.AttrType.Family: - return new AttrFamily (raw); + return new AttrFamily (raw, owned); case Pango.AttrType.Style: - return new AttrStyle (raw); + return new AttrStyle (raw, owned); case Pango.AttrType.Weight: - return new AttrWeight (raw); + return new AttrWeight (raw, owned); case Pango.AttrType.Variant: - return new AttrVariant (raw); + return new AttrVariant (raw, owned); case Pango.AttrType.Stretch: - return new AttrStretch (raw); + return new AttrStretch (raw, owned); case Pango.AttrType.Size: - return new AttrSize (raw); + return new AttrSize (raw, owned); case Pango.AttrType.FontDesc: - return new AttrFontDesc (raw); + return new AttrFontDesc (raw, owned); case Pango.AttrType.Foreground: - return new AttrForeground (raw); + return new AttrForeground (raw, owned); case Pango.AttrType.Background: - return new AttrBackground (raw); + return new AttrBackground (raw, owned); case Pango.AttrType.Underline: - return new AttrUnderline (raw); + return new AttrUnderline (raw, owned); case Pango.AttrType.Strikethrough: - return new AttrStrikethrough (raw); + return new AttrStrikethrough (raw, owned); case Pango.AttrType.Rise: - return new AttrRise (raw); + return new AttrRise (raw, owned); case Pango.AttrType.Shape: - return new AttrShape (raw); + return new AttrShape (raw, owned); case Pango.AttrType.Scale: - return new AttrScale (raw); + return new AttrScale (raw, owned); case Pango.AttrType.Fallback: - return new AttrFallback (raw); + return new AttrFallback (raw, owned); #if GTK_SHARP_2_6 case Pango.AttrType.LetterSpacing: - return new AttrLetterSpacing (raw); + return new AttrLetterSpacing (raw, owned); case Pango.AttrType.UnderlineColor: - return new AttrUnderlineColor (raw); + return new AttrUnderlineColor (raw, owned); case Pango.AttrType.StrikethroughColor: - return new AttrStrikethroughColor (raw); + return new AttrStrikethroughColor (raw, owned); #endif #if GTK_SHARP_2_12 case Pango.AttrType.Gravity: - return new AttrGravity (raw); + return new AttrGravity (raw, owned); case Pango.AttrType.GravityHint: - return new AttrGravityHint (raw); + return new AttrGravityHint (raw, owned); #endif default: - return new Attribute (raw); + return new Attribute (raw, owned); } } - ~Attribute () + public static Attribute GetAttribute (IntPtr raw) { - Dispose (); + return GetAttribute (raw, false); } - [DllImport("libpango-1.0-0.dll")] + [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; } - GC.SuppressFinalize (this); } public IntPtr Handle { @@ -122,45 +128,49 @@ public static GLib.GType GType { } public Pango.AttrType Type { - get { return GetAttrType (raw); } + get { + return pangosharp_attribute_get_attr_type (raw); + } } - internal struct NativeStruct { - IntPtr klass; - public uint start_index; - public uint end_index; - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern uint pangosharp_attribute_get_start_index (IntPtr raw); - NativeStruct Native { - get { return (NativeStruct) Marshal.PtrToStructure (raw, typeof(NativeStruct)); } - } + [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] + static extern void pangosharp_attribute_set_start_index (IntPtr raw, uint index); public uint StartIndex { - get { return Native.start_index; } + get { + return pangosharp_attribute_get_start_index (raw); + } set { - NativeStruct native = Native; - native.start_index = value; - Marshal.StructureToPtr (native, raw, false); + 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 Native.end_index; } + get { + return pangosharp_attribute_get_end_index (raw); + } set { - NativeStruct native = Native; - native.end_index = value; - Marshal.StructureToPtr (native, raw, false); + pangosharp_attribute_set_end_index (raw, value); } } - [DllImport("libpango-1.0-0.dll")] + [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)); + return GetAttribute (pango_attribute_copy (raw), true); } - [DllImport("libpango-1.0-0.dll")] + [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) { diff --git a/pango/CairoHelper.custom b/pango/CairoHelper.custom new file mode 100644 index 000000000..3d65f433e --- /dev/null +++ b/pango/CairoHelper.custom @@ -0,0 +1,64 @@ +// Pango.CairoHelper.custom - Pango Cairo Helper class customizations +// +// Authors: Marius Ungureanu +// +// Copyright (c) 2017 Microsoft, 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 ("libpangocairo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern PangoSharp.CairoShapeRendererFuncNative pango_cairo_context_get_shape_renderer (IntPtr context, IntPtr data); + + const string renderer_key = "ContextGetShapeRenderer"; + public static Pango.CairoShapeRendererFunc ContextGetShapeRenderer (Pango.Context context, IntPtr data) + { + Pango.CairoShapeRendererFunc toRet = null; + var lastHandler = context.Data [renderer_key]; + if (lastHandler != null) + ((WeakReference)lastHandler).TryGetTarget (out toRet); + + PangoSharp.CairoShapeRendererFuncNative raw_ret = pango_cairo_context_get_shape_renderer (context == null ? IntPtr.Zero : context.Handle, data); + if (raw_ret == PangoSharp.CairoShapeRendererFuncWrapper.NativeDelegate) + return toRet; + + if (raw_ret == null) + return null; + + Pango.CairoShapeRendererFunc ret = new PangoSharp.CairoShapeRendererFuncInvoker (raw_ret).Handler; + return ret; + } + + [DllImport ("libpangocairo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void pango_cairo_context_set_shape_renderer (IntPtr context, PangoSharp.CairoShapeRendererFuncNative func, IntPtr data, GLib.DestroyNotify dnotify); + + public static void ContextSetShapeRenderer (Pango.Context context, Pango.CairoShapeRendererFunc func) + { + IntPtr data; + GLib.DestroyNotify dnotify; + + if (func == null) { + data = IntPtr.Zero; + dnotify = null; + context.Data.Remove (renderer_key); + } else { + data = (IntPtr)GCHandle.Alloc (func); + dnotify = GLib.DestroyHelper.NotifyHandler; + context.Data [renderer_key] = func; + } + pango_cairo_context_set_shape_renderer (context == null ? IntPtr.Zero : context.Handle, PangoSharp.CairoShapeRendererFuncWrapper.NativeDelegate, data, dnotify); + } diff --git a/pango/Context.custom b/pango/Context.custom index 8d7656aef..4d5e6928e 100644 --- a/pango/Context.custom +++ b/pango/Context.custom @@ -20,10 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); - [DllImport("libpango-1.0-0.dll")] + [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 { @@ -44,7 +44,7 @@ } } - [DllImport("libpango-1.0-0.dll")] + [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] diff --git a/pango/Coverage.custom b/pango/Coverage.custom index 19e35419c..5ac2f061a 100644 --- a/pango/Coverage.custom +++ b/pango/Coverage.custom @@ -20,10 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); - [DllImport("libpango-1.0-0.dll")] + [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) diff --git a/pango/FontFamily.custom b/pango/FontFamily.custom index b34f3bfa1..903dc1220 100644 --- a/pango/FontFamily.custom +++ b/pango/FontFamily.custom @@ -20,10 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); - [DllImport("libpango-1.0-0.dll")] + [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 { @@ -44,7 +44,7 @@ } } - [DllImport("libpango-1.0-0.dll")] + [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] diff --git a/pango/FontMap.custom b/pango/FontMap.custom index 62e3230b4..2d9fd46c3 100644 --- a/pango/FontMap.custom +++ b/pango/FontMap.custom @@ -20,10 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); - [DllImport("libpango-1.0-0.dll")] + [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 { @@ -44,7 +44,7 @@ } } - [DllImport("libpango-1.0-0.dll")] + [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] diff --git a/pango/Global.custom b/pango/Global.custom index 35e95931e..fb2063991 100644 --- a/pango/Global.custom +++ b/pango/Global.custom @@ -20,7 +20,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libpango-1.0-0.dll")] + [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool pango_scan_int(IntPtr pos, out int out_param); [Obsolete] @@ -32,7 +32,7 @@ return ret; } - [DllImport("libpango-1.0-0.dll")] + [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) @@ -49,4 +49,13 @@ return result; } + [Obsolete ("Use SplitFileListArray")] + public static string SplitFileList (string str) + { + var res = SplitFileListArray (str); + if (res.Length > 0) + return res [0]; + return null; + } + diff --git a/pango/GlyphItem.custom b/pango/GlyphItem.custom index f2aff26fc..5fc69fd4d 100644 --- a/pango/GlyphItem.custom +++ b/pango/GlyphItem.custom @@ -21,9 +21,12 @@ // Boston, MA 02111-1307, USA. - [DllImport("libpango-1.0-0.dll")] + [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); + [DllImport("libpango-1.0-0.dll", EntryPoint="pango_glyph_item_free", CallingConvention = CallingConvention.Cdecl)] + static extern void pango_glyph_item_free_ptr (IntPtr raw); + public GlyphItem[] ApplyAttrs (string text, Pango.AttrList list) { IntPtr native_text = GLib.Marshaller.StringToPtrGStrdup (text); @@ -31,12 +34,7 @@ GLib.Marshaller.Free (native_text); if (list_handle == IntPtr.Zero) return new GlyphItem [0]; - GLib.SList item_list = new GLib.SList (list_handle, typeof (GlyphItem)); - GlyphItem[] result = new GlyphItem [item_list.Count]; - int i = 0; - foreach (GlyphItem item in item_list) - result [i++] = item; - return result; + return GLib.Marshaller.ListPtrToArray (list_handle, typeof (GLib.SList), true, true, pango_glyph_item_free_ptr); } [Obsolete ("Replaced by Glyphs property")] diff --git a/pango/Layout.custom b/pango/Layout.custom index aa4db8806..e5fc1ad89 100644 --- a/pango/Layout.custom +++ b/pango/Layout.custom @@ -21,7 +21,7 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. -[DllImport("libpango-1.0-0.dll")] +[DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_layout_get_lines(IntPtr raw); public LayoutLine[] Lines { @@ -31,13 +31,14 @@ public LayoutLine[] Lines { return new LayoutLine [0]; GLib.SList list = new GLib.SList(list_ptr, typeof (IntPtr)); LayoutLine[] result = new LayoutLine [list.Count]; - for (int i = 0; i < list.Count; i++) - result[i] = new LayoutLine ((IntPtr)list[i]); + int i = 0; + foreach (IntPtr item in list) + result[i++] = new LayoutLine (item); return result; } } -[DllImport("libpango-1.0-0.dll")] +[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) @@ -49,10 +50,10 @@ public void SetMarkupWithAccel (string markup, char accel_marker, out char accel accel_char = GLib.Marshaller.GUnicharToChar (ucs4_accel_char); } - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); - [DllImport("libpango-1.0-0.dll")] + [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 { @@ -73,7 +74,7 @@ public void SetMarkupWithAccel (string markup, char accel_marker, out char accel } } - [DllImport ("libpango-1.0-0.dll")] + [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) @@ -83,7 +84,7 @@ public void SetMarkupWithAccel (string markup, char accel_marker, out char accel GLib.Marshaller.Free (native_text); } - [DllImport ("libpango-1.0-0.dll")] + [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) diff --git a/pango/LayoutLine.custom b/pango/LayoutLine.custom index 2da731f74..e175de88a 100644 --- a/pango/LayoutLine.custom +++ b/pango/LayoutLine.custom @@ -22,7 +22,7 @@ // Boston, MA 02111-1307, USA. #if NOT_BROKEN -[DllImport("libpango-1.0-0.dll")] +[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 diff --git a/pango/Makefile.am b/pango/Makefile.am index 97fdc74d5..6f1f4b7ba 100644 --- a/pango/Makefile.am +++ b/pango/Makefile.am @@ -9,21 +9,18 @@ endif pkg = pango METADATA = Pango.metadata SYMBOLS = pango-symbols.xml -references = ../glib/glib-sharp.dll $(local_mono_cairo) +references = $(top_builddir)/glib/glib-sharp.dll $(local_mono_cairo) glue_includes = pango/pango.h sources = \ Attribute.cs \ AttrBackground.cs \ - AttrColor.cs \ AttrFallback.cs \ AttrFamily.cs \ - AttrFloat.cs \ AttrFontDesc.cs \ AttrForeground.cs \ AttrGravity.cs \ AttrGravityHint.cs \ - AttrInt.cs \ AttrLanguage.cs \ AttrLetterSpacing.cs \ AttrRise.cs \ @@ -45,6 +42,7 @@ customs = \ Analysis.custom \ AttrIterator.custom \ AttrList.custom \ + CairoHelper.custom \ Context.custom \ Coverage.custom \ FontFamily.custom \ @@ -62,5 +60,5 @@ customs = \ add_dist = -include ../Makefile.include +include $(top_srcdir)/Makefile.include diff --git a/pango/Pango.metadata b/pango/Pango.metadata index c295e8817..82c6aa16a 100644 --- a/pango/Pango.metadata +++ b/pango/Pango.metadata @@ -13,11 +13,14 @@ GetHash 1 1 - 1 - 1 1 1 1 + out + out + out + out + out 1 ref ref @@ -31,9 +34,13 @@ VersionString 1 CairoHelper + 1 + 1 + 1 libpangocairo-1.0-0.dll 1 1 + ref 1 1 1 @@ -85,6 +92,7 @@ 1 1 1 + 1 false private ref @@ -97,4 +105,15 @@ /api/namespace/class[@name='Global'] /api/namespace/class[@name='Global'] + 1 + true + SplitFileListArray + out + true + true + true + true + true + true + true diff --git a/pango/Scale.cs b/pango/Scale.cs old mode 100755 new mode 100644 diff --git a/pango/ScriptIter.cs b/pango/ScriptIter.cs index 316c2c482..8ff3baa12 100644 --- a/pango/ScriptIter.cs +++ b/pango/ScriptIter.cs @@ -27,7 +27,7 @@ public class ScriptIter : GLib.Opaque { public ScriptIter(IntPtr raw) : base(raw) {} - [DllImport("libpango-1.0-0.dll")] + [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_script_iter_new(IntPtr text, int length); public ScriptIter (string text) @@ -36,7 +36,7 @@ public ScriptIter (string text) Raw = pango_script_iter_new (native_text, -1); } - [DllImport("libpango-1.0-0.dll")] + [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_script_iter_free (IntPtr raw); ~ScriptIter () @@ -46,10 +46,10 @@ public ScriptIter (string text) Raw = IntPtr.Zero; } - [DllImport("libpango-1.0-0.dll")] + [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")] + [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) @@ -62,7 +62,7 @@ public void GetRange (out int start, out int len, out Pango.Script script) len = (int)g_utf8_pointer_to_offset (start_ptr, end_ptr); } - [DllImport("libpango-1.0-0.dll")] + [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool pango_script_iter_next (IntPtr raw); public bool Next () diff --git a/pango/TabArray.custom b/pango/TabArray.custom index 66ac1a352..036ee614e 100644 --- a/pango/TabArray.custom +++ b/pango/TabArray.custom @@ -20,10 +20,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. - [DllImport("libglib-2.0-0.dll")] + [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); - [DllImport("libpango-1.0-0.dll")] + [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) diff --git a/pango/Units.custom b/pango/Units.custom index 663ee8981..1f5d41e8c 100644 --- a/pango/Units.custom +++ b/pango/Units.custom @@ -20,13 +20,19 @@ 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 * 1024; + return pixels * pangosharp_scale (); } public static int ToPixels (int units) { - return (units + 512) >> 10; + return pangosharp_pixels (units); } diff --git a/pango/glue/Makefile.am b/pango/glue/Makefile.am index f635144d2..b9acad06c 100644 --- a/pango/glue/Makefile.am +++ b/pango/glue/Makefile.am @@ -1,6 +1,8 @@ lib_LTLIBRARIES = libpangosharpglue-2.la -libpangosharpglue_2_la_SOURCES = +libpangosharpglue_2_la_SOURCES = \ + attribute.c \ + units.c nodist_libpangosharpglue_2_la_SOURCES = generated.c diff --git a/pango/glue/attribute.c b/pango/glue/attribute.c new file mode 100644 index 000000000..08839859e --- /dev/null +++ b/pango/glue/attribute.c @@ -0,0 +1,134 @@ +/* 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 + diff --git a/pango/glue/units.c b/pango/glue/units.c new file mode 100644 index 000000000..1f400ab44 --- /dev/null +++ b/pango/glue/units.c @@ -0,0 +1,39 @@ +/* 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); +} diff --git a/pango/pango-api-2.14.raw b/pango/pango-api-2.12.raw similarity index 92% rename from pango/pango-api-2.14.raw rename to pango/pango-api-2.12.raw index 3e83701b8..5405b5280 100644 --- a/pango/pango-api-2.14.raw +++ b/pango/pango-api-2.12.raw @@ -37,27 +37,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -175,17 +154,6 @@ - - - - - - - - - - - @@ -277,7 +245,7 @@ - + @@ -298,9 +266,6 @@ - - - @@ -363,7 +328,6 @@ - @@ -382,12 +346,6 @@ - - - - - - @@ -516,9 +474,6 @@ - - - @@ -546,7 +501,7 @@ - + @@ -591,9 +546,6 @@ - - - @@ -618,9 +570,6 @@ - - - @@ -771,12 +720,6 @@ - - - - - - @@ -947,16 +890,6 @@ - - - - - - - - - - @@ -981,15 +914,6 @@ - - - - - - - - - @@ -1043,12 +967,6 @@ - - - - - - @@ -1281,12 +1199,6 @@ - - - - - - @@ -1548,7 +1460,7 @@ - + @@ -1558,15 +1470,9 @@ - - - - - - @@ -1582,46 +1488,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1736,12 +1603,6 @@ - - - - - - @@ -1757,17 +1618,11 @@ - - - - - - @@ -1790,9 +1645,6 @@ - - - @@ -1922,7 +1774,6 @@ - @@ -2194,12 +2045,6 @@ - - - - - - @@ -2233,18 +2078,140 @@ - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -2451,148 +2418,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pango/pango.csproj b/pango/pango.csproj new file mode 100644 index 000000000..1eb3201f6 --- /dev/null +++ b/pango/pango.csproj @@ -0,0 +1,304 @@ + + + + Debug + x86 + 9.0.21022 + 2.0 + {FF422D8C-562F-4EA6-8590-9D1A5CD40AD4} + Library + Pango + pango + v4.6 + + + + true + full + false + bin\Debug + DEBUG;GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + prompt + 4 + x86 + false + true + 0169;1616;1699 + + + none + false + bin\Release + prompt + 4 + x86 + false + true + 0169;1616;1699 + GTK_SHARP_2_6;GTK_SHARP_2_8;GTK_SHARP_2_10;GTK_SHARP_2_12 + + + true + + + gtk-sharp.snk + + + + + {3BF1D531-8840-4F15-8066-A9788D8C398B} + glib + + + {364577DB-9728-4951-AC2C-EDF7A6FCC09D} + cairo + + + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + \ No newline at end of file diff --git a/parser/.gitignore b/parser/.gitignore new file mode 100644 index 000000000..88c5e8fd1 --- /dev/null +++ b/parser/.gitignore @@ -0,0 +1,2 @@ +gapi*-fixup +gapi*-parser diff --git a/parser/Makefile.am b/parser/Makefile.am index ce47bc76d..aa0ada3c1 100644 --- a/parser/Makefile.am +++ b/parser/Makefile.am @@ -19,8 +19,8 @@ EXTRA_DIST = \ gapi-2.0.pc.in gapi-fixup.exe: $(srcdir)/gapi-fixup.cs - $(CSC) /out: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 + $(CSC) -out:gapi-parser.exe $(srcdir)/gapi-parser.cs diff --git a/parser/gapi2xml.pl b/parser/gapi2xml.pl index 4181db508..d8ab55abe 100755 --- a/parser/gapi2xml.pl +++ b/parser/gapi2xml.pl @@ -296,6 +296,7 @@ } } + ############################################################## # Parse the interfaces list. ############################################################## @@ -474,7 +475,8 @@ ############################################################## if ($ARGV[1]) { - open(XMLFILE, ">$ARGV[1]") || die "Couldn't open $ARGV[1] for writing.\n"; + open(XMLFILE, ">$ARGV[1]") || + die "Couldn't open $ARGV[1] for writing.\n"; print XMLFILE $doc->toString(); close(XMLFILE); } else { @@ -501,7 +503,6 @@ sub addFieldElems $field = $2; } next if ($field !~ /\S/); - $field =~ s/GSEAL\s*\((.*)\)/\1/g; $field =~ s/\s+(\*+)/\1 /g; $field =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g; $field =~ s/(\w+)\s+const\s*\*/const \1\*/g; @@ -1065,6 +1066,20 @@ sub parseInitFunc } until ($init_lines[$linenum] =~ /\)\s*;/); addPropElem ($prop, $obj_el, 1); $childpropcnt++; + } elsif ($line =~ /\b_gtk_binding_signal_new/) { + my $sig = $line; + do { + $sig .= $init_lines[++$linenum]; + } until ($init_lines[$linenum] =~ /;/); + $classdef = addSignalElem ($sig, $classdef, $obj_el); + $sigcnt++; + } elsif ($line =~ /\bg_signal_new_class_handler/) { + my $sig = $line; + do { + $sig .= $init_lines[++$linenum]; + } until ($init_lines[$linenum] =~ /;/); + $classdef = addSignalElem ($sig, $classdef, $obj_el); + $sigcnt++; } elsif ($line =~ /\bg.*_signal_new/) { my $sig = $line; do { diff --git a/sample/CustomCellRenderer.cs b/sample/CustomCellRenderer.cs index d261c33df..75c70f555 100644 --- a/sample/CustomCellRenderer.cs +++ b/sample/CustomCellRenderer.cs @@ -15,7 +15,8 @@ public class CustomCellRenderer : CellRenderer { private float percent; - + + [GLib.Property ("percent")] public float Percentage { get { @@ -83,12 +84,6 @@ public static void Main () } ListStore liststore; - - void ProgressData (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter) - { - float perc = (float) liststore.GetValue (iter, 0); - ((CustomCellRenderer)cell).Percentage = perc; - } public Driver () : base ("CustomCellRenderer") { @@ -101,11 +96,7 @@ public Driver () : base ("CustomCellRenderer") TreeView view = new TreeView (liststore); view.AppendColumn ("Progress", new CellRendererText (), "text", 1); - - //Note: This *MUST* be done here, as its the only place Progress is - //accessible. Maybe there should be an attribute that will do some - //magic for you and register a property with the gobject system. - view.AppendColumn ("Progress", new CustomCellRenderer (), new TreeCellDataFunc (ProgressData)); + view.AppendColumn ("Progress", new CustomCellRenderer (), "percent", 0); this.Add (view); this.ShowAll (); diff --git a/sample/GtkDemo/Makefile.am b/sample/GtkDemo/Makefile.am index 0c1e5f1cd..a94158509 100644 --- a/sample/GtkDemo/Makefile.am +++ b/sample/GtkDemo/Makefile.am @@ -5,11 +5,11 @@ local_mono_cairo= endif assemblies = \ - $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/gio/gio-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) + $(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@ +references = $(addprefix -r:, $(assemblies)) @MONO_CAIRO_LIBS@ TARGETS = GtkDemo.exe DEBUGS = $(addsuffix .mdb, $(TARGETS)) CLEANFILES = $(TARGETS) $(DEBUGS) @@ -76,8 +76,8 @@ image_names = \ build_sources = $(addprefix $(srcdir)/, $(sources)) build_images = $(addprefix $(srcdir)/, $(images)) -resources = $(addprefix /resource:, $(build_sources), $(build_images)) +resources = $(addprefix -resource:, $(build_images)) GtkDemo.exe: $(build_sources) $(assemblies) - $(CSC) $(CSFLAGS) /out:GtkDemo.exe $(build_sources) $(references) $(resources) + $(CSC) $(CSFLAGS) -out:GtkDemo.exe $(build_sources) $(references) $(resources) diff --git a/sample/Makefile.am b/sample/Makefile.am index b96214f50..9f0a47b3d 100755 --- a/sample/Makefile.am +++ b/sample/Makefile.am @@ -8,7 +8,7 @@ endif if ENABLE_GLADE GLADE_TARGETS=glade-viewer.exe glade-test.exe -GLADE_ASSEMBLY=../glade/glade-sharp.dll +GLADE_ASSEMBLY=$(top_builddir)/glade/glade-sharp.dll else GLADE_TARGETS= GLADE_ASSEMBLY= @@ -16,7 +16,7 @@ endif if ENABLE_DOTNET DOTNET_TARGETS=drawing-sample.exe -DOTNET_ASSEMBLY=../gtkdotnet/gtk-dotnet.dll +DOTNET_ASSEMBLY=$(top_builddir)/gtkdotnet/gtk-dotnet.dll else DOTNET_TARGETS= DOTNET_ASSEMBLY= @@ -26,96 +26,88 @@ TARGETS = polarfixed.exe custom-widget.exe custom-cellrenderer.exe gtk-hello-wor DEBUGS = $(addsuffix .mdb, $(TARGETS)) -assemblies = \ - $(top_builddir)/glib/glib-sharp.dll \ - $(top_builddir)/gio/gio-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)) +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 + $(CSC) -out:gtk-hello-world.exe $(references) $(srcdir)/HelloWorld.cs button.exe: $(srcdir)/ButtonApp.cs $(assemblies) - $(CSC) /out:button.exe $(references) $(srcdir)/ButtonApp.cs + $(CSC) -out:button.exe $(references) $(srcdir)/ButtonApp.cs calendar.exe: $(srcdir)/CalendarApp.cs $(assemblies) - $(CSC) /out:calendar.exe $(references) $(srcdir)/CalendarApp.cs + $(CSC) -out:calendar.exe $(references) $(srcdir)/CalendarApp.cs subclass.exe: $(srcdir)/Subclass.cs $(assemblies) - $(CSC) /out:subclass.exe $(references) $(srcdir)/Subclass.cs + $(CSC) -out:subclass.exe $(references) $(srcdir)/Subclass.cs menu.exe: $(srcdir)/Menu.cs $(assemblies) - $(CSC) /out:menu.exe $(references) $(srcdir)/Menu.cs + $(CSC) -out:menu.exe $(references) $(srcdir)/Menu.cs size.exe: $(srcdir)/Size.cs $(assemblies) - $(CSC) /out:size.exe $(references) $(srcdir)/Size.cs + $(CSC) -out:size.exe $(references) $(srcdir)/Size.cs scribble.exe: $(srcdir)/Scribble.cs $(assemblies) - $(CSC) /out:scribble.exe $(references) $(srcdir)/Scribble.cs + $(CSC) -out:scribble.exe $(references) $(srcdir)/Scribble.cs scribble-xinput.exe: $(srcdir)/ScribbleXInput.cs $(assemblies) - $(CSC) /out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs + $(CSC) -out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies) - $(CSC) /out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs + $(CSC) -out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs managedtreeviewdemo.exe: $(srcdir)/ManagedTreeViewDemo.cs $(assemblies) - $(CSC) /out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs + $(CSC) -out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs nodeviewdemo.exe: $(srcdir)/NodeViewDemo.cs $(assemblies) - $(CSC) /out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs + $(CSC) -out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies) - $(CSC) /out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs + $(CSC) -out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs glade-viewer.exe: $(srcdir)/GladeViewer.cs $(assemblies) - $(CSC) /out:glade-viewer.exe $(references) $(srcdir)/GladeViewer.cs + $(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 + $(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 + $(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 + $(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 + $(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 + $(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 + $(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 + $(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 + $(CSC) -debug -out:polarfixed.exe $(references) $(srcdir)/PolarFixed.cs spawn.exe: $(srcdir)/SpawnTests.cs $(assemblies) - $(CSC) /out:spawn.exe $(references) $(srcdir)/SpawnTests.cs + $(CSC) -out:spawn.exe $(references) $(srcdir)/SpawnTests.cs assistant.exe: $(srcdir)/Assistant.cs $(assemblies) - $(CSC) /out:assistant.exe $(references) $(srcdir)/Assistant.cs + $(CSC) -out:assistant.exe $(references) $(srcdir)/Assistant.cs registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies) - $(CSC) /out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs + $(CSC) -out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies) - $(CSC) /out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs + $(CSC) -out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs EXTRA_DIST = \ HelloWorld.cs \ diff --git a/sample/PropertyRegistration.cs b/sample/PropertyRegistration.cs index 7dd2f45a0..e609b23b9 100644 --- a/sample/PropertyRegistration.cs +++ b/sample/PropertyRegistration.cs @@ -14,435 +14,31 @@ public static int Main (string[] args) { GLib.GType.Init (); TestObject obj = new TestObject (); - obj.TestInt (); - obj.TestUInt (); - obj.TestLong (); - obj.TestULong (); - obj.TestByte (); - obj.TestSByte (); - obj.TestBool (); - obj.TestFloat (); - obj.TestDouble (); - obj.TestString (); - //obj.TestIntPtr (); - //obj.TestBoxed (); - obj.TestGObject (); - Console.WriteLine ("All properties succeeded."); - return 0; - } - - int my_int; - [GLib.Property ("my_int")] - public int MyInt { - get { return my_int; } - set { my_int = value; } - } - - public void TestInt () - { GLib.Value val = new GLib.Value (42); - SetProperty ("my_int", val); - val.Dispose (); - if (MyInt != 42) { - Console.Error.WriteLine ("int Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_int"); - if ((int)val2.Val != 42) { - Console.Error.WriteLine ("int Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("int succeeded."); - } - - uint my_uint; - [GLib.Property ("my_uint")] - public uint MyUInt { - get { return my_uint; } - set { my_uint = value; } - } - - public void TestUInt () - { - GLib.Value val = new GLib.Value ((uint)42); - SetProperty ("my_uint", val); - val.Dispose (); - if (MyUInt != 42) { - Console.Error.WriteLine ("uint Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_uint"); - if ((uint)val2.Val != 42) { - Console.Error.WriteLine ("uint Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("uint succeeded."); - } - - long my_long; - [GLib.Property ("my_long")] - public long MyLong { - get { return my_long; } - set { my_long = value; } - } - - public void TestLong () - { - GLib.Value val = new GLib.Value ((long)42); - SetProperty ("my_long", val); - val.Dispose (); - if (MyLong != 42) { - Console.Error.WriteLine ("long Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_long"); - if ((long)val2.Val != 42) { - Console.Error.WriteLine ("long Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("long succeeded."); - } - - ulong my_ulong; - [GLib.Property ("my_ulong")] - public ulong MyULong { - get { return my_ulong; } - set { my_ulong = value; } - } - - public void TestULong () - { - GLib.Value val = new GLib.Value ((ulong)42); - SetProperty ("my_ulong", val); - val.Dispose (); - if (MyULong != 42) { - Console.Error.WriteLine ("ulong Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_ulong"); - if ((ulong)val2.Val != 42) { - Console.Error.WriteLine ("ulong Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("ulong succeeded."); - } - - byte my_byte; - [GLib.Property ("my_byte")] - public byte MyByte { - get { return my_byte; } - set { my_byte = value; } - } - - public void TestByte () - { - GLib.Value val = new GLib.Value ((byte)42); - SetProperty ("my_byte", val); - val.Dispose (); - if (MyByte != 42) { - Console.Error.WriteLine ("byte Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_byte"); - if ((byte)val2.Val != 42) { - Console.Error.WriteLine ("byte Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("byte succeeded."); - } - - sbyte my_sbyte; - [GLib.Property ("my_sbyte")] - public sbyte MySByte { - get { return my_sbyte; } - set { my_sbyte = value; } - } - - public void TestSByte () - { - GLib.Value val = new GLib.Value ((sbyte)42); - SetProperty ("my_sbyte", val); + obj.SetProperty ("my_prop", val); val.Dispose (); - if (MySByte != 42) { - Console.Error.WriteLine ("sbyte Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_sbyte"); - if ((sbyte)val2.Val != 42) { - Console.Error.WriteLine ("sbyte Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("sbyte succeeded."); - } - - bool my_bool; - [GLib.Property ("my_bool")] - public bool MyBool { - get { return my_bool; } - set { my_bool = value; } - } - - public void TestBool () - { - GLib.Value val = new GLib.Value (true); - SetProperty ("my_bool", val); - val.Dispose (); - if (!MyBool) { - Console.Error.WriteLine ("bool Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_bool"); - if (!((bool)val2.Val)) { - Console.Error.WriteLine ("bool Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("bool succeeded."); - } - - float my_float; - [GLib.Property ("my_float")] - public float MyFloat { - get { return my_float; } - set { my_float = value; } - } - - public void TestFloat () - { - GLib.Value val = new GLib.Value (42.0f); - SetProperty ("my_float", val); - val.Dispose (); - if (MyFloat != 42.0f) { - Console.Error.WriteLine ("float Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_float"); - if ((float)val2.Val != 42.0f) { - Console.Error.WriteLine ("float Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("float succeeded."); - } - - double my_double; - [GLib.Property ("my_double")] - public double MyDouble { - get { return my_double; } - set { my_double = value; } - } - - public void TestDouble () - { - GLib.Value val = new GLib.Value (42.0); - SetProperty ("my_double", val); - val.Dispose (); - if (MyDouble != 42.0) { - Console.Error.WriteLine ("double Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_double"); - if ((double)val2.Val != 42.0) { - Console.Error.WriteLine ("double Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("double succeeded."); - } - - string my_string; - [GLib.Property ("my_string")] - public string MyString { - get { return my_string; } - set { my_string = value; } - } - - public void TestString () - { - GLib.Value val = new GLib.Value ("42"); - SetProperty ("my_string", val); - val.Dispose (); - if (MyString != "42") { - Console.Error.WriteLine ("string Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_string"); - if ((string)val2.Val != "42") { - Console.Error.WriteLine ("string Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("string succeeded."); - } - -#if false - IntPtr my_intptr; - [GLib.Property ("my_intptr")] - public IntPtr MyIntPtr { - get { return my_intptr; } - set { my_intptr = value; } - } - - public void TestIntPtr () - { - IntPtr ptr = System.Runtime.InteropServices.Marshal.AllocHGlobal (4); - Console.WriteLine (ptr); - GLib.Value val = new GLib.Value (ptr); - SetProperty ("my_intptr", val); - val.Dispose (); - if (MyIntPtr != ptr) { - Console.Error.WriteLine ("IntPtr Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_intptr"); - Console.WriteLine (val2.Val); - if (!val2.Val.Equals (ptr)) { - Console.Error.WriteLine ("IntPtr Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("IntPtr succeeded."); - } - - Gdk.Color my_boxed; - [GLib.Property ("my_boxed")] - public Gdk.Color MyBoxed { - get { return my_boxed; } - set { my_boxed = value; } - } - - public void TestBoxed () - { - Gdk.Color color = new Gdk.Color (0, 0, 0); - GLib.Value val = (GLib.Value) color; - SetProperty ("my_boxed", val); - val.Dispose (); - if (!MyBoxed.Equals (color)) { - Console.Error.WriteLine ("boxed Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_boxed"); - if (color.Equals ((Gdk.Color)val2.Val)) { - Console.Error.WriteLine ("boxed Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("boxed succeeded."); - } -#endif - - GLib.Object my_object; - [GLib.Property ("my_object")] - public GLib.Object MyObject { - get { return my_object; } - set { my_object = value; } - } - - public void TestGObject () - { - Gtk.Window win = new Gtk.Window ("test"); - GLib.Value val = new GLib.Value (win); - SetProperty ("my_object", val); - val.Dispose (); - if (MyObject != win) { - Console.Error.WriteLine ("GObject Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_object"); - if ((GLib.Object)val2.Val != win) { - Console.Error.WriteLine ("GObject Property set/get roundtrip failed."); - Environment.Exit (1); - } - Console.WriteLine ("GObject succeeded."); - } - -#if false - int my_int; - [GLib.Property ("my_int")] - public int MyInt { - get { return my_int; } - set { my_int = value; } - } - - public void TestInt () - { - GLib.Value val = new GLib.Value (42); - SetProperty ("my_int", val); - val.Dispose (); - if (MyInt != 42) { - Console.Error.WriteLine ("Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_int"); - if ((int)val2.Val != 42) { - Console.Error.WriteLine ("Property set/get roundtrip failed."); - Environment.Exit (1); - } - } - - int my_int; - [GLib.Property ("my_int")] - public int MyInt { - get { return my_int; } - set { my_int = value; } - } - - public void TestInt () - { - GLib.Value val = new GLib.Value (42); - SetProperty ("my_int", val); - val.Dispose (); - if (MyInt != 42) { - Console.Error.WriteLine ("Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_int"); - if ((int)val2.Val != 42) { - Console.Error.WriteLine ("Property set/get roundtrip failed."); - Environment.Exit (1); - } - } - - int my_int; - [GLib.Property ("my_int")] - public int MyInt { - get { return my_int; } - set { my_int = value; } - } - - public void TestInt () - { - GLib.Value val = new GLib.Value (42); - SetProperty ("my_int", val); - val.Dispose (); - if (MyInt != 42) { + if (obj.MyProp != 42) { Console.Error.WriteLine ("Property setter did not run."); - Environment.Exit (1); + return 1; } - GLib.Value val2 = GetProperty ("my_int"); + GLib.Value val2 = obj.GetProperty ("my_prop"); if ((int)val2.Val != 42) { Console.Error.WriteLine ("Property set/get roundtrip failed."); - Environment.Exit (1); + return 1; } + Console.WriteLine ("Round trip succeeded."); + return 0; } - int my_int; - [GLib.Property ("my_int")] - public int MyInt { - get { return my_int; } - set { my_int = value; } - } + int my_prop; - public void TestInt () - { - GLib.Value val = new GLib.Value (42); - SetProperty ("my_int", val); - val.Dispose (); - if (MyInt != 42) { - Console.Error.WriteLine ("Property setter did not run."); - Environment.Exit (1); - } - GLib.Value val2 = GetProperty ("my_int"); - if ((int)val2.Val != 42) { - Console.Error.WriteLine ("Property set/get roundtrip failed."); - Environment.Exit (1); - } + [GLib.Property ("my_prop")] + public int MyProp { + get { return my_prop; } + set { + my_prop = value; + Console.WriteLine ("Property setter invoked."); + } } -#endif - } } diff --git a/sample/gtk-gio/MountOperation.cs b/sample/gtk-gio/MountOperation.cs deleted file mode 100644 index 551e783cc..000000000 --- a/sample/gtk-gio/MountOperation.cs +++ /dev/null @@ -1,70 +0,0 @@ -/* - * MountOperation.cs: code sample using Gtk.MountOperation - * - * Author(s): - * Stephane Delcroix (stephane@delcroix.org) - * - * 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. - * - */ - -using System; -using Gtk; -using GLib; - -public class TestMount -{ - - static GLib.File file; - static Gtk.MountOperation operation; - - static void Main () - { - Gtk.Application.Init (); - file = FileFactory.NewForUri (new Uri ("smb://admin@192.168.42.3/myshare/test")); - - Window w = new Window ("test"); - operation = new Gtk.MountOperation (w); - Button b = new Button ("Mount"); - b.Clicked += HandleButtonClicked; - b.Show (); - w.Add (b); - w.Show (); - Gtk.Application.Run (); - } - - static void HandleButtonClicked (object sender, EventArgs args) - { - System.Console.WriteLine ("clicked"); - file.MountEnclosingVolume (0, operation, null, HandleMountFinished); - } - - static void HandleMountFinished (GLib.Object sender, GLib.AsyncResult result) - { - System.Console.WriteLine ("handle mount finished"); - if (file.MountEnclosingVolumeFinish (result)) - System.Console.WriteLine ("successfull"); - else - System.Console.WriteLine ("Failed"); - } -} diff --git a/sample/opaquetest/Makefile.am b/sample/opaquetest/Makefile.am index dd96599af..5e3ebd857 100644 --- a/sample/opaquetest/Makefile.am +++ b/sample/opaquetest/Makefile.am @@ -1,11 +1,11 @@ noinst_SCRIPTS = opaquetest.exe lib_LTLIBRARIES = libopaque.la -assemblies=../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll -references=$(addprefix /r:, $(assemblies)) +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) + $(CSC) -out:opaquetest.exe $(references) $(srcdir)/OpaqueTest.cs $(GENERATED_SOURCES) libopaque_la_SOURCES = \ opaques.c \ @@ -18,11 +18,11 @@ libopaque_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) generated/*.cs: opaque-api.xml - $(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/opaque-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=generated --assembly-name=opaque-sharp + $(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=../../parser:$PATH $(RUNTIME) ../../parser/gapi-parser.exe opaque-sources.xml - $(RUNTIME) ../../parser/gapi-fixup.exe --metadata=Opaque.metadata --api=opaque-api.xml + 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: diff --git a/sample/test/Makefile.am b/sample/test/Makefile.am index c795a62e4..2bd8e4db1 100644 --- a/sample/test/Makefile.am +++ b/sample/test/Makefile.am @@ -1,7 +1,7 @@ TARGETS = WidgetViewer.exe -assemblies=../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll -references = $(addprefix /r:, $(assemblies)) +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) @@ -24,5 +24,5 @@ sources = \ build_sources = $(addprefix $(srcdir)/, $(sources)) WidgetViewer.exe: $(build_sources) $(assemblies) - $(CSC) /out:WidgetViewer.exe $(references) $(build_sources) + $(CSC) -out:WidgetViewer.exe $(references) $(build_sources) diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs index 82fb81105..8727c9a77 100644 --- a/sample/test/TestRange.cs +++ b/sample/test/TestRange.cs @@ -8,7 +8,7 @@ using System; -using Gtk; +using Gtk; using Range = Gtk.Range; namespace WidgetViewer { diff --git a/sample/valtest/.gitignore b/sample/valtest/.gitignore new file mode 100644 index 000000000..e6ce547e8 --- /dev/null +++ b/sample/valtest/.gitignore @@ -0,0 +1 @@ +Valobj.cs diff --git a/sample/valtest/Makefile.am b/sample/valtest/Makefile.am index 80c7117d5..695e9378d 100644 --- a/sample/valtest/Makefile.am +++ b/sample/valtest/Makefile.am @@ -1,11 +1,11 @@ noinst_SCRIPTS = valtest.exe lib_LTLIBRARIES = libvalobj.la -assemblies=../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll -references=$(addprefix /r:, $(assemblies)) +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 + $(CSC) -out:valtest.exe $(references) $(srcdir)/Valtest.cs Valobj.cs libvalobj_la_SOURCES = \ valobj.c \ @@ -18,10 +18,10 @@ libvalobj_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) Valobj.cs: valobj-api.xml - $(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=. --assembly-name=valobj-sharp + $(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=../../parser:$PATH $(RUNTIME) ../../parser/gapi-parser.exe valobj-sources.xml + PATH=$(top_builddir)/parser:$PATH $(RUNTIME) $(top_builddir)/parser/gapi-parser.exe valobj-sources.xml install: diff --git a/sources/Makefile.am b/sources/Makefile.am index f06e2b98d..555648ff8 100644 --- a/sources/Makefile.am +++ b/sources/Makefile.am @@ -1,28 +1,30 @@ -EXTRA_DIST = \ - README \ - sources.xml \ - gtk_tree_model_signal_fix.patch +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 -MAJ=2.24 -PT=2.24.0 -TARGET_GTK_VERSION=2.14.3 -GTK_DOWNLOADS = \ - http://ftp.gnome.org/pub/GNOME/platform/$(MAJ)/$(PT)/sources/glib-2.18.1.tar.bz2 \ - http://ftp.gnome.org/pub/GNOME/platform/$(MAJ)/$(PT)/sources/pango-1.22.0.tar.bz2 \ - http://ftp.gnome.org/pub/GNOME/platform/$(MAJ)/$(PT)/sources/atk-1.24.0.tar.bz2 \ - http://ftp.gnome.org/pub/GNOME/platform/$(MAJ)/$(PT)/sources/gtk+-$(TARGET_GTK_VERSION).tar.bz2 \ - http://ftp.gnome.org/pub/GNOME/platform/$(MAJ)/$(PT)/sources/libglade-2.6.3.tar.bz2 +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: - PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml +api: api-2.12 -get-source-code: - for i in $(GTK_DOWNLOADS); do \ +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+-$(TARGET_GTK_VERSION)/gtk/gtkfilechooserpriv.h - patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktreemodel.c < gtk_tree_model_signal_fix.patch - echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h - echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h + 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 diff --git a/sources/sources.xml b/sources/gtk-sharp-2.12-sources.xml similarity index 75% rename from sources/sources.xml rename to sources/gtk-sharp-2.12-sources.xml index 318fe5ea1..abfb45bf6 100644 --- a/sources/sources.xml +++ b/sources/gtk-sharp-2.12-sources.xml @@ -1,48 +1,15 @@ - - - - - gasynchelper.h - gcontenttypeprivate.h - gdummyfile.h - gfileattribute-priv.h - gioalias.h - gio-marshal.h - giomodule-priv.h - glocalfile.h - glocalfileinfo.h - glocalfileinputstream.h - glocalfilemonitor.h - glocalfileoutputstream.h - glocalvfs.h - gmountprivate.h - gpollfilemonitor.h - gunionvolumemonitor.h - gunixinputstream.h - gunixmount.h - gunixmounts.h - gunixoutputstream.h - gunixvolume.h - gunixvolumemonitor.h - gwin32appinfo.h - gwin32mount.h - gwin32volumemonitor.h - - - - - + - atk-1.24.0/atk + atk-1.20.0/atk - + - + pangoatsui.c pangoatsui.h pangoatsui-fontmap.h @@ -80,23 +47,18 @@ - + - + gdkalias.h - gdkwindowimpl.h keyname-table.h - - io-gdip-native.h - io-gdip-propertytags.h - io-gdip-utils.h - io-gdip-animation.h + gdk-pixbuf-alias.h gdk-pixbuf-scaled-anim.h xpm-color-table.h @@ -104,10 +66,10 @@ - + - + gtkalias.h gtkbuiltincache.h @@ -135,7 +97,6 @@ gtkiconcachevalidator.c gtkiconcachevalidator.h gtkiconthemeparser.h - gtkimcontextsimpleseqs.h gtkpathbar.c gtkpathbar.h gtkprintbackend.h @@ -203,10 +164,10 @@ - + - libglade-2.6.3/glade + libglade-2.6.2/glade diff --git a/sources/gtk_tree_model_signal_fix-2.10.patch b/sources/gtk_tree_model_signal_fix-2.10.patch new file mode 100644 index 000000000..537d763fa --- /dev/null +++ b/sources/gtk_tree_model_signal_fix-2.10.patch @@ -0,0 +1,58 @@ +173,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); +> diff --git a/sources/gtk_tree_model_signal_fix.patch b/sources/gtk_tree_model_signal_fix.patch index be9c74eee..2350379dd 100644 --- a/sources/gtk_tree_model_signal_fix.patch +++ b/sources/gtk_tree_model_signal_fix.patch @@ -1,58 +1,58 @@ ---- gtk+-2.14.3/gtk/gtktreemodel.c 2009-01-04 11:52:01.000000000 -0600 -+++ gtktreemodel.c 2009-01-04 12:03:58.000000000 -0600 -@@ -193,14 +193,15 @@ - closure = g_closure_new_simple (sizeof (GClosure), NULL); - g_closure_set_marshal (closure, row_inserted_marshal); - tree_model_signals[ROW_INSERTED] = -- g_signal_newv (I_("row-inserted"), -+ g_signal_new (I_("row-inserted"), - GTK_TYPE_TREE_MODEL, - G_SIGNAL_RUN_FIRST, -- closure, -+ G_STRUCT_OFFSET (GtkTreeModelIface, row_inserted), - NULL, NULL, - _gtk_marshal_VOID__BOXED_BOXED, - G_TYPE_NONE, 2, -- row_inserted_params); -+ GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE, -+ GTK_TYPE_TREE_ITER); - - /** - * GtkTreeModel::row-has-child-toggled: -@@ -242,14 +243,14 @@ - closure = g_closure_new_simple (sizeof (GClosure), NULL); - g_closure_set_marshal (closure, row_deleted_marshal); - tree_model_signals[ROW_DELETED] = -- g_signal_newv (I_("row-deleted"), -+ g_signal_new (I_("row-deleted"), - GTK_TYPE_TREE_MODEL, - G_SIGNAL_RUN_FIRST, -- closure, -+ G_STRUCT_OFFSET (GtkTreeModelIface, row_deleted), - NULL, NULL, - _gtk_marshal_VOID__BOXED, - G_TYPE_NONE, 1, -- row_deleted_params); -+ GTK_TYPE_TREE_PATH); - - /** - * GtkTreeModel::rows-reordered: -@@ -268,14 +269,15 @@ - closure = g_closure_new_simple (sizeof (GClosure), NULL); - g_closure_set_marshal (closure, rows_reordered_marshal); - tree_model_signals[ROWS_REORDERED] = -- g_signal_newv (I_("rows-reordered"), -+ g_signal_new (I_("rows-reordered"), - GTK_TYPE_TREE_MODEL, - G_SIGNAL_RUN_FIRST, -- closure, -+ G_STRUCT_OFFSET (GtkTreeModelIface, rows_reordered), - NULL, NULL, - _gtk_marshal_VOID__BOXED_BOXED_POINTER, - G_TYPE_NONE, 3, -- rows_reordered_params); -+ GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE, -+ GTK_TYPE_TREE_ITER, G_TYPE_POINTER); - initialized = TRUE; - } - } +173,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); +> diff --git a/sources/gtkclipboard.patch b/sources/gtkclipboard.patch new file mode 100644 index 000000000..4bef84105 --- /dev/null +++ b/sources/gtkclipboard.patch @@ -0,0 +1,12 @@ +--- 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); diff --git a/sources/gtkhtml-font-style-enum.patch b/sources/gtkhtml-font-style-enum.patch new file mode 100644 index 000000000..c2b58d3e3 --- /dev/null +++ b/sources/gtkhtml-font-style-enum.patch @@ -0,0 +1,51 @@ +Index: gtkhtml-3.0.10/src/gtkhtml-enums.h +=================================================================== +RCS file: /cvs/gnome/gtkhtml/src/gtkhtml-enums.h,v +retrieving revision 1.35 +diff -u -p -r1.35 gtkhtml-enums.h +--- gtkhtml-3.0.10/src/gtkhtml-enums.h 19 May 2003 14:41:02 -0000 1.35 ++++ gtkhtml-3.0.10/src/gtkhtml-enums.h 16 Jul 2003 02:06:40 -0000 +@@ -242,15 +242,13 @@ typedef enum { + } GtkHTMLEtchStyle; + + typedef enum { +- GTK_HTML_FONT_STYLE_SHIFT_FIRST = 3, +- GTK_HTML_FONT_STYLE_SHIFT_BOLD = GTK_HTML_FONT_STYLE_SHIFT_FIRST, +- GTK_HTML_FONT_STYLE_SHIFT_ITALIC, +- GTK_HTML_FONT_STYLE_SHIFT_UNDERLINE, +- GTK_HTML_FONT_STYLE_SHIFT_STRIKEOUT, +- GTK_HTML_FONT_STYLE_SHIFT_FIXED, +- GTK_HTML_FONT_STYLE_SHIFT_SUBSCRIPT, +- GTK_HTML_FONT_STYLE_SHIFT_SUPERSCRIPT, +- GTK_HTML_FONT_STYLE_SHIFT_LAST = GTK_HTML_FONT_STYLE_SHIFT_SUPERSCRIPT, ++ GTK_HTML_FONT_STYLE_SHIFT_BOLD = 3, ++ GTK_HTML_FONT_STYLE_SHIFT_ITALIC = 4, ++ GTK_HTML_FONT_STYLE_SHIFT_UNDERLINE = 5, ++ GTK_HTML_FONT_STYLE_SHIFT_STRIKEOUT = 6, ++ GTK_HTML_FONT_STYLE_SHIFT_FIXED = 7, ++ GTK_HTML_FONT_STYLE_SHIFT_SUBSCRIPT = 8, ++ GTK_HTML_FONT_STYLE_SHIFT_SUPERSCRIPT = 9, + } GtkHTMLFontStyleShift; + + typedef enum { +@@ -263,13 +261,13 @@ typedef enum { + GTK_HTML_FONT_STYLE_SIZE_6 = 6, + GTK_HTML_FONT_STYLE_SIZE_7 = 7, + GTK_HTML_FONT_STYLE_SIZE_MASK = 0x7, +- GTK_HTML_FONT_STYLE_BOLD = 1 << GTK_HTML_FONT_STYLE_SHIFT_BOLD, +- GTK_HTML_FONT_STYLE_ITALIC = 1 << GTK_HTML_FONT_STYLE_SHIFT_ITALIC, +- GTK_HTML_FONT_STYLE_UNDERLINE = 1 << GTK_HTML_FONT_STYLE_SHIFT_UNDERLINE, +- GTK_HTML_FONT_STYLE_STRIKEOUT = 1 << GTK_HTML_FONT_STYLE_SHIFT_STRIKEOUT, +- GTK_HTML_FONT_STYLE_FIXED = 1 << GTK_HTML_FONT_STYLE_SHIFT_FIXED, +- GTK_HTML_FONT_STYLE_SUBSCRIPT = 1 << GTK_HTML_FONT_STYLE_SHIFT_SUBSCRIPT, +- GTK_HTML_FONT_STYLE_SUPERSCRIPT = 1 << GTK_HTML_FONT_STYLE_SHIFT_SUPERSCRIPT, ++ GTK_HTML_FONT_STYLE_BOLD = 1 << 3, ++ GTK_HTML_FONT_STYLE_ITALIC = 1 << 4, ++ GTK_HTML_FONT_STYLE_UNDERLINE = 1 << 5, ++ GTK_HTML_FONT_STYLE_STRIKEOUT = 1 << 6, ++ GTK_HTML_FONT_STYLE_FIXED = 1 << 7, ++ GTK_HTML_FONT_STYLE_SUBSCRIPT = 1 << 8, ++ GTK_HTML_FONT_STYLE_SUPERSCRIPT = 1 << 9, + } GtkHTMLFontStyle; + + typedef enum {