[gnome-devel-docs/dx-hackfest] platform-overview: Fill in the GObject page



commit f63f9961dee95d8aa4d400ebd5085742a3961098
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Feb 1 17:46:12 2013 +0100

    platform-overview: Fill in the GObject page
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 platform-overview/C/gobject.page |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/platform-overview/C/gobject.page b/platform-overview/C/gobject.page
index 7287437..3daded2 100644
--- a/platform-overview/C/gobject.page
+++ b/platform-overview/C/gobject.page
@@ -8,4 +8,41 @@
 
 <title>GObject</title>
 
+  <p>
+    GObject is the part of the <link xref="glib">GLib</link> library that
+    provides an object and type system for C programs.  Although C as a
+    language does not provide objects or classes, GObject makes it possible to
+    write object-oriented C programs.
+  </p>
+
+  <p>
+    GObject provides a fundamental GType, the base for the whole type system,
+    from which types such as ints and strings are derived.  Then, there is
+    GObject itself, the base class for all other classes.  Objects can emit
+    <em>signals</em> to notify the caller when something interesting happens.
+    For example, a <code>Button</code> object could emit a <code>clicked</code>
+    signal to indicate that it has been pressed and released.
+  </p>
+
+  <p>
+    GObject is <em>introspectible</em>, which means that you can ask the
+    GObject system for the class types that are defined, the methods they
+    support, their signals, etc.  GNOME's language bindings are built on top of
+    this introspection information.  Instead of writing wrappers by hand to let
+    GNOME APIs be called from other programming languages, language bindings
+    use the introspection information from GObject to auto-generate those
+    wrappers themselves.
+  </p>
+
+  <p>
+    You normally don't need to be concerned with GObject itself if you are
+    programming for GNOME with an object-oriented language.  However, making
+    yourself familiar with GObject's concepts, such as signals and slots, will
+    make your life easier as a GNOME programmer.
+  </p>
+
+  <list style="compact">
+    <item><p><link href="http://developer.gnome.org/gobject/stable/";>GObject reference manual</link></p></item>
+  </list>
+
 </page>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]