On Thu, 13 Mar 2008, Andrew E. Makeev <[EMAIL PROTECTED]> wrote : >> I am seeking the most appropriate way to do this. Any help would be
>> appreciated. > >1) You should not use Gtk::Main::run(), but organize MAIN LOOP yourself. > >2) Use Gtk widget (Gtk::Entry, Gtk::TextView) or terminal emulation to >enter commands. 3) Hook up a Glib::IOChannel to stdin and handle the command line in a callback attached with Glib::SignalIO::connect. This lets you use the terminal as you desire (including redirection if required) but lets the Glib main loop do all the scheduling work as Gtk expects. -- Rob Pearce http://www.bdt-home.demon.co.uk The contents of this | Windows NT crashed. message are purely | I am the Blue Screen of Death. my opinion. Don't | No one hears your screams. believe a word. | _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
