 |
20-08-2008, 09:17 AM
|
#1 (permalink)
|
|
Broken In
Join Date: Nov 2007
Location: Chennai
Posts: 113
|
How to start writing GNOME/KDE application
Hi
I am interested in Developing /writing GNOME/KDE Application thro GNU softwares, ,i found Anjuta IDE found to be more applicable for dveloping GNOME application,but i found its much difficult to start with,PL help me in giving link for some sample programs?Pl share us your LINUX devlopment?How to start?
Any ideas or suggestion?Is there any tutorial for such?
Thanks in advance!
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
20-08-2008, 09:22 AM
|
#2 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
Choose a language and a toolkit to work with.
KDE uses Qt, while Gnome/Xfce use GTK+.
Both toolkits have a wide range of language bindings.
http://www.gtk.org/language-bindings.html
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 09:24 AM
|
#3 (permalink)
|
|
Proud to be Linux
Join Date: Jun 2006
Posts: 458
|
Re: How to start writing GNOME/KDE application
if you are talking about GUI programming u need to learn GTK or Qt
if u know only C the GTK cos QT got no bindings for C afaik.
if u know some others like python,c++ IMO Qt is better.
__________________
http://abhinandh.com
|
|
|
20-08-2008, 09:29 AM
|
#4 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Simple.
Glade Interface Designer for +designing+ gnome apps.+
+QT4 designer a+nd KDevelop for kde apps.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
20-08-2008, 10:57 AM
|
#5 (permalink)
|
|
Broken In
Join Date: Nov 2007
Location: Chennai
Posts: 113
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by MetalheadGautham
Simple.
Glade Interface Designer for +designing+ gnome apps.+
+QT4 designer a+nd KDevelop for kde apps.
|
For Glad wat programming stuffs i need to learn!!!
i know c,c++ and java!!!
|
|
|
20-08-2008, 11:01 AM
|
#6 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
^Glade is an interface designer, it lets you create GTK+ UI's that can then be deployed using C/C++/Java or whatever.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 11:14 AM
|
#7 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by sganesh
For Glad wat programming stuffs i need to learn!!!
i know c,c++ and java!!!
|
Cool. Glade can be programmed with in C++, C and Java too. Choose one and start designing.
QT4 is used MAINLY with C++, then with Java (qt4-jambi) and then with Python (PyQt).
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
20-08-2008, 11:15 AM
|
#8 (permalink)
|
|
Broken In
Join Date: Nov 2007
Location: Chennai
Posts: 113
|
Re: How to start writing GNOME/KDE application
Thanks,But in net i found many Ebooks onGNome GUI programming only at cost!!
But i need free tutorials,resources or ebook which guides me in programming,i am unable to find it!!!
pl Help!
|
|
|
20-08-2008, 11:26 AM
|
#9 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by sganesh
Thanks,But in net i found many Ebooks onGNome GUI programming only at cost!!
But i need free tutorials,resources or ebook which guides me in programming,i am unable to find it!!!
pl Help!
|
WTH ? There are LOTS of free ebooks available. Go and check glade's own website.
And see gnome doccumentation.
These interface designers help you place widgets on windows. Then they generate source code.
For a shortcut, with old fashioned text coding, use gtkmm.h headder file in C++. You can use its objects in your program as you like.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
20-08-2008, 11:30 AM
|
#10 (permalink)
|
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
Re: How to start writing GNOME/KDE application
If we r familiar with swings in java...do we need to learn gtk fr dev gnome applications?
__________________
Do you know, Shinigamis only eat apples???
|
|
|
20-08-2008, 11:32 AM
|
#11 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
^Yes, you would have to learn gtk , there is java-gnome project that offers an api for java.
You could also learn swt -Standard Widget Toolkit for java, which draws native widgets , unlike swing which tries to emulate the look-and-feel.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 11:42 AM
|
#12 (permalink)
|
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
Re: How to start writing GNOME/KDE application
^^but why?? dont u have a platform independent VM ?? Why wont swings work in Linux???
Ps: Coding in java will be independent of kde/gnome ?? wont it be??
__________________
Do you know, Shinigamis only eat apples???
|
|
|
20-08-2008, 11:48 AM
|
#13 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
SWT is platform independent.
If you code with gtk , you will need gtk installed for the app to run.
Swing will work in linux, But the UI emulates the gtk look.
However , its getting quite close to the real thing.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 11:52 AM
|
#14 (permalink)
|
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
Re: How to start writing GNOME/KDE application
So we will have the speed advantage if using gtk??
__________________
Do you know, Shinigamis only eat apples???
|
|
|
20-08-2008, 11:57 AM
|
#15 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
Yes, because the widget drawing is not handled by jvm.
However , the same is the case with SWT.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 11:59 AM
|
#16 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by nitish_mythology
So we will have the speed advantage if using gtk??
|
doubt it. but personally speaking, I think its better to stick to native java instead of a gtk skin for java.
and gtk itself is in C. gtk-java is just a way to use gtk widgets and program with them in java.
And if you need something more professional that blends with gtk, why don't you try wxWidgets ?
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
20-08-2008, 12:03 PM
|
#17 (permalink)
|
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
Re: How to start writing GNOME/KDE application
How do u practically implement java+gtk code together??
__________________
Do you know, Shinigamis only eat apples???
|
|
|
20-08-2008, 12:04 PM
|
#18 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
@Metal
SWT is a waay better way of getting a native ui using java than using wxwidgets.
@nitish
Java Gnome provides the api of using gtk widgets through java.
http://java-gnome.sourceforge.net/
__________________
Do what you will; but not because you must. -- Zen Quote
Last edited by ray|raven; 20-08-2008 at 12:08 PM.
Reason: Automerged Doublepost
|
|
|
20-08-2008, 12:09 PM
|
#19 (permalink)
|
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
Re: How to start writing GNOME/KDE application
Anyways m better off wth swings..
@Rayraven
Teacher teaching history of comp n binary system
__________________
Do you know, Shinigamis only eat apples???
|
|
|
20-08-2008, 12:11 PM
|
#20 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by ray|raven
@Metal
SWT is a waay better way of getting a native ui using java than using wxwidgets
|
i din day using java. i said wx is the best gtk toolkit.+
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
20-08-2008, 12:13 PM
|
#21 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by MetalheadGautham
i din day using java.
|
You seriously need a new keyboard.
Quote:
Originally Posted by MetalheadGautham
i said wx is the best gtk toolkit.+
|
wx is the best gtk toolkit?
Either your nuts or you're drunk.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 12:21 PM
|
#22 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by ray|raven
wx is the best gtk toolkit?
Either your nuts or you're drunk. 
|
i used wx and the thing i liked was its ease of use.
never tried py-gtk or gnome-java though.
But TO HELL with gtk. QT pwns 'em all
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
20-08-2008, 12:24 PM
|
#23 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
^You didnt get the point yet.
Quote:
|
i said wx is the best gtk toolkit.+
|
wxwidgets and gtk are two seperate ui toolkits.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 04:04 PM
|
#24 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by ray|raven
^You didnt get the point yet.
wxwidgets and gtk are two seperate ui toolkits.
|
wx is BASED on gtk.
and you can use wx to make native looking apps for gnome and xfce.
vlc is an example.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
20-08-2008, 04:11 PM
|
#25 (permalink)
|
|
Broken In
Join Date: Nov 2007
Location: Chennai
Posts: 113
|
Re: How to start writing GNOME/KDE application
How about Anjuta IDE to start with(It comes bundled with OpenSuse11),i saw using that we can Develop KDE/GNOME application?
Have anyone tried?
|
|
|
20-08-2008, 04:14 PM
|
#26 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: How to start writing GNOME/KDE application
@MetalHeadGautham.
How abt you backup your extraordinary claims for once?
wxwidgets are NOT based on GTK+.
wxwidgets , like SWT , provide a layer to use the native widgets of the platform.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
20-08-2008, 04:34 PM
|
#27 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by sganesh
How about Anjuta IDE to start with(It comes bundled with OpenSuse11),i saw using that we can Develop KDE/GNOME application?
Have anyone tried?
|
Yes, you can start but you will have to learn one of the GUI toolkits to get any further.
__________________
http://www.bash.org/?258908
|
|
|
21-08-2008, 04:48 PM
|
#28 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by ray|raven
@MetalHeadGautham.
How abt you backup your extraordinary claims for once?
wxwidgets are NOT based on GTK+.
wxwidgets , like SWT , provide a layer to use the native widgets of the platform.
|
maybe my basic concepts are wrong, but...
till today I thought libwx was an extention to libgtk 
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
23-08-2008, 03:46 PM
|
#29 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: How to start writing GNOME/KDE application
Quote:
Originally Posted by MetalheadGautham
Cool. Glade can be programmed with in C++, C and Java too. Choose one and start designing.
QT4 is used MAINLY with C++, then with Java (qt4-jambi) and then with Python (PyQt).
|
I tried glade once, and i was disappointed 
in my view its still not upto the mark, though it does work pretty well
|
|
|
24-08-2008, 07:09 AM
|
#30 (permalink)
|
|
Broken In
Join Date: Nov 2007
Location: Chennai
Posts: 113
|
Re: How to start writing GNOME/KDE application
ya,GLade IDE is diificult to follow!!,and It's very tedious to see documentation and start programming!!
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting 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
|
|
|
|
|
|