Method: Curses::Menu#fore=

Defined in:
ext/curses/curses.c

#fore=(attr) ⇒ Object

call-seq:

fore=(attr)

Sets the foreground attribute of menu. This is the highlight used for selected menu items.



3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'ext/curses/curses.c', line 3830

static VALUE
menu_set_fore(VALUE obj, VALUE attr)
{
    struct menudata *menup;

    GetMENU(obj, menup);
    set_menu_fore(menup->menu, NUM2CHTYPE(attr));

    return attr;
}