472,952 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 software developers and data experts.

C user interface

Hello,

I have a C little program wich takes some text as input and process it.
I would like to make a friendly user interface. I thought i could do it
with tcl/tk, but it turns out that it is not as easy as it
looks(or...). I just need to take the user input(text) and send it over
the c program for treatement. I'm not quite sure if tcl/tk is the best
choise. Anyone knows how to do this without much pain?

Thank You

Mar 7 '06 #1
3 1550

qazinor wrote:
Hello,

I have a C little program wich takes some text as input and process it.
I would like to make a friendly user interface. I thought i could do it
with tcl/tk, but it turns out that it is not as easy as it
looks(or...). I just need to take the user input(text) and send it over
the c program for treatement. I'm not quite sure if tcl/tk is the best
choise. Anyone knows how to do this without much pain?


This is off-topic here.

<OT>
Depends on your OS. You may want to take a look at gtk (www.gtk.org),
it's cross platform and LGPL.
</OT>

--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)

Mar 7 '06 #2
"qazinor" <qa*****@gmail.com> wrote:
# Hello,
#
# I have a C little program wich takes some text as input and process it.
# I would like to make a friendly user interface. I thought i could do it
# with tcl/tk, but it turns out that it is not as easy as it
# looks(or...). I just need to take the user input(text) and send it over
# the c program for treatement. I'm not quite sure if tcl/tk is the best
# choise. Anyone knows how to do this without much pain?

You'll get a more civil response in comp.lang.tcl. However what
you're asking is unclear. You can exec any program, passing a
string as command line argument or as stdin, and capture the
stdout or stderr. If you're to make a Tk GUI which communicates
with various programs to do computations, other people in the
Tcl community have experience doing this, communicating with
exec, bidirectional pipes, sockets, etc.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
I ASSURE YOU WE'RE OPEN!
Mar 8 '06 #3
To whom it may concern, I found what I was looking for
http://etude.uwaterloo.ca/~ctrudeau/..._tk/tcl_C.html.
I really thought that there was a more simple way to do this.

Thank You.

Mar 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
2
by: Dan | last post by:
All, I have a windows form application. The form will host various user controls that will implement an interface so that was new controls can be added later without recompiling the hosting...
6
by: Earl Teigrob | last post by:
I am writing an application that dynamically loads user controls at run time based on user options. I would like to give my users the ability to build their own user controls and add them to my...
6
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I...
24
by: Rob R. Ainscough | last post by:
VS 2005 I have: ClickOnce deployment User's that hate and or don't want to use an IE Client (don't blame them) I don't see how ASPX web pages are going to survive? With .NET 2.0 and clickonce...
1
by: David Hearn | last post by:
I am creating a user control for use on several of my pages. I have some variables that are set on my pages where the user control will be used. I need my user control to automatically be able to...
8
by: mark.norgate | last post by:
I've run into a few problems trying to use generics for user controls (classes derived from UserControl). I'm using the Web Application model rather than the Web Site model. The first problem...
3
by: psbasha | last post by:
Hi, I would like to call the same aplication executable with and without Graphical User Interface. Requirement: With Tkinter User interface,user can give the inputs to run the application (...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.