+static VALUE c_cursor_set (VALUE self, VALUE val)
+{
+ GET_OBJ (self, RbWindow, win);
+
+ CHECK_CLASS (val, cCursor);
+ GET_OBJ (val, RbCursor, c);
+
+ ecore_x_window_cursor_set (win->real, c->real);
+ rb_iv_set (self, "@cursor", val);
+
+ return Qnil;
+}
+
static VALUE c_manage (VALUE self)
{
GET_OBJ (self, RbWindow, win);
static VALUE c_manage (VALUE self)
{
GET_OBJ (self, RbWindow, win);
cWindow = rb_define_class_under (mX, "Window", rb_cObject);
rb_define_singleton_method (cWindow, "new", c_new, -1);
cWindow = rb_define_class_under (mX, "Window", rb_cObject);
rb_define_singleton_method (cWindow, "new", c_new, -1);
rb_define_method (cWindow, "inspect", c_inspect, 0);
rb_define_method (cWindow, "==", c_equal_value, 1);
rb_define_method (cWindow, "show", c_show, 0);
rb_define_method (cWindow, "inspect", c_inspect, 0);
rb_define_method (cWindow, "==", c_equal_value, 1);
rb_define_method (cWindow, "show", c_show, 0);
rb_define_method (cWindow, "get_protocol", c_get_protocol, 1);
rb_define_method (cWindow, "sticky?", c_sticky_get, 0);
rb_define_method (cWindow, "sticky=", c_sticky_set, 1);
rb_define_method (cWindow, "get_protocol", c_get_protocol, 1);
rb_define_method (cWindow, "sticky?", c_sticky_get, 0);
rb_define_method (cWindow, "sticky=", c_sticky_set, 1);
rb_define_method (cWindow, "manage", c_manage, 0);
rb_define_method (cWindow, "manage_container", c_manage_container, 0);
rb_define_method (cWindow, "manage_client", c_manage_client, 0);
rb_define_method (cWindow, "sniff", c_sniff, 0);
rb_define_method (cWindow, "sniff_client", c_sniff_client, 0);
rb_define_method (cWindow, "manage", c_manage, 0);
rb_define_method (cWindow, "manage_container", c_manage_container, 0);
rb_define_method (cWindow, "manage_client", c_manage_client, 0);
rb_define_method (cWindow, "sniff", c_sniff, 0);
rb_define_method (cWindow, "sniff_client", c_sniff_client, 0);