示例#1
0
int
clip_GTK_SCROLLEDWINDOWGETPLACEMENT (ClipMachine *cm)
{
    C_widget *csw = _fetch_cw_arg(cm);

    CHECKOPT(2,NUMERIC_t);
    _clip_retni(cm, (int)gtk_scrolled_window_get_placement (GTK_SCROLLED_WINDOW(csw->widget)));
    return 0;
err:
    return 1;
}
static VALUE
rg_placement(VALUE self)
{
    return GTKCORNERTYPE2RVAL(gtk_scrolled_window_get_placement(_SELF(self)));
}