Jump to content

GUI

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
10 replies to this topic

#1
eman ahmed

eman ahmed

    Learning Programmer

  • Members
  • PipPipPip
  • 79 posts
what's the best and easy programming language recommend it to make a rich GUI(not simple GUI ) ?
and what's the best and easy IDE for it?

#2
artificial

artificial

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 624 posts
IMHO the best way to program a GUI is using C/C++ with a library like wxWidgets, GTK+, Qt, WinAPI etc.
The language you use doesn't really matter because there are often bindings for other languages than C.

Greets,
artificial
Sometimes words ain't enough to express something. That's why computer scientists use double words.

#3
Sapman

Sapman

    Newbie

  • Members
  • PipPip
  • 20 posts
I'm not sure of your definition of 'Rich GUI' , but python has various modules that can make GUIs , like Tkinter, wxpython, etc.

#4
TeenChristian

TeenChristian

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 639 posts
I'm no expert, but I think C# might give you that. Correct me if I;m wrong anyone
My Personal Blog l Learning C++ l I'll be famous soon enough.

#5
Flying Dutchman

Flying Dutchman

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 889 posts
I'd say, for Windows, that any Visual language should do. There are tons of examples online and you can just drag'n'drop elements. As I know, Qt is also simple (haven't tried it myself yet).
A conclusion is where you got tired of thinking.
#define class struct    // All is public.

#6
TeenChristian

TeenChristian

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 639 posts

Quote

I'd say, for Windows, that any Visual language should do. There are tons of examples online and you can just drag'n'drop elements. As I know, Qt is also simple (haven't tried it myself yet).


True, but while going around and dragging and dropping makes coding programs easy. It is easy to miss alot of needed knowledge on how it actually works. Know what I mean?
My Personal Blog l Learning C++ l I'll be famous soon enough.

#7
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts

TeenChristian said:

True, but while going around and dragging and dropping makes coding programs easy. It is easy to miss alot of needed knowledge on how it actually works. Know what I mean?

The process of repeating hundreds of functions and setting coordinates for each button/form gets tedious, and is prone to errors in flow if you do it all yourself. Something simple as dropping the form is purely to help you place it where you want, all other properties need to be set by you so there's not too much of a gap lost.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#8
TeenChristian

TeenChristian

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 639 posts

Quote

so there's not too much of a gap lost.

Your right, but in certain cases you will miss some information. For instance (using C++ here) With Visual C++ you can drag and drop your text box and type text into it, and the code generates itself. By doing this the user is missing the very basic, but still important education of "iostream" (thats with "cout" and "cin" end etc)
Just from that example I assume other small things like that can be missed. Know what I'm saying?
My Personal Blog l Learning C++ l I'll be famous soon enough.

#9
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts

TeenChristian said:

By doing this the user is missing the very basic[...]
It's just a RAD tool, using RAD tools to learn is not how you use the visual languages.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#10
TeenChristian

TeenChristian

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 639 posts
Gotcha, if it helps to learn visual languages, then that sounds like an option
My Personal Blog l Learning C++ l I'll be famous soon enough.

#11
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts

eman ahmed said:

what's the best and easy programming language recommend it to make a rich GUI(not simple GUI ) ?
and what's the best and easy IDE for it?
You really need to specify the platform. From cross-platform, I tend to use Lazarus, but whether you think it's rich or simple GUI is beyond me, as those aren't meaningful terms.

TeenChristian said:

True, but while going around and dragging and dropping makes coding programs easy. It is easy to miss alot of needed knowledge on how it actually works. Know what I mean?
I'm working on a OA Launcher for OpenArena coded in Lazarus. With hundreds of elements, I created most of the form code with regex search and replace, then tweaked the form code directly before finishing tweaks on it manually. Drag and Drop works well when you have a handful of items on your form. When it gets complicated/dynamic, you're pushed back to understanding the code.

Nullw0rm said:

The process of repeating hundreds of functions and setting coordinates for each button/form gets tedious, and is prone to errors in flow if you do it all yourself. Something simple as dropping the form is purely to help you place it where you want, all other properties need to be set by you so there's not too much of a gap lost.
Exactly, form designers are useful for polishing, but kind of rough for setting initial code.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog