GUI
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > GUI




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    GUI  
pratsadhu@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-08-06 10:57 PM

hi all,
Am workin on sockets in Linux, how do i add the GUI interface
to my program? how do i connect it my original C-program?

Thanks,
prat






[ Post a follow-up to this message ]



    Re: GUI  
jakob


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 01:50 AM

On 2006-03-08, pratsadhu@gmail.com <pratsadhu@gmail.com> wrote:
> hi all,
>          Am workin on sockets in Linux, how do i add the GUI interface
> to my program? how do i connect it my original C-program?
>
> Thanks,
> prat

You can either design the GUI directly in your original application, or
have a secondary frontend application that sends input to, and parses
the output of, the core program.  This is how nmap (the core) and nmapfe
(the GUI) work.

Could you be more specific in what you're asking?  Do you have any
experience in Xlib or GTK+?

jakob





[ Post a follow-up to this message ]



    Re: GUI  
NUPUL


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 07:49 AM

>         Am workin on sockets in Linux, how do i add the GUI interface
>to my program? how do i connect it my original C-program?

well a query similar to where i got stuck at one time and needed a gui
too....

well to interface a GUI to a c program....you need to use gui specific
libs...GTK+, Xlib,
Qt etc....now since you wish to do it in C, i suggest you go for GTK+
(coz the world goes for it in C) Although C-bindings are also available
in Qt 4.

using Xlib is quite low level and you may not like it's look and
feel....

you may even go for the ancient motif/lesstif....but still the look and
feel is not that good....Qt offers you an excellent and v.easy way to
integrate your prog into a GUI...

although there is a learning curve involved with GTK+, Qt, Xlib, it's
worth the effort...

you can try the following books...

Xlib programming manual: O'Reilly
Programming with Qt: O'Reilly






[ Post a follow-up to this message ]



    Re: GUI  
NUPUL


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 07:49 AM

forgot to tell you though....if you are commercialising your app....you
can't use Qt - licensing issues....but if it is intended to be
completely open source....you can use one of the best toolkits around
for No Fee under the GPL.

nupul






[ Post a follow-up to this message ]



    Re: GUI  
David Schwartz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 07:49 AM


"NUPUL" <nupul.kukreja@gmail.com> wrote in message
news:1141878235.791067.160350@p10g2000cwp.googlegroups.com...

> forgot to tell you though....if you are commercialising your app....you
> can't use Qt - licensing issues....but if it is intended to be
> completely open source....you can use one of the best toolkits around
> for No Fee under the GPL.

You certainly can use Qt. The GPL doesn't put any restrictions or impose
any requirements at all on normal use. Can you post a poem on a billboard
and then sue everyone who reads it?

If you want to give your software away, and not impose any restrictions
as a condition of receiving the software, you lose the ability to charge for
its use. This is codified in the law as "first sale", section 109 of the
Copyright Act. Basically, if you lawfully acquire a work (without having to
sign a contract, click on a click-through agreement, or agree to an EULA),
you have the right to the normal expected use of that work.

DS







[ Post a follow-up to this message ]



    Re: GUI  
Jordan Abel


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 07:49 AM

On 2006-03-09, David Schwartz <davids@webmaster.com> wrote:
>
> "NUPUL" <nupul.kukreja@gmail.com> wrote in message
> news:1141878235.791067.160350@p10g2000cwp.googlegroups.com...
> 
>
>     You certainly can use Qt. The GPL doesn't put any restrictions or impo
se
> any requirements at all on normal use. Can you post a poem on a billboard
> and then sue everyone who reads it?

I'm sure if they want they can find the thread on c.o.l.d.apps - let's
not repeat it here,





[ Post a follow-up to this message ]



    Re: GUI  
David Schwartz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 07:49 AM

NNTP-Posting-Host: joelkatz8.goldrush.com
X-Trace: nntp.webmaster.com 1141890580 11487 206.171.168.138 (9 Mar 2006 07:
49:40 GMT)
X-Complaints-To: usenet@nntp.webmaster.com
NNTP-Posting-Date: Thu, 9 Mar 2006 07:49:40 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
Xref: number1.nntp.dca.giganews.com comp.unix.programmer:166787


"Jordan Abel" <random832@gmail.com> wrote in message
news:slrne0vip0.2shr.random832@random.yi.org...

> I'm sure if they want they can find the thread on c.o.l.d.apps - let's
> not repeat it here,

I'm not trying to repeat the thread, just to ensure that anyone who sees
misinformation also sees the correct information.

DS







[ Post a follow-up to this message ]



    Re: GUI  
Bjorn Reese


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 10:55 PM

NUPUL wrote:
> forgot to tell you though....if you are commercialising your app....you
> can't use Qt - licensing issues....but if it is intended to be
> completely open source....you can use one of the best toolkits around
> for No Fee under the GPL.

Qt is available in an Open Source edition and in a commercial edition.
If you are developing commercial applications (or rather, closed source
applications) then you can buy the commercial edition of Qt.

--
mail1dotstofanetdotdk





[ Post a follow-up to this message ]



    Re: GUI  
pratsadhu@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 07:49 AM

yea..am actually using this GTK., how do i callback the functions now?






[ Post a follow-up to this message ]



    Re: GUI  
Roger Leigh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 12:49 PM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"pratsadhu@gmail.com" <pratsadhu@gmail.com> writes:

> yea..am actually using this GTK., how do i callback the functions
> now?

You really should read the GTK+ tutorial at this point.

Your question isn't clear, but you are probably looking for the
g_signal_connect family of functions.


- --
Roger Leigh
Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
Debian GNU/Linux        http://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFEF+INVcFcaSW/uEgRAuaPAJ4455Nw2bsuX/CA6+r3LJNbhavgbQCfY+jf
Sm8HkAWaM96n00KVtxGOai0=
=t0dI
-----END PGP SIGNATURE-----





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:58 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register