Method: Curses::Menu#fore

Defined in:
ext/curses/curses.c

#foreObject

call-seq:

fore

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



3703
3704
3705
3706
3707
3708
3709
3710
3711
# File 'ext/curses/curses.c', line 3703

static VALUE
menu_get_fore(VALUE obj)
{
    struct menudata *menup;

    GetMENU(obj, menup);

    return CHTYPE2NUM(menu_fore(menup->menu));
}