Re: Porting terminal applications to GTK



Hello,

In my opinion, diffciculty will depends on how the original code is
written.
If you have a good separation between the text editor's function and and
the console interface (wich can be seen as a kind ok GUI), you should
only have to port the interface between function and UI. If not, a code
reading will be the longest work...
(Hope I'm understable...)


Le vendredi 28 septembre 2007 à 10:32 -0400, Unix OS a écrit :
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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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