Class: XCB::GetGeometryReply

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

Instance Method Summary collapse

Instance Method Details

#border_widthObject



3223
3224
3225
3226
3227
3228
3229
# File 'ext/xproto.c', line 3223

static VALUE
r_XCB_GetGeometryReply_get_border_width(VALUE r_self)
{
	xcb_get_geometry_reply_t *reply;
	Data_Get_Struct(r_self, xcb_get_geometry_reply_t, reply);
	return INT2FIX(reply->border_width);
}

#depthObject



3181
3182
3183
3184
3185
3186
3187
# File 'ext/xproto.c', line 3181

static VALUE
r_XCB_GetGeometryReply_get_depth(VALUE r_self)
{
	xcb_get_geometry_reply_t *reply;
	Data_Get_Struct(r_self, xcb_get_geometry_reply_t, reply);
	return INT2FIX(reply->depth);
}

#heightObject



3216
3217
3218
3219
3220
3221
3222
# File 'ext/xproto.c', line 3216

static VALUE
r_XCB_GetGeometryReply_get_height(VALUE r_self)
{
	xcb_get_geometry_reply_t *reply;
	Data_Get_Struct(r_self, xcb_get_geometry_reply_t, reply);
	return INT2FIX(reply->height);
}

#rootObject



3188
3189
3190
3191
3192
3193
3194
# File 'ext/xproto.c', line 3188

static VALUE
r_XCB_GetGeometryReply_get_root(VALUE r_self)
{
	xcb_get_geometry_reply_t *reply;
	Data_Get_Struct(r_self, xcb_get_geometry_reply_t, reply);
	return INT2FIX(reply->root);
}

#widthObject



3209
3210
3211
3212
3213
3214
3215
# File 'ext/xproto.c', line 3209

static VALUE
r_XCB_GetGeometryReply_get_width(VALUE r_self)
{
	xcb_get_geometry_reply_t *reply;
	Data_Get_Struct(r_self, xcb_get_geometry_reply_t, reply);
	return INT2FIX(reply->width);
}

#xObject



3195
3196
3197
3198
3199
3200
3201
# File 'ext/xproto.c', line 3195

static VALUE
r_XCB_GetGeometryReply_get_x(VALUE r_self)
{
	xcb_get_geometry_reply_t *reply;
	Data_Get_Struct(r_self, xcb_get_geometry_reply_t, reply);
	return INT2FIX(reply->x);
}

#yObject



3202
3203
3204
3205
3206
3207
3208
# File 'ext/xproto.c', line 3202

static VALUE
r_XCB_GetGeometryReply_get_y(VALUE r_self)
{
	xcb_get_geometry_reply_t *reply;
	Data_Get_Struct(r_self, xcb_get_geometry_reply_t, reply);
	return INT2FIX(reply->y);
}