Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 20-08-2008, 09:17 AM   #1 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default 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!
sganesh is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-08-2008, 09:22 AM   #2 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 09:24 AM   #3 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default 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
abhinandh is offline  
Old 20-08-2008, 09:29 AM   #4 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default 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
MetalheadGautham is offline  
Old 20-08-2008, 10:57 AM   #5 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by MetalheadGautham View Post
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!!!
sganesh is offline  
Old 20-08-2008, 11:01 AM   #6 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 11:14 AM   #7 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by sganesh View Post
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
MetalheadGautham is offline  
Old 20-08-2008, 11:15 AM   #8 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default 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!
sganesh is offline  
Old 20-08-2008, 11:26 AM   #9 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by sganesh View Post
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
MetalheadGautham is offline  
Old 20-08-2008, 11:30 AM   #10 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default 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???
nitish_mythology is offline  
Old 20-08-2008, 11:32 AM   #11 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 11:42 AM   #12 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default 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???
nitish_mythology is offline  
Old 20-08-2008, 11:48 AM   #13 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 11:52 AM   #14 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default 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???
nitish_mythology is offline  
Old 20-08-2008, 11:57 AM   #15 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 11:59 AM   #16 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by nitish_mythology View Post
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
MetalheadGautham is offline  
Old 20-08-2008, 12:03 PM   #17 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default Re: How to start writing GNOME/KDE application

How do u practically implement java+gtk code together??
__________________
Do you know, Shinigamis only eat apples???
nitish_mythology is offline  
Old 20-08-2008, 12:04 PM   #18 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 12:09 PM   #19 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default 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???
nitish_mythology is offline  
Old 20-08-2008, 12:11 PM   #20 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by ray|raven View Post
@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
MetalheadGautham is offline  
Old 20-08-2008, 12:13 PM   #21 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by MetalheadGautham View Post
i din day using java.
You seriously need a new keyboard.

Quote:
Originally Posted by MetalheadGautham View Post
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
ray|raven is offline  
Old 20-08-2008, 12:21 PM   #22 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by ray|raven View Post
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
MetalheadGautham is offline  
Old 20-08-2008, 12:24 PM   #23 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 04:04 PM   #24 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by ray|raven View Post
^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
MetalheadGautham is offline  
Old 20-08-2008, 04:11 PM   #25 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default 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?
sganesh is offline  
Old 20-08-2008, 04:14 PM   #26 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default 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
ray|raven is offline  
Old 20-08-2008, 04:34 PM   #27 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by sganesh View Post
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
mehulved is offline  
Old 21-08-2008, 04:48 PM   #28 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by ray|raven View Post
@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
MetalheadGautham is offline  
Old 23-08-2008, 03:46 PM   #29 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: How to start writing GNOME/KDE application

Quote:
Originally Posted by MetalheadGautham View Post
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
gary4gar is offline  
Old 24-08-2008, 07:09 AM   #30 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default 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!!
sganesh is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome doesn't start ilugd Open Source 7 24-09-2007 10:11 PM
How to keep name instead of START in start menu Batistabomb Software Q&A 12 08-03-2007 08:32 PM
Start menu registry hacks to make ur start menu more bautiful and comfortable Siddharth Maheshwari Tutorials 9 22-01-2007 07:01 PM
Hell Lot of Time 2 Start Application(s) blackpearl75 Software Q&A 8 09-11-2006 08:52 PM
Help me pls.. Application doesnt start after double clicking abhi99_iitg Software Q&A 3 23-09-2006 04:53 PM

 
Latest Threads
- by icebags
- by bhaskar
- by Soumik

Advertisement




All times are GMT +5.5. The time now is 07:00 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2