LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2012, 06:31 AM   #1
baldheaded-yeti
LQ Newbie
 
Registered: Oct 2011
Location: Tennessee
Distribution: Slackware 14.1
Posts: 25

Rep: Reputation: Disabled
GTK to Qt to TK to FLTK?


This probably should go in programming, but is it feasible to change widget sets in a program by changing it if you have the source code?

i.e; Could you change GIMP to a TK/Motif application if you didn't want GTK dependencies?

Thanks!
 
Old 02-14-2012, 06:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if the toolkits are capable of providing the equivalent functionality, then certainly. Could be a huge amount of work though, especially when you're going deeper into libraries like glib2 under gtk2 which are providing a lot more than just UI.
 
Old 02-18-2012, 02:14 AM   #3
baldheaded-yeti
LQ Newbie
 
Registered: Oct 2011
Location: Tennessee
Distribution: Slackware 14.1
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
if the toolkits are capable of providing the equivalent functionality, then certainly. Could be a huge amount of work though, especially when you're going deeper into libraries like glib2 under gtk2 which are providing a lot more than just UI.
Thanks!

I understand that glib2 is more than a widget set, I really believe
that a program should be interchangeable between desktop enviorments and not
dependent on seperate libraries.

Wishful thinking.
 
Old 02-18-2012, 04:42 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hmm? so you believe there should only be one? The code has to come from somewhere...
 
Old 02-18-2012, 04:59 AM   #5
baldheaded-yeti
LQ Newbie
 
Registered: Oct 2011
Location: Tennessee
Distribution: Slackware 14.1
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
hmm? so you believe there should only be one? The code has to come from somewhere...
One source code with interchangeable widgets/tool kits?

Suppose you don't like GNOME or KDE?

Then what?

Is there such a thing as a neutral desktop?
 
Old 02-18-2012, 05:04 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't need gnome to use gtk2 / glib apps. There are ways you can develop an app that do integrate more tightly, but the actual required libraries to run a gtk2 app really aren't offensive at all.
 
1 members found this post helpful.
Old 02-18-2012, 05:04 PM   #7
baldheaded-yeti
LQ Newbie
 
Registered: Oct 2011
Location: Tennessee
Distribution: Slackware 14.1
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
you don't need gnome to use gtk2 / glib apps. There are ways you can develop an app that do integrate more tightly, but the actual required libraries to run a gtk2 app really aren't offensive at all.
I'm using XFCE 4.8 with no complaints but, I think there should be a "vanilla" desktop for use as a
standard.
 
Old 02-19-2012, 07:55 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Some people don't like "vanilla" though. As an analogy that's quite interesting I think as the Vanilla flower is a Mexican Orchid, and is actually a LONG way form being "plain".

I don't understand how you could ever identify a standard toolkit outside of an arbitrary decision. Why not just use gtk2 as "vanilla"? Just as good as any other... A "vanilla" kernel is easily defined as the unmodified source code from kernel.org etc, but there's no such "origin" to work with with other software libraries, which is pretty much the point of open source development to be able to create alternatives to compete or compliment. And of course, a vanilla Linux kernel is only plain wrt Linux. You back up another level, and it's Linux OR BSD OR AIX etc... why can't we just have one standard UNIX?
 
  


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
how to draw graphs in fltk raulapati Linux - Software 1 12-10-2010 02:08 AM
Ubuntu: How do you installing FLTK? Delpheno Programming 5 01-17-2009 06:55 PM
FLTK Makefile Noxious020189 Programming 1 12-05-2008 06:43 AM
trouble compiling FLTK 2 example nickbird Programming 1 05-06-2007 01:58 AM
fltk question amos Programming 0 10-10-2003 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 AM.

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