Documentation arrived.
[ruby-ecore.git] / src / ecore_evas / rb_software_x11.c
index f694e3e68e7eda916b7fe93620f0d7a5f7ae210c..0b480196acd4c2be46fadbb5f75b868fe0f83e75 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_software_x11.c 50 2004-08-01 10:18:39Z tilman $
+ * $Id: rb_software_x11.c 60 2004-08-10 14:12:36Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
@@ -49,6 +49,12 @@ static void c_free (RbEcoreEvasSoftwareX11 *ee)
        free (ee);
 }
 
+/*
+ * call-seq:
+ *  Ecore::Evas::SoftwareX11.new([display, parent, x, y, w, h]) => swx11
+ *
+ * Creates an Ecore::Evas::SoftwareX11 object.
+ */
 static VALUE c_new (int argc, VALUE *argv, VALUE klass)
 {
        VALUE self, disp, parent, geom[4];
@@ -86,6 +92,12 @@ static VALUE c_new (int argc, VALUE *argv, VALUE klass)
        return self;
 }
 
+/*
+ * call-seq:
+ *  swx11.window => window
+ *
+ * Returns the <code>Ecore::X::Window</code> object for <i>swx11</i>.
+ */
 static VALUE c_window_get (VALUE self)
 {
        Ecore_X_Window w;