diff --git a/doc/en/GLib/FileUtils.xml b/doc/en/GLib/FileUtils.xml
index 2e89ef464..3b04ae9ad 100644
--- a/doc/en/GLib/FileUtils.xml
+++ b/doc/en/GLib/FileUtils.xml
@@ -10,8 +10,8 @@
Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.
- To be added
- To be added
+ A simple file IO utility class
+ Contains a single static method GetFileContents(string filename) which returns the contents of a text file as a string.System.Object
@@ -29,10 +29,24 @@
- To be added
- an object of type
- an object of type
- To be added
+ Returns a string containing the contents of the text file passed as the 'filename' parameter.
+ The file GetFileContents() should retrieve its result from. An object of type
+ Returns the contents of a text file. An object of type
+
+
+
+using System;
+
+class Test
+ {
+ public static void Main(string[] args)
+ {
+ Console.WriteLine(GLib.FileUtils.GetFileContents(args[0]));
+ }
+ }
+
+
+
diff --git a/doc/en/GLib/GType.xml b/doc/en/GLib/GType.xml
index cde77029b..a219f6771 100644
--- a/doc/en/GLib/GType.xml
+++ b/doc/en/GLib/GType.xml
@@ -10,8 +10,42 @@
- To be added
- To be added
+ The GLib Runtime type identification and management system. The GType API is the foundation of the GObject system. It provides the facilities for registering and managing all fundamental data types, user-defined object and interface types.
+
+
+
+using System;
+using Gtk;
+
+public class MagrittesWindow : Window {
+ static GLib.GType gtype;
+ Button button;
+
+ public static new GLib.GType GType
+ {
+ get
+ {
+ if (gtype == GLib.GType.Invalid)
+ gtype = RegisterGType (typeof (MagrittesWindow));
+ return gtype;
+ }
+ }
+
+ public MagrittesWindow() : base (GType)
+ {
+ button = new Button("This is not a button");
+ button.Clicked += new EventHandler(button_Clicked);
+
+ this.Title = "This is not a Window";
+ this.SetDefaultSize (400, 300);
+ this.DeleteEvent += new DeleteEventHandler (MyWindow_Delete);
+ this.Add(button);
+ this.ShowAll ();
+ }
+ /* elided for brevity */
+
+
+ System.ValueType
@@ -28,8 +62,28 @@
- To be added
- To be added
+ A field of type GType.Invalid
+
+
+
+
+ public class MyWindow : Window {
+ static GLib.GType gtype;
+ Button button;
+
+ public static new GLib.GType GType
+ {
+ get
+ {
+ if (gtype == GLib.GType.Invalid)
+ gtype = RegisterGType (typeof (MyWindow));
+ return gtype;
+ }
+ }
+/* Rest elided for clarity */
+
+
+
@@ -41,8 +95,8 @@
- To be added
- To be added
+ A field of type GType.None
+ Sample see: GLib.GType.Invalid.
@@ -54,8 +108,8 @@
- To be added
- To be added
+ A field of type GType.String
+ Sample see: GLib.GType.Invalid.
@@ -67,8 +121,8 @@
- To be added
- To be added
+ A field of type GType.Boolean.
+ Sample see: GLib.GType.Invalid.
@@ -80,8 +134,8 @@
- To be added
- To be added
+ A field of type GType.Int
+ Sample see: GLib.GType.Invalid.
@@ -93,8 +147,8 @@
- To be added
- To be added
+ A field of type GType.Double
+ Sample see: GLib.GType.Invalid.
@@ -106,8 +160,8 @@
- To be added
- To be added
+ A field of type GType.Float
+ Sample see: GLib.GType.Invalid.
@@ -119,8 +173,8 @@
- To be added
- To be added
+ A field of type GType.Char
+ Sample see: GLib.GType.Invalid.
@@ -132,8 +186,8 @@
- To be added
- To be added
+ A field of type GType.UInt
+ Sample see: GLib.GType.Invalid.
@@ -145,8 +199,8 @@
- To be added
- To be added
+ A field of type GType.Object
+ Sample see: GLib.GType.Invalid.
@@ -158,8 +212,8 @@
- To be added
- To be added
+ A field of type GType.Pointer
+ Sample see: GLib.GType.Invalid.
@@ -171,8 +225,8 @@
- To be added
- To be added
+ A field of type GType.Boxed
+ Sample see: GLib.GType.Invalid.
@@ -185,7 +239,10 @@
- To be added
+
+ Determines whether the current instance and a specified
+ represent the same value.
+
a a To be added
@@ -199,9 +256,9 @@
- To be added
+ Generates a hash code for the current instance.a
- To be added
+
@@ -212,9 +269,9 @@
- To be added
+ Manufactures a human-readable text string that describes an instance of the class.a
- To be added
+
@@ -225,10 +282,26 @@
- To be added
+ Constructor for GType. Primarily used in generated wrappers for gtk objects.
a a
- To be added
+ Generated code from gnome/generated/About.cs:
+
+
+
+ [DllImport("gnomeui-2")]
+ static extern IntPtr gnome_about_get_type();
+
+ public static new GLib.GType GType {
+ get {
+ IntPtr raw_ret = gnome_about_get_type();
+ GLib.GType ret = new GLib.GType(raw_ret);
+ return ret;
+ }
+ }
+
+
+
@@ -239,9 +312,9 @@
- To be added
+ Read only property retrieves the representing the GType object in question.a
- To be added
+
diff --git a/doc/en/GLib/List.xml b/doc/en/GLib/List.xml
index 391be953b..e298b1edf 100644
--- a/doc/en/GLib/List.xml
+++ b/doc/en/GLib/List.xml
@@ -139,10 +139,21 @@
- To be added
+ Constructs a list of objects of a given type.
a a
- To be added
+
+
+
+ Gtk.Widget a = new Gtk.Widget((IntPtr) 0);
+ Gtk.Widget b = new Gtk.Widget((IntPtr) 0);
+
+ GLib.List l = new GLib.List (typeof (Gtk.Widget));
+ l.Append (a.Handle);
+ l.Append (b.Handle);
+
+
+
diff --git a/doc/en/GLib/Log.xml b/doc/en/GLib/Log.xml
index 8edf4edfe..ebe0d512c 100644
--- a/doc/en/GLib/Log.xml
+++ b/doc/en/GLib/Log.xml
@@ -12,6 +12,17 @@
Message logging functions.
+
+
+//Some common logging methods.
+// Print the messages for the NULL domain
+LogFunc logFunc = new LogFunc (Log.PrintLogFunction);
+Log.SetLogHandler (null, LogLevelFlags.All, logFunc);
+// Print messages and stack trace for Gtk critical messages
+logFunc = new LogFunc (Log.PrintTraceLogFunction);
+Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc);
+
+
diff --git a/doc/en/Gtk/Combo.xml b/doc/en/Gtk/Combo.xml
index 91d977d99..3e54b5e38 100644
--- a/doc/en/Gtk/Combo.xml
+++ b/doc/en/Gtk/Combo.xml
@@ -203,7 +203,7 @@ class ComboSample
- Does nothing. ---- To get out ----
+ Does nothing. ---- REMOVE ---- See EnableArrowKeys.
To be added: an object of type 'bool'
To be added: an object of type 'bool'To be added
@@ -218,7 +218,7 @@ class ComboSample
- Specifies if the arrow (cursor) keys can be used to step through the items in the list.
+ Specifies if the arrow (cursor) keys can be used to step through the items in the list. See also EnableArrowKeys.
an object of type if the arrow keys can be used to step through the items in the list.
@@ -234,7 +234,7 @@ class ComboSample
- To be added
+ See EnableArrowKeys
To be added: an object of type 'bool'
To be added: an object of type 'bool'To be added
@@ -329,7 +329,7 @@ class ComboSample
- Protected Constructor.
+ Protected contstructor.
a a Chain to this constructor if you have manually registered a native value for your subclass.