Пример #1
0
static VALUE
rg_set_composited(VALUE self, VALUE composited)
{
    gdk_window_set_composited(_SELF(self), RVAL2CBOOL(composited));
    return self;
}
Пример #2
0
static VALUE
rg_auto_dir_p(VALUE self)
{
    return CBOOL2RVAL(pango_layout_get_auto_dir(_SELF(self)));
}
Пример #3
0
static VALUE
rg_alignment(VALUE self)
{
    return PANGOALIGNMENT2RVAL(pango_layout_get_alignment(_SELF(self)));
}
Пример #4
0
static VALUE
rg_set_spacing(VALUE self, VALUE spacing)
{
    pango_layout_set_spacing(_SELF(self), NUM2INT(spacing));
    return self;
}
Пример #5
0
static VALUE
rg_justify_p(VALUE self)
{
    return CBOOL2RVAL(pango_layout_get_justify(_SELF(self)));
}
Пример #6
0
static VALUE
rg_is_ellipsized_p(VALUE self)
{
    return CBOOL2RVAL(pango_layout_is_ellipsized(_SELF(self)));
}
Пример #7
0
static VALUE
rg_indent(VALUE self)
{
    return INT2NUM(pango_layout_get_indent(_SELF(self)));
}
Пример #8
0
static VALUE
rg_move_to_current_desktop(VALUE self)
{
    gdk_x11_window_move_to_current_desktop(_SELF(self));
    return self;
}
Пример #9
0
static VALUE
rg_state(VALUE self)
{
    return GENUM2RVAL(gdk_window_get_state(_SELF(self)), GDK_TYPE_WINDOW_STATE);
}
Пример #10
0
static VALUE
rg_server_time(VALUE self)
{
    return UINT2NUM(gdk_x11_get_server_time(_SELF(self)));
}
Пример #11
0
static VALUE
rg_set_user_time(VALUE self, VALUE time)
{
    gdk_x11_window_set_user_time(_SELF(self), NUM2UINT(time));
    return Qnil;
}
Пример #12
0
static VALUE
rg_viewable_p(VALUE self)
{
    return CBOOL2RVAL(gdk_window_is_viewable(_SELF(self)));
}
Пример #13
0
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;
}
Пример #14
0
static VALUE
rg_set_opacity(VALUE self, VALUE opacity)
{
    gdk_window_set_opacity(_SELF(self), NUM2DBL(opacity));
    return self;
}
Пример #15
0
static VALUE
rg_set_ellipsize(VALUE self, VALUE ellipsize)
{
    pango_layout_set_ellipsize(_SELF(self), RVAL2PANGOELLIPSIZEMODE(ellipsize));
    return self;
}
Пример #16
0
static VALUE
rg_attributes(VALUE self)
{
    return PANGOATTRLIST2RVAL(pango_layout_get_attributes(_SELF(self)));
}
Пример #17
0
static VALUE
rg_ellipsize(VALUE self)
{
    return PANGOELLIPSIZEMODE2RVAL(pango_layout_get_ellipsize(_SELF(self)));
}
Пример #18
0
static VALUE
rg_font_description(VALUE self)
{
    const PangoFontDescription* desc = pango_layout_get_font_description(_SELF(self));
    return PANGOFONTDESCRIPTION2RVAL((gpointer)desc);
}
Пример #19
0
static VALUE
rg_set_indent(VALUE self, VALUE indent)
{
    pango_layout_set_indent(_SELF(self), NUM2INT(indent));
    return self;
}
Пример #20
0
static VALUE
rg_width(VALUE self)
{
    return INT2NUM(pango_layout_get_width(_SELF(self)));
}
Пример #21
0
static VALUE
rg_spacing(VALUE self)
{
    return INT2NUM(pango_layout_get_spacing(_SELF(self)));
}
Пример #22
0
static VALUE
rg_set_height(VALUE self, VALUE width)
{
    pango_layout_set_height(_SELF(self), NUM2INT(width));
    return self;
}
Пример #23
0
static VALUE
rg_set_justify(VALUE self, VALUE justify)
{
    pango_layout_set_justify(_SELF(self), RVAL2CBOOL(justify));
    return self;
}
Пример #24
0
static VALUE
rg_height(VALUE self)
{
    return INT2NUM(pango_layout_get_height(_SELF(self)));
}
Пример #25
0
static VALUE
rg_set_auto_dir(VALUE self, VALUE auto_dir)
{
    pango_layout_set_auto_dir(_SELF(self), RVAL2CBOOL(auto_dir));
    return self;
}
Пример #26
0
static VALUE
rg_set_wrap(VALUE self, VALUE wrap)
{
    pango_layout_set_wrap(_SELF(self), RVAL2PANGOWRAPMODE(wrap));
    return self;
}
Пример #27
0
static VALUE
rg_set_alignment(VALUE self, VALUE align)
{
    pango_layout_set_alignment(_SELF(self), RVAL2PANGOALIGNMENT(align));
    return self;
}
Пример #28
0
static VALUE
rg_wrap(VALUE self)
{
    return PANGOWRAPMODE2RVAL(pango_layout_get_wrap(_SELF(self)));
}
Пример #29
0
static VALUE
rg_set_single_paragraph_mode(VALUE self, VALUE setting)
{
    pango_layout_set_single_paragraph_mode(_SELF(self), RVAL2CBOOL(setting));
    return self;
}
Пример #30
0
static VALUE
rg_set_functions(VALUE self, VALUE func)
{
    gdk_window_set_functions(_SELF(self), RVAL2GFLAGS(func, GDK_TYPE_WM_FUNCTION));
    return self;
}