GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Aug 21, 2014 2:21 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Will GTK+ work for my project?
PostPosted: Thu Dec 15, 2011 6:33 pm 
Offline

Joined: Thu Dec 15, 2011 6:31 pm
Posts: 3
I'm working on a cross-platform task manager. It is targeted at Windows, Mac, and Linux. I know I will need some complex customized controls like a tree-type list-box with checkable items. I'm almost positive that GTK+ won't have this built-in but how easy is it to create custom controls?
I also want to customize the look and feel. Is GTK+ be expandable to allow something like skins?

_________________
Organize the world, one life at a time.
http://code.google.com/p/lifeo/


Top
 Profile  
 
 Post subject: Re: Will GTK+ work for my project?
PostPosted: Thu Dec 15, 2011 8:49 pm 
Offline
Never Seen the Sunlight

Joined: Thu Mar 24, 2011 2:10 pm
Posts: 328
Location: Sydney, Australia
the look and feel of a gtk app by default will match that of the host computer. Most users are happy enough with this as they set a particularly desktop environment wide theme which is then inherited by each GTK app. You can make your app individually customised; however, this can break the look and feel of the overall desktop environment. with gtk3 there are a variety of options to stylise your app, including css.


Top
 Profile  
 
 Post subject: Re: Will GTK+ work for my project?
PostPosted: Thu Dec 15, 2011 8:55 pm 
Offline
Never Seen the Sunlight

Joined: Thu Mar 24, 2011 2:10 pm
Posts: 328
Location: Sydney, Australia
Sorry missed your bit about customised controls. Yes this can be done but it can be a bit of a learning curve. Most built in widgets will generally do the trick though. gtk is written in C and uses GOject to provide the object orientated support for its widgets. In customising a widget you'd pick one to inherit from, add in the gobject boilerplate code and then program in your distinct features (gtk uses cairo for rendering). There are tutorials available from the gtk website.


Top
 Profile  
 
 Post subject: Re: Will GTK+ work for my project?
PostPosted: Fri Dec 16, 2011 3:00 am 
Offline

Joined: Thu Dec 15, 2011 6:31 pm
Posts: 3
Thanks for the advice! I will run it past the other developers and see what they think.

_________________
Organize the world, one life at a time.
http://code.google.com/p/lifeo/


Top
 Profile  
 
 Post subject: Re: Will GTK+ work for my project?
PostPosted: Sun Jan 01, 2012 12:57 am 
Offline

Joined: Thu Dec 15, 2011 6:31 pm
Posts: 3
Okay, one more thing. Does GTK+ comply with the open standards defined by the Open Source Intiative?
http://opensource.org/osr

I'm trying to make solid decisions during the design phase to avoid deleting good work down the road.

_________________
Organize the world, one life at a time.
http://code.google.com/p/lifeo/


Top
 Profile  
 
 Post subject: Re: Will GTK+ work for my project?
PostPosted: Mon Jan 02, 2012 11:57 pm 
Offline
Never Seen the Sunlight

Joined: Thu Mar 24, 2011 2:10 pm
Posts: 328
Location: Sydney, Australia
ok well the link you sent is for standards rather than software or licenses so it doesn't really apply at all. But as to what you're probably after GTK is licensed under the GNU Lesser General Public License (http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html). The LGPL is approved by the Free Software Foundation and the Open Source Initiative too (http://opensource.org/licenses/alphabetical). As it is not GPL, you have flexibility as to which license you distribute any software developed with it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group