GUI front-end programming?

GUI front-end programming?

Post by N.Prockte » Sat, 22 Nov 1997 04:00:00




> Hi,

> I'd like to know the basic principle how to program GUI front-ends for
> command-line applications. Can this be done, just by redirecting stdin
> and out, or is there a better way? Any hints, examples or ressources
> would be appreciated.
> The programming language will probably be C/C++ or Java.

> Best regards,

> Carsten Pfeiffer
> --
> http://www.geocities.com/SiliconValley/1632/
> public pgp key available, send mail with subject: send pgp key
> pgp fingerprint: B2 59 6E 4A 34 69 1F B4  B4 FF 1C 36 6C 02 73 B4

Tcl/tk would be a much easier way to do this sort of thing.
Get a book or if your programmings o.k. just get the packages tcl , tk
and tclX and use tclhelp to learn the basic commands.

--
Neil Prockter
Academic Information Services
Queen Mary and Westfield College
University of London

 
 
 

GUI front-end programming?

Post by Eugene Aniki » Sat, 22 Nov 1997 04:00:00



> Hi,

> I'd like to know the basic principle how to program GUI front-ends for
> command-line applications. Can this be done, just by redirecting stdin
> and out, or is there a better way? Any hints, examples or ressources
> would be appreciated.
> The programming language will probably be C/C++ or Java.

> Best regards,

> Carsten Pfeiffer
> --
> http://www.geocities.com/SiliconValley/1632/
> public pgp key available, send mail with subject: send pgp key
> pgp fingerprint: B2 59 6E 4A 34 69 1F B4  B4 FF 1C 36 6C 02 73 B4

Hi Carsten,

  The easiest way to do it, is to use Tcl/Tk + expect. Sorry, can't give
any examples or references, but a simple search on the Web should give
you plenty examples.

Eugene.
--
Eugene Anikin                 http://home.sprynet.com/sprynet/anikin

____________________________________________________________________
Cascade Design Automation   - one easy step from Language to Layout

 
 
 

GUI front-end programming?

Post by Scott Rane » Sun, 23 Nov 1997 04:00:00



> I'd like to know the basic principle how to program GUI front-ends for
> command-line applications. Can this be done, just by redirecting stdin
> and out, or is there a better way? Any hints, examples or ressources
> would be appreciated.
> The programming language will probably be C/C++ or Java.

Our product MetaCard can be (and has been) used for this.  You can
open a process and read and write to it just like you would a file.
Building the interface is very easy since a complete GUI builder is
included in the package.  There's even a tutorial that shows how to do
this.  MetaCard is a commercial product, but since your application
would require only a little scripting you can probably develop and
deploy it using only the free Starter Kit version available on the
MetaCard WWW site http://www.metacard.com/

  Regards,
    Scott

Quote:> Best regards,

> Carsten Pfeiffer
> --
> http://www.geocities.com/SiliconValley/1632/
> public pgp key available, send mail with subject: send pgp key
> pgp fingerprint: B2 59 6E 4A 34 69 1F B4  B4 FF 1C 36 6C 02 73 B4

 
 
 

GUI front-end programming?

Post by Marcelo Canto » Mon, 24 Nov 1997 04:00:00



> thank you very much for all your suggestions.  Someone showed me a
> Qt-Wrapper around Ping, Traceroute and Host (Kde Network Utilities),
> that's a pretty good example. Though, most of you suggested Tcl/Tk,
> so I will definitely have a look at them, too.

Don't forget to give Python (http://www.python.org/) a look.  Python
and Tcl/Tk have different strengths and weaknesses, so it is
impossible to recommend one absolutely over the other for your
particular application.  However, I would suggest that the majority
of problem domains would be better served by Python.

In case you think I biassed (I am :-), I recommend you download both
and see for yourself (you actually need Tcl/Tk present to get GUI apps
going under Python anyway).  I strongly suspect you'll lean towards
Python.

Cheers,
Marcelo Cantos

 
 
 

GUI front-end programming?

