projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When we create the root window object, just pass 0 for the window id.
[ruby-ecore.git]
/
src
/
ecore_evas
/
rb_software_x11.c
diff --git
a/src/ecore_evas/rb_software_x11.c
b/src/ecore_evas/rb_software_x11.c
index f694e3e68e7eda916b7fe93620f0d7a5f7ae210c..cbaa9f498a42581fc893f40a64d4b5d1f9d3a463 100644
(file)
--- a/
src/ecore_evas/rb_software_x11.c
+++ b/
src/ecore_evas/rb_software_x11.c
@@
-1,7
+1,7
@@
/*
/*
- * $Id: rb_software_x11.c
50 2004-08-01 10:18:3
9Z tilman $
+ * $Id: rb_software_x11.c
77 2004-08-19 17:39:2
9Z 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
*
* 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);
}
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];
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;
}
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;
static VALUE c_window_get (VALUE self)
{
Ecore_X_Window w;