static VALUE rg_set_composited(VALUE self, VALUE composited) { gdk_window_set_composited(_SELF(self), RVAL2CBOOL(composited)); return self; }
static VALUE rg_auto_dir_p(VALUE self) { return CBOOL2RVAL(pango_layout_get_auto_dir(_SELF(self))); }
static VALUE rg_alignment(VALUE self) { return PANGOALIGNMENT2RVAL(pango_layout_get_alignment(_SELF(self))); }
static VALUE rg_set_spacing(VALUE self, VALUE spacing) { pango_layout_set_spacing(_SELF(self), NUM2INT(spacing)); return self; }
static VALUE rg_justify_p(VALUE self) { return CBOOL2RVAL(pango_layout_get_justify(_SELF(self))); }
static VALUE rg_is_ellipsized_p(VALUE self) { return CBOOL2RVAL(pango_layout_is_ellipsized(_SELF(self))); }
static VALUE rg_indent(VALUE self) { return INT2NUM(pango_layout_get_indent(_SELF(self))); }
static VALUE rg_move_to_current_desktop(VALUE self) { gdk_x11_window_move_to_current_desktop(_SELF(self)); return self; }
static VALUE rg_state(VALUE self) { return GENUM2RVAL(gdk_window_get_state(_SELF(self)), GDK_TYPE_WINDOW_STATE); }
static VALUE rg_server_time(VALUE self) { return UINT2NUM(gdk_x11_get_server_time(_SELF(self))); }
static VALUE rg_set_user_time(VALUE self, VALUE time) { gdk_x11_window_set_user_time(_SELF(self), NUM2UINT(time)); return Qnil; }
static VALUE rg_viewable_p(VALUE self) { return CBOOL2RVAL(gdk_window_is_viewable(_SELF(self))); }
static VALUE rg_set_startup_id(VALUE self, VALUE startup_id) { gdk_window_set_startup_id(_SELF(self), RVAL2CSTR_ACCEPT_NIL(startup_id)); return self; }
static VALUE rg_set_opacity(VALUE self, VALUE opacity) { gdk_window_set_opacity(_SELF(self), NUM2DBL(opacity)); return self; }
static VALUE rg_set_ellipsize(VALUE self, VALUE ellipsize) { pango_layout_set_ellipsize(_SELF(self), RVAL2PANGOELLIPSIZEMODE(ellipsize)); return self; }
static VALUE rg_attributes(VALUE self) { return PANGOATTRLIST2RVAL(pango_layout_get_attributes(_SELF(self))); }
static VALUE rg_ellipsize(VALUE self) { return PANGOELLIPSIZEMODE2RVAL(pango_layout_get_ellipsize(_SELF(self))); }
static VALUE rg_font_description(VALUE self) { const PangoFontDescription* desc = pango_layout_get_font_description(_SELF(self)); return PANGOFONTDESCRIPTION2RVAL((gpointer)desc); }
static VALUE rg_set_indent(VALUE self, VALUE indent) { pango_layout_set_indent(_SELF(self), NUM2INT(indent)); return self; }
static VALUE rg_width(VALUE self) { return INT2NUM(pango_layout_get_width(_SELF(self))); }
static VALUE rg_spacing(VALUE self) { return INT2NUM(pango_layout_get_spacing(_SELF(self))); }
static VALUE rg_set_height(VALUE self, VALUE width) { pango_layout_set_height(_SELF(self), NUM2INT(width)); return self; }
static VALUE rg_set_justify(VALUE self, VALUE justify) { pango_layout_set_justify(_SELF(self), RVAL2CBOOL(justify)); return self; }
static VALUE rg_height(VALUE self) { return INT2NUM(pango_layout_get_height(_SELF(self))); }
static VALUE rg_set_auto_dir(VALUE self, VALUE auto_dir) { pango_layout_set_auto_dir(_SELF(self), RVAL2CBOOL(auto_dir)); return self; }
static VALUE rg_set_wrap(VALUE self, VALUE wrap) { pango_layout_set_wrap(_SELF(self), RVAL2PANGOWRAPMODE(wrap)); return self; }
static VALUE rg_set_alignment(VALUE self, VALUE align) { pango_layout_set_alignment(_SELF(self), RVAL2PANGOALIGNMENT(align)); return self; }
static VALUE rg_wrap(VALUE self) { return PANGOWRAPMODE2RVAL(pango_layout_get_wrap(_SELF(self))); }
static VALUE rg_set_single_paragraph_mode(VALUE self, VALUE setting) { pango_layout_set_single_paragraph_mode(_SELF(self), RVAL2CBOOL(setting)); return self; }
static VALUE rg_set_functions(VALUE self, VALUE func) { gdk_window_set_functions(_SELF(self), RVAL2GFLAGS(func, GDK_TYPE_WM_FUNCTION)); return self; }