473,699 Members | 2,386 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the best way to design GUI's in C?

According to you, what's best to design GUI's in C?

Someone told me to try GTK, but it's far from simple, mostly when
you're trying to do GUI's for Windows.

By the way, I write in C and compile in GCC under cygwin

Nov 14 '05 #1
7 2354
CFran wrote:
According to you, what's best to design GUI's in C?


http://www.wxwidgets.org/

MrDutchy.
Nov 14 '05 #2

CFran wrote:
According to you, what's best to design GUI's in C?
GUI design is platform/task specific, and off topic in c.l.c.
Someone told me to try GTK, but it's far from simple, mostly when
you're trying to do GUI's for Windows.
The choice of graphics libraries is dependent upon what you are trying
to do. For example, the same library used to make a simple data entry
form is probably not the same library used to make optimized 3D
graphics.
By the way, I write in C and compile in GCC under cygwin


You would have better luck finding an answer in a cygwin related
newsgroup.

-Jason

Nov 14 '05 #3
On 13 Apr 2005 10:02:10 -0700, in comp.lang.c , "CFran"
<Mi********@yah oo.fr> wrote:
According to you, what's best to design GUI's in C?
Using GUI development tools. The ones that you use will depend on
what your employer likes or allows. My own opinion is that writing
windows gui apps in C is too painful and I'd write a C++ or C#
frontend using a toolkit like MFC or .Net. If my employer insisted on
C GUIs I'd probably move jobs... :-)
Someone told me to try GTK, but it's far from simple, mostly when
you're trying to do GUI's for Windows.


<pedant alert>
by the way you do not apostrophise plurals.
</pedant>
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt >
Nov 14 '05 #4


Mark McIntyre wrote:
On 13 Apr 2005 10:02:10 -0700, in comp.lang.c , "CFran"
<Mi********@yah oo.fr> wrote:

According to you, what's best to design GUI's in C?

Using GUI development tools. The ones that you use will depend on
what your employer likes or allows. My own opinion is that writing
windows gui apps in C is too painful and I'd write a C++ or C#
frontend using a toolkit like MFC or .Net. If my employer insisted on
C GUIs I'd probably move jobs... :-)

Someone told me to try GTK, but it's far from simple, mostly when
you're trying to do GUI's for Windows.

<pedant alert>
by the way you do not apostrophise plurals.
</pedant>


<contrarian alert>

At least one reputable style guide for technical
writing recommends apostrophes to form the plurals of
abbreviations:

http://stipo.larc.nasa.gov/sp7084/sp7084ch3.html#3.2

Thus "GUI's" is fine even though "glitzy unnecessary
illusion's" would be incorrect.

(The cited page notes that two even more reputable
style guides discourage the practice as a rule, but
recommend it nonetheless when confusion might otherwise
result. "By the late 1990s most home computers used
version 1990s of MacroHard Doorways" would surely bring out
the red pencil.)

</contrarian alert>

<pedant alert>

By the way, you begin sentences with capital letters
and separate clauses with commas.

</pedant alert>

<smartass alert>

"Plurals! O plurals! O ye multiplicitous plurals!"

</smartass alert>

--
Er*********@sun .com

Nov 14 '05 #5
Eric Sosman <er*********@su n.com> writes:
[...]
<smartass alert>

"Plurals! O plurals! O ye multiplicitous plurals!"

</smartass alert>


Its' just a matter of style.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #6
On 13 Apr 2005 10:02:10 -0700,
CFran <Mi********@yah oo.fr> wrote
in Msg. <11************ **********@o13g 2000cwo.googleg roups.com>
Someone told me to try GTK, but it's far from simple


That depends on your notion of "simple".
--D
Nov 14 '05 #7
On Wed, 13 Apr 2005 18:37:52 -0400, in comp.lang.c , Eric Sosman
<er*********@su n.com> wrote:
<pedant alert>
by the way you do not apostrophise plurals.
</pedant>
<contrarian alert>

At least one reputable style guide for technical
writing recommends apostrophes to form the plurals of
abbreviation s:


you call NASA reputable!! :-)

FWIW I dislike it, but in fact apostrophes are required when
pluralising capitalised abbreviations. .
result. "By the late 1990s
and numbers, though I personally find that hateful
</contrarian alert>

<pedant alert>

By the way, you begin sentences with capital letters
and separate clauses with commas.
there should be a comma after letters... :-)
</pedant alert>


--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt >

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 14 '05 #8

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

Similar topics

11
23534
by: Leo | last post by:
hi there for somebody who wants tostart small/medium GUI apps with python: what's the best toolkit: tkinter, wxPython or what? stability, ease of use and portability between mac and windows are the main criteria. thanks, leo
4
1735
by: MassDev | last post by:
A very nice paper on prevalent GUI design best practices for C/C++ apps is posted at: http://www.ics.com/developers/papers/
0
1652
by: Terry Hancock | last post by:
Newcomers to Blender (3D modelling/animation program) often find its fairly unique UI a bit off-putting, but on closer inspection, I find it's a very compelling design for "power users" (i.e. professionals who need to use a given program on a daily basis, and who are therefore willing to make the effort to learn the specific interface). It is much better than either a command line interface or a more conventional GUI, for that purpose,...
41
3424
by: Mountain Bikn' Guy | last post by:
What is the current preferred way to save user preferences in dotnet? Is the registry the right place to do this? Can anyone recommend a good article (or book) for this topic? Thanks.
13
5040
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
1
1283
by: Paul Tremblay | last post by:
Hi all, First of all sorry for the cross post. I was not sure which ng would be most appropriate. I need a book that gives guidelines on good GUI design (preferably, comes with a few template GUIs one can extend). There seems to be so many books out there, I would be very grateful to hear from any experienced GUI designer out there - who can recommend a book for designing GUIs.
1
1144
by: Anders S. Willumsen | last post by:
Hi, I'm implementing a 3-tier app (a shop) for the first time, and would like to have some of you guys comment on the design. Hope you can help me get rid of some confusion. I have a data-tier, business-tier and GUI In the data-tier I have all my data code - connection to SQL Server, and getting and pushing data. One methods could be DateReader
24
2855
by: invitro81 | last post by:
Hello I've recently learnt python and I do love it! I congratulate all those geeks who produce this nice language; well, because I could be called a nearby newbee I've decided to improve my abilities by writing my own nice editor with python; so I've to choose among all those GUI toolkit's available there.. But I've no idea which one I should use to start with.. I've read that tkinter seems to be the de facto standart in the pyhon...
6
2863
by: seb | last post by:
Hi, I am using pygtk for the first times. I am wondering what would be the best "pattern" to interface pygtk with a thread. The thread is collecting informations (over the network for example) or is doing some long calculations.
0
8685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9172
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8908
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7745
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3054
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.