From: Michael Fellinger Date: 2010-08-31T02:55:13+09:00 Subject: Re: ffi-ncurses 0.3.3 On Mon, Aug 30, 2010 at 11:31 PM, Sean O'Halpin wrote: > 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 I can provide that, all the code exists already at: http://github.com/manveru/ver/blob/6d2a59191532976f3fd234b66085b8b9a2d67e03/lib/ver/ncurses/panel.rb http://github.com/manveru/ver/blob/6d2a59191532976f3fd234b66085b8b9a2d67e03/lib/ver/ncurses/window.rb > 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 > > -- Michael Fellinger CTO, The Rubyists, LLC I check email a couple times daily; to reach me sooner, use: http://awayfind.com/manveru