Method: Curses::Form#set_win

Defined in:
ext/curses/curses.c

#set_win(win) ⇒ Object

call-seq:

set_win=(win)

Set the window of the form.



4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
# File 'ext/curses/curses.c', line 4627

static VALUE
form_set_win(VALUE obj, VALUE win)
{
    struct formdata *formp;
    struct windata *winp;

    GetFORM(obj, formp);
    GetWINDOW(win, winp);
    set_form_win(formp->form, winp->window);
    return win;
}