user1091042
user1091042

Reputation: 13

Framework for paint program

I've decided to start working on a personal project, attempting to develop a cross platform, MSPaint like app. Oddly enough, I find mspaint is one of the applications I miss the most on Linux or OS X, so I want to try to make something similar. Tuxpaint, mtpaint, gpaint, etc. are all old and inactive and ugly. I don't want to make GIMP, just the basics, similar in features to MS Paint.

I'm thinking of doing it in python with the pygtk toolkit, but I was interested to hear your suggestions. Would C/C++ be a better choice, or even C# (gasp!) with mono? How about using Qt as opposed to GTK, or maybe some other fancy library I don't know about (Please, not FLTK!). I'd be curious to hear your thoughts.

Thanks!

Upvotes: 1

Views: 1131

Answers (4)

KIRAN K J
KIRAN K J

Reputation: 732

if you are using qt,you can use QtitanRibbon

Upvotes: 0

drahnr
drahnr

Reputation: 6886

Short: You can use both, no third party library is guaranteed to be distributed with all major distributions.

Long:

Gtk+ vs. Qt

  • What do you want incorporate into your application. If it is just selecting a brush, selecting color you could pretty much use any gui toolkit.

  • If you are going to run it as a web-based tool, Gtk+ has an html5 backend renderer (I don't know about Qt)

A sidenote: I recommend to use the toolkit's native programming language (gtk+ C, Qt C++) - if you don't, you will suffer from delays with bugfixes, generally more bugs and delayed releases, though for that case it shouldn't really matter.

Everything else boils down to personal preferences and there already exist some questions to tackling that issue.

Upvotes: 0

cms_mgr
cms_mgr

Reputation: 2017

If you decide to go with Python (which would be my choice because it's such a simple language), then TkInter is considered the de-facto standard GUI package. That link should send you to some excellent starting references for TkInter, although I also really like Not_a_Golfer's suggestion of an HTML5 web-app.

Upvotes: 0

Not_a_Golfer
Not_a_Golfer

Reputation: 49205

Qt's canvas object (or its newer replacement QGraphicsView) can do pretty cool things. Whether you choose C++ or python is a matter of personal choice, as Qt is supported in both languages. For a simple project like this I'd choose python because killer performance is not much of an issue, and it will be much easier to write.

Another thing to look into is making this app web based with HTML5's canvas object and Javascript. It can be surprisingly robust, and anything that can be put on the cloud is a win in most cases.

Upvotes: 3

Related Questions