Porting terminal applications to GTK



Hello,

I'm an undergraduate student at James Madison University.  I've
decided to convert one of my CS classes to an Honors class, which
involves doing some sort of extra project typically.  Anyway, I've
been working with my professor, and he wants to try porting his text
editor to a windowed application that can run on Windows.  I figured
GTK would be a great place to start.

Enough back story.

What's involved in converting  a terminal application like a text
editor into a windowed application?  Will I need to simply need to
write a custom widget to wrap the terminal application's output? Then
redirect keyboard and mouse events to the original code?  Or is it
more involved than that?

I know Vim can be compiled to run as a GTK app.  I figure the original
terminal-only code must have been reused.


Thanks,
Kris Kalish



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]