On Wed, 2003-12-10 at 21:05, Arthur Moore wrote: > Don't give up on php to quickly... > > http://gtk.php.net/
Here here. I really love working with GTK, and it's great to have bindings for GTK in so many languages. I usually use the C or C++ api to do it (back in the day I wrote the chess gui in gtk for cs240; I did also port it to GTK2, but it's too late for any of you cs240 students to use it as the assignment is probably due tomorrow). I've been keeping my eye on C# and GTK#. They make make a great combination for doing user interfaces and front-ends. GTK# code is exceptionally clean and easy to understand. Plus I think it can handle glade xml ui definitions, which is handy for having the GUI be independent of your code (ie modify the gui layout without recompiling). I've used QT in the past, but I just find GTK to be better for me (I program mostly in straight C these days). Plus the I can use GTK under GCC on any platform including windows, which isn't true for QT (win32 free version requires visual c++). There are other lighter-weight toolkits, but for 90% of all things you could ever want to do, GTK or QT are the only choices. I've looked at others including Fltk, Tcl/Tk and found them lacking. Don't dismiss Swing either. Though people loath it, it's actually a very decent framework. An alternative that's a bit faster and looks better is the SWT framework for Java. In the case of GTK and Swing (and to a certain extent QT), they both use packing managers, rather then specific layouts like in Win32. At first this seems really awkward, but actually it is a very powerful and flexible concept that's much better than win32's standard fixed-position scheme. Michael > > Art > > > On Wed, 2003-12-10 at 21:00, Ross Werner wrote: > > Almighty Wise and Perspicacious UUG Members, > > > > For most of the things I've wanted to program, command-line interfaces > > have been sufficient. If I ever needed some sort of GUI, a web-based PHP > > interface worked peachily. However, I've now run into a case where I think > > I need to learn how to program some sort of GUI... Reader's Digest > > version: I want to create interactive card games that you can play with > > others over the network (think Microsoft Hearts). PHP just won't cut it in > > this situation, as much as that grieves me. *sigh* > > > > So, I turned to the programming language I know second-best--Java. After > > playing frustratedly with the source code for Swing demo applets for hours > > on end with no results, I gave up. Now I turn to you: what do you people > > use to program GUIs? Java Swing? Gtk? Qt? Perl-Tcl/Tk? What would be the > > easiest to learn? Are GUIs really as painful to program (especially > > without a fancy IDE) as I've heard? Are there resources to help clueless > > newbies like myself? Or do I just have to wait until CS Whatever, GUI > > programming? > > > > Thanks a ton in advance, > > ~ ross > > > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -- Michael Torrie <[EMAIL PROTECTED]> ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