Post by Philip Dawe » Wed, 26 Nov 1997 04:00:00




> > thank you very much for all your suggestions.  Someone showed me a
> > Qt-Wrapper around Ping, Traceroute and Host (Kde Network Utilities),
> > that's a pretty good example. Though, most of you suggested Tcl/Tk,
> > so I will definitely have a look at them, too.

> Don't forget to give Python (http://www.python.org/) a look.  Python
> and Tcl/Tk have different strengths and weaknesses, so it is
> impossible to recommend one absolutely over the other for your
> particular application.  However, I would suggest that the majority
> of problem domains would be better served by Python.

> In case you think I biassed (I am :-), I recommend you download both
> and see for yourself (you actually need Tcl/Tk present to get GUI apps
> going under Python anyway).  I strongly suspect you'll lean towards
> Python.

> Cheers,
> Marcelo Cantos

Python is indeed great, and has gtk UI bindings as well (although I've
not tried them yet). Also have a look at perl/tk (or perl gtk) which is
a great language for writing text manipulation tools and general system
level tasks (although the OO bits are a hack IMHO).

I suggest you try them all - you can't have too many languages under
your belt in my book! (especially since they all have different
application domains) Here's an overview of my favourate 3:

Python:
OO application scripting, UI-Fronting, Rapid app development,
Prototyping

Perl:
 Text manipulation, Developers tools (e.g. simple pre-compilers and
'wizards'), Hacking, showing off with 1 line programs

C++:
Medium-Large scale software. (Lots of effort to get good at it though,
many caveats - read Effective/More Effective C++ by S.Meyers)

All three can be used (to some degree) with corba implementations so you
can combine them in a single app.

The people writing gnome also seem to like guile/scheme. I'm not that
keen myself (I haven't used it much) but that may also be worth a look
since it too has gtk UI bindings.

Cheers,

Phil.

--
_______________________________________________________________________
 Phil Dawes                               |   My opinions are my own
 WWW:    err.. temporarily non-existant   |   and nothing to do with

 
 
 

1. digfe-0.7.5 - a free GUI front-end for the dns client program, dig.

Announcing an upgrade release to digfe now at version 0.7.5. Available
for Linux / Un*x and Windows NT / 2000. See the below links for
screenshots and the software.

Description:
digfe is a free GUI front-end for the dns client program, dig. digfe
strives to simplify the operation of 'dig' via a user friendly GUI interface
presenting a functional layout of almost all of dig's many options.
Query's can
be saved or loaded for later reference.

Home Page:
http://www.concoctedlogic.com/digfe

Tarballs:

http://www.concoctedlogic.com/downloads/digfe-0.7.5.tar.gz

ftp://freud.concoctedlogic.com/pub/digfe/digfe-0.7.5-1.noarch.rpm

RPMs:

http://www.concoctedlogic.com/downloads/digfe-0.7.5-1.noarch.rpm

Windows NT/2000 Versions
<http://www.concoctedlogic.com/downloads/digfe-0.7.5-1.noarch.rpm>

HTTP:

http://www.concoctedlogic.com/downloads/digfe-0.7.5.zip

FTP:

ftp://freud.concoctedlogic.com/pub/digfe/digfe-0.7.5.zip

<http://www.concoctedlogic.com/downloads/digfe-0.7.5-1.noarch.rpm>

##########################################################################

# PLEASE remember a short description of the software and the LOCATION.  #
# This group is archived at http://stump.algebra.com/~cola/              #
##########################################################################

2. RE A MICROSOFT EXODUS THREAD

3. GUI front-end to "at" command

4. webmin login failure

5. GUI front-end for RCS

6. Fsync() patches for kernel

7. GUI front-end simulator needed

8. 4.2 nic aliasing, multiple IPs, one nic does not work???

9. Simple GUI Front-end for scp.

10. TkApache - A Full GUI Front-End to Apache

11. Netscape front-end for end-users

12. Password front-end program

13. Proxy Bad Gateway (502) Errors between front-end ssl and back-end mod_perl server!