Home » Developing U++ » U++ Developers corner » Q: howto incorporate a native console window in GUI
Re: Q: howto incorporate a native console window in GUI [message #31147 is a reply to message #31146] |
Thu, 10 February 2011 13:33 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
i already thought of sth like this. but it seems quite difficult. i'd prefer to have a native window space.. but it seems as if it is not easy to solve. otoh visual studio does sth similar as well, eclipse has a console window too..but i dont know if it's a native or simple widget with redirecting input / output as you stated.
every system interaction is them posted via system native exec calls, i think.
i thought of having the custom control (LineEdit, DocEdit) write its generated input to a Stream, and have another Stream as the receiver.
the flow control in this case is different, opposed to normal processes that read / write blocking to stdin/stdout. in the control i can't read the stream blocking. i could, using a separate thread that reads the Stream, which uses blocking read for its _Get(). but it's a whole different setup. short: console apps are dataflow based, while gui apps are event based.
i already have a python environment working. it's quite easy. but having a test envirnment, and the ability to include such a prompt in own app would make a great deal in upp. redirecting I/O properly is as usual, the problem..
|
|
|
|
|
Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 10:39
|
|
|
Re: Q: howto incorporate a native console window in GUI
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 13:33
|
|
|
Re: Q: howto incorporate a native console window in GUI
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 14:04
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: mdelfede on Thu, 10 February 2011 14:10
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 14:45
|
|
|
Re: Q: howto incorporate a native console window in GUI
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 15:02
|
|
|
Re: Q: howto incorporate a native console window in GUI
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 15:34
|
|
|
Re: Q: howto incorporate a native console window in GUI
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 20:52
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 21:58
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: mdelfede on Thu, 10 February 2011 14:03
|
|
|
Re: Q: howto incorporate a native console window in GUI
|
|
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Fri, 11 February 2011 11:32
|
Goto Forum:
Current Time: Sat May 11 21:50:41 CEST 2024
Total time taken to generate the page: 0.02017 seconds
|