Console wrapped inside a GUI

This is a discussion on Console wrapped inside a GUI within the C++ Programming forums, part of the General Programming Boards category; I need a console-like application wrapped inside your typical GUI window, full with menus, toolbars, etc. My GUI development is ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,436

    Console wrapped inside a GUI

    I need a console-like application wrapped inside your typical GUI window, full with menus, toolbars, etc. My GUI development is based on wxWidgets.

    So far I have been emulating a console; Essentially, a text control drawn to look like a console and abusing the wxStreamToTextRedirector class to redirect ostream to the text control. But this is becoming too unwieldy, as I need also to emulate curses functionality and I really don't want to do this.

    So, what I really would like was for a curses-ready (or curses-like) console object, and supporting both Linux and Windows. Any suggestions?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Ncurses. I dunno what "your typical GUI window, full with menus, toolbars" etc could mean that I haven't seen done with ncurses, from popups to tabs to auto-intellisense style stuff. I've write basic menu & toolbar apps with it. The current GNU mc prefers the slang library for whatever reason, but it works much the same under ncurses. Console vim is ncurses and eschews menus and toolbars, but still does that intellisensey stuff and other things sort of unique to it's interface unless you remember 80's DOS apps. And still like star trek compared to that.

    Which had toolbars and menus. DOS apps I mean.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  3. #3
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    Looks like there's a wxwidgets terminal - it says it's a fully-functioning VT100 emulator. taTelnet - linux.techass.com
    Last edited by bernt; 06-02-2010 at 09:26 PM.
    Consider this post signed

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,436
    I'll take a look at it. Thanks. Very old but at least it seems it cuts some of the work from me.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Nintendo 3DS
    By Cheeze-It in forum General Discussions
    Replies: 30
    Last Post: 03-27-2010, 02:32 AM
  2. GUI Application --> Console
    By Student040314 in forum C++ Programming
    Replies: 2
    Last Post: 03-14-2004, 12:30 PM
  3. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 02:22 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 07:03 PM
  5. GUI (Graphical User Interface) Help Needed
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-11-2001, 10:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21