Updated copyright notice. Added event handler code.
[ruby-ecore.git] / src / ecore_evas / rb_software_x11.c
index f694e3e68e7eda916b7fe93620f0d7a5f7ae210c..cbaa9f498a42581fc893f40a64d4b5d1f9d3a463 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: rb_software_x11.c 50 2004-08-01 10:18:39Z tilman $
+ * $Id: rb_software_x11.c 77 2004-08-19 17:39:29Z tilman $
  *
- * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
+ * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -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;