You are not logged in.

#1 2005-10-18 19:19:21

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

What shall I learn? (if I wanna program GUIs)

Hi!

LIke the title say, what language should I learn in order to make GUI programs, I have experience in C and Bash,

I mosly use gtk programs, so I belive that GTK might be the language for me? , but then what?

GTK+?, GLADE?, GTK#?  or what?

Which programs shall I use? compiler?

are there good tutorials on the internet for "that" language?

Many questions I know, I hope that I get some answers....


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#2 2005-10-18 19:54:55

xerverius
Member
From: ~
Registered: 2004-11-02
Posts: 230
Website

Re: What shall I learn? (if I wanna program GUIs)

LIke the title say, what language should I learn in order to make GUI programs, I have experience in C and Bash,

I mosly use gtk programs, so I belive that GTK might be the language for me? , but then what?

I personally use gtk, because i contribute a little for Xfce. But QT is a better toolkit (i think) gtk will probably be to gnomish in the future.

GTK+?, GLADE?, GTK#?  or what?

If you use GTK+ you have a quite good api reference manual, a lot of sample code (gnome cvs) or google with filetype:c.

Which programs shall I use? compiler?

I recommend a text editor with syntax highlighting (SciTE, gvim og anjuta). Compiler:GCC 4. it has better error discriptions. and if you compile you programs manual, always use --enable-debug=full, because you'll see all errors detected by gcc.

are there good tutorials on the internet for "that" language?

@ gtk.org you can find a tutorial. and google is always you best friend tongue.

Many questions I know, I hope that I get some answers....

Goodluck. Xerverius

Offline

#3 2005-10-18 23:44:48

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: What shall I learn? (if I wanna program GUIs)

CyberTron wrote:

LIke the title say, what language should I learn in order to make GUI programs, I have experience in C and Bash,

http://www.python.org

GTK+?, GLADE?, GTK#?  or what?

http://www.pygtk.org

Which programs shall I use?

Your choice... If you join https://gna.org/projects/magnum/ you'll get to work on a pygtk program for practice and a development environment to boot. (I'm shameless)

compiler?

Avoid it if possible.

are there good tutorials on the internet for "that" language?

http://python.org/doc/2.4.2/tut/tut.html
http://www.pygtk.org/pygtk2tutorial/index.html

Ok, in more words, I strongly suggest python because you can develop in it faster than in C or C++ or Java, probably with fewer bugs. PyGTK is the most powerful toolkit for python. Its not the easiest to use, but its not the hardest either

Java Swing is a really nice toolkit, in my opinion, but most people disagree....
Dusty

Offline

#4 2005-10-19 04:20:05

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: What shall I learn? (if I wanna program GUIs)

ok, thank you big_smile

I will look into gtk and python-gtk...

i must say that python has an advatage...(no compiler)...although the ordinary gtk programming is more C like, (and I know C..)

but I will try both...

to everyone else:
please keep coming with ideas


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#5 2005-10-19 04:45:55

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 545

Re: What shall I learn? (if I wanna program GUIs)

For the GUI interface for GTK+ you should use GLADE, its a visual interface, similar to the drag and drop features of Visual Basic, then you have to bind those "widgets" to the code... there are good tutorials around the web ( http://glade.gnome.org/ and http://www.pygtk.org/ )... and you can use it for plenty of languages (C, C++ and Python included).

Regards...


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#6 2005-10-19 06:03:52

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: What shall I learn? (if I wanna program GUIs)

CyberTron wrote:

although the ordinary gtk programming is more C like, (and I know C..)

Umm, for the record, GTK *is* C - it is not another language, GTK is a C library.

Offline

#7 2005-10-19 11:41:32

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: What shall I learn? (if I wanna program GUIs)

I would really learn to design your apps using Glade and then you can use the GTK bindings for whatever language you choose to implement the widget actions.
I personally have been trying out the glade-java recently, since I'm comforable with java. So, really, you can use any language, it's just a matter of learning the GTK commands for that language.


v/r
Suds

Offline

#8 2005-10-19 16:39:40

ghostwalker
Member
From: Tacoma, WA
Registered: 2004-07-28
Posts: 140

Re: What shall I learn? (if I wanna program GUIs)

Also look in to gtk+/cairo. Even pycairo.


P4 2.8Ghz @ 2.8Ghz SL6WT
Zalman CNPS7000-Cu
865PE Neo-2 LS BIOs 2.4
512mb Mushkin Level II
160GB Maxtor HD
Geforce 4 440MX
Antec 3700 1 exhaust and 1 intake fans
Linux 2.6.x
Linux user 314187
ArchLinux

Offline

#9 2005-10-19 17:38:15

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: What shall I learn? (if I wanna program GUIs)

Thanks everyone, I will try and look at each and every suggested program in here...

I am leaning towards GTK+, since it is build in C, although, it might be nice to learn another program such as python


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#10 2005-10-20 13:59:44

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,442

Re: What shall I learn? (if I wanna program GUIs)

You should learn dignity. smile


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#11 2005-10-30 00:13:24

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: What shall I learn? (if I wanna program GUIs)

You should definately go with basic.

j/k

Seriously.  Personally, I prefer C.  The only toolkit I ever used was ewl, but it was really simple.  Again, I can't compare it to QT or GTK, but I seemed to enjoy it at the time.

Offline

#12 2005-11-02 13:30:02

Nattydraddy
Member
From: Hamburg in Germany
Registered: 2005-11-01
Posts: 18

Re: What shall I learn? (if I wanna program GUIs)

CyberTron wrote:

Hi!

LIke the title say, what language should I learn in order to make GUI programs, I have experience in C and Bash,

I mosly use gtk programs, so I belive that GTK might be the language for me? , but then what?

GTK+?, GLADE?, GTK#?  or what?

Which programs shall I use? compiler?

are there good tutorials on the internet for "that" language?

Many questions I know, I hope that I get some answers....

for your purpose is Python with wxPython often used. wxPython is somethink like tk and it runs on Linux/Unix Mac and Windows, like Python, too.

Offline

#13 2005-11-02 13:43:07

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: What shall I learn? (if I wanna program GUIs)

wxPython, i've hear of that....will check it out big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#14 2005-11-02 14:45:50

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: What shall I learn? (if I wanna program GUIs)

I like GTk the most because it's so universal. You're pretty much guaranteed that if somebody has X they have GTk. A lot of people say that PyGTK is horrible, but I think it's pretty nice, IMHO.

Offline

#15 2005-11-02 16:41:51

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: What shall I learn? (if I wanna program GUIs)

deficite wrote:

A lot of people say that PyGTK is horrible,

I really don't get that either. I've coded both pyGTK and wxPython, and GTK seems to be much much more pythonesque AND more powerful than wx. What problems do people actually have with it?

Dusty

Offline

#16 2005-11-02 16:44:54

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: What shall I learn? (if I wanna program GUIs)

A lot of people say that it "isn't OOP oriented", etc. etc. etc. I think some people just make up crap to complain about so that people will think they're better coders than they really are. Of course, people do that with everything, not just coding.

Offline

Board footer

Powered by FluxBB