| Forum |
|
|||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Broken In
Join Date: Nov 2007
Location: Chennai
Posts: 113
|
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
|
|
|
|
#2 (permalink) |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
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 |
|
|
|
|
#3 (permalink) |
|
Proud to be Linux
Join Date: Jun 2006
Posts: 458
|
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 |
|
|
|
|
#4 (permalink) |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
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 |
|
|
|
|
#6 (permalink) |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
^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 |
|
|
|
|
#7 (permalink) | |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
Quote:
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 |
|
|
|
|
|
#8 (permalink) |
|
Broken In
Join Date: Nov 2007
Location: Chennai
Posts: 113
|
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! |
|
|
|
|
#9 (permalink) | |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
Quote:
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 |
|
|
|
|
|
#10 (permalink) |
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
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??? |
|
|
|
|
#11 (permalink) |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
^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 |
|
|
|
|
#12 (permalink) |
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
^^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??? |
|
|
|
|
#13 (permalink) |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
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 |
|
|
|
|
#16 (permalink) |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
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 |
|
|
|
|
#18 (permalink) |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
@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 |
|
|
|
|
#19 (permalink) |
|
OSS Enthusiast!
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
|
Anyways m better off wth swings..
@Rayraven Teacher teaching history of comp n binary system
__________________
Do you know, Shinigamis only eat apples??? |
|
|
|
|
#20 (permalink) |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
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 |
|
|
|
|
#21 (permalink) |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
You seriously need a new keyboard.
wx is the best gtk toolkit? Either your nuts or you're drunk.
__________________
Do what you will; but not because you must. -- Zen Quote |
|
|
|
|
#22 (permalink) |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
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 |
|
|
|
|
#23 (permalink) | |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
^You didnt get the point yet.
Quote:
__________________
Do what you will; but not because you must. -- Zen Quote |
|
|
|
|
|
#24 (permalink) | |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
Quote:
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 |
|
|
|
|
|
#26 (permalink) |
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
@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 |
|
|
|
|
#27 (permalink) |
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Yes, you can start but you will have to learn one of the GUI toolkits to get any further.
__________________
http://www.bash.org/?258908 |
|
|
|
|
#28 (permalink) | |
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
|
Quote:
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 |
|
|
|
|
|
#29 (permalink) | |
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,097
|
Quote:
in my view its still not upto the mark, though it does work pretty well |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |