From: Sean O'Halpin Date: 2010-08-30T23:31:18+09:00 Subject: Re: ffi-ncurses 0.3.3 On Mon, Aug 30, 2010 at 9:24 AM, Rahul Kumar wrote: > Wanted to confirm. Seems ffi-ncurses does not support panels. Panels are > critical when we need to have multiple windows. e.g. one screen leads to > another, and then closing a screen brings one back to previous. IIRC, > its also required for dialog boxes, popups etc. > > Is it possible to have panel support. There are only a few methods: > > Ncurses::Panel.del_panel > Ncurses::Panel.hide_panel > Ncurses::Panel.new_panel > Ncurses::Panel.show_panel > Ncurses::Panel.top_panel > Ncurses::Panel.update_panels > > Also, window should return its panel with window.panel(). > > thx > rahul Indeed it is possible. I've added it to my roadmap which now looks like this: 0.3.4: tidy up wide character support (almost ready to ship) 0.4.0: convert function signatures to semantic types (including using :bool which will require existing apps to change) (half-done) 0.4.1: include Panel support 0.4.2: ruby-ncurses compatibility layer (investigating) I'll get onto 0.4.1 as soon as I've done 0.4.0 which should be some time in the next week. Unfortunate that I'm going to have to break API-compatibility to use bools, but I don't envisage any further changes that will break backward-compatibility from 0.4.0 on. Regards, Sean