LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2005, 08:26 PM   #31
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Rep: Reputation: 31

Although I am new to GTK programming myself, I did recently do some research on LibGlade and weighed it's pros and cons. I wrote 2 tutorials on using Anjuta and Glade on my website, one using Glade's code generation and one using libglade. Now you say to give you one good reason that you should use libglade... well that depends on your goals it would seem. If you are striving to develop minimal apps using GTK in a small scale setting and don't mind to re-compile for various minor changes, then using Glade to build your code is fine. I have found that despite the abundance of talk from experienced GTK developers to use libglade, it is not necessary if you are doing a simple little minimalistic program.

Libglade, which I am growing quite fond of, is particularly usefull with developing applications in GTK specifically for Gnome. That is what is suprising about the statement that using libglade requires an abundance of "extra" libraries. Are you not using Gnome? For me it required 1 library when developing with libglade and that was libglade-devel. It seems much of Gnome's applications are built this way and yes, it's to separate logic from design. The programmer can write the program without having to recompile for requests to "move this over" or to update the interface with a more contemporary design. Also, as more and more GTK/Gnome developers are moving to the use of libglade, it's nice to stay in practice with the norms when developing applications so that, should there be a need, it's easier to get help on your project or turn the project over to another developer.

A good example that I can think of regarding libglade, is back when I was developing Windows software and there was a transition from beveled toolbar buttons being the "contemporary look" to flat, active toolbar buttons being the norm. It sure would have been handy to have something like libglade then. I had to rebuild my application with a new customized active X control and release a new version. And think about how easy it would be to have multiple "prototypes" of a design and being able to decide on one without re-writing any code. Well, I'm sold.
 
Old 04-24-2005, 11:54 PM   #32
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Quote:
Libglade, which I am growing quite fond of, is particularly usefull with developing applications in GTK specifically for Gnome. That is what is suprising about the statement that using libglade requires an abundance of "extra" libraries.
I want to write GTK programs *not* specifically Gnome programs. Thanks. I detest Gnome-specific dependencies to GTK programs.
 
Old 04-29-2005, 02:31 PM   #33
MA_D
Member
 
Registered: Apr 2005
Location: Iowa
Distribution: Archlinux/RHEL/FreeBSD
Posts: 41

Rep: Reputation: 15
I'd have to say, I still recommend glade interface designer. Even if you still need to tweak it out a lot, it saves you hours of looking up calls. And it doesn't need libglade to work.
 
Old 04-30-2005, 09:15 PM   #34
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Yes. I'd use the code generation of glade which produces pure GTK code in C. There doesn't seem much wrong with that, though I'll give the other options like libglade, gtkmm a go.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating the programmer Marc L. Linux - General 6 05-04-2010 03:19 AM
Programmer to Programmer ( Long Story Of A GUI ) mdoubledragon Programming 1 10-13-2005 05:41 PM
Should I become a programmer? coolblue Programming 10 09-18-2005 09:36 PM
looking for programmer and advice kosit Programming 1 05-06-2005 06:04 PM
programmer wanted. Ciccio Programming 57 01-11-2003 01:28 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration