Class: XCB::TranslateCoordinatesReply

Inherits:
Object
  • Object
show all
Defined in:
ext/xproto.c

Instance Method Summary collapse

Instance Method Details

#childObject



3486
3487
3488
3489
3490
3491
3492
# File 'ext/xproto.c', line 3486

static VALUE
r_XCB_TranslateCoordinatesReply_get_child(VALUE r_self)
{
	xcb_translate_coordinates_reply_t *reply;
	Data_Get_Struct(r_self, xcb_translate_coordinates_reply_t, reply);
	return INT2FIX(reply->child);
}

#dst_xObject



3493
3494
3495
3496
3497
3498
3499
# File 'ext/xproto.c', line 3493

static VALUE
r_XCB_TranslateCoordinatesReply_get_dst_x(VALUE r_self)
{
	xcb_translate_coordinates_reply_t *reply;
	Data_Get_Struct(r_self, xcb_translate_coordinates_reply_t, reply);
	return INT2FIX(reply->dst_x);
}

#dst_yObject



3500
3501
3502
3503
3504
3505
3506
# File 'ext/xproto.c', line 3500

static VALUE
r_XCB_TranslateCoordinatesReply_get_dst_y(VALUE r_self)
{
	xcb_translate_coordinates_reply_t *reply;
	Data_Get_Struct(r_self, xcb_translate_coordinates_reply_t, reply);
	return INT2FIX(reply->dst_y);
}

#same_screenObject



3479
3480
3481
3482
3483
3484
3485
# File 'ext/xproto.c', line 3479

static VALUE
r_XCB_TranslateCoordinatesReply_get_same_screen(VALUE r_self)
{
	xcb_translate_coordinates_reply_t *reply;
	Data_Get_Struct(r_self, xcb_translate_coordinates_reply_t, reply);
	return reply->same_screen ? Qtrue : Qfalse;
}