문제

I'd like to create an application similar to gvim, so that I'll have gtk application with console application included (in my case, it's vim or any other console text editor)

What is the best way to do this? If there is a way, how can I comunicate with this console editor from GUI?

I should be runnable on linux, but I'd really appreciate if it works on windows and other systems as well

Thank you

도움이 되었습니까?

해결책

gvim isn't a gtk wrapper for vim. It is a version of vim that uses gtk+ widgets instead of stdin and stdout.

You can add smooth gtk+ support to other programs by modifying their source code, but you'll have to implement the gui from scratch.

Alternatively, you could embed a VTE terminal widget in your gtk program. But I don't think that's what you are looking for.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top